]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Don't use dbl-64/wordsize-64 lround based on llround for ILP32 (bug 19079).
[thirdparty/glibc.git] / ChangeLog
1 2015-10-07 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #19079]
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5 file, conditioned on [!_LP64].
6 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7 [!_LP64] (__lround): Do not define as function or alias.
8 [!_LP64] (lround): Likewise.
9 [!_LP64] (__lroundl): Likewise.
10 [!_LP64] (lroundl): Likewise.
11 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12 macro.
13 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14 Likewise.
15
16 2015-10-06 Joseph Myers <joseph@codesourcery.com>
17
18 * math/libm-test.inc (lrint_test_data): Add more tests.
19 (llrint_test_data): Likewise.
20 (lround_test_data): Likewise.
21 (llround_test_data): Likewise.
22
23 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24 (llrint_test_data): Add tests used for lrint.
25
26 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27 test.
28 * sysdeps/i386/configure: Regenerated.
29 * sysdeps/i386/i686/multiarch/Makefile
30 [$(config-cflags-sse4) = yes]: Make code unconditional.
31 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
32 Likewise.
33 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
34 Likewise.
35 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
36 test.
37 * sysdeps/x86_64/configure: Regenerated.
38 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
39 Make code unconditional.
40 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
41 Likewise.
42 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
43 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
44
45 * scripts/rpm2dynsym.sh: Remove file.
46
47 2015-10-06 Florian Weimer <fweimer@redhat.com>
48
49 * configure.ac (libc_cv_cxx_thread_local): Define.
50 * configure: Regenerate.
51 * config.make.in (have-cxx-thread_local): Define.
52 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
53 (LDLIBS-tst-thread_local1): Define.
54 (tests): Add tst-thread_local1.
55 [have-cxx-thread_local != yes] (tests-unsupported): Add
56 tst-thread_local1.
57 * nptl/tst-thread_local1.cc: New file.
58
59 2015-10-06 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #19078]
62 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
63 (u_thres): Likewise.
64 (__expl): Determine whether to call __kernel_standard_l based on
65 value of result, not argument.
66
67 * math/libm-test.inc (scalb_test_data): Add more expectations for
68 the "inexact" exception.
69
70 [BZ #19077]
71 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
72 0.0L for argument 1.0L.
73
74 [BZ #19076]
75 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
76 constant 0.0L when computing infinite result.
77
78 2015-10-06 Florian Weimer <fweimer@redhat.com>
79
80 [BZ #10432]
81 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
82 malloc_usable_size.
83
84 2015-10-06 Florian Weimer <fweimer@redhat.com>
85
86 [BZ #19018]
87 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
88 Mangle function pointer before storing it.
89 (__call_tls_dtors): Demangle function pointer before calling it.
90
91 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
92
93 [BZ #19012]
94 * iconv/gconv_db.c (gen_steps): Check for additional errors.
95 Clean up on failure.
96
97 2015-10-05 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #19071]
100 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
101 long int variable to store possibly incremented high part of
102 mantissa.
103 * math/libm-test.inc (lround_test_data): Add tests used for
104 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
105 for tests requiring 64-bit long. Do not condition tests on
106 [TEST_FLOAT] unnecessarily.
107 (llround_test_data): Add tests used for lround. Add another
108 expectation for the "inexact" exception. Do not condition tests
109 on [TEST_FLOAT] unnecessarily.
110
111 [BZ #887]
112 [BZ #19049]
113 [BZ #19050]
114 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
115 * sysdeps/ieee754/dbl-64/e_log10.c: Include
116 <fix-int-fp-convert-zero.h>.
117 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
118 * sysdeps/ieee754/dbl-64/e_log2.c: Include
119 <fix-int-fp-convert-zero.h>.
120 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
121 * sysdeps/ieee754/dbl-64/s_erf.c: Include
122 <fix-int-fp-convert-zero.h>.
123 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
124 * sysdeps/ieee754/dbl-64/s_logb.c: Include
125 <fix-int-fp-convert-zero.h>.
126 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
127 * sysdeps/ieee754/flt-32/e_log10f.c: Include
128 <fix-int-fp-convert-zero.h>.
129 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
130 * sysdeps/ieee754/flt-32/e_log2f.c: Include
131 <fix-int-fp-convert-zero.h>.
132 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
133 * sysdeps/ieee754/flt-32/s_erff.c: Include
134 <fix-int-fp-convert-zero.h>.
135 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
136 * sysdeps/ieee754/flt-32/s_logbf.c: Include
137 <fix-int-fp-convert-zero.h>.
138 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
139 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
140 <fix-int-fp-convert-zero.h>.
141 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
143 <fix-int-fp-convert-zero.h>.
144 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
145 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
146 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
147 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
148 file.
149 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
150
151 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
152
153 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
154
155 2015-10-02 Joseph Myers <joseph@codesourcery.com>
156
157 [BZ #19059]
158 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
159 overflowing computation.
160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
161 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
163 Likewise.
164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
165 Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
167 Likewise.
168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
169 Likewise.
170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
172 Likewise.
173 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
174 Likewise.
175 * math/libm-test.inc (nexttoward_test_data): Add more tests.
176
177 * nss/rewrite_field.c (__nss_rewrite_field): Use
178 internal_function.
179 * nss/valid_field.c (__nss_valid_field): Likewise.
180 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
181
182 2015-10-02 Florian Weimer <fweimer@redhat.com>
183
184 [BZ #18724]
185 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
186 (__nss_invalid_field_characters, __nss_valid_field)
187 (__nss_valid_list_field, __nss_rewrite_field): Declare.
188 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
189 tst-field.c: New file.
190 * nss/Makefile (routines): Add valid_field, rewrite_field.
191 (tests-static): Define unconditionally.
192 (tests): Include tests-static.
193 [build-static-nss] (tests-static): Use append.
194 [build-static-nss] (tests): Remove modification.
195 * nss/getent.c (print_group): Call putgrent. Report error.
196 (print_gshadow): Call putsgent. Report error.
197 (print_passwd): Call putpwent. Report error.
198 (print_shadow): Call putspent. Report error.
199 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
200 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
201 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
202 name, password, directory, shell fields for valid syntax. Rewrite
203 GECOS field to match syntax.
204 * pwd/Makefile (tests): Add tst-putpwent.
205 * pwd/tst-putpwent.c: New file.
206 * grp/putgrent.c (putgrent): Convert to ISO function definition.
207 Check grName, grpasswd, gr_mem fields for valid syntax.
208 Change loop variable i to size_t.
209 * grp/Makefile (tests): Add tst-putgrent.
210 * grp/tst-putgrent.c: New file.
211 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
212 valid syntax.
213 * shadow/Makefile (tests): Add tst-putspent.
214 * shadow/tst-putspent.c: New file.
215 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
216 sg_mem fields for valid syntax.
217 * gshadow/Makefile (tests): Add tst-putsgent.
218 * gshadow/tst-putsgent.c: New file.
219
220 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
223 assembly instructions.
224
225 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
226
227 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
228 prefix from operands.
229
230 2015-10-01 Joseph Myers <joseph@codesourcery.com>
231
232 [BZ #16347]
233 [BZ #19046]
234 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
235 <libc-internal.h>.
236 (MAXLGM): Do not use diagnostic control macros.
237 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
238 threshold for ldbl-128ibm.
239 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
240 instead of multiplying by log then subtracting.
241 * math/auto-libm-test-in: Add more tests of lgamma.
242 * math/auto-libm-test-out: Regenerated.
243
244 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
245 (TYPE_HEX_DIG): Likewise.
246 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
247 precisions when printing floating-point numbers.
248 (check_float_internal): Likewise.
249
250 2015-09-30 Joseph Myers <joseph@codesourcery.com>
251
252 [BZ #16620]
253 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
254 of log (10) rounded downward to 48 bits.
255 (log10_low): Use corresponding low part of log (10).
256
257 [BZ #19032]
258 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
259 compute result as (x - x) / (x - x) not as 0 / 0.
260 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
261 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
262
263 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
264 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
265 and expm1.
266 * math/auto-libm-test-out: Regenerated.
267 * math/libm-test.inc (acos_test_data): Add more tests.
268 (asin_test_data): Likewise.
269 (asinh_test_data): Likewise.
270 (atan_test_data): Likewise.
271 (atanh_test_data): Likewise.
272 (atan2_test_data): Likewise.
273 (cbrt_test_data): Likewise.
274 (ceil_test_data): Likewise.
275 (copysign_test_data): Likewise.
276 (cos_test_data): Likewise.
277 (cosh_test_data): Likewise.
278 (erf_test_data): Likewise.
279 (erfc_test_data): Likewise.
280 (exp_test_data): Likewise.
281 (exp10_test_data): Likewise.
282 (exp2_test_data): Likewise.
283 (expm1_test_data): Likewise.
284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
285
286 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
287
288 [BZ #19006]
289 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
290 to ...
291 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
292 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
293 to ...
294 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
295 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
296 to ...
297 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
298 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
299 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
300 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
301 to ...
302 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
303 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
304 Moved to ...
305 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
306 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
307 Moved to ...
308 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
309 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
310 to ...
311 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
312 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
313 Moved to ...
314 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
315 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
316 to ...
317 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
318 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
319 Removed.
320 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
321 Likewise.
322 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
323 Likewise.
324 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
325 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
326 Likewise.
327 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
328 Likewise.
329 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
330 Likewise.
331 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
332 Likewise.
333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
334 Likewise.
335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
336 Likewise.
337 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
338 Likewise.
339 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
340 Likewise.
341 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
342 Likewise.
343 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
344 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
345 Likewise.
346 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
347 Likewise.
348 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
349 Likewise.
350 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
351 Likewise.
352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
353 Likewise.
354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
355 Replace ../i486/pthread_cond_timedwait.S with
356 ../pthread_cond_timedwait.S.
357
358 2015-09-30 Joseph Myers <joseph@codesourcery.com>
359
360 * math/libm-test.inc (acos_test_data): Refine expectations for
361 errno and "inexact" exceptions.
362 (acosh_test_data): Likewise.
363 (asin_test_data): Likewise.
364 (asinh_test_data): Likewise.
365 (atan_test_data): Likewise.
366 (atanh_test_data): Likewise.
367 (atan2_test_data): Likewise.
368 (cbrt_test_data): Likewise.
369 (ceil_test_data): Likewise.
370 (copysign_test_data): Likewise.
371 (cosh_test_data): Likewise.
372 (erf_test_data): Likewise.
373 (erfc_test_data): Likewise.
374 (exp_test_data): Likewise.
375 (exp10_test_data): Likewise.
376 (exp2_test_data): Likewise.
377 (expm1_test_data): Likewise.
378 (fabs_test_data): Likewise.
379 (floor_test_data): Likewise.
380 (fma_test_data): Likewise.
381 (fmax_test_data): Likewise.
382 (fmin_test_data): Likewise.
383 (fmod_test_data): Likewise.
384 (fpclassify_test_data): Likewise.
385 (frexp_test_data): Likewise.
386 (hypot_test_data): Likewise.
387 (ilogb_test_data): Likewise.
388 (isgreater_test_data): Likewise.
389 (isgreaterequal_test_data): Likewise.
390 (isinf_test_data): Likewise.
391 (isless_test_data): Likewise.
392 (islessequal_test_data): Likewise.
393 (islessgreater_test_data): Likewise.
394 (isnan_test_data): Likewise.
395 (isnormal_test_data): Likewise.
396 (issignaling_test_data): Likewise.
397 (isunordered_test_data): Likewise.
398 (j0_test_data): Likewise.
399 (j1_test_data): Likewise.
400 (jn_test_data): Likewise.
401 (lgamma_test_data): Likewise.
402 (lrint_test_data): Likewise.
403 (llrint_test_data): Likewise.
404 (log_test_data): Likewise.
405 (log10_test_data): Likewise.
406 (log1p_test_data): Likewise.
407 (log2_test_data): Likewise.
408 (logb_test_data): Likewise.
409 (lround_test_data): Likewise.
410 (llround_test_data): Likewise.
411 (modf_test_data): Likewise.
412 (nearbyint_test_data): Likewise.
413 (nextafter_test_data): Likewise.
414 (nexttoward_test_data): Likewise.
415 (pow_test_data): Likewise.
416 (remainder_test_data): Likewise.
417 (remquo_test_data): Likewise.
418 (rint_test_data): Likewise.
419 (round_test_data): Likewise.
420 (signbit_test_data): Likewise.
421 (sinh_test_data): Likewise.
422 (sqrt_test_data): Likewise.
423 (tanh_test_data): Likewise.
424 (tgamma_test_data): Likewise.
425 (trunc_test_data): Likewise.
426 (y0_test_data): Likewise.
427 (y1_test_data): Likewise.
428 (yn_test_data): Likewise.
429 (significand_test_data): Likewise.
430
431 2015-09-29 Carlos O'Donell <carlos@redhat.com>
432
433 * manual/filesys.texi (Storage Allocation): Document that
434 posix_fallocate emulation fails when fd is open with O_WRONLY.
435
436 2015-09-28 Joseph Myers <joseph@codesourcery.com>
437
438 [BZ #19016]
439 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
440 allow more cases with X^2 + Y^2 >= 0.5.
441 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
442 normal element in sum instead of special-casing based on values of
443 arguments.
444 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
445 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
446 -1 as normal element in sum instead of special-casing based on
447 values of arguments.
448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
449 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
450 (__x2y2m1): Update comment.
451 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
452 as normal element in sum instead of special-casing based on values
453 of arguments.
454 * math/s_clog.c (__clog): Handle more cases using log1p without
455 hypot.
456 * math/s_clog10.c (__clog10): Likewise.
457 * math/s_clog10f.c (__clog10f): Likewise.
458 * math/s_clog10l.c (__clog10l): Likewise.
459 * math/s_clogf.c (__clogf): Likewise.
460 * math/s_clogl.c (__clogl): Likewise.
461 * math/auto-libm-test-in: Add more tests of clog and clog10.
462 * math/auto-libm-test-out: Regenerated.
463 * sysdeps/i386/fpu/libm-test-ulps: Update.
464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465
466 2015-09-28 Martin Sebor <msebor@redhat.com>
467
468 [BZ #18969]
469 * string/Makefile (LOCALES): Define.
470 (gen-locales.mk): Include.
471 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
472 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
473 * string/tst-strxfrm2.c (do_test): Print the name of the locale
474 on setlocale failure.
475
476 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
477
478 [BZ #18985]
479 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
480 (__strftime_internal): Likewise.
481 * time/tst-strftime.c (do_bz18985): New test.
482 (do_test): Call it.
483
484 2015-09-26 Joseph Myers <joseph@codesourcery.com>
485
486 [BZ #18956]
487 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
488 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
489 extracting high part.
490 * math/auto-libm-test-in: Add another test of pow.
491 * math/auto-libm-test-out: Regenerated.
492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
493
494 2015-09-25 Joseph Myers <joseph@codesourcery.com>
495
496 [BZ #18825]
497 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
498 New macro.
499 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
500 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
501 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
502 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
503 DBL_NARROW_EVAL, reloading the PIC register as needed.
504 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
505 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
506 FLT_NARROW_EVAL. Use separate return path for case when first
507 argument is NaN.
508 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
509 DEFINE_LDBL_MIN.
510 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
511 PIC register.
512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
513 math_check_force_underflow_nonneg.
514 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
515 underflow for subnormal result.
516 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
518 math_check_force_underflow_nonneg.
519 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
520 math_check_force_underflow.
521 * sysdeps/x86_64/fpu/x86_64-math-asm.h
522 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
523 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
524 DEFINE_LDBL_MIN.
525 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
526 * math/auto-libm-test-in: Add more tests of pow.
527 * math/auto-libm-test-out: Regenerated.
528
529 2015-09-25 Florian Weimer <fweimer@redhat.com>
530
531 * nss/bug17079.c (init_test_items): Add diagnostic for
532 inconsistent entries.
533 (test_buffer_size): Skip inconsistent entries.
534
535 2015-09-25 Joseph Myers <joseph@codesourcery.com>
536
537 [BZ #13304]
538 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
539 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
540 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
541
542 [BZ #13304]
543 * sysdeps/microblaze/s_fma.c: New file.
544 * sysdeps/microblaze/s_fmaf.c: Likewise.
545 * sysdeps/microblaze/sfp-machine.h: Likewise.
546
547 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
548
549 [BZ #17250]
550 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
551 member.
552
553 2015-09-24 Joseph Myers <joseph@codesourcery.com>
554
555 [BZ #18803]
556 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
557 (MO): New macro.
558 (__ieee754_hypot) [PIC]: Load PIC register.
559 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
560 DBL_NARROW_EVAL.
561 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
562 math_check_force_underflow_nonneg in case where result might be
563 tiny.
564 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
565 Likewise.
566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
567 Likewise.
568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
569 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
570 * math/auto-libm-test-in: Add more tests of hypot.
571 * math/auto-libm-test-out: Regenerated.
572
573 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
574
575 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
576
577 2015-09-24 Joseph Myers <joseph@codesourcery.com>
578
579 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
580 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
581 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
582 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
583 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
584 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
585 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
586
587 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
588 LOAD_PIC_REG.
589
590 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
591 (FLT_CHECK_FORCE_UFLOW): Likewise.
592 (DBL_CHECK_FORCE_UFLOW): Likewise.
593 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
594 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
595 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
596 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
597 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
598 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
599 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
600 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
601 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
602 (dbl_min): Replace with use of DEFINE_DBL_MIN.
603 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
604 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
605 (flt_min): Replace with use of DEFINE_FLT_MIN.
606 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
607 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
608 (dbl_min): Replace with use of DEFINE_DBL_MIN.
609 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
610 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
611 (flt_min): Replace with use of DEFINE_FLT_MIN.
612 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
613 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
614 (dbl_min): Replace with use of DEFINE_DBL_MIN.
615 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
616 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
617 (flt_min): Replace with use of DEFINE_FLT_MIN.
618 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
619 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
620 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
621 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
622 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
623 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
624 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
625 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
626 (dbl_min): Replace with use of DEFINE_DBL_MIN.
627 (__atan): Use DBL_CHECK_FORCE_UFLOW.
628 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
629 (flt_min): Replace with use of DEFINE_FLT_MIN.
630 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
631 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
632 (dbl_min): Replace with use of DEFINE_DBL_MIN.
633 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
634 main computation.
635 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
636 (flt_min): Replace with use of DEFINE_FLT_MIN.
637 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
638 main computation.
639 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
640 (dbl_min): Replace with use of DEFINE_DBL_MIN.
641 (MO): New macro.
642 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
643 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
644 (flt_min): Replace with use of DEFINE_FLT_MIN.
645 (MO): New macro.
646 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
647 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
648 (__log1pl): Use MO.
649
650 [BZ #19003]
651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
652 $(config-cflags-nofma).
653
654 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
655
656 * sysdeps/aarch64/libm-test-ulps: Regenerated.
657
658 2015-09-23 Joseph Myers <joseph@codesourcery.com>
659
660 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
661 (TWO127): Likewise.
662
663 * sysdeps/generic/math_private.h (fabs_tg): New macro.
664 (min_of_type): Likewise.
665 (math_check_force_underflow): Likewise.
666 (math_check_force_underflow_nonneg): Likewise.
667 (math_check_force_underflow_complex): Likewise.
668 * math/e_exp2l.c (__ieee754_exp2l): Use
669 math_check_force_underflow_nonneg.
670 * math/k_casinh.c (__kernel_casinh): Likewise.
671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
673 * math/s_catan.c (__catan): Use
674 math_check_force_underflow_complex.
675 * math/s_catanf.c (__catanf): Likewise.
676 * math/s_catanh.c (__catanh): Likewise.
677 * math/s_catanhf.c (__catanhf): Likewise.
678 * math/s_catanhl.c (__catanhl): Likewise.
679 * math/s_catanl.c (__catanl): Likewise.
680 * math/s_ccosh.c (__ccosh): Likewise.
681 * math/s_ccoshf.c (__ccoshf): Likewise.
682 * math/s_ccoshl.c (__ccoshl): Likewise.
683 * math/s_cexp.c (__cexp): Likewise.
684 * math/s_cexpf.c (__cexpf): Likewise.
685 * math/s_cexpl.c (__cexpl): Likewise.
686 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
687 * math/s_clog10.c (__clog10): Likewise.
688 * math/s_clog10f.c (__clog10f): Likewise.
689 * math/s_clog10l.c (__clog10l): Likewise.
690 * math/s_clogf.c (__clogf): Likewise.
691 * math/s_clogl.c (__clogl): Likewise.
692 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
693 * math/s_csinf.c (__csinf): Likewise.
694 * math/s_csinh.c (__csinh): Likewise.
695 * math/s_csinhf.c (__csinhf): Likewise.
696 * math/s_csinhl.c (__csinhl): Likewise.
697 * math/s_csinl.c (__csinl): Likewise.
698 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
699 * math/s_csqrtf.c (__csqrtf): Likewise.
700 * math/s_csqrtl.c (__csqrtl): Likewise.
701 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
702 * math/s_ctanf.c (__ctanf): Likewise.
703 * math/s_ctanh.c (__ctanh): Likewise.
704 * math/s_ctanhf.c (__ctanhf): Likewise.
705 * math/s_ctanhl.c (__ctanhl): Likewise.
706 * math/s_ctanl.c (__ctanl): Likewise.
707 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
708 instead of volatile.
709 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
710 math_check_force_underflow.
711 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
713 volatile when forcing underflow.
714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
715 math_check_force_underflow_nonneg.
716 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
717 Likewise.
718 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
719 math_check_force_underflow.
720 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
721 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
722 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
724 math_check_force_underflow_nonneg.
725 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
726 math_check_force_underflow.
727 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
729 instead of volatile.
730 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
731 math_check_force_underflow.
732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
734 math_check_force_underflow_nonneg.
735 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
736 math_check_force_underflow.
737 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
738 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
739 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
740 math_check_force_underflow_nonneg.
741 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
742 Likewise.
743 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
744 math_check_force_underflow.
745 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
746 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
747 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
748 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
749 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
750 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
751 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
752 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
753 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
754 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
755 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
756 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
757 Likewise.
758 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
759 math_check_force_underflow_nonneg.
760 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
761 Likewise.
762 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
763 math_check_force_underflow.
764 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
765 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
766 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
767 Likewise.
768 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
769 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
770 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
771 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
772 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
773 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
775 instead of volatile.
776 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
777 math_check_force_underflow.
778 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
780 math_check_force_underflow.
781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
782 Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
784 Use math_check_force_underflow_nonneg.
785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
786 math_check_force_underflow.
787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
788 Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
790 Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
797 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
798 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
799 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
800 math_check_force_underflow_nonneg.
801 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
802 math_check_force_underflow.
803 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
804 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
805 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
806 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
807 math_check_force_underflow_nonneg.
808 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
809 math_check_force_underflow.
810 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
812 instead of volatile.
813 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
814 math_check_force_underflow.
815
816 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
817 * stdlib/strtod_l.c: Include <math_private.h>.
818 (overflow_value): Use math_narrow_eval.
819 (underflow_value): Likewise.
820 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
821 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
822 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
823 (__ieee754_gamma_r): Likewise.
824 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
825 Likewise.
826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
827 Likewise.
828 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
829 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
830 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
831 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
832 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
833 (__ieee754_gammaf_r): Likewise.
834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
835 Likewise.
836 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
837 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
838 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
839 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
840 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
841 volatile.
842 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
844 math_narrow_eval.
845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
846 Likewise.
847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
848 Likewise.
849 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
850 Likewise.
851 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
852 volatile.
853 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
854 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
855 math_narrow_eval.
856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
857 Likewise.
858 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
859 Likewise.
860
861 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
862
863 * nptl/Versions: Remove ignored symbols.
864
865 2015-09-22 Florian Weimer <fweimer@redhat.com>
866
867 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
868 * nss/Makefile (tests): Update.
869
870 2015-09-22 Florian Weimer <fweimer@redhat.com>
871
872 * nss/bug18287.c: New file.
873 * nss/Makefile (tests): Add bug18287.
874
875 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
876
877 * mach/Versions (__mach_host_self_): Add symbol.
878
879 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
880
881 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
882 vm_page_size.
883
884 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
885
886 Really fix sysdeps/i386/fpu/s_scalbn.S build
887
888 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
889 (libc: GLIBC_2_22): Remove unused version set.
890
891 2015-09-18 Mike Frysinger <vapier@gentoo.org>
892
893 * config.make.in (enable-timezone-tools): New variable.
894 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
895 (enable_timezone_tools): Export to generated files.
896 * configure: Regenerate.
897 * INSTALL: Regenerate.
898 * manual/install.texi (--disable-timezone-tools): Document new flag.
899 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
900 ifeq ($(enable-timezone-tools),yes) check.
901
902 2015-09-18 Joseph Myers <joseph@codesourcery.com>
903
904 * timezone/Makefile: Revert previous change.
905
906 [BZ #18980]
907 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
908 (DEFINE_DBL_MIN): Likewise.
909 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
910 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
911 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
912 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
913 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
914 (dbl_min): Replace with use of DEFINE_DBL_MIN.
915 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
916 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
917 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
918 (dbl_min): Replace with use of DEFINE_DBL_MIN.
919 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
920 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
921 (flt_min): Replace with use of DEFINE_FLT_MIN.
922 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
923 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
924 (dbl_min): Replace with use of DEFINE_DBL_MIN.
925 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
926 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
927 (flt_min): Replace with use of DEFINE_FLT_MIN.
928 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
929 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
930 (flt_min): Replace with use of DEFINE_FLT_MIN.
931 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
932 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
933 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
934 (__ieee754_hypot): Use DBL_NARROW_EVAL.
935 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
936 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
937 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
938 (__ieee754_pow): Use DBL_NARROW_EVAL.
939 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
940 (__ieee754_powf): Use FLT_NARROW_EVAL.
941 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
942 (__ieee754_expf_sse2): Convert double-precision result to single
943 precision.
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
945
946 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
947
948 * timezone/Makefile: Ignore unused variable errors due to private.h
949 (time_t_min) and (time_t_max).
950 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
951 Likewise.
952
953 2015-09-18 Joseph Myers <joseph@codesourcery.com>
954
955 [BZ #18981]
956 * sysdeps/i386/fpu/i386-math-asm.h: New file.
957 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
958 (__ieee754_scalb): Use DBL_NARROW_EVAL.
959 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
960 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
961 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
962 (__scalbn): Use DBL_NARROW_EVAL.
963 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
964 (__scalbnf): Use FLT_NARROW_EVAL.
965
966 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
967
968 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
969 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
970 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
971 * stdio-common/printf_fp.c (___printf_fp):
972 Use signbit to get the sign. Use isinf macro to allow inlining.
973 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
974 * stdio-common/printf_size.c (__printf_size): Likewise.
975
976 2015-09-18 Mike Frysinger <vapier@gentoo.org>
977
978 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
979
980 2015-09-18 Joseph Myers <joseph@codesourcery.com>
981
982 [BZ #18980]
983 * sysdeps/generic/math_private.h: Include <float.h>.
984 (math_narrow_eval): New macro.
985 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
986 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
987 math_narrow_eval on overflowing return value.
988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
989 Likewise.
990 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
991 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
993 Likewise.
994 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
995
996 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
997
998 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
999 * math/Makefile: Remove isinf_ns.c.
1000 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1001 * math/multc3.c (__multc3): Likewise.
1002 * math/s_casin.c (__casin): Likewise.
1003 * math/s_casinf.c (__casinf): Likewise.
1004 * math/s_casinl.c (__casinl): Likewise.
1005 * math/s_cproj.c (__cproj): Likewise.
1006 * math/s_cprojf.c (__cprojf): Likewise.
1007 * math/s_cprojl.c (__cprofl): Likewise.
1008 * math/s_ctan.c (__ctan): Likewise.
1009 * math/s_ctanf.c (__ctanf): Likewise.
1010 * math/s_ctanh.c (__ctanh): Likewise.
1011 * math/s_ctanhf.c (__ctanhf): Likewise.
1012 * math/s_ctanhl.c (__ctanhl): Likewise.
1013 * math/s_ctanl.c (__ctanl): Likewise.
1014 * math/w_fmod.c (__fmod): Likewise.
1015 * math/w_fmodf.c (__fmodf): Likewise.
1016 * math/w_fmodl.c (_fmodl): Likewise.
1017 * math/w_remainder.c (__remainder): Likewise.
1018 * math/w_remainderf.c (__remainderf): Likewise.
1019 * math/w_remainderl.c (__remainderl): Likewise.
1020 * math/w_scalb.c (__scalb): Likewise.
1021 * math/w_scalbf.c (__scalbf): Likewise.
1022 * math/w_scalbl.c (__scalbl): Likewise.
1023 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1024 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1025 with isinf.
1026 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1028 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1029 __isinf_nsf with isinf.
1030 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1032 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1033 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1034 with isinf.
1035 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1036 __isinf_nsl with isinf.
1037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1038 with isinf.
1039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1040 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1041 __isinf_nsl with isinf.
1042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1043 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1044 with isinf.
1045
1046 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1047
1048 * resolv/base64.c (rcsid): Remove unused static.
1049 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1050 static. (tqpi1): Likewise.
1051 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1052 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1053 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1054 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1055 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1056 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1057 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1058 * timezone/private.h (time_t_min): Likewise. (time_t_max):
1059 Likewise.
1060
1061 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1064 <nptl/pthreadP.h>.
1065 (_longjmp_unwind): Use __libc_ptf_call.
1066 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1067
1068 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
1069
1070 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1071 * sysdeps/arm/__longjmp.S: Likewise
1072
1073 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1074
1075 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1076 Use __builtin_signbit.
1077 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1078 Use __builtin_signbitf.
1079 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1080 Use __builtin_signbitl.
1081 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1082 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1083
1084 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1085
1086 [BZ #15367]
1087 [BZ #17441]
1088
1089 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1090 * math/math.h (fpclassify): Use __builtin_fpclassify when
1091 available. (signbit): Use __builtin_signbit(f/l).
1092 (isfinite): Use__builtin_isfinite. (isnormal): Use
1093 __builtin_isnormal. (isnan): Use __builtin_isnan.
1094 (isinf): Use __builtin_isinf_sign.
1095
1096 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1097
1098 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1099 * benchtests/bench-math-inlines.c: New benchmark.
1100 * benchtests/bench-util.h: New file.
1101 * benchtests/bench-util.c: New file.
1102 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1103
1104 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1105
1106 * elf/tst-dlmopen1.c: Define TEST_SO.
1107 (do_test): Use TEST_SO.
1108
1109 * elf/dl-load.c: Include libc-internal.h.
1110 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1111
1112 2015-09-18 Vincent Bernat <vincent@bernat.im>
1113
1114 [BZ #17887]
1115 * time/strptime_l.c (__strptime_internal): Make %z accept
1116 [+-]HH:MM time zones.
1117
1118 2015-09-18 Vincent Bernat <vincent@bernat.im>
1119
1120 [BZ #17886]
1121 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1122 valid time zone.
1123
1124 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1125
1126 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1127 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1129 (__ASSUME_FDATASYNC): Delete.
1130
1131 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1132
1133 * conform/linknamespace.pl: Require weak undefined symbols to be
1134 in the standard namespace.
1135 (%strong_syms): Rename to %seen_syms.
1136 (%strong_seen): Rename to %seen_where.
1137
1138 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1139
1140 [BZ #18970]
1141 * misc/error.c (error): Replace pthread_setcancelstate with
1142 __pthread_setcancelstate.
1143 (error_at_line): Likewise.
1144 * posix/wordexp.c (parse_comm): Likewise.
1145 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1146 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1147 (__pthread_setcancelstate): This.
1148 (pthread_setcancelstate): Add an alias.
1149 * nptl/nptl-init.c (pthread_functions): Replace
1150 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1151 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1152 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1153 hidden_proto.
1154 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1155 it with hidden_def.
1156 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1157 (pthread_setcancelstate): Renamed to ...
1158 (__pthread_setcancelstate): This.
1159 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1160 __libc_ptf_call with __pthread_setcancelstate.
1161
1162 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1163 Andreas Schwab <schwab@suse.de>
1164
1165 [BZ #17118]
1166 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1167 result when imaginary part of argument is infinite using sine and
1168 cosine.
1169 * math/s_ctanf.c (__ctanf): Likewise.
1170 * math/s_ctanl.c (__ctanl): Likewise.
1171 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1172 of result when real part of argument is infinite using sine and
1173 cosine.
1174 * math/s_ctanhf.c (__ctanhf): Likewise.
1175 * math/s_ctanhl.c (__ctanhl): Likewise.
1176 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1177 (ctanh_test_data): Add more tests of ctanh.
1178
1179 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1180
1181 [BZ #15384]
1182 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1183 bit-mask as in subtraction.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1185 Likewise.
1186 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1187 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1188 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1189
1190 [BZ #18951]
1191 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1192 underflow exception for small results.
1193 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1194 Likewise.
1195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1196 Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1198 Likewise.
1199 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1200 Likewise.
1201 * math/auto-libm-test-in: Add more tests of tgamma.
1202 * math/auto-libm-test-out: Regenerated.
1203
1204 2015-09-17 Andreas Schwab <schwab@suse.de>
1205
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1207
1208 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #18977]
1211 * math/bits/mathcalls.h
1212 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1213 not declare.
1214 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1215 Likewise.
1216 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1217 Likewise.
1218 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1219 Likewise.
1220 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1221 Likewise.
1222 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1223 Likewise.
1224 * conform/data/math.h-data
1225 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1226 function.
1227 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1228 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1229 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1230 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1231 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1232 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1233 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1234 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1235 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1236 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1237 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1238
1239 [BZ #6803]
1240 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1241 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1242 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1243 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1244 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1245 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1246 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1247 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1248 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1250 Likewise.
1251 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1252 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1255 long_double_symbol calls.
1256 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1257 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1258 strong alias of __ldexpl.
1259 (scalbnl): Define using long_double_symbol.
1260 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1261 Remove alias.
1262 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1263 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1264 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1265 (scalbln_test_data): Add more errno expectations.
1266
1267 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1268
1269 Cache the host port like we cache the task port. This way we do not
1270 need to call the kernel just to get the port. Furthermore, we no
1271 longer increase the reference count on every invocation of
1272 `mach_host_self'.
1273
1274 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1275 Protect declarations against the macro expansion.
1276 * mach/mach_init.c (__mach_host_self_): New variable.
1277 (mach_init): Initialize `__mach_host_self_'.
1278 * mach/mach_init.h (__mach_host_self_): New declaration.
1279 (__mach_host_self, mach_host_self): New macros.
1280 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1281 Release reference.
1282
1283 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1284
1285 [BZ #4404]
1286 * po/de.po: Update from Translation Project.
1287
1288 [BZ #16415]
1289 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1290 (__expm1l): Remove code to handle positive infinity and overflow.
1291 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1292 variable.
1293 (__expm1l): Remove code to handle positive infinity and overflow.
1294
1295 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1296 Paul Pluzhnikov <ppluzhnikov@google.com>
1297
1298 [BZ #18872]
1299 * stdio-common/Makefile (tst-printf-bz18872): New test.
1300 (tst-printf-bz18872-mem.out): Likewise.
1301 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1302 * stdio-common/vfprintf.c: Fix memory leaks.
1303
1304 2015-09-16 Andreas Schwab <schwab@suse.de>
1305
1306 [BZ #17244]
1307 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1308 Remove extra va_start/va_end calls.
1309
1310 [BZ #17243]
1311 * posix/execl.c (execl): Add missing va_end.
1312 * posix/execle.c (execle): Likewise.
1313 * posix/execlp.c (execlp): Likewise.
1314
1315 2015-09-15 Roland McGrath <roland@hack.frob.com>
1316
1317 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1318 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1319
1320 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1321
1322 [BZ #18967]
1323 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1324 undefine around includes of <bits/mathcalls.h>.
1325 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1326 not declare function.
1327 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1328 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1329 (scalb): Likewise.
1330 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1331 not define macro.
1332 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1333 variable.
1334 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1335 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1336 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1337
1338 [BZ #18857]
1339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1340 return non-finite argument without doing ordered comparisons on
1341 it.
1342
1343 [BZ #16296]
1344 * math/fenv.h (fegetround): Use __attribute_pure__.
1345 * include/fenv.h (__fegetround): Likewise.
1346
1347 [BZ #18595]
1348 * math/s_ctan.c (__ctan): Force underflow exception for results
1349 whose real or imaginary part has small absolute value.
1350 * math/s_ctanf.c (__ctanf): Likewise.
1351 * math/s_ctanh.c (__ctanh): Likewise.
1352 * math/s_ctanhf.c (__ctanhf): Likewise.
1353 * math/s_ctanhl.c (__ctanhl): Likewise.
1354 * math/s_ctanl.c (__ctanl): Likewise.
1355 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1356 and ctanh. Add more tests of ctan and ctanh.
1357
1358 [BZ #15918]
1359 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1360 handling of cases where one argument is an infinity.
1361
1362 [BZ #18875]
1363 [BZ #18966]
1364 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1365 (MO): New macro.
1366 (__ieee754_exp10): For small results, force underflow exception
1367 and remove excess range and precision from return value.
1368 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1369 (MO): New macro.
1370 (__ieee754_exp10f): For small results, force underflow exception
1371 and remove excess range and precision from return value.
1372 * math/auto-libm-test-in: Add more tests of exp10.
1373 * math/auto-libm-test-out: Regenerated.
1374
1375 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #18875]
1378 [BZ #18961]
1379 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1380 (MO): New macro.
1381 (__ieee754_exp): For small results, force underflow exception and
1382 remove excess range and precision from return value.
1383 (__exp_finite): Likewise.
1384 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1385 (MO): New macro.
1386 (__ieee754_expf): For small results, force underflow exception and
1387 remove excess range and precision from return value.
1388 (__expf_finite): Likewise.
1389 * math/auto-libm-test-in: Add more tests of exp.
1390 * math/auto-libm-test-out: Regenerated.
1391
1392 [BZ #16521]
1393 [BZ #18875]
1394 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1395 small results.
1396 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1397 (MO): New macro.
1398 (__ieee754_exp2): For small results, force underflow exception and
1399 remove excess range and precision from return value.
1400 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1401 (MO): New macro.
1402 (__ieee754_exp2f): For small results, force underflow exception
1403 and remove excess range and precision from return value.
1404 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1405 (MO): New macro.
1406 (__ieee754_exp2l): Force underflow exception for small results.
1407 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1408 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1409 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1410 (MO): New macro.
1411 (__ieee754_exp2l): Force underflow exception for small results.
1412 * math/auto-libm-test-in: Add more tests or exp2.
1413 * math/auto-libm-test-out: Regenerated.
1414
1415 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1416
1417 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1418
1419 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1420 /dev/null.
1421
1422 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1423
1424 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1425 io fs process)): Drop spurious backslash.
1426
1427 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1428
1429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1430 Use sysinfo system call instead of parsing /proc/meminfo.
1431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1432 Likewise.
1433
1434 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1435
1436 [BZ #16985]
1437 * programs/localedef.c (main): Display argv[remaining] when
1438 output_path is NULL.
1439
1440 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1441
1442 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1443 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1444 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1445 tanh.
1446 * math/auto-libm-test-out: Regenerated.
1447 * sysdeps/i386/fpu/libm-test-ulps: Update.
1448 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1449 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451
1452 2015-09-11 Roland McGrath <roland@hack.frob.com>
1453
1454 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1455 Use 'override' keyword to freeze the value here, preventing
1456 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1457
1458 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1459
1460 [BZ #14912]
1461 * sysdeps/aarch64/bits/atomic.h: Move to ...
1462 * sysdeps/aarch64/atomic-machine.h: ...here.
1463 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1464 _AARCH64_ATOMIC_MACHINE_H.
1465 * sysdeps/alpha/bits/atomic.h: Move to ...
1466 * sysdeps/alpha/atomic-machine.h: ...here.
1467 * sysdeps/arm/bits/atomic.h: Move to ...
1468 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1469 * bits/atomic.h: Move to ...
1470 * sysdeps/generic/atomic-machine.h: ...here.
1471 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1472 * sysdeps/i386/bits/atomic.h: Move to ...
1473 * sysdeps/i386/atomic-machine.h: ...here.
1474 * sysdeps/ia64/bits/atomic.h: Move to ...
1475 * sysdeps/ia64/atomic-machine.h: ...here.
1476 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1477 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1478 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1479 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1480 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1481 * sysdeps/microblaze/bits/atomic.h: Move to ...
1482 * sysdeps/microblaze/atomic-machine.h: ...here.
1483 * sysdeps/mips/bits/atomic.h: Move to ...
1484 * sysdeps/mips/atomic-machine.h: ...here.
1485 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1486 * sysdeps/powerpc/bits/atomic.h: Move to ...
1487 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1488 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1489 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1490 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1491 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1492 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1493 <atomic-machine.h> instead of <bits/atomic.h>.
1494 * sysdeps/s390/bits/atomic.h: Move to ...
1495 * sysdeps/s390/atomic-machine.h: ...here.
1496 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1497 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1498 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1499 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1500 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1501 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1502 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1503 * sysdeps/tile/bits/atomic.h: Move to ...
1504 * sysdeps/tile/atomic-machine.h: ...here.
1505 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1506 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1507 <sysdeps/tile/atomic-machine.h> instead of
1508 <sysdeps/tile/bits/atomic.h>.
1509 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1510 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1511 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1512 <sysdeps/tile/atomic-machine.h> instead of
1513 <sysdeps/tile/bits/atomic.h>.
1514 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1515 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1516 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1517 <sysdeps/arm/atomic-machine.h> instead of
1518 <sysdeps/arm/bits/atomic.h>.
1519 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1520 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1521 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1522 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1523 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1524 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1525 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1526 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1527 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1528 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1529 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1530 * sysdeps/x86_64/bits/atomic.h: Move to ...
1531 * sysdeps/x86_64/atomic-machine.h: ...here.
1532 * include/atomic.h: Include <atomic-machine.h> instead of
1533 <bits/atomic.h>.
1534
1535 * sysdeps/mips/mips32/libm-test-ulps: Update.
1536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1537
1538 [BZ #18952]
1539 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1540 not convert non-integer negative arguments to int to determine the
1541 value of signgam.
1542 * math/auto-libm-test-in: Add more tests of lgamma.
1543 * math/auto-libm-test-out: Regenerated.
1544
1545 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1546 cosh, csqrt, erfc, expm1 and lgamma.
1547 * math/auto-libm-test-out: Regenerated.
1548 * sysdeps/i386/fpu/libm-test-ulps: Update.
1549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1550
1551 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1552
1553 [BZ #2542]
1554 [BZ #2543]
1555 [BZ #2558]
1556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1557 __lgamma_neg for arguments from -28.0 to -2.0.
1558 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1559 __lgamma_negf for arguments from -15.0 to -2.0.
1560 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1561 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1562 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1563 Call __lgamma_negl for arguments from -33.0 to -2.0.
1564 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1565 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1566 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1575 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1576 (__lgamma_neg): Likewise.
1577 (__lgamma_negl): Likewise.
1578 (__lgamma_product): Likewise.
1579 (__lgamma_productl): Likewise.
1580 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1581 * math/auto-libm-test-in: Add more tests of lgamma.
1582 * math/auto-libm-test-out: Regenerated.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1585
1586 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1587
1588 [BZ #18675]
1589 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1590
1591 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1592
1593 [BZ #14912]
1594 * bits/libc-lock.h: Move to ...
1595 * sysdeps/generic/libc-lock.h: ...here.
1596 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1597 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1598 * sysdeps/mach/hurd/libc-lock.h: ...here.
1599 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1600 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1601 * sysdeps/mach/bits/libc-lock.h: Move to ...
1602 * sysdeps/mach/libc-lock.h: ...here.
1603 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1604 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1605 * sysdeps/nptl/libc-lock.h: ...here.
1606 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1607 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1608 * sysdeps/nptl/libc-lockP.h: ...here.
1609 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1610 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1611 <bits/libc-lock.h>.
1612 * dirent/scandir-tail.c: Likewise.
1613 * dlfcn/dlerror.c: Likewise.
1614 * elf/dl-close.c: Likewise.
1615 * elf/dl-iteratephdr.c: Likewise.
1616 * elf/dl-lookup.c: Likewise.
1617 * elf/dl-open.c: Likewise.
1618 * elf/dl-support.c: Likewise.
1619 * elf/dl-writev.h: Likewise.
1620 * elf/rtld.c: Likewise.
1621 * grp/fgetgrent.c: Likewise.
1622 * gshadow/fgetsgent.c: Likewise.
1623 * gshadow/sgetsgent.c: Likewise.
1624 * iconv/gconv_conf.c: Likewise.
1625 * iconv/gconv_db.c: Likewise.
1626 * iconv/gconv_dl.c: Likewise.
1627 * iconv/gconv_int.h: Likewise.
1628 * iconv/gconv_trans.c: Likewise.
1629 * include/link.h: Likewise.
1630 * inet/getnameinfo.c: Likewise.
1631 * inet/getnetgrent.c: Likewise.
1632 * inet/getnetgrent_r.c: Likewise.
1633 * intl/bindtextdom.c: Likewise.
1634 * intl/dcigettext.c: Likewise.
1635 * intl/finddomain.c: Likewise.
1636 * intl/gettextP.h: Likewise.
1637 * intl/loadmsgcat.c: Likewise.
1638 * intl/localealias.c: Likewise.
1639 * intl/textdomain.c: Likewise.
1640 * libidn/idn-stub.c: Likewise.
1641 * libio/libioP.h: Likewise.
1642 * locale/duplocale.c: Likewise.
1643 * locale/freelocale.c: Likewise.
1644 * locale/newlocale.c: Likewise.
1645 * locale/setlocale.c: Likewise.
1646 * login/getutent_r.c: Likewise.
1647 * login/getutid_r.c: Likewise.
1648 * login/getutline_r.c: Likewise.
1649 * login/utmp-private.h: Likewise.
1650 * login/utmpname.c: Likewise.
1651 * malloc/mtrace.c: Likewise.
1652 * misc/efgcvt.c: Likewise.
1653 * misc/error.c: Likewise.
1654 * misc/fstab.c: Likewise.
1655 * misc/getpass.c: Likewise.
1656 * misc/mntent.c: Likewise.
1657 * misc/syslog.c: Likewise.
1658 * nis/nis_call.c: Likewise.
1659 * nis/nis_callback.c: Likewise.
1660 * nis/nss-default.c: Likewise.
1661 * nis/nss_compat/compat-grp.c: Likewise.
1662 * nis/nss_compat/compat-initgroups.c: Likewise.
1663 * nis/nss_compat/compat-pwd.c: Likewise.
1664 * nis/nss_compat/compat-spwd.c: Likewise.
1665 * nis/nss_nis/nis-alias.c: Likewise.
1666 * nis/nss_nis/nis-ethers.c: Likewise.
1667 * nis/nss_nis/nis-grp.c: Likewise.
1668 * nis/nss_nis/nis-hosts.c: Likewise.
1669 * nis/nss_nis/nis-network.c: Likewise.
1670 * nis/nss_nis/nis-proto.c: Likewise.
1671 * nis/nss_nis/nis-pwd.c: Likewise.
1672 * nis/nss_nis/nis-rpc.c: Likewise.
1673 * nis/nss_nis/nis-service.c: Likewise.
1674 * nis/nss_nis/nis-spwd.c: Likewise.
1675 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1676 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1677 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1678 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1679 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1680 * nis/nss_nisplus/nisplus-network.c: Likewise.
1681 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1682 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1683 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1684 * nis/nss_nisplus/nisplus-service.c: Likewise.
1685 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1686 * nis/ypclnt.c: Likewise.
1687 * nptl/libc_pthread_init.c: Likewise.
1688 * nss/getXXbyYY.c: Likewise.
1689 * nss/getXXent.c: Likewise.
1690 * nss/getXXent_r.c: Likewise.
1691 * nss/nss_db/db-XXX.c: Likewise.
1692 * nss/nss_db/db-netgrp.c: Likewise.
1693 * nss/nss_db/nss_db.h: Likewise.
1694 * nss/nss_files/files-XXX.c: Likewise.
1695 * nss/nss_files/files-alias.c: Likewise.
1696 * nss/nsswitch.c: Likewise.
1697 * posix/regex_internal.h: Likewise.
1698 * posix/wordexp.c: Likewise.
1699 * pwd/fgetpwent.c: Likewise.
1700 * resolv/res_hconf.c: Likewise.
1701 * resolv/res_libc.c: Likewise.
1702 * shadow/fgetspent.c: Likewise.
1703 * shadow/lckpwdf.c: Likewise.
1704 * shadow/sgetspent.c: Likewise.
1705 * socket/opensock.c: Likewise.
1706 * stdio-common/reg-modifier.c: Likewise.
1707 * stdio-common/reg-printf.c: Likewise.
1708 * stdio-common/reg-type.c: Likewise.
1709 * stdio-common/vfprintf.c: Likewise.
1710 * stdio-common/vfscanf.c: Likewise.
1711 * stdlib/abort.c: Likewise.
1712 * stdlib/cxa_atexit.c: Likewise.
1713 * stdlib/fmtmsg.c: Likewise.
1714 * stdlib/random.c: Likewise.
1715 * stdlib/setenv.c: Likewise.
1716 * string/strsignal.c: Likewise.
1717 * sunrpc/auth_none.c: Likewise.
1718 * sunrpc/bindrsvprt.c: Likewise.
1719 * sunrpc/create_xid.c: Likewise.
1720 * sunrpc/key_call.c: Likewise.
1721 * sunrpc/rpc_thread.c: Likewise.
1722 * sysdeps/arm/backtrace.c: Likewise.
1723 * sysdeps/generic/ldsodefs.h: Likewise.
1724 * sysdeps/generic/stdio-lock.h: Likewise.
1725 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1726 * sysdeps/i386/backtrace.c: Likewise.
1727 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1728 * sysdeps/m68k/backtrace.c: Likewise.
1729 * sysdeps/mach/hurd/cthreads.c: Likewise.
1730 * sysdeps/mach/hurd/dirstream.h: Likewise.
1731 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1732 * sysdeps/nptl/malloc-machine.h: Likewise.
1733 * sysdeps/nptl/stdio-lock.h: Likewise.
1734 * sysdeps/posix/dirstream.h: Likewise.
1735 * sysdeps/posix/getaddrinfo.c: Likewise.
1736 * sysdeps/posix/system.c: Likewise.
1737 * sysdeps/pthread/aio_suspend.c: Likewise.
1738 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1739 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1740 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1741 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1742 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1744 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1745 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1746 * sysdeps/unix/sysv/linux/system.c: Likewise.
1747 * sysdeps/x86_64/backtrace.c: Likewise.
1748 * time/alt_digit.c: Likewise.
1749 * time/era.c: Likewise.
1750 * time/tzset.c: Likewise.
1751 * wcsmbs/wcsmbsload.c: Likewise.
1752 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1753 instead of <bits/libc-lock.h> in comment.
1754
1755 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1756
1757 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1758 Only use .set mips2 if the current ISA is below mips2.
1759 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1760 Likewise.
1761 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1762 mips32r2 if the current ISA is below mips32r2.
1763 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1764 (TLS_IE): Updated to use the TLD_RDHWR macro.
1765 (TLS_LE): Likewise.
1766 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1767 __ASSEMBLER__ condition.
1768
1769 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1770
1771 Fix parallel build of before-compile targets.
1772
1773 * sysdeps/mach/Makefile ($(patsubst
1774 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1775 mach-before-compile target.
1776 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1777 io fs process)): Move rule to dedicated hurd-before-compile target.
1778
1779 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1780
1781 Fix rules generating headers in hurd/ and mach/ when initial make call
1782 has subdir= explicitly set.
1783
1784 * sysdeps/mach/Makefile ($(patsubst
1785 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1786 calling $(MAKE).
1787 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1788 io fs process)): Force subdir to hurd when calling $(MAKE).
1789 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1790 subdir to mach when calling $(MAKE).
1791
1792 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1793
1794 Check sysheaders when looking for Mach and Hurd headers
1795
1796 * sysdeps/mach/configure.ac: Add sysheaders check.
1797 * sysdeps/mach/configure: Regenerate.
1798 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1799 * sysdeps/mach/hurd/configure: Regenerate.
1800
1801 2015-09-04 Roland McGrath <roland@hack.frob.com>
1802
1803 [BZ #18921]
1804 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1805 Fix inverted sense of test of 'o_directory_works' value.
1806 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1807 Bernhard Voelker <mail@bernhard-voelker.de>.
1808
1809 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1810
1811 [BZ #14912]
1812 * bits/linkmap.h: Move to ...
1813 * sysdeps/generic/linkmap.h: ...here.
1814 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1815 * sysdeps/aarch64/linkmap.h: ...here.
1816 * sysdeps/arm/bits/linkmap.h: Move to ...
1817 * sysdeps/arm/linkmap.h: ...here.
1818 * sysdeps/hppa/bits/linkmap.h: Move to ...
1819 * sysdeps/hppa/linkmap.h: ...here.
1820 * sysdeps/ia64/bits/linkmap.h: Move to ...
1821 * sysdeps/ia64/linkmap.h: ...here.
1822 * sysdeps/mips/bits/linkmap.h: Move to ...
1823 * sysdeps/mips/linkmap.h: ...here.
1824 * sysdeps/s390/bits/linkmap.h: Move to ...
1825 * sysdeps/s390/linkmap.h: ...here.
1826 * sysdeps/sh/bits/linkmap.h: Move to ...
1827 * sysdeps/sh/linkmap.h: ...here.
1828 * sysdeps/x86/bits/linkmap.h: Move to ...
1829 * sysdeps/x86/linkmap.h: ...here.
1830 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1831
1832 2015-09-04 Andreas Schwab <schwab@suse.de>
1833
1834 [BZ #18635]
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1836 (__makecontext): Terminate FDE before return label.
1837 (__novec_makecontext): Likewise.
1838
1839 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1840
1841 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1842 first member of struct sv in syscall macro.
1843
1844 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1845
1846 [BZ #14912]
1847 * bits/stdio-lock.h: Move to ...
1848 * sysdeps/generic/stdio-lock.h: ...here.
1849 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1850 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1851 * sysdeps/nptl/stdio-lock.h: ...here.
1852 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1853 * include/libio.h: Include <stdio-lock.h> instead of
1854 <bits/stdio-lock.h>.
1855 * sysdeps/nptl/fork.c: Likewise.
1856 * sysdeps/pthread/flockfile.c: Likewise.
1857 * sysdeps/pthread/ftrylockfile.c: Likewise.
1858 * sysdeps/pthread/funlockfile.c: Likewise.
1859
1860 [BZ #14912]
1861 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1862 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1863 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1864 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1865 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1866 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1867 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1868
1869 2015-09-03 Roland McGrath <roland@hack.frob.com>
1870
1871 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1872 (test-xfail-tst-protected1b): New variable.
1873
1874 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #14912]
1877 * bits/libc-tsd.h: Move to ...
1878 * sysdeps/generic/libc-tsd.h: ...here.
1879 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1880 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1881 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1882 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1883 * include/ctype.h: Include <libc-tsd.h> instead of
1884 <bits/libc-tsd.h>.
1885 * include/rpc/rpc.h: Likewise.
1886 * locale/localeinfo.h: Likewise.
1887 * sunrpc/rpc_thread.c: Likewise.
1888 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1889 * sysdeps/nptl/malloc-machine.h: Likewise.
1890
1891 * Makefile (headers): Remove bits/libc-lock.h.
1892 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1893
1894 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1895 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1896 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1897 <bits/stdio-lock.h>.
1898 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1899 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1900
1901 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1902
1903 [BZ #18757]
1904 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1905 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1906 BZ #18757.
1907
1908 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1909
1910 * malloc/mtrace.pl: Filter out NULL entries.
1911
1912 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1913
1914 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1915 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1916 macro.
1917
1918 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1919 (TCP_CC_INFO): Likewise.
1920 (TCP_SAVE_SYN): Likewise.
1921 (TCP_SAVED_SYN): Likewise.
1922
1923 2015-08-31 Brett Neumeier <brett@neumeier.us>
1924
1925 [BZ #18870]
1926 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1927
1928 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1929
1930 [BZ #18873]
1931 Fix broken overflow check in posix_fallocate
1932 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1933 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1934 Fix parenthesization typo.
1935
1936 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1937
1938 [BZ #18887]
1939 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1940 tst-mntent-blank-passno.
1941 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1942 * misc/tst-mntent-blank-corrupt.c: New test.
1943 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1944 * misc/tst-mntent.c (do_test): ... here.
1945
1946 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1947
1948 [BZ #4404]
1949 * po/de.po: Fix SIGALRM typo.
1950
1951 2015-08-28 James Perkins <james@loowit.net>
1952
1953 * time/tst-strptime2.c (tests): Replace short list of test
1954 strings for strptime %z specifier with code which exhaustively
1955 tests every combination of sign and 0 to 5 digits. Tests for
1956 rejection of invalid strings.
1957
1958 2015-08-28 James Perkins <james@loowit.net>
1959
1960 [BZ #16141]
1961 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1962 calculation, removing incorrect decimal time rounding, so that
1963 all minute values result in a valid seconds value.
1964 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1965 offset range limits to UTC-99:59 through UTC+99:59 to parse
1966 current and historical use cases.
1967 * time/tst-strptime2.c (tests): Modify and add tests for the
1968 strptime %z input field descriptor, specifically conversion of
1969 minutes to seconds and validating an offset range of -9959 to
1970 +9959.
1971
1972 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1973 Dmitry V. Levin <ldv@altlinux.org>
1974
1975 [BZ #18877]
1976 * posix/Makefile (tests): Add tst-mmap-offset.
1977 * posix/tst-mmap.c: New file.
1978 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1979 offset calculation for negative values.
1980
1981 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * sysdeps/i386/init-arch.h: New file.
1984 * sysdeps/i386/i586/init-arch.h: Likewise.
1985 * sysdeps/i386/i686/init-arch.h: Likewise.
1986 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1987 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1988 * sysdeps/x86/cpu-features.h (bit_I586): New.
1989 (bit_I686): Likewise.
1990 (bit_CX8): Likewise.
1991 (bit_CMOV): Likewise.
1992 (index_CX8): Likewise.
1993 (index_CMOV): Likewise.
1994 (index_I586): Likewise.
1995 (index_I686): Likewise.
1996 (reg_CX8): Likewise.
1997 (reg_CMOV): Likewise.
1998 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1999 available at compile-time.
2000 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2001 available at compile-time.
2002 * sysdeps/x86/init-arch.h (USE_I586): New macro.
2003 (USE_I686): Likewise.
2004
2005 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * sysdeps/i386/bcopy.S: New file.
2008 * sysdeps/i386/bzero.S: Likewise.
2009 * sysdeps/i386/memcpy.S: Likewise.
2010 * sysdeps/i386/memmove.S: Likewise.
2011 * sysdeps/i386/mempcpy.S: Likewise.
2012 * sysdeps/i386/memset.S: Likewise.
2013 * sysdeps/i386/bzero.c: Removed.
2014 * sysdeps/i386/memset.c: Likewise.
2015 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2016 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2017 * sysdeps/i386/i586/memset_chk.S: Likewise.
2018 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2019 * sysdeps/i386/memcpy_chk.S: Here.
2020 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2021 * sysdeps/i386/memmove_chk.S: Here.
2022 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2023 * sysdeps/i386/mempcpy_chk.S: Likewise.
2024 * sysdeps/i386/i686/memset_chk.S: Moved to ...
2025 * sysdeps/i386/memset_chk.S: Likewise.
2026
2027 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
2028
2029 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2030 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2031 file, move DIAG_POP_NEEDS_COMMENT to end of file.
2032 * soft-fp/fmadf4.c: Ditto.
2033 * soft-fp/fmatf4.c: Ditto.
2034
2035 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * sysdeps/i386/i586/Implies: Removed.
2038 * sysdeps/i386/i686/Implies: Likewise.
2039
2040 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * sysdeps/i386/i486/strlen.S: Moved to ...
2043 * sysdeps/i386/strlen.S: Here.
2044
2045 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * sysdeps/i386/i486/strcat.S: Moved to ...
2048 * sysdeps/i386/strcat.S: Here.
2049
2050 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2051
2052 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2053 * sysdeps/i386/pthread_spin_trylock.S: Here.
2054 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2055 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2056
2057 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * sysdeps/i386/i486/string-inlines.c: Moved to ...
2060 * sysdeps/i386/string-inlines.c: Here.
2061
2062 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * sysdeps/i386/i486/htonl.S: Moved ...
2065 * sysdeps/i386/htonl.S: here.
2066
2067 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2070 * sysdeps/i386/bits/atomic.h: Here.
2071
2072 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * sysdeps/i386/i486/Versions: Removed.
2075
2076 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2077
2078 [BZ #2898]
2079 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2080 Based on patch by Aurelien Jarno.
2081
2082 2015-08-26 Stan Shebs <stanshebs@google.com>
2083
2084 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2085 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2086
2087 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2088
2089 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2090 * sysdeps/powerpc/dl-procinfo.c:
2091 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2092 feature so it shows when LD_SHOW_AUXV=1.
2093
2094 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2095
2096 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2097 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2098 definition. ISA 2.07B no longer requires full sync.
2099
2100 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2101
2102 [BZ #18863]
2103 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2104 (si_call_addr): Define.
2105 (si_syscall): Define.
2106 (si_arch): Define.
2107
2108 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2109
2110 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2111 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2112 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2113 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2114 (__memset_zero_constant_len_parameter): New.
2115 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2116 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2117 (__memset_zero_constant_len_parameter): Don't define if
2118 __memset_chk or USE_AS_BZERO are defined.
2119
2120 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2121 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2122 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2123
2124 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2125 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2126 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2127 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2128 comments.
2129 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2130 -mno-mmx for $(all-rtld-routines).
2131 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2132 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2133 i386.
2134
2135 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2136
2137 * sysdeps/generic/unwind.h
2138 (_Unwind_Word): Use __mode__(__unwind_word__)
2139 instead of __mode__(__word__).
2140 (_Unwind_Sword): Likewise.
2141
2142 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2143 (MAX_NEEDED_INPUT): New define.
2144 (MAX_NEEDED_OUTPUT): New define.
2145
2146 * NEWS: New item for IBM z13 string optimizations.
2147
2148 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2149 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2150 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2151 * sysdeps/s390/multiarch/Makefile
2152 (sysdep_routines): Add memrchr functions.
2153 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2154 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2155
2156 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2157 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2158 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2159 * sysdeps/s390/multiarch/Makefile
2160 (sysdep_routines): Add wmemcmp functions.
2161 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2162 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2163 * benchtests/bench-wmemcmp.c: New File.
2164 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2165
2166 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2167 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2168 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2169 * sysdeps/s390/multiarch/Makefile
2170 (sysdep_routines): Add wmemset functions.
2171 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2172 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2173 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2174 * string/test-memset.c: Add wmemset support.
2175 * wcsmbs/test-wmemset.c: New File.
2176 * wcsmbs/Makefile (strop-tests): Add wmemset.
2177 * benchtests/bench-memset.c: Add wmemset support.
2178 * benchtests/bench-wmemset.c: New File.
2179 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2180
2181 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2182 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2183 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2184 * sysdeps/s390/multiarch/Makefile
2185 (sysdep_routines): Add memccpy functions.
2186 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2187 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2188 * string/memccpy.c: Use MEMCCPY if defined.
2189
2190 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2191 * sysdeps/s390/multiarch/memchr.c: Likewise.
2192 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2193 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2194 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2195 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2196 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2197 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2198 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2199 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2200 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2201 and rawmemchr functions.
2202 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2203 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2204 and wmemchr.
2205 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2206 * string/test-memchr.c: Add wmemchr support.
2207 * wcsmbs/test-wmemchr.c: New File.
2208 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2209 * benchtests/bench-memchr.c: Add wmemchr support.
2210 * benchtests/bench-wmemchr.c: New File.
2211 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2212
2213 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2214 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2215 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2216 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2217 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2218 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2219 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2220 wcscspn functions.
2221 * sysdeps/s390/multiarch/ifunc-impl-list.c
2222 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2223 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2224 * string/test-strcspn.c: Add wcscspn support.
2225 * wcsmbs/test-wcscspn.c: New File.
2226 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2227 * benchtests/bench-strcspn.c: Add wcscspn support.
2228 * benchtests/bench-wcscspn.c: New File.
2229 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2230
2231 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2232 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2233 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2234 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2235 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2236 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2237 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2238 wcspbrk functions.
2239 * sysdeps/s390/multiarch/ifunc-impl-list.c
2240 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2241 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2242 * string/test-strpbrk.c: Add wcspbrk support.
2243 * wcsmbs/test-wcspbrk.c: New File.
2244 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2245 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2246 * benchtests/bench-wcspbrk.c: New File.
2247 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2248
2249 * sysdeps/s390/multiarch/strspn-c.c: New File.
2250 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2251 * sysdeps/s390/multiarch/strspn.c: Likewise.
2252 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2253 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2254 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2255 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2256 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2257 wcsspn functions.
2258 * sysdeps/s390/multiarch/ifunc-impl-list.c
2259 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2260 * string/test-strspn.c: Add wcsspn support.
2261 * wcsmbs/test-wcsspn.c: New File.
2262 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2263 * benchtests/bench-strspn.c: Add wcsspn support.
2264 * benchtests/bench-wcsspn.c: New File.
2265 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2266
2267 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2268 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2269 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2270 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2271 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2272 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2273 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2274 wcsrchr functions.
2275 * sysdeps/s390/multiarch/ifunc-impl-list.c
2276 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2277 * benchtests/bench-wcsrchr.c: New File.
2278 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2279
2280 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2281 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2282 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2283 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2284 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2285 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2286 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2287 wcschrnul functions.
2288 * sysdeps/s390/multiarch/ifunc-impl-list.c
2289 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2290 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2291 * string/test-strchr.c: Add wcschrnul support.
2292 * wcsmbs/test-wcschrnul.c: New File.
2293 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2294 * benchtests/bench-strchr.c: Add wcschrnul support.
2295 * benchtests/bench-wcschrnul.c: New File.
2296 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2297
2298 * sysdeps/s390/multiarch/strchr-c.c: New File.
2299 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2300 * sysdeps/s390/multiarch/strchr.c: Likewise.
2301 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2302 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2303 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2304 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2305 wcschr functions.
2306 * sysdeps/s390/multiarch/ifunc-impl-list.c
2307 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2308 * string/strchr.c (STRCHR): Define and use macro.
2309 * benchtests/bench-wcschr.c: New File.
2310 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2311
2312 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2313 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2314 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2315 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2316 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2317 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2318 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2319 wcsncmp functions.
2320 * sysdeps/s390/multiarch/ifunc-impl-list.c
2321 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2322 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2323 * benchtests/bench-strncmp.c: Add wcsncmp support.
2324 * benchtests/bench-wcsncmp.c: New File.
2325 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2326
2327 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2328 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2329 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2330 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2331 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2332 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2333 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2334 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2335 wcscmp functions.
2336 * sysdeps/s390/multiarch/ifunc-impl-list.c
2337 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2338 * string/strcmp.c (STRCMP): Define and use macro.
2339 * benchtests/bench-wcscmp.c: New File.
2340 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2341 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2342 instead of _HAVE_STRING_ARCH_memchr.
2343
2344 * sysdeps/s390/multiarch/strncat-c.c: New File.
2345 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2346 * sysdeps/s390/multiarch/strncat.c: Likewise.
2347 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2348 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2349 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2350 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2351 wcsncat functions.
2352 * sysdeps/s390/multiarch/ifunc-impl-list.c
2353 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2354 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2355 * string/test-strncat.c: Add wcsncat support.
2356 * wcsmbs/test-wcsncat.c: New File.
2357 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2358 * benchtests/bench-strncat.c: Add wcsncat support.
2359 * benchtests/bench-wcsncat.c: New File.
2360 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2361
2362 * sysdeps/s390/multiarch/strcat-c.c: New File.
2363 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2364 * sysdeps/s390/multiarch/strcat.c: Likewise.
2365 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2366 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2367 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2368 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2369 wcscat functions.
2370 * sysdeps/s390/multiarch/ifunc-impl-list.c
2371 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2372 * string/strcat.c (STRCAT): Define and use macro.
2373 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2374 * string/test-strcat.c: Add wcscat support.
2375 * wcsmbs/test-wcscat.c: New File.
2376 * wcsmbs/Makefile (strop-tests): Add wcscat.
2377 * benchtests/bench-strcat.c: Add wcscat support.
2378 * benchtests/bench-wcscat.c: New File.
2379 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2380
2381 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2382 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2383 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2384 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2385 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2386 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2387 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2388 wcpncpy functions.
2389 * sysdeps/s390/multiarch/ifunc-impl-list.c
2390 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2391 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2392 * string/test-stpncpy.c: Add wcpncpy support.
2393 * wcsmbs/test-wcpncpy.c: New File.
2394 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2395 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2396 * benchtests/bench-wcpncpy.c: New File.
2397 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2398
2399 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2400 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2401 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2402 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2403 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2404 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2405 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2406 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2407 wcsncpy functions.
2408 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2409 * sysdeps/s390/multiarch/ifunc-impl-list.c
2410 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2411 * string/test-strncpy.c: Add wcsncpy support.
2412 * wcsmbs/test-wcsncpy.c: New File.
2413 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2414 * benchtests/bench-strncpy.c: Add wcsncpy support.
2415 * benchtests/bench-wcsncpy.c: New File.
2416 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2417
2418 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2419 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2420 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2421 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2422 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2423 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2424 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2425 wcpcpy functions.
2426 * string/stpcpy.c: Use STPCPY if defined.
2427 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2428 * sysdeps/s390/multiarch/ifunc-impl-list.c
2429 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2430 * string/test-stpcpy.c: Add wcpcpy support.
2431 * wcsmbs/test-wcpcpy.c: New File.
2432 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2433 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2434 * benchtests/bench-wcpcpy.c: New File.
2435 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2436
2437 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2438 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2439 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2440 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2441 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2442 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2443 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2444 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2445 wcscpy functions.
2446 * sysdeps/s390/multiarch/ifunc-impl-list.c
2447 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2448 * benchtests/bench-wcscpy.c: New File.
2449 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2450
2451 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2452 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2453 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2454 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2455 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2456 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2457 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2458 wcsnlen functions.
2459 * sysdeps/s390/multiarch/ifunc-impl-list.c
2460 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2461 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2462 * string/test-strnlen.c: Add wcsnlen support.
2463 * wcsmbs/test-wcsnlen.c: New File.
2464 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2465 * benchtests/bench-strnlen.c: Add wcsnlen support.
2466 * benchtests/bench-wcsnlen.c: New File.
2467 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2468
2469 * sysdeps/s390/multiarch/Makefile: New File.
2470 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2471 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2472 * sysdeps/s390/multiarch/strlen.c: Likewise.
2473 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2474 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2475 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2476 * string/strlen.c (STRLEN): Define and use macro.
2477 * sysdeps/s390/multiarch/ifunc-impl-list.c
2478 (IFUNC_VX_IMPL): New macro function.
2479 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2480 * benchtests/Makefile (wcsmbs-bench): New variable.
2481 (string-bench-all): Added wcsmbs-bench.
2482 * benchtests/bench-wcslen.c: New File.
2483
2484 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2485 s390_vx_libc_ifunc2): New macro function.
2486
2487 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2488 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2489 assembler support.
2490 * sysdeps/s390/configure: Regenerated.
2491
2492 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2493 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2494
2495 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2496 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2497 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2498
2499 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2500 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2502 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2503 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2504 (memcmp, bcmp): Use __memcmp_default as alias source.
2505 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2506 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2507 Rename to __memcmp_default.
2508 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2509 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2510 (memcpy): Use __memcpy_default as alias source.
2511 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2512 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2513 Rename to __memcpy_default.
2514 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2515 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2516 (memset): Use __memset_default as alias source.
2517 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2518 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2519 Rename to __memset_default.
2520 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2521 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2523 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2524 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2525 (memcmp, bcmp): Use __memcmp_default as alias source.
2526 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2527 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2528 Rename to __memcmp_default.
2529 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2530 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2531 (memcpy): Use __memcpy_default as alias source.
2532 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2533 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2534 Rename to __memcpy_default.
2535 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2536 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2537 (memset): Use __memset_default as alias source.
2538 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2539 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2540 Rename to __memset_default.
2541 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2542 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2543
2544 [BZ #18610]
2545 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2546 __ieee_instruction_pointer to __unused.
2547 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2548 __ieee_instruction_pointer.
2549 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2550 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2551 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2552 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2553 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2554 Mark dxc-field as reserved.
2555
2556 2015-08-25 Roland McGrath <roland@hack.frob.com>
2557
2558 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2559 if the weak reference is not null.
2560
2561 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2562
2563 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2564
2565 [BZ #11214]
2566 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2567
2568 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2569
2570 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2571 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2572 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2573 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2574 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2575 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2576 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2577 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2578 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2579 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2580 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2581 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2582 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2583 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2584 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2585 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2586 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2587 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2588
2589 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2590
2591 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2592 register other than r0 for tabort, it has special meaning.
2593 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2594 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2595 transaction before starting syscall.
2596
2597 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2598
2599 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2600
2601 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2604
2605 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2606 * sysdeps/x86_64/rtld-memset.S: Likewise.
2607 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2608 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2609 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2610 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2611
2612 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2613
2614 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2615
2616 * debug/strcpy_chk.c: Improve performance.
2617 * debug/stpcpy_chk.c: Likewise.
2618 * sysdeps/x86_64/strcpy_chk.S: Remove.
2619 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2620
2621 [BZ #18240]
2622 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2623
2624 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 [BZ #15128]
2627 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2628 ifuncmain8.
2629 (modules-names): Add ifuncmod8.
2630 ($(objpfx)ifuncmain8): New rule.
2631 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2632 <cpuid.h>.
2633 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2634 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2635 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2636 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2637 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2638 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2639 * sysdeps/x86_64/ifuncmain8.c: New file.
2640 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2641 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2642 Removed.
2643 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2644 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2645 Change rtld_savespace_sse to __glibc_unused2.
2646 (RTLD_CHECK_FOREIGN_CALL): Removed.
2647 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2648 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2649 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2650
2651 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2652
2653 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2654
2655 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2656
2657 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2658 Unconditionally set __fpcr to avoid uninialized warning.
2659 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2660
2661 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
2663 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2664 is corrupt.
2665
2666 * malloc/arena.c (arena_get2): Drop unused argument.
2667 (arena_lock): Adjust.
2668 (arena_get_retry): Likewise.
2669
2670 2015-08-24 Andreas Schwab <schwab@suse.de>
2671
2672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2673 Don't define.
2674 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2675 (__ASSUME_IPC64): Don't undef.
2676 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2677 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2678 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2679 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2680 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2681 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2682 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2683 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2684 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2685 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2686 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2687 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2688 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2689 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2690 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2691 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2692 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2693 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2694 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2697
2698 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2699
2700 * manual/Makefile (install): Only build manual when perl is available.
2701
2702 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2703
2704 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2705 '#undef memcpy' by '#undef memchr'.
2706
2707 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2708
2709 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2710 memchr not point to the internal __GI_memchr implementation.
2711
2712 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2713
2714 * timezone/Makefile (CFLAGS-zdump.c): Remove
2715 -Wno-strict-prototypes.
2716 (CFLAGS-zic.c): Likewise.
2717 (CFLAGS-ialloc.c): Likewise.
2718 (CFLAGS-scheck.c): Likewise.
2719
2720 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2721 -Wno-error=undef.
2722
2723 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2724
2725 * i386/i686/multiarch/strcasestr-c.c: Removed.
2726 * x86_64/multiarch/strcasestr.c: Likewise.
2727 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2728 Remove strcasestr.
2729
2730 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2731
2732 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2733
2734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2735 variables for high and low parts before possibly modifying them.
2736
2737 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2740 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2741 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2742 of "multiarch/init-arch.h".
2743 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2744 * sysdeps/x86/init-arch.h: This.
2745
2746 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2749 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2750
2751 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2752
2753 [BZ #17787]
2754 * manual/macros.texi: Add twoexp macro.
2755 * manual/filesys.texi: Fix exponents.
2756 * manual/llio.texi: Likewise.
2757 * manual/stdio.texi: Likewise.
2758
2759 2015-08-20 Florian Weimer <fweimer@redhat.com>
2760
2761 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2762 incorrect use.
2763
2764 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #18370]
2767 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2768 whose real or imaginary part has small absolute value.
2769 * math/s_csqrtf.c (__csqrtf): Likewise.
2770 * math/s_csqrtl.c (__csqrtl): Likewise.
2771 * math/auto-libm-test-in: Add more tests of csqrt.
2772 * math/auto-libm-test-out: Regenerated.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774
2775 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2776
2777 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2778 __ppc_set_ppr_very_low): New functions.
2779 * manual/platform.texi: Add documentation about
2780 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2781
2782 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2783
2784 * string/stpncpy.c (stpncpy): Improve performance using
2785 __strnlen/memcpy/memset.
2786
2787 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2788
2789 [BZ #18796]
2790 * scripts/test-installation.pl: Don't add -lmvec to build options if
2791 libmvec wasn't built.
2792
2793 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2794
2795 [BZ #14341]
2796 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2797 case when there is a gap between DT_REL and DT_JMPREL sections.
2798 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2799 (LDFLAGS-tst-split-dynreloc): New.
2800 (tst-split-dynreloc-ENV): Likewise.
2801 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2802 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2803
2804 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 [BZ #18822]
2807 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2808 attribute_hidden.
2809 (__xstat64_conv): Likewise.
2810 (__xstat32_conv): Likewise.
2811
2812 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 [BZ #18822]
2815 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2816 Don't load %ebx when calling __setcontext. Call __setcontext
2817 with HIDDEN_JUMPTARGET.
2818 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2819 libc_hidden_def.
2820
2821 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * sysdeps/i386/i686/Makefile
2824 [$(subdir) == string] (sysdep_routines): Moved to ...
2825 * sysdeps/i386/Makefile: Here.
2826 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2827 * sysdeps/i386/cacheinfo.c: Here.
2828 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2829 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2830 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2831 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2832
2833 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2836 __i586__ is defined.
2837 (HAS_I686): Defined to 1 if __i686__ is defined.
2838
2839 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2840
2841 * elf/Makefile [$(have-z-execstack) = yes]
2842 (CPPFLAGS-tst-execstack.c): New variable.
2843
2844 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2845 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2846 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2847 UTMPX || _HAVE_UT_TV].
2848 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2849 UTMPX || _HAVE_UT_TV - 0].
2850
2851 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2852
2853 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2854 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2855 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2856
2857 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2858
2859 * sysdeps/powerpc/dl-procinfo.c:
2860 (_dl_powerpc_cap_flags): Added missing strings for some
2861 hwcap features.
2862 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2863
2864 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 Port the 0x7efe...feff pattern to GCC 6.
2867 See Steve Ellcey's bug report in:
2868 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2869 * string/memrchr.c (MEMRCHR):
2870 * string/rawmemchr.c (RAWMEMCHR):
2871 * string/strchr.c (strchr):
2872 * string/strchrnul.c (STRCHRNUL):
2873 Rewrite code to avoid issues with signed shift overflow.
2874
2875 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2878 whether cpuid is available only if HAS_CPUID is 0.
2879 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2880 (HAS_I586): Likewise.
2881 (HAS_I686): Likewise.
2882
2883 2015-08-18 Zack Weinberg <zackw@panix.com>
2884
2885 * misc/Versions (libc): Add GLIBC_2.23.
2886
2887 2015-08-18 Alan Modra <amodra@gmail.com>
2888
2889 [BZ #18421]
2890 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2891 .Lp__global.
2892 (_start): Load %dp via .Lp__global.
2893 [!SHARED]: Use .section .rodata.
2894
2895 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2896
2897 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2898 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2899
2900 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2901
2902 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2903 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2904
2905 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2906
2907 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2908 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2909
2910 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2911
2912 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2913 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2914
2915 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2916
2917 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2918 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2919
2920 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2921
2922 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2923 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2924
2925 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2926
2927 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2928
2929 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2930
2931 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2932 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2933 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2934 (__ASSUME_LWS_CAS): Delete.
2935
2936 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2937
2938 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2939 * sysdeps/hppa/configure: Regenerated.
2940 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2941 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2942 * sysdeps/hppa/nptl/tls.h: Likewise.
2943
2944 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #18823]
2947 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2948 for scaling up small arguments.
2949 * math/s_csqrtf.c (__csqrtf): Likewise.
2950 * math/s_csqrtl.c (__csqrtl): Likewise.
2951 * math/auto-libm-test-in: Add more tests of csqrt.
2952 * math/auto-libm-test-out: Regenerated.
2953
2954 2015-08-17 Andreas Schwab <schwab@suse.de>
2955
2956 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2957 version set GLIBC_2.19.
2958
2959 2015-08-16 Zack Weinberg <zackw@panix.com>
2960
2961 [BZ #18681]
2962 * misc/regexp.h: This interface is no longer supported.
2963 Remove all contents, leaving only an #error directive.
2964 * misc/regexp.c (loc1, loc2, locs, step, advance):
2965 Demote to compatibility symbols.
2966
2967 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2968
2969 [BZ #18084]
2970 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2971 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2972 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2973 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2974 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2975 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2976 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2977 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2978 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2979
2980 2015-08-15 Zack Weinberg <zackw@panix.com>
2981
2982 [BZ #18795]
2983 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2984 buffer length is known to be too large, not if it's known to be
2985 small enough.
2986 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2987 overflow at runtime, involving a length parameter, twice: once
2988 with a compile-time constant length parameter, once without.
2989
2990 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2991
2992 [BZ #18824]
2993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2994 scaling x * y up instead of down.
2995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2997 * math/auto-libm-test-in: Add more tests of fma.
2998 * math/auto-libm-test-out: Regenerated.
2999
3000 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3001
3002 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3003
3004 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3005
3006 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3007 unnecessary movq.
3008 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3009 Likewise.
3010
3011 2015-08-13 Joseph Myers <joseph@codesourcery.com>
3012
3013 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3014 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3015 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3016 and tgamma.
3017 * math/auto-libm-test-out: Regenerated.
3018 * sysdeps/i386/fpu/libm-test-ulps: Update.
3019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3020
3021 [BZ #16520]
3022 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3023 (__tanh): Force underflow exception for arguments with small
3024 absolute value.
3025 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3026 (__tanhf): Force underflow exception for arguments with small
3027 absolute value.
3028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3029 (__tanhl): Force underflow exception for arguments with small
3030 absolute value.
3031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3032 (__tanhl): Force underflow exception for arguments with small
3033 absolute value.
3034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3035 (__tanhl): Force underflow exception for arguments with small
3036 absolute value.
3037 * math/auto-libm-test-in: Add more tests of tanh.
3038 * math/auto-libm-test-out: Regenerated.
3039 * sysdeps/i386/fpu/libm-test-ulps: Update.
3040
3041 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3044 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3045
3046 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3047
3048 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3049 <cpuid.h>.
3050
3051 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3052
3053 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3054 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3055
3056 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3059 Remove $(objpfx)init-arch.o.
3060 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3061 init-arch.
3062 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3063 (INIT_ARCH_EXT): Defined as empty.
3064 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3066 __init_cpu_features call. Replace HAS_XXX with
3067 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3068 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3069 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3071 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3073 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3074 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3075 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3076 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3077 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3078 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3079 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3080 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3083 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3085 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3086 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3087 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3092 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3093 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3094 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3100 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3101 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3102 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3103
3104 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3105
3106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3107 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3108 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3109 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3111 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3112 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3113 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3114 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3115 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3116 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3117 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3118 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3119 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3149
3150 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3153 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3154 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3157 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3158 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3163 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3164 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3165 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3166 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3167 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3170 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3171 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3173 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3174 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3175 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3176 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3177 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3178 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3179 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3180 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3181 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3182 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3183 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3187 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3188 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3189 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3190 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3191 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3192 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3193 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3194 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3195
3196 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3197
3198 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3199 (dl_platform_init): Call init_cpu_features.
3200 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3201 * sysdeps/i386/i686/cacheinfo.c
3202 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3203 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3204 * sysdeps/i386/i686/multiarch/Versions: Removed.
3205 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3206 Removed.
3207 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3208 * sysdeps/unix/sysv/linux/x86/Makefile
3209 (libpthread-sysdep_routines): Remove init-arch.
3210 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3211 <sysdeps/x86_64/dl-procinfo.c> instead of
3212 sysdeps/generic/dl-procinfo.c>.
3213 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3214 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3215 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3216 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3217 [$(subdir) == elf] (tests-static): Add
3218 tst-get-cpu-features-static.
3219 * sysdeps/x86/Versions: New file.
3220 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3221 * sysdeps/x86/cpu-features.c: Likewise.
3222 * sysdeps/x86/cpu-features.h: Likewise.
3223 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3224 * sysdeps/x86/libc-start.c: Likewise.
3225 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3226 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3227 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3228 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3229 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3230 Assume USE_MULTIARCH is defined and don't check it.
3231 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3232 (is_amd): Likewise.
3233 (max_cpuid): Likewise.
3234 (intel_check_word): Likewise.
3235 (__cache_sysconf): Don't call __init_cpu_features.
3236 (__x86_preferred_memory_instruction): Removed.
3237 (init_cacheinfo): Don't call __init_cpu_features. Replace
3238 __cpu_features with GLRO(dl_x86_cpu_features).
3239 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3240 (dl_platform_init): Call init_cpu_features.
3241 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3242 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3243 * sysdeps/x86_64/multiarch/Versions: Removed.
3244 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3245 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3246 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3247 Removed.
3248 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3249
3250 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3251
3252 [BZ #18820]
3253 * libio/Makefile (test-fmemopen-mem): New test.
3254 * libio/test-fmemopen.c (do_bz18820): New test.
3255 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3256 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3257
3258 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3259
3260 [BZ #16734]
3261 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3262 (FREE_BUF): Delete.
3263 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3264 * libio/genops.c (_IO_setb): Use malloc and free directly.
3265 (_IO_default_doallocate, _IO_default_finish): Likewise.
3266 ( _IO_unbuffer_all): Likewise.
3267 ( libc_freeres_fn): Likewise.
3268 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3269 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3270 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3271 (_IO_wdefault_doallocate): Likewise.
3272
3273 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3274
3275 [BZ #18086]
3276 * sysdeps/posix/nice.c (nice): Restore old errno.
3277 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3278
3279 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3280
3281 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3282
3283 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3284
3285 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3286 __bcopy and add a weak_alias to bcopy.
3287 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3288 for static build.
3289
3290 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3291 cleanup macro usage.
3292 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3293 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3294 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3297 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3298 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3300 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3303 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3305 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3307 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3308 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3310 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3311
3312 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3313 libc_hidden_def.
3314 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3315
3316 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3317 (sysdep_routines): Add strstr-ppc64.
3318 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3319
3320 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3321
3322 [BZ #18778]
3323 * elf/Makefile (tests): Add Add tst-nodelete2.
3324 (modules-names): Add tst-nodelete2mod.
3325 (tst-nodelete2mod.so-no-z-defs): New.
3326 ($(objpfx)tst-nodelete2): Likewise.
3327 ($(objpfx)tst-nodelete2.out): Likewise.
3328 (LDFLAGS-tst-nodelete2): Likewise.
3329 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3330 out of loop through all loaded libraries.
3331 * elf/tst-nodelete2.c: New file.
3332 * elf/tst-nodelete2mod.c: Likewise.
3333 * elf/tst-znodelete-zlib.cc: Delete.
3334
3335 2015-08-11 Andreas Schwab <schwab@suse.de>
3336
3337 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3338 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3339 (__openat64_nocancel): Likewise.
3340
3341 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3342
3343 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3344 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3345 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3346 * math/auto-libm-test-out: Regenerated.
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3349
3350 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3351
3352 [BZ #18790]
3353 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3354 threshold for returning +/- 1.
3355 * math/auto-libm-test-in: Add more tests of tanh.
3356 * math/auto-libm-test-out: Regenerated.
3357 * sysdeps/i386/fpu/libm-test-ulps: Update.
3358
3359 2015-08-10 Andreas Schwab <schwab@suse.de>
3360
3361 [BZ #18781]
3362 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3363 MORE_OFLAGS to oflag.
3364 * io/test-lfs.c (do_test): Test openat64.
3365
3366 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3367
3368 [BZ #18789]
3369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3370 smaller threshold for returning the argument.
3371 * math/auto-libm-test-in: Add more tests of sinh.
3372 * math/auto-libm-test-out: Regenerated.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374
3375 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3376
3377 [BZ #18674]
3378 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3379 break.
3380
3381 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3382
3383 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3384 (generated): Don't add $(addprefix z.,$(tzfiles)).
3385
3386 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3387
3388 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3389 * scripts/sysd-rules.awk: Likewise.
3390
3391 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3392
3393 * iconvdata/tst-tables.sh: Change echo -n to printf.
3394 * nss/db-Makefile: Likewise.
3395 * posix/tst-getconf.sh: Likewise.
3396 * stdio-common/tst-unbputc.sh: Likewise.
3397
3398 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3399
3400 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3401 MADV_*_PAGES defines behind this feature check.
3402
3403 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3404
3405 [BZ #18480]
3406 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3407 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3408 Define.
3409 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3410 LOAD_REGS_5, LOAD_REGS_6): Update.
3411 (INTERNAL_SYSCALL): Update using new LOAD defines.
3412 (INTERNAL_SYSCALL_NCS): Likewise.
3413 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3414
3415 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3416
3417 [BZ #16734]
3418 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3419
3420 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3421
3422 [BZ #17905]
3423 * catgets/Makefile (tst-catgets-mem): New test.
3424 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3425 * catgets/open_catalog.c (__open_catalog): Likewise.
3426 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3427
3428 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3429
3430 [BZ #18787]
3431 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3432 clobber registers.
3433 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3434 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3435 Cast return to __typeof (oldval).
3436
3437 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3438
3439 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3440 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3441 and delete sys/syscall.h include.
3442
3443 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3444
3445 [BZ #16517]
3446 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3447 (tan): Force underflow exception for arguments with small absolute
3448 value.
3449 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3450 (__kernel_tanf): Force underflow exception for arguments with
3451 small absolute value.
3452 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3453 (__kernel_tanl): Force underflow exception for arguments with
3454 small absolute value.
3455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3456 (__kernel_tanl): Force underflow exception for arguments with
3457 small absolute value.
3458 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3459 (__kernel_tanl): Force underflow exception for arguments with
3460 small absolute value.
3461 * math/auto-libm-test-in: Add more tests of tan.
3462 * math/auto-libm-test-out: Regenerated.
3463
3464 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3465
3466 Fix sysdeps/i386/fpu/s_scalbn.S build
3467
3468 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3469
3470 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3471
3472 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3473
3474 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3475
3476 Fix gcrt0.o compilation
3477
3478 When static-start-installed-name is different from
3479 start-installed-name, we must not use the shared objects.
3480
3481 * csu/Makefile
3482 (extra-objs): Add gmon-start.o when building shared library and
3483 $(static-start-installed-name) is different from
3484 $(start-installed-name).
3485 $(objpfx)g$(static-start-installed-name): When building shared
3486 library and $(static-start-installed-name) is different from
3487 $(static-start-installed-name), revert to non-shared rule,
3488 i.e. using $(objpfx)% and gmon-start.o.
3489
3490 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3491
3492 [BZ #16519]
3493 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3494 (__ieee754_sinh): Force underflow exception for arguments with
3495 small absolute value.
3496 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3497 (__ieee754_sinhf): Force underflow exception for arguments with
3498 small absolute value.
3499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3500 (__ieee754_sinhl): Force underflow exception for arguments with
3501 small absolute value.
3502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3503 (__ieee754_sinhl): Force underflow exception for arguments with
3504 small absolute value.
3505 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3506 (__ieee754_sinhl): Force underflow exception for arguments with
3507 small absolute value.
3508 * math/auto-libm-test-in: Add more tests of sinh.
3509 * math/auto-libm-test-out: Regenerated.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511
3512 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3513
3514 * libio/oldfileops.c: Include unistd.h.
3515
3516 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3517
3518 * stdlib/isomac.c: Include ctype.h.
3519
3520 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3521
3522 * dirent/tst-seekdir.c (main): Converted to ...
3523 (do_test): ... this.
3524 (TEST_FUNCTION): New macro.
3525 Include test-skeleton.c.
3526 * elf/tst-dlmodcount.c (main): Converted to ...
3527 (do_test): ... this.
3528 (TEST_FUNCTION): New macro.
3529 Include test-skeleton.c.
3530 * elf/tst-order-main.c (main): Converted to ...
3531 (do_test): ... this.
3532 (TEST_FUNCTION): New macro.
3533 Include test-skeleton.c.
3534 * elf/tst-pie2.c (main): Converted to ...
3535 (do_test): ... this.
3536 (TEST_FUNCTION): New macro.
3537 Include test-skeleton.c.
3538 * inet/tst-ether_aton.c (main): Converted to ...
3539 (do_test): ... this.
3540 (TEST_FUNCTION): New macro.
3541 Include test-skeleton.c.
3542 * misc/tst-mntent.c (main): Converted to ...
3543 (do_test): ... this.
3544 (TEST_FUNCTION): New macro.
3545 Include test-skeleton.c.
3546 * misc/tst-tsearch.c (main): Converted to ...
3547 (do_test): ... this.
3548 (TEST_FUNCTION): New macro.
3549 Include test-skeleton.c.
3550 * posix/tst-regexloc.c (main): Converted to ...
3551 (do_test): ... this.
3552 (TEST_FUNCTION): New macro.
3553 Include test-skeleton.c.
3554 * resolv/tst-aton.c (main): Converted to ...
3555 (do_test): ... this.
3556 (TEST_FUNCTION): New macro.
3557 Include test-skeleton.c.
3558 * stdio-common/test-fwrite.c (main): Converted to ...
3559 (do_test): ... this.
3560 (TEST_FUNCTION): New macro.
3561 Include test-skeleton.c.
3562 * stdio-common/tst-ferror.c (main): Converted to ...
3563 (do_test): ... this.
3564 (TEST_FUNCTION): New macro.
3565 Include test-skeleton.c.
3566 * stdio-common/tst-printf.c (main): Converted to ...
3567 (do_test): ... this.
3568 (TEST_FUNCTION): New macro.
3569 Include test-skeleton.c.
3570 * stdio-common/tst-printfsz.c (main): Converted to ...
3571 (do_test): ... this.
3572 (TEST_FUNCTION): New macro.
3573 Include test-skeleton.c.
3574 * stdlib/tst-strtod.c (main): Converted to ...
3575 (do_test): ... this.
3576 (TEST_FUNCTION): New macro.
3577 Include test-skeleton.c.
3578 * string/tst-strlen.c (main): Converted to ...
3579 (do_test): ... this.
3580 (TEST_FUNCTION): New macro.
3581 Include test-skeleton.c.
3582 * string/tst-svc.c (main): Converted to ...
3583 (do_test): ... this.
3584 (TEST_FUNCTION): New macro.
3585 Include test-skeleton.c.
3586 * time/tst-strptime.c (main): Converted to ...
3587 (do_test): ... this.
3588 (TEST_FUNCTION): New macro.
3589 Include test-skeleton.c.
3590 * timezone/tst-timezone.c (main): Converted to ...
3591 (do_test): ... this.
3592 (TEST_FUNCTION): New macro.
3593 Include test-skeleton.c.
3594
3595 2015-08-05 Zack Weinberg <zackw@panix.com>
3596
3597 * misc/regexp.h: Update comments.
3598
3599 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3600
3601 [BZ #18635]
3602 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3603 before return label.
3604
3605 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 [BZ #18661]
3608 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3609 when calling __errno_location.
3610 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3611 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3612
3613 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3614
3615 [BZ #18661]
3616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3617 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3618 __gettimeofday.
3619
3620 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 [BZ #18661]
3623 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3624 (__start_context): Don't use pop to restore %rdi so that stack
3625 is aligned to 16 bytes when calling __setcontext.
3626
3627 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3628
3629 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3630 only for libc.
3631 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3632
3633 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3634
3635 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3636 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3637 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3638
3639 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3640
3641 * string/memccpy.c (memccpy):
3642 Improve performance by using memchr/memcpy/__mempcpy.
3643
3644 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3645
3646 * string/strncpy.c (strncpy):
3647 Improve performance by using __strnlen/memcpy.
3648
3649 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3650
3651 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3652 Optimize to avoid an unnecessary FPCR read.
3653
3654 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3655
3656 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3657 Optimize to reduce FPCR/FPSR accesses.
3658
3659 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3662 dead->data[category] != NULL.
3663
3664 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3665
3666 [BZ #18647]
3667 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3668 and |x| close to 1, use absolute value of x when computing log.
3669 * math/auto-libm-test-in: Add more tests of pow.
3670 * math/auto-libm-test-out: Regenerated.
3671
3672 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3673
3674 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3675 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3676 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3677
3678 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3679
3680 [BZ #18525]
3681 * locales/km_KH: Remove timezone definition.
3682 * locales/lo_LA: Likewise.
3683 * locales/my_MM: Likewise.
3684 * locales/nan_TW@latin: Likewise.
3685 * locales/th_TH: Likewise.
3686 * locales/uk_UA: Likewise.
3687
3688 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3689
3690 [BZ #18265]
3691 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3692 (wcsncat): Likewise.
3693 (wcscmp): Likewise.
3694 (wcsncmp): Likewise.
3695
3696 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3697
3698 * test-skeleton.c (usage): New function.
3699 (main): Call usage when opt is '?'.
3700
3701 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3702
3703 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3704 before first use.
3705
3706 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3707
3708 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3709 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3710 in there too.
3711
3712 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3713
3714 * version.h (RELEASE): Set to "development".
3715 (VERSION): Set to "2.22.90"
3716
3717 * version.h (RELEASE): Set to "stable".
3718 (VERSION): Set to "2.22"
3719 * include/features.h (__GLIBC_MINOR__): Set to 22.
3720
3721 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3722
3723 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3724 Restructure macro to avoid "value computed is not used" warning.
3725 (atomic_compare_and_exchange_val_acq): Likewise.
3726
3727 2015-08-04 Andreas Schwab <schwab@suse.de>
3728
3729 [BZ #18635]
3730 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3731 ret.
3732 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3733
3734 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3735
3736 * po/pl.po: Updated translation.
3737 * po/uk.po: Likewise.
3738 * po/fi.po: Likewise.
3739 * po/ko.po: Likewise.
3740 * po/ru.po: Likewise.
3741 * po/vi.po: Likewise.
3742
3743 2015-07-31 Zack Weinberg <zackw@panix.com>
3744
3745 [BZ #18681]
3746 * regexp.h: Add unconditional #warning stating that this header
3747 will be removed soon. Revise banner comment to match.
3748 (compile): Consistently use ERROR instead of RETURN to report
3749 errors (partial fix for bz#18681).
3750 * regexp.c: Don't include regexp.h. Remove some unnecessary
3751 declarations.
3752
3753 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3754
3755 * po/libc.pot: Regenerated.
3756
3757 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3758
3759 [BZ #18740]
3760 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3761 float-vlen4-arch-ext-cflags): Removed.
3762 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3763 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3764
3765 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3766
3767 [BZ #14113]
3768 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3769 aligned to __aligned__.
3770 (pthread_cond_t, pthread_rwlock_t): Likewise.
3771
3772 2015-07-30 Torvald Riegel <triegel@redhat.com>
3773
3774 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3775
3776 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3777
3778 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3779 (struct sigaction): Change sa_flags from a long to an int, and add
3780 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3781
3782 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3783
3784 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3785 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3786 sysdeps/generic/sysdep.h include.
3787 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3788 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3789 sysdeps/hppa/sysdep.h.
3790 (ENTRY, PSEUDO): Undefine before defining.
3791
3792 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3793
3794 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3795 from scratch to use INTERNAL_SYSCALL.
3796
3797 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 [BZ #18078]
3800 * scripts/check-localplt.awk: Support alternate relocations.
3801 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3802 sections.
3803 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3804 malloc entries with + REL R_386_GLOB_DAT.
3805 * sysdeps/x86_64/localplt.data: New file.
3806
3807 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3808
3809 [BZ #18731]
3810 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3811 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3812 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3813
3814 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3815
3816 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3817
3818 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3819
3820 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3821 directly in terms of __sync_fetch_and_add and delete (int) cast.
3822
3823 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3824
3825 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3826 the -D_ASM_IA64_CURRENT_H flag.
3827
3828 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3829
3830 [BZ #18641]
3831 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3832
3833 2015-07-27 Andreas Schwab <schwab@suse.de>
3834
3835 * conform/conformtest.pl (checknamespace): Filter out string
3836 literals while tokenizing.
3837
3838 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3839
3840 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3841 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3842 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3843
3844 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3845
3846 * nptl/tst-join7mod.c: Add #include <string.h>.
3847
3848 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3849
3850 * sysdeps/nios2/libm-test-ulps: Update.
3851
3852 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3853
3854 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3855 Fix order of arguments to the rt_sigprocmask syscall.
3856 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3857 Likewise.
3858
3859 2015-07-24 Roland McGrath <roland@hack.frob.com>
3860
3861 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3862
3863 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3864
3865 [BZ #18457]
3866 * nptl/Makefile (tests): New test case tst-join7.
3867 (modules-names): New test case module tst-join7mod.
3868 * nptl/tst-join7.c: New file.
3869 * nptl/tst-join7mod.c: New file.
3870 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3871 all translation units in libc.so, libpthread.so and rtld.
3872
3873 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3874
3875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3876
3877 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3878
3879 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3880 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3881 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3882 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3884 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3891 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3892 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3894 implementation.
3895
3896 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3897
3898 [BZ #17711]
3899 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3900 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3901 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3902 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3903 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3904 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3905
3906 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3907
3908 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3909 instead of just saying load lock in the comments.
3910
3911 2015-07-23 Roland McGrath <roland@hack.frob.com>
3912
3913 * sysdeps/unix/Subdirs: Moved ...
3914 * sysdeps/posix/Subdirs: ... here.
3915 * login/pty.h (struct termios, struct winsize): Add forward decls.
3916 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3917 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3918 * sysdeps/arm/nacl/libc.abilist: Updated.
3919 * sysdeps/nacl/libutil.abilist: New file.
3920
3921 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3922 (SIGWINCH): New macro.
3923
3924 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3925 * sysdeps/arm/nacl/libc.abilist: Add it.
3926
3927 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3928
3929 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3930
3931 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3932
3933 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3934 Swap __glibc_reserved0 and sa_flags order.
3935
3936 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
3938 [BZ #18657]
3939 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3940 are pending TLS destructor calls.
3941 * include/link.h (struct link_map): Add concurrency note for
3942 L_TLS_DTOR_COUNT.
3943 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3944 Don't touch the link map flag. Atomically increment
3945 l_tls_dtor_count.
3946 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3947 Avoid taking the load lock and don't touch the link map flag.
3948 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3949 * stdlib/Makefile (tests): Use it.
3950 * stdlib/tst-tls-atexit.c (do_test): dlopen
3951 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3952 to allow tst-tls-atexit-nodelete test case to use it.
3953
3954 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3955
3956 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3957 to bits/types.h.
3958 (msgqnum_t): New typedef.
3959 (msglen_t): Likewise.
3960 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3961 and msg_qbytes type to msglen_t.
3962
3963 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3964
3965 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3966 pad0 to __glibc_reserved0.
3967 (struct stat64): Likewise.
3968
3969 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3970
3971 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3972 Change sa_flags from a long to an int and add __glibc_reserved0 before
3973 it for padding.
3974
3975 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3976
3977 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3978 anonymous by deleting "siginfo" name.
3979
3980 2015-07-21 Roland McGrath <roland@hack.frob.com>
3981
3982 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3983 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3984 rather than __nacl_irt_filename.
3985 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3986
3987 * NEWS: New item for arm-nacl port.
3988 * sysdeps/arm/nacl/libc.abilist: New file.
3989 * sysdeps/nacl/ld.abilist: New file.
3990 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3991 * sysdeps/nacl/libanl.abilist: New file.
3992 * sysdeps/nacl/libcrypt.abilist: New file.
3993 * sysdeps/nacl/libdl.abilist: New file.
3994 * sysdeps/nacl/libm.abilist: New file.
3995 * sysdeps/nacl/libpthread.abilist: New file.
3996 * sysdeps/nacl/libresolv.abilist: New file.
3997 * sysdeps/nacl/librt.abilist: New file.
3998
3999 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
4000
4001 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4002 __startcontext to initialize the new context.
4003 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4004 up CFI directive to forbid further backtracing.
4005
4006 2015-07-21 Marko Myllynen <myllynen@redhat.com>
4007
4008 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4009 reference.
4010 * charmaps/ANSI_X3.4-1968: Likewise.
4011 * charmaps/BS_4730: Likewise.
4012 * charmaps/BS_VIEWDATA: Likewise.
4013 * charmaps/CP1250: Likewise.
4014 * charmaps/CP1251: Likewise.
4015 * charmaps/CP1252: Likewise.
4016 * charmaps/CP1253: Likewise.
4017 * charmaps/CP1254: Likewise.
4018 * charmaps/CP1255: Likewise.
4019 * charmaps/CP1256: Likewise.
4020 * charmaps/CSN_369103: Likewise.
4021 * charmaps/EBCDIC-DK-NO: Likewise.
4022 * charmaps/GB_1988-80: Likewise.
4023 * charmaps/GREEK-CCITT: Likewise.
4024 * charmaps/GREEK7: Likewise.
4025 * charmaps/INIS-8: Likewise.
4026 * charmaps/ISIRI-3342: Likewise.
4027 * charmaps/ISO_2033-1983: Likewise.
4028 * charmaps/ISO_5427-EXT: Likewise.
4029 * locales/POSIX: Likewise.
4030 * locales/ar_SA: Likewise.
4031 * locales/be_BY: Likewise.
4032 * locales/be_BY@latin: Likewise.
4033 * locales/ca_ES: Likewise.
4034 * locales/cs_CZ: Likewise.
4035 * locales/da_DK: Likewise.
4036 * locales/de_BE: Likewise.
4037 * locales/de_CH: Likewise.
4038 * locales/de_LU: Likewise.
4039 * locales/en_AU: Likewise.
4040 * locales/en_BW: Likewise.
4041 * locales/en_CA: Likewise.
4042 * locales/en_DK: Likewise.
4043 * locales/en_GB: Likewise.
4044 * locales/en_IE: Likewise.
4045 * locales/en_NZ: Likewise.
4046 * locales/en_ZA: Likewise.
4047 * locales/en_ZW: Likewise.
4048 * locales/es_AR: Likewise.
4049 * locales/es_BO: Likewise.
4050 * locales/es_CL: Likewise.
4051 * locales/es_CO: Likewise.
4052 * locales/es_DO: Likewise.
4053 * locales/es_EC: Likewise.
4054 * locales/es_ES: Likewise.
4055 * locales/es_HN: Likewise.
4056 * locales/es_MX: Likewise.
4057 * locales/es_PA: Likewise.
4058 * locales/es_PE: Likewise.
4059 * locales/es_PY: Likewise.
4060 * locales/es_SV: Likewise.
4061 * locales/es_US: Likewise.
4062 * locales/es_UY: Likewise.
4063 * locales/es_VE: Likewise.
4064 * locales/et_EE: Likewise.
4065 * locales/fa_IR: Likewise.
4066 * locales/fo_FO: Likewise.
4067 * locales/fr_CA: Likewise.
4068 * locales/fr_CH: Likewise.
4069 * locales/gv_GB: Likewise.
4070 * locales/he_IL: Likewise.
4071 * locales/hr_HR: Likewise.
4072 * locales/id_ID: Likewise.
4073 * locales/is_IS: Likewise.
4074 * locales/it_CH: Likewise.
4075 * locales/iw_IL: Likewise.
4076 * locales/kl_GL: Likewise.
4077 * locales/ko_KR: Likewise.
4078 * locales/kw_GB: Likewise.
4079 * locales/lg_UG: Likewise.
4080 * locales/lt_LT: Likewise.
4081 * locales/lv_LV: Likewise.
4082 * locales/mi_NZ: Likewise.
4083 * locales/nhn_MX: Likewise.
4084 * locales/nl_BE: Likewise.
4085 * locales/pl_PL: Likewise.
4086 * locales/sk_SK: Likewise.
4087 * locales/sl_SI: Likewise.
4088 * locales/sv_FI: Likewise.
4089 * locales/tl_PH: Likewise.
4090 * locales/tr_TR: Likewise.
4091 * locales/vi_VN: Likewise.
4092
4093 2015-07-21 Khem Raj <raj.khem@gmail.com>
4094
4095 [BZ #17475]
4096 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4097 of tu_IN and bh_IN.
4098
4099 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4100
4101 [BZ #18694]
4102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4103 bits/wordsize.h.
4104 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4105
4106 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4107
4108 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4109 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4110 (spawn_thread): New function.
4111 (load): Rename to reg_dtor_and_close. Move dlopen to...
4112 (do_test): ... here. Use IS_LOADED to test for its
4113 availability.
4114
4115 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4116
4117 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4118
4119 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 [BZ #18696]
4122 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4123 si_addr_bnd.
4124 (si_lower): New.
4125 (si_upper): Likewise.
4126
4127 2015-07-16 David S. Miller <davem@davemloft.net>
4128
4129 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4130
4131 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4132
4133 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4134 buffer.
4135 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4136 fail output information.
4137
4138 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4139
4140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4141 and strstr-ppc64..
4142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4143 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4144 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4145 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4146 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4147
4148 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4149
4150 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4151 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4152 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4153 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4154
4155 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4156
4157 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4158 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4159 rtld_hidden_proto.
4160 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4161
4162 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
4164 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4165 the test can fail.
4166
4167 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4168
4169 [BZ #18676]
4170 * elf/tst-nodelete-opened.c: New test case.
4171 * elf/tst-nodelete-opened-lib.c: New test case module.
4172 * elf/Makefile (tests, modules-names): Use them.
4173 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4174 early.
4175
4176 2015-07-15 David S. Miller <davem@davemloft.net>
4177
4178 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4179 futex-intenal.h
4180 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4181 * sysdeps/sparc/sparc64/Makefile: Likewise.
4182 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4183 Remove space from macro define.
4184 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4185
4186 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4187
4188 [BZ #17475]
4189 * locale/iso-639.def: Update Bhili and Tulu language codes as
4190 per iso639-3.
4191
4192 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4193
4194 * elf/tst-leaks1.c (main): Converted to ...
4195 (do_test): ... this.
4196 (TEST_FUNCTION): New macro.
4197 Include test-skeleton.c.
4198 * localedata/tst-langinfo.c (main): Converted to ...
4199 (do_test): ... this.
4200 (TEST_FUNCTION): New macro.
4201 Include test-skeleton.c.
4202 * math/test-fpucw.c (main): Converted to ...
4203 (do_test): ... this.
4204 (TEST_FUNCTION): New macro.
4205 Include test-skeleton.c.
4206 * math/test-tgmath.c (main): Converted to ...
4207 (do_test): ... this.
4208 (TEST_FUNCTION): New macro.
4209 Include test-skeleton.c.
4210 * math/test-tgmath2.c (main): Converted to ...
4211 (do_test): ... this.
4212 (TEST_FUNCTION): New macro.
4213 Include test-skeleton.c.
4214 * setjmp/tst-setjmp.c (main): Converted to ...
4215 (do_test): ... this.
4216 (TEST_FUNCTION): New macro.
4217 Include test-skeleton.c.
4218 * stdio-common/tst-sscanf.c (main): Converted to ...
4219 (do_test): ... this.
4220 (TEST_FUNCTION): New macro.
4221 Include test-skeleton.c.
4222 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4223 (do_test): ... this.
4224 (TEST_FUNCTION): New macro.
4225 Include test-skeleton.c.
4226
4227 * elf/tst-audit9.c (main): Converted to ...
4228 (do_test): ... this.
4229 (TEST_FUNCTION): New macro.
4230 Include test-skeleton.c.
4231
4232 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4233
4234 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4235
4236 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4237
4238 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4239 New variable.
4240
4241 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4242
4243 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4244
4245 2015-07-14 Roland McGrath <roland@hack.frob.com>
4246
4247 * sysdeps/generic/dl-fileid.h: New file.
4248 * sysdeps/posix/dl-fileid.h: New file.
4249 * sysdeps/nacl/dl-fileid.h: New file.
4250 * include/link.h: Include <dl-fileid.h>.
4251 (struct link_map): Replace l_dev and l_ino with l_file_id.
4252 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4253 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4254 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4255
4256 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4257
4258 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4259
4260 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4261
4262 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4263 Add iff $CXX is set.
4264 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4265 Likewise.
4266 (tst-nodelete-zmodiff): Likewise.
4267 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4268
4269 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
4271 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4272
4273 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4274
4275 * sysdeps/aarch64/fpu/math_private.h
4276 (define math_opt_barrier): Add AArch64 version.
4277 (math_force_eval): Likewise.
4278
4279 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4280
4281 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4282
4283 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4286 %ld with %jd and cast to intmax_t.
4287 (do_test_length_zero): Likewise.
4288
4289 2015-07-10 Roland McGrath <roland@hack.frob.com>
4290
4291 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4292
4293 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4294
4295 * sysdeps/tile/libm-test-ulps: Regenerated.
4296
4297 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4298 Comment out the whole function, not just its body.
4299
4300 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4301
4302 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4303 locks.
4304
4305 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4306
4307 2015-07-10 Torvald Riegel <triegel@redhat.com>
4308
4309 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4310 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4311
4312 2015-07-10 Torvald Riegel <triegel@redhat.com>
4313
4314 * sysdeps/nptl/futex-internal.h: New file.
4315 * sysdeps/nacl/futex-internal.h: New file.
4316 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4317 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4318 error checking.
4319 (setxid_unmark_thread): Likewise.
4320 (__nptl_setxid): Likewise.
4321 (__wait_lookup_done): Likewise.
4322 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4323 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4324 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4325 * nptl/pthread_once.c (clear_once_control): Likewise.
4326 (__pthread_once_slow): Likewise.
4327 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4328 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4329 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4330 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4331 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4332 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4333 Likewise.
4334 (__pthread_rwlock_rdlock): Likewise.
4335 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4336 Likewise.
4337 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4338 Likewise.
4339 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4340 Likewise.
4341 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4342 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4343 Likewise.
4344 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4345 __ASSUME_PRIVATE_FUTEX check.
4346 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4347 Check that shared futexes are supported.
4348 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4349 wrappers with error checking.
4350 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4351 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4352 * nptl/pthread_barrierattr_setpshared.c
4353 (pthread_barrierattr_setpshared): Check that shared futexes are
4354 supported.
4355 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4356 Likewise.
4357 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4358 Likewise.
4359 * nptl/sem_init.c (futex_private_if_supported): Remove.
4360 (__new_sem_init): Adapt and check that shared futexes are supported.
4361 * nptl/sem_open.c (sem_open): Likewise.
4362 * nptl/sem_post.c (futex_wake): Remove.
4363 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4364 (do_futex_wait): Use futex wrappers with error checking.
4365 * nptl/sem_wait.c: Include lowlevellock.h.
4366 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4367 Use futex_supports_pshared.
4368 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4369 Use futex wrappers with error checking.
4370 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4371 Likewise.
4372 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4373 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4374 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4375 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4376 (futex_wake): Likewise.
4377 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4378 (do_futex_wait): Use futex wrappers with error checking.
4379 (__new_sem_wait_slow): Update EINTR handling.
4380 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4381
4382 2015-07-09 Martin Sebor <msebor@redhat.com>
4383
4384 [BZ #18435]
4385 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4386 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4387 * nptl/Makefile (test-xfail-tst-once5): Define.
4388
4389 2015-07-09 Roland McGrath <roland@hack.frob.com>
4390
4391 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4392 * elf/dl-minimal.c: For readability, reorder some definitions and
4393 introduce more page breaks. Include <stdio.h>.
4394 (__libc_fatal): New function.
4395
4396 * include/unistd.h: Add rtld_hidden_proto for _exit.
4397 * posix/_exit.c: Add rtld_hidden_def.
4398 * sysdeps/mach/hurd/_exit.c: Likewise.
4399 * sysdeps/nacl/_exit.c: Likewise.
4400 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4401 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4402
4403 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4404
4405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4406 bndmov encoding with zero displacement.
4407
4408 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4409 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 [BZ #18134]
4412 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4413 * sysdeps/i386/configure: Regenerated.
4414 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4415 (_dl_runtime_profile): Save and restore Intel MPX return bound
4416 registers when calling _dl_call_pltexit. Add
4417 PRESERVE_BND_REGS_PREFIX before return.
4418 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4419 (LRV_BND1_OFFSET): Likewise.
4420 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4421 lrv_bnd1.
4422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4423 typo in bndmov encoding.
4424 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4425 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4426 branch instructions to preserve bounds.
4427
4428 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4429
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4431 [GLIBC_2.22]: Add fmemopen.
4432
4433 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4434
4435 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4436 returns an error, also try to use host port from __mach_host_self for
4437 the __vm_wire call.
4438 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4439
4440 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4441
4442 [BZ #18400]
4443 [BZ #18648]
4444 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4445 Fix pr_uid and pr_gid members.
4446 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4447 definition to elf_greg_t.
4448
4449 2015-07-08 Roland McGrath <roland@hack.frob.com>
4450
4451 [BZ #18383]
4452 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4453 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4454 * sysdeps/arm/configure: Regenerated.
4455 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4456 (test-xfail-tst-tlsalign-static): Variable removed.
4457
4458 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4459 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4460 rather than explicit 'ln -s'.
4461
4462 * resolv/rpc/netdb.h: New file.
4463 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4464
4465 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4466
4467 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4468 length buffers.
4469 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4470 test-skeleton.c.
4471
4472 [BZ #6544]
4473 [BZ #11216]
4474 [BZ #12836]
4475 [BZ #13151]
4476 [BZ #13152]
4477 [BZ #14292]
4478 * include/stdio.h (fmemopen): Remove hidden prototype.
4479 (__fmemopen): Add new hidden prototype.
4480 * libio/Makefile: Add oldfmemopen object.
4481 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4482 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4483 compliance.
4484 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4485 symbol compatibility.
4486 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4487 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4488 fmemopen.
4489 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4490 on append and read mode.
4491 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4492 fmemopen.
4493 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4494 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4495 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4496 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4497 Likewise.
4498 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4499 [GLIBC_2.22]: Likewise.
4500 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4503 Likewise.
4504 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4505 [GLIBC_2.22]: Likewise.
4506 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4507 [GLIBC_2.22]: Likewise.
4508 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4509 [GLIBC_2.22]: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4511 [GLIBC_2.22]: Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4513 [GLIBC_2.22]: Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4515 [GLIBC_2.22]: Likewise.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4517 [GLIBC_2.22]: Likewise.
4518 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4519 Likewise.
4520 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4521 Likewise.
4522 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4524 [GLIBC_2.22]: Likewise.
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4526 [GLIBC_2.22]: Likewise.
4527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4528 [GLIBC_2.22]: Likewise.
4529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4530 [GLIBC_2.22]: Likewise.
4531 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4532 Likewise.
4533 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4534 Likewise.
4535 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4536 Likewise.
4537 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4538 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4539
4540 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4541
4542 [BZ #18643]
4543 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4544 IPV6_PATHMTU, and IPV6_DONTFRAG.
4545
4546 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4547
4548 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4549 and _IO_UNBUFFERED.
4550 * libio/oldfileops.c: Likewise.
4551 * libio/wfileops.c: Likewise.
4552
4553 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4554
4555 * nscd/selinux.c: Delete selinux/flask.h include.
4556
4557 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4558
4559 [BZ #18641]
4560 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4561 (putpwent): Likewise.
4562 (getpwnam): Likewise.
4563 (getpwent_r): Likewise.
4564 (getpwuid_r): Likewise.
4565 (getpwnam_r): Likewise.
4566 (fgetpwent_r): Likewise.
4567
4568 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4569
4570 [BZ #18557]
4571 * inet/rcmd.c (__validuser2_sa): Check user first to
4572 short-circuit host check.
4573
4574 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4575 Mikhail Ilin <m.ilin@samsung.com>
4576
4577 [BZ #17833]
4578 * elf/Makefile (tests): Add tst-nodelete.
4579 (modules-names): Add tst-nodelete-uniquemod.
4580 (tst-nodelete-uniquemod.so-no-z-defs): New.
4581 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4582 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4583 ($(objpfx)tst-nodelete): Likewise.
4584 ($(objpfx)tst-nodelete.out): Likewise.
4585 (LDFLAGS-tst-nodelete): Likewise.
4586 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4587 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4588 implement forced object deletion.
4589 (_dl_close): Pass false to _dl_close_worker.
4590 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4591 * elf/tst-nodelete.cc: New file.
4592 * elf/tst-nodeletelib.cc: Likewise.
4593 * elf/tst-znodeletelib.cc: Likewise.
4594 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4595
4596 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4597
4598 [BZ #18508]
4599 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4600 Depend on $(libdl).
4601 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4602 is not called infinitely times.
4603 (backtrace_helper): New function.
4604 (trace_arg): New struct.
4605 (st1): Enlarge stack size.
4606 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4607 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4608 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4609 Likewise.
4610
4611 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4612
4613 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4614
4615 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4616
4617 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4618 Include sys/types.h instead of bits/types.h.
4619 Remove inclusion of bits/wordsize.h.
4620
4621 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4624 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4625 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4626 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4627 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4628 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4629
4630 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4633 link-defines.sym.
4634 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4635 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4636 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4637 and LR_SIZE.
4638 * sysdeps/i386/link-defines.sym: New file.
4639
4640 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4643 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4644 ($(objpfx)tst-audit3): New rule.
4645 ($(objpfx)tst-audit3.out): Likewise.
4646 * sysdeps/i386/tst-audit3.c: New file.
4647 * sysdeps/i386/tst-audit3.h: Likewise.
4648 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4649 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4650
4651 2015-07-07 Torvald Riegel <triegel@redhat.com>
4652
4653 [BZ #18633]
4654 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4655 pointer in C code.
4656 (__strcat_c): Likewise.
4657 (__strcat_g): Likewise.
4658
4659 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4660
4661 [BZ #18592]
4662 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4663
4664 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4665
4666 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4667 New function. (__ieee754_sqrtf): New function.
4668 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4669 New function.
4670 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4671 New function.
4672
4673 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4674
4675 * sysdeps/ieee754/support.c: Remove unused file.
4676
4677 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4678
4679 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4680 registers instead of d ones so the layout is kernel abi compatible.
4681 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4682 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4683 Likewise.
4684
4685 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4686
4687 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4688
4689 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4690
4691 [BZ #18619]
4692 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4693 and return argument in case of subnormal argument.
4694
4695 2015-07-01 Martin Sebor <msebor@redhat.com>
4696
4697 [BZ #18435]
4698 * nptl/Makefile: Add tst-once5.cc.
4699 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4700 Remove macro redefinitions.
4701 * nptl/tst-once5.cc: New test.
4702
4703 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4704
4705 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4706
4707 * sysdeps/arm/libm-test-ulps: Regenerated.
4708
4709 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4710 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4711
4712 2015-06-30 Torvald Riegel <triegel@redhat.com>
4713
4714 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4715 lll_lock_wait_private and lll_futex_wake probes.
4716
4717 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4719 Likewise.
4720 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4721 atomic_spin_nop.
4722 * sysdeps/x86_64/bits/atomic.h: Likewise.
4723 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4724 to atomic_spin_nop and move ...
4725 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4726 ... here and ...
4727 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4728 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4729 atomic_spin_nop instead of BUSY_WAIT_NOP.
4730 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4731 Likewise.
4732 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4733 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4734 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4735 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4736 instead of atomic_delay.
4737
4738 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4739
4740 [BZ #18613]
4741 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4742 X_ADJ not X when adjusting exponent.
4743 (__ieee754_gamma_r): Do intermediate computations in
4744 round-to-nearest then adjust overflowing and underflowing results
4745 as needed.
4746 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4747 of X_ADJ not X when adjusting exponent.
4748 (__ieee754_gammaf_r): Do intermediate computations in
4749 round-to-nearest then adjust overflowing and underflowing results
4750 as needed.
4751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4752 log of X_ADJ not X when adjusting exponent.
4753 (__ieee754_gammal_r): Do intermediate computations in
4754 round-to-nearest then adjust overflowing and underflowing results
4755 as needed. Use 1.0L not 1.0f as numerator of division.
4756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4757 log of X_ADJ not X when adjusting exponent.
4758 (__ieee754_gammal_r): Do intermediate computations in
4759 round-to-nearest then adjust overflowing and underflowing results
4760 as needed. Use 1.0L not 1.0f as numerator of division.
4761 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4762 of X_ADJ not X when adjusting exponent.
4763 (__ieee754_gammal_r): Do intermediate computations in
4764 round-to-nearest then adjust overflowing and underflowing results
4765 as needed. Use 1.0L not 1.0f as numerator of division.
4766 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4767 to auto-libm-test-in.
4768 (tgamma_test): Use ALL_RM_TEST.
4769 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4770 tests of tgamma with spurious-overflow.
4771 * math/auto-libm-test-out: Regenerated.
4772 * math/gen-libm-have-vector-test.sh: Do not check for START.
4773 * sysdeps/i386/fpu/libm-test-ulps: Update.
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4775
4776 [BZ #18612]
4777 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4778 arguments, just return 0.5 times the argument, with underflow
4779 forced as needed.
4780 * math/auto-libm-test-in: Add more tests of j1.
4781 * math/auto-libm-test-out: Regenerated.
4782
4783 [BZ #16559]
4784 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4785 (__ieee754_j1): Force underflow exception for small results.
4786 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4787 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4788 (__ieee754_j1f): Force underflow exception for small results.
4789 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4790 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4793 (__ieee754_j1l): Force underflow exception for small results.
4794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4795 * math/auto-libm-test-in: Add more tests of j1 and jn.
4796 * math/auto-libm-test-out: Regenerated.
4797
4798 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4800 (PF_MPLS): Likewise.
4801 (AF_IB): Likewise.
4802 (AF_MPLS): Likewise.
4803 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4804 value and macro.
4805 (MS_RMT_MASK): Include MS_LAZYTIME.
4806
4807 2015-06-26 Mel Gorman <mgorman@suse.de>
4808
4809 [BZ #18502]
4810 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4811 already minimal.
4812
4813 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4814
4815 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4816 (DT_MIPS_NUM): Update.
4817 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4818 DT_MIPS_RLD_MAP_REL.
4819
4820 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4821
4822 [BZ #16559]
4823 [BZ #18602]
4824 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4825 round-to-nearest internally then recompute results that
4826 underflowed to zero in the original rounding mode.
4827 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4828 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4830 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4831 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
4835 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4836
4837 * NEWS: Fixed description of link with vector math library.
4838
4839 2015-06-25 Andreas Schwab <schwab@suse.de>
4840
4841 [BZ #18549]
4842 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4843 * libio/test-fmemopen.c (do_test): Add test for it.
4844
4845 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4846
4847 [BZ #17841]
4848 * Makeconfig (no-pie-ldflag): New.
4849 (+link): Set to $(+link-pie) if default to PIE.
4850 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4851 * config.make.in (build-pie-default): New.
4852 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4853 is default. AC_SUBST.
4854 * configure: Regenerated.
4855 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4856
4857 2015-06-24 Roland McGrath <roland@hack.frob.com>
4858
4859 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4860 to 'unsigned int'.
4861
4862 * resolv/gai_misc.h (struct waitlist): Change type of field
4863 counterp to 'volatile unsigned int *'.
4864 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4865 FUTEXADDR and OLDVAL.
4866 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4867 Give local variable TOTAL type 'volatile unsigned int'.
4868 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4869 * resolv/gai_suspend.c (gai_suspend):
4870 Give local variable CNTR type 'unsigned int'.
4871
4872 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4873 counterp to 'volatile unsigned int *'.
4874 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4875 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4876 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4877 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4878 Give local variable TOTAL type 'volatile unsigned int'.
4879 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4880
4881 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4882
4883 [BZ #18383]
4884 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4885 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4886 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4887 comment for i386/x86-64.
4888 (test-xfail-tst-tlsalign-extern-static): Removed.
4889
4890 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4891
4892 * math/test-double.h: New file.
4893 * math/test-float.h: Likewise.
4894 * math/test-ldouble.h: Likewise.
4895 * math/test-math-inline.h: Likewise.
4896 * math/test-math-no-inline.h: Likewise.
4897 * math/test-math-scalar.h: Likewise.
4898 * math/test-math-vector.h: Likewise.
4899 * math/test-vec-loop.h: Remove file. Contents moved into
4900 test-math-vector.h.
4901 * math/libm-test.inc (MATHCONST): Do not document macro.
4902 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4903 and test-math-scalar.h.
4904 (FUNC): Remove macro.
4905 (FUNC_TEST): Likewise.
4906 (FLOAT): Likewise.
4907 (MATHCONST): Likewise.
4908 (PRINTF_EXPR): Likewise.
4909 (PRINTF_XEXPR): Likewise.
4910 (PRINTF_NEXPR): Likewise.
4911 (TEST_DOUBLE): Likewise.
4912 (TEST_MATHVEC): Likewise.
4913 (__NO_MATH_INLINES): Likewise.
4914 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4915 and test-math-scalar.h.
4916 (FUNC): Remove macro.
4917 (FUNC_TEST): Likewise.
4918 (FLOAT): Likewise.
4919 (MATHCONST): Likewise.
4920 (PRINTF_EXPR): Likewise.
4921 (PRINTF_XEXPR): Likewise.
4922 (PRINTF_NEXPR): Likewise.
4923 (TEST_FLOAT): Likewise.
4924 (TEST_MATHVEC): Likewise.
4925 (__NO_MATH_INLINES): Likewise.
4926 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4927 and test-math-scalar.h.
4928 (FUNC): Remove macro.
4929 (FUNC_TEST): Likewise.
4930 (FLOAT): Likewise.
4931 (MATHCONST): Likewise.
4932 (PRINTF_EXPR): Likewise.
4933 (PRINTF_XEXPR): Likewise.
4934 (PRINTF_NEXPR): Likewise.
4935 (TEST_DOUBLE): Likewise.
4936 (TEST_MATHVEC): Likewise.
4937 (TEST_INLINE): Likewise.
4938 (__NO_MATH_INLINES): Likewise.
4939 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4940 test-math-scalar.h.
4941 (FUNC): Remove macro.
4942 (FUNC_TEST): Likewise.
4943 (FLOAT): Likewise.
4944 (MATHCONST): Likewise.
4945 (PRINTF_EXPR): Likewise.
4946 (PRINTF_XEXPR): Likewise.
4947 (PRINTF_NEXPR): Likewise.
4948 (TEST_FLOAT): Likewise.
4949 (TEST_MATHVEC): Likewise.
4950 (TEST_INLINE): Likewise.
4951 (__NO_MATH_INLINES): Likewise.
4952 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4953 and test-math-scalar.h.
4954 (FUNC): Remove macro.
4955 (FUNC_TEST): Likewise.
4956 (FLOAT): Likewise.
4957 (MATHCONST): Likewise.
4958 (PRINTF_EXPR): Likewise.
4959 (PRINTF_XEXPR): Likewise.
4960 (PRINTF_NEXPR): Likewise.
4961 (TEST_LDOUBLE): Likewise.
4962 (TEST_MATHVEC): Likewise.
4963 (TEST_INLINE): Likewise.
4964 (__NO_MATH_INLINES): Likewise.
4965 * math/test-ldouble.c: Include test-ldouble.h,
4966 test-math-no-inline.h and test-math-scalar.h.
4967 (FUNC): Remove macro.
4968 (FUNC_TEST): Likewise.
4969 (FLOAT): Likewise.
4970 (MATHCONST): Likewise.
4971 (PRINTF_EXPR): Likewise.
4972 (PRINTF_XEXPR): Likewise.
4973 (PRINTF_NEXPR): Likewise.
4974 (TEST_LDOUBLE): Likewise.
4975 (TEST_MATHVEC): Likewise.
4976 (__NO_MATH_INLINES): Likewise.
4977 * math/test-double-vlen2.h: Include test-double.h,
4978 test-math-no-inline.h and test-math-vector.h.
4979 (FLOAT): Remove macro.
4980 (FUNC): Likewise.
4981 (MATHCONST): Likewise.
4982 (PRINTF_EXPR): Likewise.
4983 (PRINTF_XEXPR): Likewise.
4984 (PRINTF_NEXPR): Likewise.
4985 (TEST_DOUBLE): Likewise.
4986 (TEST_MATHVEC): Likewise.
4987 (__NO_MATH_INLINES): Likewise.
4988 (CNCT): Likewise.
4989 (CONCAT): Likewise.
4990 (WRAPPER_NAME): Likewise.
4991 (WRAPPER_DECL): Likewise.
4992 (WRAPPER_DECL_ff): Likewise.
4993 (WRAPPER_DECL_fFF): Likewise.
4994 (VECTOR_WRAPPER): Likewise.
4995 (VECTOR_WRAPPER_ff): Likewise.
4996 (VECTOR_WRAPPER_fFF): Likewise.
4997 (VEC_LEN): New macro.
4998 * math/test-double-vlen4.h: Include test-double.h,
4999 test-math-no-inline.h and test-math-vector.h.
5000 (FLOAT): Remove macro.
5001 (FUNC): Likewise.
5002 (MATHCONST): Likewise.
5003 (PRINTF_EXPR): Likewise.
5004 (PRINTF_XEXPR): Likewise.
5005 (PRINTF_NEXPR): Likewise.
5006 (TEST_DOUBLE): Likewise.
5007 (TEST_MATHVEC): Likewise.
5008 (__NO_MATH_INLINES): Likewise.
5009 (CNCT): Likewise.
5010 (CONCAT): Likewise.
5011 (WRAPPER_NAME): Likewise.
5012 (WRAPPER_DECL): Likewise.
5013 (WRAPPER_DECL_ff): Likewise.
5014 (WRAPPER_DECL_fFF): Likewise.
5015 (VECTOR_WRAPPER): Likewise.
5016 (VECTOR_WRAPPER_ff): Likewise.
5017 (VECTOR_WRAPPER_fFF): Likewise.
5018 (VEC_LEN): New macro.
5019 * math/test-double-vlen8.h: Include test-double.h,
5020 test-math-no-inline.h and test-math-vector.h.
5021 (FLOAT): Remove macro.
5022 (FUNC): Likewise.
5023 (MATHCONST): Likewise.
5024 (PRINTF_EXPR): Likewise.
5025 (PRINTF_XEXPR): Likewise.
5026 (PRINTF_NEXPR): Likewise.
5027 (TEST_DOUBLE): Likewise.
5028 (TEST_MATHVEC): Likewise.
5029 (__NO_MATH_INLINES): Likewise.
5030 (CNCT): Likewise.
5031 (CONCAT): Likewise.
5032 (WRAPPER_NAME): Likewise.
5033 (WRAPPER_DECL): Likewise.
5034 (WRAPPER_DECL_ff): Likewise.
5035 (WRAPPER_DECL_fFF): Likewise.
5036 (VECTOR_WRAPPER): Likewise.
5037 (VECTOR_WRAPPER_ff): Likewise.
5038 (VECTOR_WRAPPER_fFF): Likewise.
5039 (VEC_LEN): New macro.
5040 * math/test-float-vlen4.h: Include test-float.h,
5041 test-math-no-inline.h and test-math-vector.h.
5042 (FLOAT): Remove macro.
5043 (FUNC): Likewise.
5044 (MATHCONST): Likewise.
5045 (PRINTF_EXPR): Likewise.
5046 (PRINTF_XEXPR): Likewise.
5047 (PRINTF_NEXPR): Likewise.
5048 (TEST_FLOAT): Likewise.
5049 (TEST_MATHVEC): Likewise.
5050 (__NO_MATH_INLINES): Likewise.
5051 (CNCT): Likewise.
5052 (CONCAT): Likewise.
5053 (WRAPPER_NAME): Likewise.
5054 (WRAPPER_DECL): Likewise.
5055 (WRAPPER_DECL_ff): Likewise.
5056 (WRAPPER_DECL_fFF): Likewise.
5057 (VECTOR_WRAPPER): Likewise.
5058 (VECTOR_WRAPPER_ff): Likewise.
5059 (VECTOR_WRAPPER_fFF): Likewise.
5060 (VEC_LEN): New macro.
5061 * math/test-float-vlen8.h: Include test-float.h,
5062 test-math-no-inline.h and test-math-vector.h.
5063 (FLOAT): Remove macro.
5064 (FUNC): Likewise.
5065 (MATHCONST): Likewise.
5066 (PRINTF_EXPR): Likewise.
5067 (PRINTF_XEXPR): Likewise.
5068 (PRINTF_NEXPR): Likewise.
5069 (TEST_FLOAT): Likewise.
5070 (TEST_MATHVEC): Likewise.
5071 (__NO_MATH_INLINES): Likewise.
5072 (CNCT): Likewise.
5073 (CONCAT): Likewise.
5074 (WRAPPER_NAME): Likewise.
5075 (WRAPPER_DECL): Likewise.
5076 (WRAPPER_DECL_ff): Likewise.
5077 (WRAPPER_DECL_fFF): Likewise.
5078 (VECTOR_WRAPPER): Likewise.
5079 (VECTOR_WRAPPER_ff): Likewise.
5080 (VECTOR_WRAPPER_fFF): Likewise.
5081 (VEC_LEN): New macro.
5082 * math/test-float-vlen16.h: Include test-float.h,
5083 test-math-no-inline.h and test-math-vector.h.
5084 (FLOAT): Remove macro.
5085 (FUNC): Likewise.
5086 (MATHCONST): Likewise.
5087 (PRINTF_EXPR): Likewise.
5088 (PRINTF_XEXPR): Likewise.
5089 (PRINTF_NEXPR): Likewise.
5090 (TEST_FLOAT): Likewise.
5091 (TEST_MATHVEC): Likewise.
5092 (__NO_MATH_INLINES): Likewise.
5093 (CNCT): Likewise.
5094 (CONCAT): Likewise.
5095 (WRAPPER_NAME): Likewise.
5096 (WRAPPER_DECL): Likewise.
5097 (WRAPPER_DECL_ff): Likewise.
5098 (WRAPPER_DECL_fFF): Likewise.
5099 (VECTOR_WRAPPER): Likewise.
5100 (VECTOR_WRAPPER_ff): Likewise.
5101 (VECTOR_WRAPPER_fFF): Likewise.
5102 (VEC_LEN): New macro.
5103 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5104 test-vec-loop.h.
5105 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5106 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5107 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5108 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5109 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5110 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5111 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5112
5113 2015-06-24 Roland McGrath <roland@hack.frob.com>
5114
5115 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5116 (__getlogin_r): ... this.
5117
5118 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5119
5120 [BZ #18594]
5121 * math/s_ccosh.c (__ccosh): Compare with least normal value
5122 instead of comparing class with FP_SUBNORMAL.
5123 * math/s_ccoshf.c (__ccoshf): Likewise.
5124 * math/s_ccoshl.c (__ccoshl): Likewise.
5125 * math/s_cexp.c (__cexp): Likewise.
5126 * math/s_cexpf.c (__cexpf): Likewise.
5127 * math/s_cexpl.c (__cexpl): Likewise.
5128 * math/s_csin.c (__csin): Likewise.
5129 * math/s_csinf.c (__csinf): Likewise.
5130 * math/s_csinh.c (__csinh): Likewise.
5131 * math/s_csinhf.c (__csinhf): Likewise.
5132 * math/s_csinhl.c (__csinhl): Likewise.
5133 * math/s_csinl.c (__csinl): Likewise.
5134 * math/s_ctan.c (__ctan): Likewise.
5135 * math/s_ctanf.c (__ctanf): Likewise.
5136 * math/s_ctanh.c (__ctanh): Likewise.
5137 * math/s_ctanhf.c (__ctanhf): Likewise.
5138 * math/s_ctanhl.c (__ctanhl): Likewise.
5139 * math/s_ctanl.c (__ctanl): Likewise.
5140 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5141 csin, csinh, ctan and ctanh.
5142 * math/auto-libm-test-out: Regenerated.
5143 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
5147 2015-06-24 Roland McGrath <roland@hack.frob.com>
5148
5149 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5150 return value is wrong, print the expected value too.
5151
5152 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 [BZ #18585]
5155 * elf/readlib.c (is_gdb_python_file): New.
5156 (process_file): Don't issue errors on filenames with -gdb.py
5157 suffix.
5158
5159 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5160
5161 * math/auto-libm-test-in: Add more tests of csin and csinh.
5162 * math/auto-libm-test-out: Regenerated.
5163 * math/libm-test.inc (csin_test_data): Remove tests moved to
5164 auto-libm-test-in.
5165 (csinh_test_data): Likewise.
5166
5167 [BZ #18593]
5168 * math/s_csin.c (__csin): Negate before rather than after possibly
5169 overflowing multiplication.
5170 * math/s_csinf.c (__csinf): Likewise.
5171 * math/s_csinh.c (__csinh): Likewise.
5172 * math/s_csinhf.c (__csinhf): Likewise.
5173 * math/s_csinhl.c (__csinhl): Likewise.
5174 * math/s_csinl.c (__csinl): Likewise.
5175 * math/auto-libm-test-in: Add some tests of csin and csinh.
5176 * math/auto-libm-test-out: Regenerated.
5177 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5178 (csinh_test_data): Likewise.
5179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5180
5181 [BZ #18586]
5182 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5183 underflow exception for small results.
5184
5185 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5186
5187 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5188 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5189 variable and included header.
5190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5191 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5192 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5193 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5194 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5195 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5196 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5197 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5198 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5199 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5200 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5201 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5202 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5203 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5204 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5205 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5206
5207 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #16526]
5210 [BZ #16538]
5211 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5212 (__sin): Force underflow exception for arguments with small
5213 absolute value.
5214 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5215 (__kernel_sinf): Force underflow exception for arguments with
5216 small absolute value.
5217 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5218 (__kernel_sincosl): Force underflow exception for arguments with
5219 small absolute value.
5220 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5221 (__kernel_sinl): Force underflow exception for arguments with
5222 small absolute value.
5223 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5224 (__kernel_sincosl): Force underflow exception for arguments with
5225 small absolute value.
5226 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5227 (__kernel_sinl): Force underflow exception for arguments with
5228 small absolute value.
5229 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5230 (__kernel_sinl): Force underflow exception for arguments with
5231 small absolute value.
5232 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5233 (__kernel_sinf): Force underflow exception for arguments with
5234 small absolute value.
5235 * math/auto-libm-test-in: Add more tests of sin and sincos.
5236 * math/auto-libm-test-out: Regenerated.
5237
5238 [BZ #18245]
5239 [BZ #18583]
5240 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5241 (__kernel_standard_l): Use feholdexcept and fesetenv around
5242 conversion to double instead of special-casing overflow and
5243 underflow.
5244 * math/libm-test.inc (fmod_test_data): Add more tests.
5245 (remainder_test_data): Likewise.
5246 (sqrt_test_data): Likewise.
5247
5248 2015-06-23 Torvald Riegel <triegel@redhat.com>
5249
5250 [BZ #17403]
5251 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5252 atomic_read_barrier, atomic_write_barrier): Define.
5253 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5254 atomic_read_barrier, atomic_write_barrier): Define.
5255
5256 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5257
5258 * math/Makefile [$(PERL) != no]
5259 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5260 dependency on libm-test.stmp below the inclusion of Rules.
5261
5262 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5263
5264 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5265 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5266 and included header.
5267 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5275 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5276 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5277 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5278 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5279 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5280 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5281 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5282 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5283 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5284 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5285 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5286
5287 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5288
5289 [BZ #18371]
5290 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5291 intermediate but not final result might underflow.
5292 * math/s_csqrtf.c (__csqrtf): Likewise.
5293 * math/s_csqrtl.c (__csqrtl): Likewise.
5294 * math/auto-libm-test-in: Add more tests of csqrt.
5295 * math/auto-libm-test-out: Regenerated.
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297
5298 [BZ #18219]
5299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5300 threshold on absolute value of exponent for which scaling is used.
5301 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5302 * math/auto-libm-test-in: Add more tests of exp2.
5303 * math/auto-libm-test-out: Regenerated.
5304
5305 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5306
5307 [BZ #17977]
5308 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5309 when initializing interface list, based on the bug analysis
5310 and the patch proposed by Eric Newton.
5311 * resolv/tst-res_hconf_reorder.c: New test.
5312 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5313 tst-res_hconf_reorder.
5314 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5315 and $(shared-thread-library).
5316 (tst-res_hconf_reorder-ENV): New variable.
5317
5318 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5319 in comment.
5320
5321 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5322
5323 [BZ #16353]
5324 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5325 (__expm1): Force underflow exception for arguments with small
5326 absolute value.
5327 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5328 (__expm1f): Force underflow exception for arguments with small
5329 absolute value.
5330 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5331 (__expm1): Force underflow exception for arguments with small
5332 absolute value.
5333 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5334 (__expm1f): Force underflow exception for arguments with small
5335 absolute value.
5336 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5337 Check for small arguments before calling __expm1.
5338 * math/auto-libm-test-in: Do not mark underflow exceptions as
5339 possibly missing for bug 16353.
5340 * math/auto-libm-test-out: Regenerated.
5341
5342 2015-06-22 Andreas Schwab <schwab@suse.de>
5343
5344 [BZ #18513]
5345 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5346 PTR queries.
5347
5348 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5349
5350 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5351
5352 * string/strcoll_l.c: Remove unused struct element idxnow.
5353
5354 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5355
5356 [BZ #18569]
5357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5358 underflow and return argument in case of subnormal argument.
5359 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5360 Likewise.
5361 * math/auto-libm-test-in: Add more tests of expm1.
5362 * math/auto-libm-test-out: Regenerated.
5363
5364 [BZ #16361]
5365 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5366 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5367 tiny results.
5368 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5369 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5370 tiny results.
5371 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5372 mark underflow exceptions as possibly missing for bug 16361.
5373 * math/auto-libm-test-out: Regenerated.
5374
5375 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5376
5377 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5378 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5379 Remove variable.
5380 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5381 (test-xfail-XOPEN2K8/utmpx.h/conform).
5382
5383 * conform/conformtest.pl ($xerrors): New variable.
5384 (note_error): New function.
5385 (compiletest): New argument $xfail. Use not_error.
5386 (runtest): Likewise.
5387 (top level): Handle xfail- lines. Update calls to compiletest and
5388 runtest. Handle xfail- and optional- in headers listed with
5389 allow-header.
5390 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5391 (O_EXEC): Likewise.
5392 (O_SEARCH): Likewise.
5393 * conform/data/stropts.h-data (ioctl): Likewise.
5394 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5395 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5396 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5397 (msghdr.msg_controllen): Likewise.
5398 (cmsghdr.cmsg_len): Likewise.
5399 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5400 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5401 variable.
5402 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5403 (test-xfail-XPG4/stropts.h/conform): Likewise.
5404 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5405 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5406 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5407 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5408 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5409 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5410 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5411 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5412 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5413 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5414 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5415 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5416 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5417 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5418 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5419 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5420 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5421 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5422 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5423
5424 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5425
5426 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5427 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5428 definitions for proper unfolding of __MATHDECL_VEC.
5429
5430 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5431
5432 * benchtests/bench-strcoll.c:
5433 Include string.h.
5434 (main): Remove unused variable res.
5435
5436 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5437
5438 * timezone/Makefile (%/UTC %/Universal):
5439 Generate test-result files for UTC and Universal.
5440
5441 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5442
5443 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5444
5445 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5446
5447 [BZ #16350]
5448 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5449 for arguments with small absolute value.
5450 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5451 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5452 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5453 (__asinh): Force underflow exception for arguments with small
5454 absolute value.
5455 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5456 (__asinhf): Force underflow exception for arguments with small
5457 absolute value.
5458 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5459 (__asinhl): Force underflow exception for arguments with small
5460 absolute value.
5461 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5462 (__asinhl): Force underflow exception for arguments with small
5463 absolute value.
5464 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5465 (__asinhl): Force underflow exception for arguments with small
5466 absolute value.
5467 * math/auto-libm-test-in: Do not mark underflow exceptions as
5468 possibly missing for bug 16350.
5469 * math/auto-libm-test-out: Regenerated.
5470
5471 * include/bits/ipc.h: Remove file.
5472 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5473 variable.
5474 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5475 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5476 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5477 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5478 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5479 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5480 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5481 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5482 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5483
5484 * math/auto-libm-test-in: Remove spurious underflow allowance for
5485 tests of cexp.
5486 * math/auto-libm-test-out: Regenerated.
5487
5488 [BZ #18558]
5489 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5490 unconditional definition.
5491 (MCAST_BLOCK_SOURCE): Likewise.
5492 (MCAST_UNBLOCK_SOURCE): Likewise.
5493 (MCAST_LEAVE_GROUP): Likewise.
5494 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5495 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5496 (MCAST_MSFILTER): Likewise.
5497 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5498 Remove variable.
5499 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5500 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5501 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5502 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5503 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5504
5505 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5506
5507 * NEWS: Mention addition of x86_64 vector sincosf.
5508 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5509 * math/test-float-vlen4.h: Likewise.
5510 * math/test-float-vlen8.h: Likewise.
5511 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5512 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5513 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5514 * sysdeps/x86_64/fpu/Versions: New versions added.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5516 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5517 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5518 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5519 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5520 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5521 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5524 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5525 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5526 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5527 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5528 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5529 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5530 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5531 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5532 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5533 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5534 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5535 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5536 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5537 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5538 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5539
5540 * NEWS: Mention addition of x86_64 vector sincos.
5541 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5542 * math/math.h (__MATHDECL_VEC): New macro.
5543 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5544 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5545 declaration under condition.
5546 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5547 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5548 TEST_VEC_LOOP change.
5549 * math/test-double-vlen4.h: Likewise.
5550 * math/test-double-vlen8.h: Likewise.
5551 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5552 * math/test-float-vlen4.h: Likewise.
5553 * math/test-float-vlen8.h: Likewise.
5554 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5555 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5556 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5557 * sysdeps/x86_64/fpu/Versions: New versions added.
5558 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5559 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5560 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5561 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5567 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5568 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5569 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5570 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5571 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5572 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5573 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5574 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5575 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5576 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5577 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5578 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5579 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5580 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5581 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5582
5583 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5584 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5585 redirections for powf.
5586 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5587 * sysdeps/x86_64/fpu/Versions: New versions added.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5589 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5590 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5591 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5592 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5593 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5594 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5595 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5596 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5598 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5599 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5600 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5601 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5602 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5603 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5604 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5605 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5606 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5607 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5608 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5609 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5610 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5611 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5612 * math/test-float-vlen16.h: Fixed 2 argument macro.
5613 * math/test-float-vlen4.h: Likewise.
5614 * math/test-float-vlen8.h: Likewise.
5615 * NEWS: Mention addition of x86_64 vector powf.
5616
5617 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5618
5619 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5620 and redefine.
5621 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5622 and redefine.
5623 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5626
5627 [BZ #18553]
5628 * resource/getpriority.c (getpriority): Rename to __getpriority
5629 and define as weak alias of __getpriority.
5630 * resource/setpriority.c (setpriority): Rename to __setpriority
5631 and define as weak alias of __setpriority.
5632 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5633 __getpriority and define as weak alias of __getpriority.
5634 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5635 __setpriority and define as weak alias of __setpriority.
5636 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5637 strong name.
5638 (setpriority): Use __setpriority as strong name.
5639 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5640 __getpriority and define as weak alias of __getpriority.
5641 * include/sys/resource.h (__getpriority): Declare. Use
5642 libc_hidden_proto.
5643 (__setpriority): Likewise.
5644 (getpriority): Don't use libc_hidden_proto.
5645 (setpriority): Likewise.
5646 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5647 getpriority. Call __setpriority instead of setpriority.
5648 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5649 Remove variable.
5650
5651 [BZ #18547]
5652 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5653 as weak alias of __getttynam. Use prototype function definition.
5654 Call __setttyent, __getttyent and __endttyent instead of
5655 setttyent, getttyent and endttyent.
5656 (getttyent): Rename to __getttyent and define as weak alias of
5657 __getttyent. Call __setttyent instead of setttyent. Call
5658 __fgets_unlocked instead of fgets_unlocked.
5659 (setttyent): Rename to __setttyent and define as weak alias of
5660 __setttyent.
5661 (endttyent): Rename to __endttyent and define as weak alias of
5662 __endttyent.
5663 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5664 (__setttyent): Likewise.
5665 (__endttyent): Likewise.
5666 (getttyent): Don't use libc_hidden_proto.
5667 (setttyent): Likewise.
5668 (endttyent): Likewise.
5669 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5670 __endttyent instead of setttyent, getttyent and endttyent.
5671 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5672 Remove variable.
5673
5674 [BZ #18546]
5675 * socket/recv.c (__recv): Use libc_hidden_def.
5676 * socket/socket.c (__socket): Likewise.
5677 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5678 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5679 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5680 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5681 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5682 libc_hidden_def.
5683 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5684 libc_hidden_weak.
5685 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5686 Use libc_hidden_proto.
5687 (__recv): Likewise.
5688 * socket/Versions (libc): Export __recv and __socket at version
5689 GLIBC_PRIVATE.
5690 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5691 instead of recv.
5692 (init_mq_netlink): Call __socket instead of socket.
5693 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5694 Remove variable.
5695
5696 [BZ #18545]
5697 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5698 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5699 hidden_weak.
5700 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5701 define as alias of __mq_timedsend. Use hidden_weak.
5702 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5703 __mq_timedsend as strong name.
5704 (mq_timedreceive): Use __mq_timedreceive as strong name.
5705 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5706 (__mq_timedreceive): Likewise.
5707 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5708 __mq_timedreceive instead of mq_timedreceive.
5709 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5710 instead of mq_timedsend.
5711 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5712 Remove variable.
5713
5714 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5715 hidden_def and hidden_weak instead of libc_hidden_def and
5716 libc_hidden_weak.
5717 (top level): Refer to hidden_def in comment.
5718 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5719 macro. Use it instead of libc_hidden_def.
5720 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5721 specify __GI_* name explicitly.
5722 (mq_timedreceive): Likewise.
5723 (mq_setattr): Likewise.
5724
5725 [BZ #18544]
5726 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5727 __pthread_barrier_init and define as weak alias of
5728 __pthread_barrier_init.
5729 * sysdeps/sparc/nptl/pthread_barrier_init.c
5730 (pthread_barrier_init): Likewise.
5731 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5732 __pthread_barrier_wait and define as weak alias of
5733 __pthread_barrier_wait.
5734 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5735 (pthread_barrier_wait): Likewise.
5736 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5737 (pthread_barrier_wait): Likewise.
5738 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5739 (pthread_barrier_wait): Likewise.
5740 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5741 (pthread_barrier_wait): Likewise.
5742 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5743 __pthread_barrier_wait at version GLIBC_PRIVATE.
5744 * include/pthread.h (__pthread_barrier_init): Declare.
5745 (__pthread_barrier_wait): Likewise.
5746 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5747 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5748 (helper_thread): Likewise.
5749 (init_mq_netlink): Call __pthread_barrier_init instead of
5750 pthread_barrier_init.
5751
5752 [BZ #18542]
5753 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5754 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5755 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5756 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5757 vswscanf.
5758 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5759 Remove variable.
5760
5761 [BZ #18540]
5762 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5763 strong alias of _IO_fflush. Use libc_hidden_def.
5764 * libio/iofflush_u.c (fflush_unlocked): Rename to
5765 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5766 Use libc_hidden_weak.
5767 * include/stdio.h (__fflush_unlocked): Declare. Use
5768 libc_hidden_proto.
5769 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5770 fflush_unlocked.
5771 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5772 Remove variable.
5773
5774 [BZ #18539]
5775 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5776 define as weak alias of __addseverity.
5777 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5778 Remove variable.
5779 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5780 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5781 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5782
5783 [BZ #18536]
5784 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5785 (__tfind): Likewise.
5786 (__tdelete): Likewise.
5787 (__twalk): Likewise.
5788 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5789 __twalk to GLIBC_PRIVATE.
5790 * include/search.h (__tsearch): Use libc_hidden_proto.
5791 (__tfind): Likewise.
5792 (__tdelete): Likewise.
5793 (__twalk): Likewise.
5794 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5795 Call __tdelete instead of tdelete.
5796 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5797 tfind. Call __tsearch instead of tsearch.
5798 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5799 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5800 Remove variable.
5801 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5802
5803 [BZ #18534]
5804 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5805 (dprintf): Define as a weak alias of __dprintf, not a strong
5806 alias.
5807 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5808 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5809 dprintf.
5810 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5811 Remove variable.
5812 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5813 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5814
5815 [BZ #18533]
5816 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5817 not a strong alias.
5818 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5819 Remove variable.
5820
5821 [BZ #18532]
5822 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5823 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5824 (in6addr_loopback): Rename to __in6addr_loopback and define as
5825 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5826 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5827 libc_hidden_proto.
5828 (__in6addr_any): Likewise.
5829 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5830 in6addr_any.
5831 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5832 variable.
5833 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5834
5835 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5836
5837 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5838 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5839 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5840 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5841 redirections for pow.
5842 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5843 * sysdeps/x86_64/fpu/Versions: New versions added.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5845 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5846 build of SSE, AVX2 and AVX512 IFUNC versions.
5847 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5848 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5852 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5854 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5855 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5856 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5857 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5858 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5859 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5860 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5861 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5862 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5863 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5864 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5865 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5866 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5867 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5868 * NEWS: Mention addition of x86_64 vector pow.
5869
5870 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5871 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5872 redirections for expf.
5873 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5874 * sysdeps/x86_64/fpu/Versions: New versions added.
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5876 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5877 build of SSE, AVX2 and AVX512 IFUNC versions.
5878 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5879 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5880 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5881 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5882 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5884 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5885 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5886 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5887 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5888 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5889 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5890 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5891 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5892 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5893 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5894 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5895 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5896 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5897 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5898 * NEWS: Mention addition of x86_64 vector expf.
5899
5900 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5901 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5902 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5903 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5904 redirections for exp.
5905 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5906 * sysdeps/x86_64/fpu/Versions: New versions added.
5907 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5908 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5909 build of SSE, AVX2 and AVX512 IFUNC versions.
5910 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5911 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5912 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5913 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5914 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5916 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5917 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5918 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5919 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5920 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5921 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5922 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5923 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5924 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5925 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5926 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5927 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5928 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5929 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5930 * NEWS: Mention addition of x86_64 vector exp.
5931
5932 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5933 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5934 redirections for logf.
5935 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5936 * sysdeps/x86_64/fpu/Versions: New versions added.
5937 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5938 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5939 build of SSE, AVX2 and AVX512 IFUNC versions.
5940 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5941 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5942 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5943 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5944 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5945 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5946 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5947 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5948 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5949 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5950 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5951 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5952 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5953 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5954 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5955 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5956 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5957 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5958 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5959 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5960 * NEWS: Mention addition of x86_64 vector logf.
5961
5962 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5963 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5964 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5965 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5966 redirections for log.
5967 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5968 * sysdeps/x86_64/fpu/Versions: New versions added.
5969 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5970 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5971 build of SSE, AVX2 and AVX512 IFUNC versions.
5972 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5973 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5974 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5975 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5976 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5977 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5978 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5979 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5980 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5981 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5982 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5983 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5984 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5985 test.
5986 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5987 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5988 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5989 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5990 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5991 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5992 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5993 * NEWS: Mention addition of x86_64 vector log.
5994
5995 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5996
5997 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5998 cfi_adjust_cfa_offset argument.
5999 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6000 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6001
6002 [BZ #18034]
6003 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6004 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6005 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6006 ordering using ldar.
6007 (_dl_tlsdesc_dynamic): Likewise.
6008 (_dl_tlsdesc_return_lazy): Likewise.
6009 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6010 relaxed atomics instead of volatile and synchronize with release store.
6011 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6012 volatile.
6013 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6014
6015 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
6016
6017 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6018 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6019 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6020 * sysdeps/x86_64/fpu/Versions: New versions added.
6021 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6022 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6023 build of SSE, AVX2 and AVX512 IFUNC versions.
6024 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6025 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6026 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6027 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6028 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6030 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6031 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6032 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6033 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6034 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6035 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6036 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6037 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6038 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6039 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6040 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6041 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6042 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6043 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6044 * NEWS: Mention addition of x86_64 vector sinf.
6045
6046 2015-06-14 Joseph Myers <joseph@codesourcery.com>
6047
6048 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6049 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6050 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6051 Remove variable.
6052 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6053 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6054
6055 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6056
6057 [BZ #18530]
6058 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6059 strong alias of _IO_fputs. Use libc_hidden_def.
6060 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6061 and define as weak alias of __fputs_unlocked. Use
6062 libc_hidden_weak.
6063 * include/stdio.h (__fputs_unlocked): Declare. Use
6064 libc_hidden_proto.
6065 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6066 fputs_unlocked.
6067
6068 [BZ #18529]
6069 * resolv/netdb.h [__USE_POSIX]: Change condition to
6070 [__USE_XOPEN2K].
6071 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6072 not expect.
6073 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6074 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6075 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6076 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6077 [XPG4 || UNIX98] (AI_ALL): Likewise.
6078 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6079 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6080 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6081 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6082 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6083 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6084 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6085 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6086 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6087 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6088 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6089 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6090 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6091 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6092 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6093 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6094 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6095 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6096 [XPG4 || UNIX98] (gai_strerror): Likewise.
6097 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6098 [XPG4 || UNIX98] (getnameinfo): Likewise.
6099
6100 [BZ #18528]
6101 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6102 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6103 __USE_XOPEN2K8].
6104 (getgrent): Likewise.
6105 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6106 expect.
6107 [XPG3 || POSIX2008] (endgrent): Likewise.
6108 [XPG3] (setgrent): Likewise.
6109 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6110 variable.
6111 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6112
6113 [BZ #18527]
6114 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6115 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6116 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6117 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6118 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6119 * include/unistd.h (__getlogin_r): Declare. Use
6120 libc_hidden_proto.
6121 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6122 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6123 variable.
6124 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6125 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6126 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6127
6128 2015-06-12 Martin Sebor <msebor@redhat.com>
6129
6130 [BZ #18512]
6131 * Makerules (check-install-supported): New target.
6132 (install): Add check-install-supported as a dependency.
6133 * manual/install.texi (Installing the C Library): Document
6134 that overriding prefix and exec_prefix is not supported.
6135 Mention DESTDIR.
6136 * INSTALL: Regenerate from the above.
6137
6138 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #18519]
6141 * posix/Versions (libc): Export __libc_pread at version
6142 GLIBC_PRIVATE.
6143 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6144 instead of pread.
6145 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6146 variable.
6147
6148 [BZ #18522]
6149 * misc/efgcvt_r.c
6150 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6151 (cvt_symbol): Use weak_alias instead of strong_alias.
6152 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6153 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6154 Remove variable.
6155 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6156 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6157
6158 [BZ #18520]
6159 * inet/herrno.c (h_errno): Rename to __h_errno.
6160 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6161 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6162 to __h_errno instead of h_errno.
6163 * nptl/herrno.c (h_errno): Rename to __h_errno.
6164 (__h_errno_location): Refer to __h_errno not h_errno.
6165 * resolv/Versions (h_errno): Rename to __h_errno.
6166 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6167 Remove variable.
6168 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6169
6170 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6171
6172 * configure.ac: More strict check for AVX512 assembler support.
6173 * configure: Regenerated.
6174
6175 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6176 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6177 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6178 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6179 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6180 * sysdeps/x86_64/fpu/Versions: New versions added.
6181 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6182 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6183 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6184 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6185 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6190 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6191 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6192 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6193 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6194 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6195 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6196 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6197 test.
6198 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6199 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6200 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6201 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6202 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6203 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6204 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6205 * NEWS: Mention addition of x86_64 vector sin.
6206
6207 2015-06-11 Florian Weimer <fweimer@redhat.com>
6208
6209 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6210 comment.
6211
6212 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6213
6214 [BZ #18479]
6215 * nptl/pt-interp.c: New file.
6216 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6217 Add pt-interp.
6218 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6219 $(common-objpfx)runtime-linker.h.
6220
6221 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6222
6223 * Makeconfig (+interp): Remove unused variable.
6224 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6225 only. Depend on $(common-objpfx)runtime-linker.h instead of
6226 $(elf-objpfx)runtime-linker.h.
6227 ($(elf-objpfx)runtime-linker.h): Rename to
6228 $(common-objpfx)runtime-linker.h and move ...
6229 * Makerules [$(build-shared) = yes]: ... here.
6230 * elf/interp.c: Include <runtime-linker.h> instead of
6231 <elf/runtime-linker.h>.
6232
6233 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6234
6235 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6236 (__gettimeofday_syscall): Remove vsyscall fallback.
6237 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6238 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6239 Add syscall fallback function.
6240 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6241 if vDSO is not present.
6242 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6243 fallback function.
6244 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6245 present.
6246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6247 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6248
6249 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6250
6251 [BZ #18497]
6252 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6253 of wcscmp.
6254 (wcscmp): Define as weak alias of WCSCMP.
6255 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6256 wcscoll.
6257 (USE_HIDDEN_DEF): Define.
6258 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6259 __wcscoll. Don't use libc_hidden_weak.
6260 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6261 wcscmp.
6262 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6263 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6264 __GI_wcscmp.
6265 (weak_alias): Undefine and redefine.
6266 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6267 __wcscmp and define as weak alias of __wcscmp.
6268 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6269 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6270 (__wcscoll): Likewise.
6271 (wcscmp): Don't use libc_hidden_proto.
6272 (wcscoll): Likewise.
6273 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6274 wcscoll.
6275 * posix/regexec.c (check_node_accept_bytes): Likewise.
6276 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6277 variable.
6278 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6279 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6280
6281 [BZ #18507]
6282 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6283 __fstatvfs and define as weak alias of __fstatvfs. Use
6284 libc_hidden_weak.
6285 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6286 and define as weak alias of __statvfs. Use libc_hidden_weak.
6287 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6288 Define as alias of __fstatvfs, not fstatvfs.
6289 (fstatvfs64): Likewise.
6290 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6291 Define as alias of __statvfs, not statvfs.
6292 (statvfs64): Likewise.
6293 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6294 Remove variable.
6295
6296 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6297
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6299 (HAVE_GETCPU_VSYSCALL): Define.
6300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6301 (HAVE_GETCPU_VSYSCALL): Likewise.
6302 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6303 * sysdeps/unix/sysv/linux/sched_getcpu.c
6304 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6305 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6306 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6307 prototype.
6308 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6309 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6312 Define.
6313 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6314 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6315 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6317
6318 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6319
6320 * sysdeps/x86_64/fpu/Makefile: New file.
6321 * sysdeps/x86_64/fpu/Versions: New file.
6322 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6323 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6324 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6325 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6326 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6327 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6328 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6329 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6330 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6332 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6335 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6336 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6337 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6338 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6339 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6340 * sysdeps/x86_64/configure: Regenerated.
6341 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6342 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6343 * manual/install.texi (Configuring and compiling): Document
6344 --disable-mathvec.
6345 * INSTALL: Regenerated.
6346 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6347
6348 * math/Makefile: Added rules for vector tests.
6349 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6350 declaration under condition.
6351 * math/test-double-vlen2.h: New file.
6352 * math/test-double-vlen4.h: New file.
6353 * math/test-double-vlen8.h: New file.
6354 * math/test-vec-loop.h: Added initialization macro.
6355 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6356 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6357 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6358 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6359 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6360 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6361 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6362 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6363 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6364 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6365 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6366
6367 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6368 * sysdeps/x86_64/fpu/Versions: New versions added.
6369 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6370 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6371 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6372 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6373 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6374 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6376 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6377 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6378 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6379 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6380 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6381 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6382 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6383 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6384 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6385 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6386 * NEWS: Mention addition of x86_64 vector cosf.
6387
6388 * math/Makefile: Added CFLAGS for new tests.
6389 * math/test-float-vlen16.h: New file.
6390 * math/test-float-vlen4.h: New file.
6391 * math/test-float-vlen8.h: New file.
6392 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6393 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6394 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6395 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6396 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6397 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6398 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6399 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6400 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6401 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6402 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6403
6404 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6405
6406 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6407 * locale/programs/ld-ctype.c: Likewise.
6408
6409 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6410
6411 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6412 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6413 bit_ZMM16_31_state): New macro.
6414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6415 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6416
6417 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6418
6419 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6420
6421 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6422
6423 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6424
6425 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #18498]
6428 * libio/memstream.c (open_memstream): Rename to __open_memstream
6429 and define as weak alias of __open_memstream.
6430 * include/stdio.h (__open_memstream): Declare. Use
6431 libc_hidden_proto.
6432 (open_memstream): Don't use libc_hidden_proto.
6433 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6434 open_memstream.
6435 * posix/getopt.c (_getopt_internal_r): Likewise.
6436 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6437 variable.
6438 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6439 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6440 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6441
6442 [BZ #18496]
6443 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6444 instead of wcrtomb.
6445
6446 [BZ #18483]
6447 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6448 [__USE_XOPEN2K8]. Remove redundant #endif.
6449 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6450 Remove redundant #if.
6451 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6452 Remove variable.
6453 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6454 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6455
6456 [BZ #18495]
6457 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6458 (__iswlower): Likewise.
6459 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6460 (__iswlower): Likewise.
6461 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6462 instead of towlower.
6463 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6464 instead of iswlower. Call __towupper instead of towupper.
6465 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6466 instead of iswalnum.
6467
6468 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6469
6470 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6471 errors to stderr.
6472
6473 2015-06-05 Florian Weimer <fweimer@redhat.com>
6474
6475 [BZ #15661]
6476 [BZ #17322]
6477 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6478 Check for overflow properly. Check for O_APPEND. Ignore large
6479 file system block sizes. Add comments about problems.
6480 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6481 * manual/filesys.texi (Storage Allocation): New node.
6482
6483 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484
6485 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6486 cancellable syscalls.
6487 (SYS_ify): Add guard to no redefine it.
6488 (INLINE_SYSCALL): Likewise.
6489 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6490 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6491 SYSCALL_CANCEL instead.
6492 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6493 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6494 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6495 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6496 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6497 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6498 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6499 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6500 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6501 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6502 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6503 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6504 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6505 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6506 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6507 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6508 Likewise.
6509 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6510 (__libc_pread64): Likewise.
6511 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6512 (__libc_preadv): Likewise.
6513 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6514 (__libc_readv64): Likewise.
6515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6516 (__libc_pwrite): Likewise.
6517 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6518 (__libc_pwrite64): Likewise.
6519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6520 (__libc_pwritev): Likewise.
6521 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6522 (__libc_pwritev64): Likewise.
6523 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6524 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6525 (sync_file_range): Likewise.
6526 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6527 Likewise.
6528 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6529 Likewise.
6530 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6531 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6532 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6533 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6534 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6535 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6536 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6537 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6539 Likewise.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6541 (__libc_read64): Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6543 Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6545 Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6549 Likewise.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6551 (__libc_pread64): Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6553 Likewise.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6555 (__libc_pwrite64): Likewise.
6556 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6557 (sync_file_range): Likewise.
6558 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6559 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6560 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6561 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6562 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6563 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6564 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6565 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6566 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6567 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6568 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6569 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6570 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6571 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6572 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6573 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6574 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6575 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6577 Likewise.
6578 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6579 Likewise.
6580 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6581 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6582 Likewise.
6583 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6584 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6585 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6586 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6587 Likewise.
6588 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6589 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6590 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6591 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6592 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6593
6594 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6595
6596 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6597 Include dl-vdso.
6598 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6599 Use VDSO routines for gettimeofday, clock_gettime if
6600 available.
6601 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6602 Declare VDSO symbols.
6603 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6604 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6605 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6606 * sysdeps/unix/sysv/linux/arm/Versions: Add
6607 __vdso_clock_gettime.
6608
6609 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6610
6611 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6612 be an inline implementation regardless of library is built within.
6613 (open_not_cancel_2): Likewise.
6614 (__read_nocancel): Likewise.
6615 (__write_nocancel): Likewise.
6616 (openat_not_cancel): Likewise.
6617 (openat_not_cancel_3): Likewise.
6618 (openat64_not_cancel): Likewise.
6619 (openat64_not_cancel_3): Likewise.
6620 (__close_nocancel): Likewise.
6621 (pause_not_cancel): Likewise.
6622 (nanosleep_not_cancel): Likewise.
6623 (sigsuspend_not_cancel): Likewise.
6624
6625 2015-06-04 Torvald Riegel <triegel@redhat.com>
6626
6627 [BZ #14958]
6628 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6629 wake-up.
6630 (__pthread_rwlock_rdlock_slow): Likewise.
6631 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6632 Likewise.
6633 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6634 Likewise.
6635 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6636 * nptl/tst-rwlock16.c: New file.
6637 * nptl/Makefile (tests): Add new test.
6638
6639 2015-06-04 Torvald Riegel <triegel@redhat.com>
6640
6641 [BZ #18324]
6642 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6643 missing wake-up of readers.
6644 * nptl/tst-rwlock15.c: New file.
6645 * nptl/Makefile (tests): Add new test.
6646
6647 2015-06-03 Roland McGrath <roland@hack.frob.com>
6648
6649 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6650 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6651 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6652 and __nacl_supply_interface_rtld.
6653 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6654 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6655 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6656 Add __nacl_supply_interface_rtld.
6657 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6658
6659 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6660
6661 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6662 isfinite.
6663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6664 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6665
6666 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6667
6668 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6669 __signbit* with standard C99 macros.
6670 * math/e_exp10l.c: Likewise.
6671 * math/e_exp2l.c: Likewise.
6672 * math/e_scalb.c: Likewise.
6673 * math/e_scalbf.c: Likewise.
6674 * math/e_scalbl.c: Likewise.
6675 * math/s_ldexp.c: Likewise.
6676 * math/s_ldexpf.c: Likewise.
6677 * math/s_ldexpl.c: Likewise.
6678 * math/w_atan2.c: Likewise.
6679 * math/w_atan2f.c: Likewise.
6680 * math/w_atan2l.c: Likewise.
6681 * math/w_cosh.c: Likewise.
6682 * math/w_coshf.c: Likewise.
6683 * math/w_coshl.c: Likewise.
6684 * math/w_exp10.c: Likewise.
6685 * math/w_exp10f.c: Likewise.
6686 * math/w_exp10l.c: Likewise.
6687 * math/w_exp2.c: Likewise.
6688 * math/w_exp2f.c: Likewise.
6689 * math/w_exp2l.c: Likewise.
6690 * math/w_fmod.c: Likewise.
6691 * math/w_fmodf.c: Likewise.
6692 * math/w_fmodl.c: Likewise.
6693 * math/w_hypot.c: Likewise.
6694 * math/w_hypotf.c: Likewise.
6695 * math/w_hypotl.c: Likewise.
6696 * math/w_jnl.c: Likewise.
6697 * math/w_lgamma.c: Likewise.
6698 * math/w_lgamma_r.c: Likewise.
6699 * math/w_lgammaf.c: Likewise.
6700 * math/w_lgammaf_r.c: Likewise.
6701 * math/w_lgammal.c: Likewise.
6702 * math/w_lgammal_r.c: Likewise.
6703 * math/w_pow.c: Likewise.
6704 * math/w_powf.c: Likewise.
6705 * math/w_powl.c: Likewise.
6706 * math/w_remainder.c: Likewise.
6707 * math/w_remainderf.c: Likewise.
6708 * math/w_remainderl.c: Likewise.
6709 * math/w_scalb.c: Likewise.
6710 * math/w_scalbf.c: Likewise.
6711 * math/w_scalbl.c: Likewise.
6712 * math/w_scalbln.c: Likewise.
6713 * math/w_scalblnf.c: Likewise.
6714 * math/w_scalblnl.c: Likewise.
6715 * math/w_sinh.c: Likewise.
6716 * math/w_sinhf.c: Likewise.
6717 * math/w_sinhl.c: Likewise.
6718 * math/w_tgamma.c: Likewise.
6719 * math/w_tgammaf.c: Likewise.
6720 * math/w_tgammal.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6752 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6753 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6754 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6755 * stdio-common/printf_fp.c: Likewise.
6756 * stdio-common/printf_fphex.c: Likewise.
6757 * stdio-common/printf_size.c: Likewise.
6758
6759 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6760
6761 [BZ #18470]
6762 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6763 strnlen.
6764 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6765 Remove variable.
6766 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6767 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6768 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6769 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6770 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6771 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6772 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6773 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6774 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6775 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6776
6777 [BZ #18468]
6778 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6779 weak alias of __wmemchr. Use libc_hidden_weak.
6780 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6781 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6782 instead of wmemchr.
6783
6784 2015-06-02 Roland McGrath <roland@hack.frob.com>
6785
6786 [BZ #18383]
6787 * elf/tst-tlsalign-extern.c: New file.
6788 * elf/tst-tlsalign-extern-static.c: New file.
6789 * elf/tst-tlsalign-vars.c: New file.
6790 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6791 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6792 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6793 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6794 (test-xfail-tst-tlsalign-extern-static): New variable.
6795
6796 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6797
6798 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6799 Use variable name _sc_err instead of err.
6800 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6801 instead of ret.
6802 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6803 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6804 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6805 (INLINE_SYSCALL): Likewise.
6806
6807 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6808 * include/string.h (__strnlen): Use libc_hidden_proto.
6809 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6810 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6811 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6812 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6813 (libc_hidden_def): Undefine and redefine.
6814 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6815 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6816 __GI_strnlen.
6817 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6818 libc_hidden_def.
6819 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6820
6821 [BZ #18469]
6822 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6823 weak alias of __towlower. Use libc_hidden_weak.
6824 (towupper): Rename to __towupper and define as weak alias of
6825 __towupper. Use libc_hidden_weak.
6826 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6827 (__towupper): Likewise.
6828 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6829 __towlower instead of towlower.
6830
6831 2015-06-02 Roland McGrath <roland@hack.frob.com>
6832
6833 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6834 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6835
6836 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6837
6838 * sysdeps/aarch64/libm-test-ulps: Update.
6839
6840 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6841
6842 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6843 Define.
6844 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6846 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6847 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6848 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6849 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6850 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6851
6852 2015-06-01 Martin Sebor <msebor@redhat.com>
6853
6854 [BZ #18116]
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6856 (__setcontext): Use extended four-operand version of mtsf whenever
6857 possible.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6859 (__novec_swapcontext): Likewise.
6860
6861 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6862
6863 * benchtests/scripts/compare_bench.py: New file.
6864 * benchtests/scripts/import_bench.py (mean): New function.
6865 (split_list): Likewise.
6866 (do_for_all_timings): Likewise.
6867 (compress_timings): Likewise.
6868
6869 * benchtests/scripts/import_bench.py: New file.
6870 * benchtests/scripts/validate_benchout.py: Import import_bench
6871 instead of jsonschema.
6872 (validate_bench): Remove function.
6873 (main): Use import_bench.
6874
6875 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6876
6877 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6878 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6879
6880 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6881
6882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6883
6884 2015-05-28 Roland McGrath <roland@hack.frob.com>
6885
6886 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6887 set THREAD_SELF->tid to a magic value and futex-wake it.
6888 Pass its address to the thread_exit system call.
6889 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6890 bit is clear.
6891 * sysdeps/nacl/lowlevellock.h: New file.
6892 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6893
6894 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6895 Add TIMEOUT to current time, don't subtract it.
6896
6897 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6898
6899 [BZ #2981]
6900 [BZ #18422]
6901 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6902 ($(objpfx)tst-audit2.out): Also depend on
6903 $(objpfx)tst-auditmod9b.so.
6904 * elf/tst-audit2.c: Include <dlfcn.h>.
6905 (calloc_called): New.
6906 (calloc): Allow to be called more than once.
6907 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6908
6909 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6910
6911 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6912 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6913
6914 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6915
6916 * stdlib/monetary.h: Fix comment.
6917
6918 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6919
6920 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6921 Avoid using variables in #defines that might cause shadowing.
6922 (INTERNAL_VSYSCALL_CALL): Likewise.
6923
6924 2015-05-26 Roland McGrath <roland@hack.frob.com>
6925
6926 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6927
6928 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6929 * nptl/lll_timedlock_wait.c: ... to this new file.
6930 * nptl/Makefile (libpthread-routines): Add it.
6931 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6932 * nptl/lll_timedwait_tid.c: ... to this new file.
6933 * nptl/Makefile (libpthread-routines): Add it.
6934 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6935 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6936 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6937 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6938 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6939 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6940 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6941 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6942 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6943 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6944
6945 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6946
6947 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6949 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6951 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6953 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6954 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6955 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6956 * sysdeps/unix/sysv/linux/tile/sysdep.h
6957 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6958 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6959 using vDSO syscall macro.
6960
6961 2015-05-26 Andriy Rysin <arysin@gmail.com>
6962
6963 [BZ #17293]
6964 * uk_UA: Fix sorting order for Ukrainian locale
6965
6966 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6967
6968 * stdlib/monetary.h: Fix comment.
6969
6970 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6971
6972 [BZ #18234]
6973 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6974 st_mtim and st_ctim members.
6975 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6976 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6977 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6978 (struct stat64): Likewise.
6979 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6980 (struct stat64): Likewise.
6981 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6982 (struct stat64): Likewise.
6983
6984 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6985
6986 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6987 Define and include sysdep-vdso.h.
6988 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6989 Likewise.
6990 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6991 Likewise.
6992 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6993 Define with VDSO_SYMBOL and use PTR_MANGLE.
6994 (__vdso_clock_gettime): Likewise.
6995 (__vdso_clock_getres): Likewise.
6996 (_libc_vdso_platform_setup): Likewise.
6997 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6998 Likewise.
6999 (_libc_vdso_platform_setup): Likewise.
7000 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7001 Likewise.
7002 (__vdso_clock_gettime): Likewise.
7003 (__vdso_clock_getres): Likewise.
7004 (__vdso_get_tbfreq): Likewise.
7005 (__vdso_getcpu): Likewise.
7006 (__vdso_time): Likewise.
7007 (__vdso_sigtramp_rt64): Likewise.
7008 (__vdso_signtramp32): Likewise.
7009 (__vdso_sigtramp_rt32): Likewise.
7010 (_libc_vdso_platform_setup): Likewise.
7011 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7012 Likewise.
7013 (__vdso_clock_gettime): Likewise.
7014 (__vdso_clock_getres): Likewise.
7015 (_libc_vdso_platform_setup): Likewise.
7016 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7017 Likewise.
7018 (__vdso_clock_gettime): Likewise.
7019 (_libc_vdso_platform_setup): Likewise.
7020 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7021 Likewise.
7022 (__vdso_getcpu): Likewise.
7023 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7024 Use VDSO_SYMBOL macro to define.
7025 (__vdso_clock_gettime): Likewise.
7026 (__vdso_clock_getres): Likewise.
7027 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7028 Likewise.
7029 (__vdso_clock_gettime): Likewise.
7030 (__vdso_clock_getres): Likewise.
7031 (__vdso_get_tbfreq): Likewise.
7032 (__vdso_getcpu): Likewise.
7033 (__vdso_time): Likewise.
7034 (__vdso_sigtramp_rt64): Likewise.
7035 (__vdso_signtramp32): Likewise.
7036 (__vdso_sigtramp_rt32): Likewise.
7037 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7038 Likewise.
7039 (__vdso_clock_gettime): Likewise.
7040 (__vdso_clock_getres): Likewise.
7041 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7042 Likewise.
7043 (__vdso_clock_gettime): Likewise.
7044 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7045 Likewise.
7046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
7047 macro.
7048 (INTERNAL_VSYSCALL): Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7050 Remove macro.
7051 (INTERNAL_VSYSCALL): Likewise.
7052 (INTERNAL_VSYSCALL_NCS): Likewise.
7053 (INTERNAL_VSYSCALL_CALL): New macro.
7054 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7056 Likewise.
7057 (INTERNAL_VSYSCALL): Likewise.
7058 (INTERNAL_VSYSCALL_NCS): Likewise.
7059 (INTERNAL_VSYSCALL_CALL): New macro.
7060 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7062 (INLINE_VSYSCALL): Remove macro.
7063 (INTERNAL_VSYSCALL): Remove macro.
7064 (INTERNAL_VSYSCALL_NCS): Remove macro.
7065 (INTERNAL_VSYSCALL_CALL): New macro.
7066 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7067 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7068 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7069 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7070 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7072 (INLINE_VSYSCALL): Remove macro.
7073 (INTERNAL_VSYSCALL): Likewise.
7074 (INTERNAL_VSYSCALL_NCS): Likewise.
7075 (INTERNAL_VSYSCALL_CALL): New macro.
7076 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7077 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7078 PTR_DEMANGLE on vDSO pointer.
7079 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7080 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7081 macro.
7082 (INTERNAL_SYSCALL): Likewise.
7083 (INTERNAL_VSYSCALL_NCS): Remove macro.
7084 (INTERNAL_VSYSCALL_CALL): New macro.
7085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7086 Remove macro.
7087 (INTERNAL_VSYSCALL): Likewise.
7088 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7089 sysdep-vdso.h instead of libc-vdso.h.
7090 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7091 definition.
7092 (INLINE_VSYSCALL): Likewise.
7093 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7094 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7095 definition.
7096 (INLINE_VSYSCALL): Likewise.
7097 (INTERNAL_VSYSCALL): Likewise.
7098 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7099 * sysdeps/unix/sysv/linux/timespec_get.c
7100 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7101 (timespec_get): Use ANSI prototype.
7102 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7103 and definition for Linux.
7104
7105 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7106
7107 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7108 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7109
7110 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 [BZ #2981]
7113 [BZ #18410]
7114 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7115 for missing DT_PLTRELSZ.
7116
7117 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7118
7119 Remove obsolete aliases that broke 'locale -a'
7120 [BZ #18412]
7121 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7122 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7123 breaking some applications that use 'locale -a' output.
7124 Change the encoding of this file from Latin-1 to ASCII to avoid
7125 other potential problems with people grepping this file.
7126
7127 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7128
7129 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7130 -fasynchronous-unwind-tables.
7131 (CFLAGS-sendto.c): Likewise.
7132 (CFLAGS-sendmsg.c): Likewise.
7133 (CFLAGS-connect.c): Likewise.
7134 (CFLAGS-recvmsg.c): Likewise.
7135 (CFLAGS-recvfrom.c): Likewise.
7136 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7137 (SOCKETCALL): New macro: non-cancellable socketcall.
7138 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7139 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7140 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7141 * sysdeps/unix/sysv/linux/accept.c: New file.
7142 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7143 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7144 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7145 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7146 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7147 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7148 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7149 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7150 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7151 * sysdeps/unix/sysv/linux/send.c: Likewise.
7152 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7153 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7154 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7155 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7156 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7157 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7158 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7159 prototype.
7160 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7161 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7162 instead of __internal_xxx function.
7163 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7164 prototype.
7165 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7166 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7167 instead of __internal_xxx function.
7168 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7169 prototype.
7170 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7171 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7172 instead of __internal_xxx function.
7173 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7174 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7175 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7176 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7177 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7178 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7179 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7180 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7181 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7182 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7185 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7186 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7187 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7188 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7189 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7190 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7191 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7192 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7195 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7196 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7197 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7198 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7199 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7200 * sysdeps/unix/sysv/linux/send.S: Likewise.
7201 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7202 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7203 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7204 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7205 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7206 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7208 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7209 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7210 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7211 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7212 socketcall is implemented in GLIBC.
7213
7214 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7215
7216 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7217 (__fma): Ignore uninitialized warnings around packing.
7218 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7219 (__fmaf): Ignore uninitialized warnings around packing.
7220 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7221 (__fmal): Ignore uninitialized warnings around packing.
7222
7223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7224 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7225 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7226 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7227
7228 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7229 switch statement into default case.
7230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7231
7232 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7233 a conditional in forcing "inexact".
7234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7235 Likewise.
7236
7237 2015-05-22 Roland McGrath <roland@hack.frob.com>
7238
7239 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7240 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7241 for each INTERNAL_SYSCALL use.
7242
7243 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7244
7245 [BZ #438]
7246 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7247 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7248 variable.
7249
7250 [BZ #18444]
7251 * string/basename.c (basename): Rename to __basename and define as
7252 weak alias of __basename. Use libc_hidden_weak.
7253 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7254 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7255 __basename instead of basename.
7256 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7257 Remove variable.
7258 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7259
7260 2015-05-18 Florian Weimer <fweimer@redhat.com>
7261
7262 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7263 (_IO_JUMPS_FILE_plus): New.
7264 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7265 _IO_CAST_FIELD_ACCESS.
7266 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7267 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7268 * libio/freopen.c (freopen): Likewise.
7269 * libio/freopen64.c (freopen64): Likewise.
7270 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7271 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7272 * libio/iofwide.c (_IO_fwide): Likewise.
7273 * libio/memstream.c (open_memstream): Likewise.
7274 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7275 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7276 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7277
7278 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7279
7280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7281 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7282 NADJ.
7283 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7284 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7285 NADJ.
7286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7287 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7288 NADJ.
7289
7290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7291 (p == 4) case.
7292
7293 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7294 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7295 Remove variable.
7296 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7297 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7298 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7299
7300 2015-05-21 Florian Weimer <fweimer@redhat.com>
7301
7302 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7303 Adjust jump table label generation macros.
7304
7305 2015-05-21 Florian Weimer <fweimer@redhat.com>
7306
7307 * stdio-common/vfprintf.c (vfprintf): Move local variables
7308 args_malloced, specs, specs_malloced, and the code after
7309 do_positional to the printf_positional function.
7310 (printf_positional): New function.
7311
7312 2015-05-21 Florian Weimer <fweimer@redhat.com>
7313
7314 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7315 function.
7316 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7317 STEP4_TABLE, process_arg): Move macro definitions
7318 out of the vfprintf function. (Cosmetic change only.)
7319
7320 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7321
7322 * benchtests/Makefile (stdio-common-bench): Define.
7323 (benchset): Add stdio-common-bench.
7324 * sprintf-inputs: New file.
7325 * sprintf-source.c: New file.
7326
7327 2015-05-21 Andreas Schwab <schwab@suse.de>
7328
7329 [BZ #13028]
7330 [BZ #17053]
7331 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7332 of struct __res_state.
7333 * resolv/res_send.c (__libc_res_nsend): Likewise.
7334 (get_nsaddr): New function.
7335 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7336 statp directly.
7337
7338 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7339
7340 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7341 -D_POSIX_C_SOURCE=199506L.
7342
7343 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7344
7345 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7346 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7347 Do not mention otherwise.
7348 [POSIX] (_XOPEN_VERSION): Do not expect.
7349 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7350 [POSIX] (_POSIX2_C_BIND): Likewise.
7351 [POSIX] (_POSIX2_VERSION): Likewise.
7352 [POSIX] (_XOPEN_XPG2): Likewise.
7353 [POSIX] (_XOPEN_XPG3): Likewise.
7354 [POSIX] (_XOPEN_XPG4): Likewise.
7355 [POSIX] (_XOPEN_UNIX): Likewise.
7356 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7357 [POSIX] (_POSIX_BARRIERS): Likewise.
7358 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7359 [POSIX] (_POSIX_CPUTIME): Likewise.
7360 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7361 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7362 [POSIX] (_POSIX_SHELL): Likewise.
7363 [POSIX] (_POSIX_SPAWN): Likewise.
7364 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7365 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7366 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7367 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7368 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7369 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7370 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7371 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7372 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7373 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7374 [POSIX] (_POSIX2_PBS): Likewise.
7375 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7376 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7377 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7378 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7379 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7380 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7381 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7382 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7383 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7384 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7385 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7386 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7387 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7388 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7389 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7390 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7391 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7392 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7393 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7394 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7395 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7396 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7397 [POSIX] (_SC_2_C_BIND): Likewise.
7398 [POSIX] (_SC_2_C_VERSION): Likewise.
7399 [POSIX] (_SC_2_PBS): Likewise.
7400 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7401 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7402 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7403 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7404 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7405 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7406 [POSIX] (_SC_BARRIERS): Likewise.
7407 [POSIX] (_SC_BASE): Likewise.
7408 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7409 [POSIX] (_SC_DEVICE_IO): Likewise.
7410 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7411 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7412 [POSIX] (_SC_FD_MGMT): Likewise.
7413 [POSIX] (_SC_FIFO): Likewise.
7414 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7415 [POSIX] (_SC_FILE_LOCKING): Likewise.
7416 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7417 [POSIX] (_SC_IOV_MAX): Likewise.
7418 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7419 [POSIX] (_SC_NETWORKING): Likewise.
7420 [POSIX] (_SC_PAGE_SIZE): Likewise.
7421 [POSIX] (_SC_PASS_MAX): Likewise.
7422 [POSIX] (_SC_PIPE): Likewise.
7423 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7424 [POSIX] (_SC_REGEXP): Likewise.
7425 [POSIX] (_SC_SHELL): Likewise.
7426 [POSIX] (_SC_SIGNALS): Likewise.
7427 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7428 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7429 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7430 [POSIX] (_SC_USER_GROUPS): Likewise.
7431 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7432 [POSIX] (_SC_STREAMS): Likewise.
7433 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7434 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7435 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7436 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7437 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7438 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7439 [POSIX] (_PC_FILESIZEBITS): Likewise.
7440 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7441 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7442 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7443 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7444 [POSIX] (uid_t): Likewise.
7445 [POSIX] (gid_t): Likewise.
7446 [POSIX] (off_t): Likewise.
7447 [POSIX] (pid_t): Likewise.
7448 [POSIX] (cuserid): Allow.
7449 (_SC_2_CHAR_TERM): Require constant.
7450 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7451 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7452 variable.
7453
7454 2015-05-20 Roland McGrath <roland@hack.frob.com>
7455
7456 * sysdeps/nacl/pthread-pids.h: New file.
7457 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7458 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7459
7460 * nptl/pthread-pids.h: New file.
7461 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7462 * nptl/nptl-init.c: Include <pthread-pids.h>.
7463 (__pthread_initialize_minimal_internal):
7464 Call __pthread_initialize_pids instead of set_tid_address syscall.
7465
7466 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7467 * sysdeps/posix/usleep.c: ... here.
7468
7469 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7470
7471 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7472 call_pselect6 object.
7473 [$(subdir) = io]: Remove call_sync_file_range object.
7474 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7475 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7476 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7477 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7478
7479 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7480
7481 * math/s_cproj.c: Add include "math_private.h".
7482 * math/s_cprojf.c: Likewise.
7483 * math/s_cprojl.c: Likewise.
7484
7485 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7486
7487 [BZ #18244]
7488 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7489 high mantissa bit when testing whether P is a NaN.
7490 * math/libm-test.inc (remainder_test_data): Add more tests.
7491 (remquo_test_data): Likewise.
7492
7493 [BZ #18049]
7494 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7495 below -32, return the argument, with underflow if subnormal.
7496 * math/auto-libm-test-in: Add more tests of atanh.
7497 * math/auto-libm-test-out: Regenerated.
7498
7499 2015-05-19 Roland McGrath <roland@hack.frob.com>
7500
7501 [BZ #18434]
7502 * nptl/tst-sem15.c: New file.
7503 * nptl/Makefile (tests): Add it.
7504 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7505 s/<</>>/ to fix typo in EOVERFLOW check.
7506 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7507
7508 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7509
7510 * manual/strings.texi (envz_remove): Fix typo in safety
7511 annotations.
7512
7513 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7514 Steve Ellcey <sellcey@imgtec.com>
7515
7516 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7517 in order to avoid strict alias warnings.
7518 (iruserok_af): Ditto for ra.
7519
7520 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7521
7522 [BZ #17581]
7523 * malloc/hooks.c
7524 (magicbyte): Convert to a function and avoid returning 0x01.
7525 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7526 (mem2chunk_check): Fix unsigned comparisons to zero.
7527 Hoist defs of sz and magic.
7528
7529 2015-05-19 Richard Henderson <rth@redhat.com>
7530
7531 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7532
7533 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7534
7535 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7536
7537 [BZ #16159]
7538 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7539 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7540 (reused_arena): Find a non-corrupt arena.
7541 (heap_trim): Pass arena to unlink.
7542 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7543 malloc_printerr.
7544 (top_check): Likewise.
7545 (free_check): Likewise.
7546 (realloc_check): Likewise.
7547 * malloc/malloc.c (malloc_printerr): Add arena argument.
7548 (unlink): Likewise.
7549 (munmap_chunk): Adjust.
7550 (ARENA_CORRUPTION_BIT): New macro.
7551 (arena_is_corrupt): Likewise.
7552 (set_arena_corrupt): Likewise.
7553 (sysmalloc): Use mmap if there are no usable arenas.
7554 (_int_malloc): Likewise.
7555 (__libc_malloc): Don't fail if arena_get returns NULL.
7556 (_mid_memalign): Likewise.
7557 (__libc_calloc): Likewise.
7558 (__libc_realloc): Adjust for additional argument to
7559 malloc_printerr.
7560 (_int_free): Likewise.
7561 (malloc_consolidate): Likewise.
7562 (_int_realloc): Likewise.
7563 (_int_memalign): Don't touch corrupt arenas.
7564 * malloc/tst-malloc-backtrace.c: New test case.
7565
7566 * Makefile (summarize-tests): Fix return value on success.
7567
7568 * manual/string.texi (Envz Functions): Add envz_remove.
7569
7570 2015-05-18 Roland McGrath <roland@hack.frob.com>
7571
7572 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7573 (invalid_name): New function, broken out of ...
7574 (__opendirat): ... here. Call it.
7575 (need_isdir_precheck): New function, broken out of ...
7576 (__opendirat): ... here. Call it.
7577 Use __fxstatat64, not __xstatat64.
7578 (opendir_oflags): New function, broken out of ...
7579 (__opendirat): ... here. Call it.
7580 (opendir_tail): New function, broken out of ...
7581 (__opendirat): ... here. Call it.
7582 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7583 opendir_tail, rather than punting to __opendirat.
7584 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7585
7586 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
7588 * .gitignore: Ignore generated *.pyc.
7589
7590 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7591
7592 * include/stdio.h: Define __need_wint_t.
7593 * test-skeleton.c: Avoid `for' loop initial declaration.
7594 * nptl/tst-initializers1.c: Use test-skeleton.c.
7595
7596 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7597
7598 [BZ #18418]
7599 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7600
7601 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7602
7603 [BZ #16352]
7604 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7605 (__ieee754_atanh): Force underflow exception for results with
7606 small absolute value.
7607 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7608 (__ieee754_atanhf): Force underflow exception for results with
7609 small absolute value.
7610 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7611 (__ieee754_atanh): Force underflow exception for results with
7612 small absolute value.
7613 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7614 (__ieee754_atanhf): Force underflow exception for results with
7615 small absolute value.
7616 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7617 (__ieee754_atanhl): Force underflow exception for results with
7618 small absolute value.
7619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7620 (__ieee754_atanhl): Force underflow exception for results with
7621 small absolute value.
7622 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7623 (__ieee754_atanhl): Force underflow exception for results with
7624 small absolute value.
7625 * math/auto-libm-test-in: Do not allow missing underflow
7626 exceptions from atanh.
7627 * math/auto-libm-test-out: Regenerated.
7628
7629 [BZ #18221]
7630 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7631 2**-28 as threshold for returning x or +/- 1/x.
7632 * math/auto-libm-test-in: Add more tests of tan.
7633 * math/auto-libm-test-out: Regenerated.
7634
7635 [BZ #18220]
7636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7637 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7638 * math/auto-libm-test-in: Add another test of lgamma.
7639 * math/auto-libm-test-out: Regenerated.
7640
7641 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7642
7643 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7644 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7645 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7646 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7647 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7648 (ADD2A): Use fabs. (SUB2A): Use fabs.
7649 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7650 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7652 (log1): Use fabs. (my_log2): Use fabs.
7653 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7654 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7656 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7658 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7659 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7660 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7661 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7662 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7663 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7664
7665 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7666
7667 [BZ #18217]
7668 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7669 as threshold for returning 1 - x.
7670 * math/auto-libm-test-in: Add more tests of erfc.
7671 * math/auto-libm-test-out: Regenerated.
7672
7673 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7674
7675 [BZ #18196]
7676 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7677 threshold for large arguments.
7678 * math/auto-libm-test-in: Add another test of atan.
7679 * math/auto-libm-test-out: Regenerated.
7680
7681 [BZ #16339]
7682 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7683 (__log1p): Force underflow exception for results with small
7684 absolute value.
7685 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7686 (__log1pf): Force underflow exception for results with small
7687 absolute value.
7688 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7689 (__log1p): Force underflow exception for results with small
7690 absolute value.
7691 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7692 (__log1pf): Force underflow exception for results with small
7693 absolute value.
7694 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7695 (__log1pl): Force underflow exception for results with small
7696 absolute value.
7697 * math/auto-libm-test-in: Do not allow missing underflow
7698 exceptions from log1p.
7699 * math/auto-libm-test-out: Regenerated.
7700
7701 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7702 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7703
7704 [BZ #16704]
7705 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7706
7707 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7708
7709 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7710 (libmvec): New variable.
7711 * configure.ac: Added option for mathvec build.
7712 * configure: Regenerated.
7713 * mathvec/Depend: New file.
7714 * mathvec/Makefile: New file.
7715 * shlib-versions: Added libmvec.
7716 * math/Makefile: Added rule for libm.so installation.
7717
7718 * bits/math-vector.h: New file.
7719 * bits/libm-simd-decl-stubs.h: New header.
7720 * math/Makefile (headers): Added new header
7721 libm-simd-decl-stubs.h.
7722 * math/math.h (__MATHCALL_VEC): New macro.
7723
7724 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7725 for conditions in testing functions.
7726 * math/Makefile: Added call of libm-have-vector-test.sh.
7727 * math/libm-test.inc (HAVE_VECTOR): New macros.
7728
7729 * math/libm-test.inc: START refactored.
7730 * math/test-double.c (TEST_MATHVEC): Add define.
7731 * math/test-float.c: Likewise.
7732 * math/test-idouble.c: Likewise.
7733 * math/test-ifloat.c: Likewise.
7734 * math/test-ildoubl.c: Likewise.
7735 * math/test-ldouble.c: Likewise.
7736 * sysdeps/generic/math-tests-arch.h
7737 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7738 architecture check.
7739
7740 * math/test-double.c (FUNC_TEST): New macro.
7741 * math/test-float.c: Likewise.
7742 * math/test-idouble.c: Likewise.
7743 * math/test-ifloat.c: Likewise.
7744 * math/test-ildoubl.c: Likewise.
7745 * math/test-ldouble.c: Likewise.
7746 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7747
7748 2015-05-13 Roland McGrath <roland@hack.frob.com>
7749
7750 * sysdeps/nacl/fdopendir.c: New file.
7751
7752 * dirent/scandir-tail.c: New file.
7753 * dirent/scandir64-tail.c: New file.
7754 * dirent/Makefile (routines): Add them.
7755 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7756 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7757 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7758 [!SCANDIR] (SCANDIR_TAIL): New macro.
7759 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7760 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7761 (SCANDIRAT): Macro removed.
7762 (SCANDIR_TAIL): New macro.
7763 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7764 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7765 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7766 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7767 (READDIR): Macro removed.
7768 (SCANDIR_TAIL): New macro.
7769 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7770 (SCANDIR_TAIL): New macro.
7771
7772 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7773 * dirent/scandir-cancel.c: ... to this new file.
7774 * dirent/Makefile (routines): Add it.
7775 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7776 * sysdeps/unix/sysv/linux/i386/scandir64.c
7777 (SKIP_SCANDIR_CANCEL): Macro removed.
7778 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7779
7780 * dirent/tst-scandir.c: New file.
7781 * dirent/tst-scandir64.c: New file.
7782 * dirent/Makefile (tests): Add them.
7783
7784 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 [BZ #18409]
7787 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7788
7789 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7790
7791 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7792 list.
7793
7794 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7795
7796 * benchtests/bench-strcoll.c: New benchmark.
7797 * benchtests/Makefile: Generate locales and run benchmark.
7798 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7799 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7800 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7801 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7802 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7803 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7804 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7805 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7806 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7807 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7808 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7809 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7810 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7811 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7812 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7813 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7814 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7815 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7816 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7817 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7818 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7819 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7820 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7821 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7822
7823 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7824
7825 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7826 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7827
7828 2015-05-12 Roland McGrath <roland@hack.frob.com>
7829
7830 * posix/uname-values.h: New file.
7831 * posix/uname.c: Include that instead of <config-name.h>.
7832 * sysdeps/nacl/uname-values.h: New file.
7833 * sysdeps/arm/nacl/uname-values.h: New file.
7834
7835 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7836
7837 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7838 splitting into fields.
7839
7840 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7841
7842 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7843 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7844 * locale/localeinfo.h: Add enum collation_encoding_type.
7845 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7846 * programs/ld-collate.c (collate_output): Add encoding type info.
7847 * string/strcoll_l.c (STRDIFF): New function.
7848 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7849 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7850
7851 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7852
7853 [BZ #18397]
7854 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7855 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7856 <fpu_control.h> instead of <math/fpu_control.c>.
7857 * sysdeps/mips/mips32/fpu/Makefile: New file.
7858
7859 2015-05-11 Andreas Schwab <schwab@suse.de>
7860
7861 [BZ #18007]
7862 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7863 nss_endgrent.
7864 (_nss_compat_endgrent): Call nss_endgrent.
7865 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7866 nss_endpwent.
7867 (_nss_compat_endpwent): Call nss_endpwent.
7868 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7869 needent, call nss_setspent only if non-zero.
7870 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7871 (internal_endspent): Don't call nss_endspent.
7872 (_nss_compat_endspent): Call nss_endspent.
7873 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7874 Remove. All uses removed.
7875 (internal_setent): Remove parameter stayopen, add parameter
7876 stream. Use it instead of global variable.
7877 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7878 (internal_endent, internal_getent): Add parameter stream. Use it
7879 instead of global variable.
7880 (CONCAT(_nss_files_end,ENTNAME))
7881 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7882 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7883 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7884 uses removed.
7885 (internal_setent, internal_endent): Add parameter stream. Use it
7886 instead of global variable.
7887 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7888 stream.
7889 (get_next_alias): Add parameter stream.
7890 (_nss_files_getaliasent_r): Pass global stream.
7891 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7892 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7893 (_nss_files_gethostbyname4_r): Pass local stream to
7894 internal_setent, internal_getent and internal_endent. Remove
7895 locking.
7896
7897 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7898
7899 * tst-strfmon1.c (tests): Update expected currency symbol.
7900
7901 2015-05-08 Roland McGrath <roland@hack.frob.com>
7902
7903 * sysdeps/nacl/gethostname.c: New file.
7904
7905 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7906
7907 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7908 and sinh.
7909 * math/auto-libm-test-out: Regenerated.
7910 * sysdeps/i386/fpu/libm-test-ulps: Update.
7911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7912
7913 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7914
7915 [BZ #18125]
7916 * stdlib/tst-setcontext3.c: New file.
7917 * stdlib/tst-setcontext3.sh: New file.
7918 * stdlib/Makefile (tests): Add tst-setcontext3.
7919 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7920 to verify test program created output file.
7921 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7922 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7923 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7924 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7925
7926 2015-05-06 Roland McGrath <roland@hack.frob.com>
7927
7928 [BZ #18383]
7929 * elf/tst-tlsalign.c: New file.
7930 * elf/tst-tlsalign-static.c: New file.
7931 * elf/tst-tlsalign-lib.c: New file.
7932 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7933 (tests-static): Add tst-tlsalign-static.
7934 (modules-names): Add tst-tlsalign-lib.
7935 (test-xfail-tst-tlsalign): New variable.
7936 (test-xfail-tst-tlsalign-static): New variable.
7937
7938 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7939 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7940
7941 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7942
7943 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7944 csqrt, erfc, sin and sincos.
7945 * math/auto-libm-test-out: Regenerated.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
7949 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7950
7951 * sysdeps/aarch64/libm-test-ulps: Update.
7952
7953 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7954
7955 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7956 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7957 * math/auto-libm-test-out: Regenerated.
7958 * sysdeps/i386/fpu/libm-test-ulps: Update.
7959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7960
7961 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7962
7963 [BZ #18265]
7964 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7965 (wcsncpy): Likewise.
7966
7967 2015-05-05 Florian Weimer <fweimer@redhat.com>
7968
7969 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7970 Assume __ASSUME_FALLOCATE is always true.
7971 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7972 (__posix_fallocate64_l64): Likweise.
7973 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7974 (posix_fallocate): Likewise.
7975 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7976 (__posix_fallocate64_l64): Likewise.
7977 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7978 [!__ASSUME_FALLOCATE]: Add comment.
7979
7980 2015-05-05 Florian Weimer <fweimer@redhat.com>
7981
7982 * sysdeps/unix/sysv/linux/i386/Makefile
7983 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7984 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7985 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7988 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7989 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7990
7991 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7992
7993 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7994 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7995 tgamma.
7996 * math/auto-libm-test-out: Regenerated.
7997 * sysdeps/i386/fpu/libm-test-ulps: Update.
7998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7999
8000 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8001
8002 * math/auto-libm-test-in: Add more tests of tgamma.
8003 * math/auto-libm-test-out: Regenerated.
8004 * sysdeps/i386/fpu/libm-test-ulps: Update.
8005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8006
8007 * math/auto-libm-test-in: Add more tests of tanh.
8008 * math/auto-libm-test-out: Regenerated.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011
8012 * math/auto-libm-test-in: Add more tests of tan.
8013 * math/auto-libm-test-out: Regenerated.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016
8017 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8018 * math/auto-libm-test-out: Regenerated.
8019 * sysdeps/i386/fpu/libm-test-ulps: Update.
8020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8021
8022 * math/auto-libm-test-in: Add another test of pow.
8023 * math/auto-libm-test-out: Regenerated.
8024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8025
8026 * math/auto-libm-test-in: Add more tests of lgamma.
8027 * math/auto-libm-test-out: Regenerated.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
8031 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8032 log1p.
8033 * math/auto-libm-test-out: Regenerated.
8034 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8036
8037 2015-05-01 Mark Wielaard <mjw@redhat.com>
8038
8039 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8040 Elf64_Chdr structs and ELFCOMPRESS constants.
8041
8042 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8043
8044 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8045 expm1.
8046 * math/auto-libm-test-out: Regenerated.
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049
8050 * math/auto-libm-test-in: Add more tests of erf and erfc.
8051 * math/auto-libm-test-out: Regenerated.
8052 * sysdeps/i386/fpu/libm-test-ulps: Update.
8053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8054
8055 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8056
8057 * config.h.in (HAVE_AARCH64_BE): Add.
8058
8059 2015-04-30 Joseph Myers <joseph@codesourcery.com>
8060
8061 * math/auto-libm-test-in: Add more tests of csqrt.
8062 * math/auto-libm-test-out: Regenerated.
8063 * sysdeps/i386/fpu/libm-test-ulps: Update.
8064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065
8066 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8067 * math/auto-libm-test-out: Regenerated.
8068 * sysdeps/i386/fpu/libm-test-ulps: Update.
8069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8070
8071 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8072
8073 2015-04-29 Roland McGrath <roland@hack.frob.com>
8074
8075 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8076 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8077
8078 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8079 (euidaccess, eaccess): Define as weak aliases.
8080
8081 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8082 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8083 but __suseconds_t is often 'long int' so some sources assume that
8084 type is being used (e.g. they use %ld to print tv_usec).
8085
8086 2015-04-29 Florian Weimer <fweimer@redhat.com>
8087
8088 [BZ #18007]
8089 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8090 (CVE-2014-8121)
8091 * nss/tst-nss-getpwent.c: New file.
8092 * nss/Makefile (tests): Add new test.
8093
8094 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8095
8096 [BZ #18346]
8097 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8098 exponents less than 48 as cases where high part of mantissa needs
8099 examining to determine whether argument is integral.
8100 * math/libm-test.inc (round_test_data): Add more tests.
8101
8102 2015-04-28 Mark Wielaard <mjw@redhat.com>
8103
8104 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8105
8106 2015-04-27 David S. Miller <davem@davemloft.net>
8107
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8109 __tls_get_addr.
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8111
8112 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 [BZ#18333]
8115 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8116
8117 2015-04-27 Florian Weimer <fweimer@redhat.com>
8118
8119 [BZ#18333]
8120 * time/tzset.c (parse_tzname): Return error on memory allocation
8121 failure.
8122 * test-skeleton.c (struct temp_name_list): Change type of name
8123 member to non-const.
8124 (add_temp_file): Create a copy of the file name.
8125 (delete_temp_files): Deallocate memory.
8126 (create_temp_file): Add comment.
8127
8128 2015-04-24 Florian Weimer <fweimer@redhat.com>
8129
8130 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8131 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8132
8133 2015-04-24 Roland McGrath <roland@hack.frob.com>
8134
8135 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8136 * sysdeps/arm/configure: Regenerated.
8137
8138 2015-04-24 Florian Weimer <fweimer@redhat.com>
8139
8140 [BZ #17715]
8141 * time/tzfile.c (__tzfile_read): Check for large values of
8142 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8143 * time/tzset.c (__tzstring_len): New function, based on the old
8144 __tzstring function.
8145 (__tzstring): Call __tzstring_len.
8146 (parse_tzname): New helper function extracted from
8147 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8148 the input string.
8149 (parse_offset): New helper function extracted from
8150 __tzset_parse_tz. Replace switch with fallthrough with
8151 initialization before sscanf.
8152 (parse_rule): Likewise.
8153 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8154 new-style function definition.
8155 * timezone/Makefile (tests): Add tst-tzset.
8156 (tst-tzset.out): Dependencies on time zone files.
8157 (tst-tzset-ENV): Set TZDIR.
8158 (testdata/XT%): Copy crafted time zone files.
8159 * timezone/README: Mention crafted time zone files.
8160 * timezone/testdata/XT1, timezone/testdata/XT2,
8161 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8162 files.
8163 * timezone/tst-tzset.c: New test.
8164
8165 2015-04-24 Florian Weimer <fweimer@redhat.com>
8166
8167 * Makeconfig (+gccwarn): Remove -Winline.
8168
8169 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8170
8171 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8172
8173 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8174
8175 * NEWS: Mention sysconf() cache information support for s390.
8176 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8177
8178 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8179
8180 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8182 (__nearbyint): Likewise.
8183 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8184 (copysignl): Likewise.
8185
8186 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8187
8188 [BZ #18287]
8189 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8190 based on padding. (CVE-2015-1781)
8191
8192 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8193
8194 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8195 libc-vdso.h.
8196 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8197 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8198 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8199 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8200 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8201 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8207 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8208 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8209 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8210 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8211 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8212 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8214 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8215 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8216 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8217 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8218 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8219
8220 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8221
8222 * stdlib/setenv.c (__add_to_environ):
8223 Dump core quickly if setenv (..., NULL, ...) is called.
8224 This time, do it the right way, and pacify GCC with a pragma.
8225
8226 2015-04-17 Roland McGrath <roland@hack.frob.com>
8227
8228 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8229 IMAP->l_prev cannot be null, and #if out the code for the contrary
8230 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8231 believe that NS (&_dl_ns[NSID]) could point outside the array.
8232
8233 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8234 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8235 before using NSID as an index.
8236
8237 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8238
8239 [BZ #17825]
8240 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8241 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8242 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8243
8244 2015-04-17 Roland McGrath <roland@hack.frob.com>
8245
8246 Add preliminary port to Google Native Client on ARM.
8247 * abi-tags (.*-.*-nacl.*): New entry.
8248 * sysdeps/arm/nacl: New directory.
8249 * sysdeps/nacl: New directory.
8250
8251 2015-04-16 David S. Miller <davem@davemloft.net>
8252
8253 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8254 lowlevellock-futex.h
8255
8256 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8257
8258 * sysdeps/tile/configure.ac: New file.
8259 * sysdeps/tile/configure: Regenerated.
8260
8261 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8262
8263 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8264 conditionals for weak_alias and libc_hidden_weak.
8265 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8266 libc_hidden_weak and weak_alias.
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8268 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8269 and weak_alias for static one.
8270
8271 2015-04-15 David S. Miller <davem@davemloft.net>
8272
8273 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8274
8275 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8276
8277 [BZ #18206]
8278 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8279 Use signed comparision instead of substraction to avoid
8280 overflow bug.
8281 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8282 Take the sign of ret.
8283 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8284 Do not expect precise return values. Only the sign matters.
8285 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8286 * wcsmbs/test-wcsncmp.c: New File.
8287 * string/test-strncmp.c: Add wcsncmp support.
8288
8289 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8290
8291 [BZ #6792]
8292 * math/w_log1p.c: New file.
8293 * math/w_log1pf.c: Likewise.
8294 * math/w_log1pl.c: Likewise.
8295 * math/Makefile (libm-calls): Add w_log1p.
8296 * math/s_log1pl.c (log1pl): Remove weak_alias.
8297 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8298 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8299 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8300 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8301 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8302 [NO_LONG_DOUBLE] (log1pl): Likewise.
8303 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8305 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8306 (log1p): Remove long_double_symbol.
8307 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8308 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8309 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8310 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8311 remove weak_alias for corresponding log1p function.
8312 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8313 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8314 * sysdeps/ia64/fpu/w_log1p.c: New file.
8315 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8316 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8317 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8318
8319 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8320
8321 [BZ #18247]
8322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8323 decimal exponent by 1.
8324 * stdlib/tst-strtod-round-data: Add more tests.
8325 * stdlib/tst-strtod-round.c (tests): Regenerated.
8326
8327 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8328
8329 * math/auto-libm-test-in: Add more tests of clog and clog10.
8330 * math/auto-libm-test-out: Regenerated.
8331 * sysdeps/i386/fpu/libm-test-ulps: Update.
8332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8333
8334 2015-04-09 Roland McGrath <roland@hack.frob.com>
8335
8336 * Makeconfig (module-cppflags): Exclude all .v.i files.
8337 (skip-module-cppflags): Variable removed.
8338
8339 * configure.ac (libc_config_ok): Initialize before reading
8340 preconfigure scripts, not after.
8341 * configure: Regenerated.
8342
8343 * test-skeleton.c (TIMEOUT): Move #define to top level.
8344 (main): Grok environment variable TEST_DIRECT. If set, print
8345 test expectation details into that file and then behave as if
8346 given --direct.
8347
8348 2015-04-09 Florian Weimer <fweimer@redhat.com>
8349
8350 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8351 warning on 32-bit.
8352
8353 2015-04-08 David S. Miller <davem@davemloft.net>
8354
8355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8356
8357 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8358
8359 * math/auto-libm-test-in: Add more tests of atanh.
8360 * math/auto-libm-test-out: Regenerated.
8361 * sysdeps/i386/fpu/libm-test-ulps: Update.
8362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8363
8364 * math/auto-libm-test-in: Add more tests of atan.
8365 * math/auto-libm-test-out: Regenerated.
8366 * sysdeps/i386/fpu/libm-test-ulps: Update.
8367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8368
8369 2015-04-08 Florian Weimer <fweimer@redhat.com>
8370
8371 * elf/pldd.c (main): Rewrite to use struct
8372 scratch_buffer instead of extend_alloca.
8373 * elf/pldd-xx.c (find_maps): Likewise.
8374 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8375 <alloca.h>.
8376 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8377 scratch_buffer instead of extend_alloca.
8378 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8379 grp/compat-initgroups.c.
8380 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8381 Rewrite to use struct scratch_buffer instead of extend_alloca.
8382 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8383 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8384
8385 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8386
8387 * math/auto-libm-test-in: Add more tests of cbrt.
8388 * math/auto-libm-test-out: Regenerated.
8389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8390
8391 * math/auto-libm-test-in: Add more tests of cabs.
8392 * math/auto-libm-test-out: Regenerated.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8395
8396 [BZ #18210]
8397 [BZ #18211]
8398 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8399 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8400 computations.
8401 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8402 clog10.
8403 * math/auto-libm-test-out: Regenerated.
8404 * sysdeps/i386/fpu/libm-test-ulps: Update.
8405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8406
8407 [BZ #18197]
8408 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8409 (atan): Set FE_TONEAREST mode for internal computations.
8410 * math/auto-libm-test-in: Add more tests of atan.
8411 * math/auto-libm-test-out: Regenerated.
8412
8413 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8414
8415 [BZ #17930]
8416 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8417
8418 2015-04-07 Florian Weimer <fweimer@redhat.com>
8419
8420 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8421
8422 2015-04-07 Florian Weimer <fweimer@redhat.com>
8423
8424 * include/scratch_buffer.h: New file.
8425 * malloc/scratch_buffer_grow.c: Likewise.
8426 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8427 * malloc/scratch_buffer_set_array_size.c: Likewise.
8428 * malloc/tst-scratch_buffer.c: Likewise.
8429 * malloc/Makefile (routines): Add scratch_buffer_grow.
8430 (tests): Add test case.
8431 * malloc/Versions (GLIBC_PRIVATE): Export
8432 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8433 __libc_scratch_buffer_set_array_size.
8434
8435 2015-04-06 Richard Henderson <rth@redhat.com>
8436
8437 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8438 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8439
8440 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8441 unsigned int before printing.
8442
8443 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8444
8445 [BZ #17596]
8446 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8447 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8448
8449 2015-04-02 Florian Weimer <fweimer@redhat.com>
8450
8451 * include/libc-internal.h (libc_max_align_t): Define.
8452
8453 2015-04-02 Andreas Schwab <schwab@suse.de>
8454
8455 [BZ #16850]
8456 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8457
8458 2015-04-02 Mel Gorman <mgorman@suse.de>
8459
8460 [BZ #17195]
8461 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8462 as well as the main arena.
8463
8464 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 [BZ #18185]
8467 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8468 sharing L2 cache to 2 for Silvermont/Knights Landing.
8469
8470 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8471
8472 [BZ #17711]
8473 * config.make.in (have-protected-data): New.
8474 * configure.ac: Check linker support for protected data symbol.
8475 * configure: Regenerated.
8476 * elf/Makefile (modules-names): Add tst-protected1moda and
8477 tst-protected1modb if $(have-protected-data) is yes.
8478 (tests): Add tst-protected1a and tst-protected1b if
8479 $(have-protected-data) is yes.
8480 ($(objpfx)tst-protected1a): New.
8481 ($(objpfx)tst-protected1b): Likewise.
8482 (tst-protected1modb.so-no-z-defs): Likewise.
8483 * elf/tst-protected1a.c: New file.
8484 * elf/tst-protected1b.c: Likewise.
8485 * elf/tst-protected1mod.h: Likewise.
8486 * elf/tst-protected1moda.c: Likewise.
8487 * elf/tst-protected1modb.c: Likewise.
8488
8489 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 [BZ #17711]
8492 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8493 indicates it is called from do_lookup_x on relocation against
8494 protected data, skip the data definion in the executable from
8495 copy reloc.
8496 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8497 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8498 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8499 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8500 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8501 otherwise to 0.
8502 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8503 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8504 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8505 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8506 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8507 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8508
8509 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8510
8511 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8512 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8513
8514 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8515
8516 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8517 THREAD_SETMEM_NC.
8518 * sysdeps/x86_64/nptl/tls.h: Ditto.
8519
8520 2015-03-27 Roland McGrath <roland@hack.frob.com>
8521
8522 * dlfcn/tststatic.c (main): Converted to ...
8523 (do_test): ... this.
8524 (TEST_FUNCTION): New macro.
8525 Include test-skeleton.c.
8526
8527 2015-03-26 Alan Modra <amodra@gmail.com>
8528
8529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8530 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8531 zero for undefined weak.
8532 (elf_machine_plt_conflict): Similarly.
8533
8534 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8535
8536 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8537 atanh.
8538 * math/auto-libm-test-out: Regenerated.
8539 * sysdeps/i386/fpu/libm-test-ulps: Update.
8540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8541
8542 * math/auto-libm-test-in: Add another test of asin.
8543 * math/auto-libm-test-out: Regenerated.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8546
8547 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8548 Remove macro.
8549 (LLL_EBX_REG): Likewise.
8550 (LLL_ENTER_KERNEL): Likewise.
8551
8552 * math/auto-libm-test-in: Add more tests of asin.
8553 * math/auto-libm-test-out: Regenerated.
8554 * sysdeps/i386/fpu/libm-test-ulps: Update.
8555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8556
8557 [BZ #18138]
8558 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8559 libc_do_syscall_args): New structure.
8560 (INTERNAL_SYSCALL_MAIN_0): New macro.
8561 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8562 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8563 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8564 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8565 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8566 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8567 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8568 Replace conditional definitions by conditional definitions of ....
8569 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8570 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8571 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8572 (libpthread-sysdep_routines): Add libc-do-syscall.
8573 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8574 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8575 to __NR_futex not 240.
8576
8577 2015-03-25 Alan Modra <amodra@gmail.com>
8578
8579 * NEWS: Advertise TLS optimization.
8580 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8581 (DT_PPC_NUM): Increment.
8582 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8583 (CHECK_STATIC_TLS): Use here.
8584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8585 TLS descriptors.
8586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8587 * sysdeps/powerpc/dl-tls.c: New file.
8588 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8589 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8590 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8591 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8595
8596 2015-03-25 Alan Modra <amodra@gmail.com>
8597
8598 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8599 for overlapping .opd entries" to "support...".
8600 * sysdeps/powerpc/powerpc64/configure: Regenerate
8601
8602 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8603
8604 * math/auto-libm-test-in: Add more tests of acos.
8605 * math/auto-libm-test-out: Regenerated.
8606 * sysdeps/i386/fpu/libm-test-ulps: Update.
8607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8608
8609 * math/auto-libm-test-in: Add more tests of expm1.
8610 * math/auto-libm-test-out: Regenerated.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
8614 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8615
8616 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8617 * math/auto-libm-test-out: Regenerated.
8618 * sysdeps/i386/fpu/libm-test-ulps: Update.
8619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8620
8621 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623
8624 * math/auto-libm-test-in: Add more tests of log2.
8625 * math/auto-libm-test-out: Regenerated.
8626 * sysdeps/i386/fpu/libm-test-ulps: Update.
8627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628
8629 2015-03-23 Roland McGrath <roland@hack.frob.com>
8630
8631 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8632 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8633 _IO_IS_APPENDING bit in READ_WRITE instead.
8634
8635 2015-03-23 Florian Weimer <fweimer@redhat.com>
8636
8637 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8638 (__determine_cpumask_size): Replace extend_alloca with a
8639 variable-length array. Do not treat res == 0 as an error.
8640
8641 2015-03-23 Florian Weimer <fweimer@redhat.com>
8642
8643 [BZ #18100]
8644 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8645 and integer overflow.
8646 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8647 (main): Add integer overflow tests.
8648 * manual/pattern.texi (Calling Wordexp): Document additional use
8649 for WRDE_SYNTAX.
8650
8651 2015-03-23 Alan Modra <amodra@gmail.com>
8652
8653 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8654 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8655 and false branch of conditional.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8657 Likewise.
8658
8659 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8660
8661 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8662 libc-modules.h
8663 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8664 unused declaration of _hurd_intr_rpc_msg_in_trap.
8665 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8666 defined instead of whether it is non-zero.
8667 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8668 input constraint instead of both input and output constraint. Use ecx
8669 clobber instead of %ecx.
8670 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8671 mutex_unlock): Use a statement expression instead of an expression list.
8672 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8673 type to vm_size_t instead of vm_address_t.
8674 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8675 defined instead of whether it is non-zero.
8676 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8677 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8678 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8679 comparisons with mapaddr.
8680 * nscd/nscd-client.h: Include <time.h>.
8681 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8682 9th parameter to __vm_region instead of int.
8683 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8684 * scripts/check-local-headers.sh (exclude): Add device/,
8685 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8686 cthreads.h.
8687
8688 2015-03-19 Roland McGrath <roland@hack.frob.com>
8689
8690 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8691 to account for alignment padding.
8692 * sysdeps/arm/memmove.S: Likewise.
8693
8694 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8695
8696 * sysdeps/unix/sysv/linux/generic/README: New file.
8697
8698 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8699
8700 [BZ #18138]
8701 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8702 (futex_abstimed_wait)
8703 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8704 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8705 of lll_futex_timed_wait.
8706
8707 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8708
8709 [BZ #17542]
8710 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8711
8712 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8713
8714 [BZ #17090]
8715 [BZ #17620]
8716 [BZ #17621]
8717 [BZ #17628]
8718 * NEWS: Update.
8719 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8720 entries with Static TLS too. Skip entries past the end of the
8721 allocated DTV, from Alan Modra.
8722 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8723 Static TLS DTV entry set up from...
8724 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8725 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8726 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8727 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8728 for Static TLS.
8729 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8730 that the slot we find is associated with the given map before
8731 using its generation count.
8732 * nptl_db/db_info.c: Include ldsodefs.h.
8733 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8734 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8735 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8736 (link_map::l_tls_offset): New struct field.
8737 (dtv_t::counter): Likewise.
8738 (rtld_global): New struct.
8739 (_rtld_global): New rtld variable.
8740 (dl_tls_dtv_slotinfo_list): New rtld global field.
8741 (dtv_slotinfo_list): New struct.
8742 (dtv_slotinfo): Likewise.
8743 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8744 (td_lookup): Rename to...
8745 (td_mod_lookup): ... this. Use new mod parameter instead of
8746 LIBPTHREAD_SO.
8747 * nptl_db/td_thr_tlsbase.c: Include link.h.
8748 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8749 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8750 addresses even if the DTV is out of date or missing them.
8751 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8752 index zero-length arrays.
8753 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8754 (td_lookup): Make it a macro implemented in terms of...
8755 (td_mod_lookup): ... this declaration.
8756 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8757 (DB_MAIN_VARIABLE): Likewise.
8758
8759 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8760
8761 [BZ #18134]
8762 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8763
8764 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8765
8766 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8767
8768 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8769
8770 [BZ #18128]
8771 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8772 (atomic_add, atomic_increment_and_test)
8773 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8774
8775 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8776
8777 * stdlib/setenv.c (__add_to_environ):
8778 Dump core quickly if setenv (..., NULL, ...) is called.
8779
8780 2015-03-13 Roland McGrath <roland@hack.frob.com>
8781
8782 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8783 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8784 all the necessary asm magic in one place.
8785 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8786 using those.
8787
8788 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8789
8790 [BZ #14906]
8791 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8792 traced file mtime. Use consistent log message.
8793 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8794 (register_traced_file): Call install_watches. Always set mtime.
8795 (invalidate_cache): Iterate over all trace files. Call install_watches.
8796 (inotify_check_files): Don't inline. Handle watching parent
8797 directories and configuration file movement in and out.
8798 (handle_inotify_events): New function.
8799 (main_loop_poll): Call handle_inotify_events.
8800 (main_loop_epoll): Likewise.
8801 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8802 (struct traced_file): Use array of inotify fds. Add parent directory,
8803 and basename.
8804 (struct database_dyn): Remove unused file_mtime.
8805 (init_traced_file): New inline function.
8806 (define_traced_file): New macro.
8807 * nss/nss_db/db-init.c: Use define_traced_file.
8808 (_nss_db_init): Use init_traced_file.
8809 * nss/nss_files/files-init.c: Use define_traced_file.
8810 (_nss_files_init): Use init_traced_file.
8811
8812 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8813
8814 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8815 [_LIBC]: Do not include <stdlib.h>.
8816 [!_LIBC] (abort): Remove declaration.
8817 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8818 _FP_STATIC_ASSERT instead of conditionally calling abort.
8819 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8820 (_FP_EXTEND_CNAN): Likewise.
8821 (FP_TRUNC): Likewise.
8822 (__FP_CLZ): Likewise.
8823 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8824
8825 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8826
8827 * manual/string.texi (XPG basename): Fix prototype.
8828
8829 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8830
8831 [BZ #18080]
8832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8833 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8834 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8835 (__setcontext): Likewise.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8837 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8838 Call rt_sigprocmask syscall one time to set new signal mask
8839 and retrieve the current signal mask instead of two calls.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8841 (__swapcontext): Likewise.
8842 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8843 * stdlib/tst-setcontext2.c: New file.
8844
8845 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8846
8847 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8848
8849 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8850
8851 [BZ #18093]
8852 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8853 the wrong size.
8854
8855 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8856
8857 [BZ #18043]
8858 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8859
8860 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8861
8862 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8863 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8864 Remove define.
8865 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8866 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8867 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8868 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8869 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8870 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8871 define.
8872 * nptl_db/td_symbol_list.c (td_lookup): Remove
8873 HAVE_ASM_GLOBAL_DOT_NAME code.
8874 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8875 HAVE_ASM_GLOBAL_DOT_NAME check.
8876 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8877 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8878 (DOT_LABEL): Remove define.
8879 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8880 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8881 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8882 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8883 (__TLS_GET_ADDR): Likewise.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8885 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8886
8887 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8888
8889 [BZ #18111]
8890 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8891 (_FPU_SETCW): Initialize cw from fpsr before storing.
8892 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8893 (fesetexceptflag): Rewrite using fpu_control.h.
8894 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8895
8896 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8897
8898 [BZ #18110]
8899 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8900 asms.
8901 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8902
8903 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8904
8905 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8906 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8907 abort.
8908 (_FP_FMA): Likewise.
8909 (_FP_DIV): Likewise.
8910
8911 2015-03-10 Roland McGrath <roland@hack.frob.com>
8912
8913 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8914 with 0 in that case.
8915 * Makefile (summarize-tests): New canned sequence, factored out of
8916 commands for targets tests and xtests. Display summary lines that
8917 don't start with PASS: or XFAIL: rather than ones that do start with
8918 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8919 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8920 do start with ERROR: or FAIL:.
8921 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8922 (except for [$(build-shared) = yes]).
8923 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8924 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8925 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8926 * nptl/Makefile: Revert 2015-03-04 changes.
8927 [$(CXX) empty] (tests-unsupported): New variable.
8928 * debug/Makefile: Likewise.
8929
8930 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8931 gnulib file. Replace __attribute with __attribute__ throughout.
8932
8933 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8934
8935 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8936
8937 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8938
8939 [BZ #18104]
8940 * math/auto-libm-test-in: Add another test of pow.
8941 * math/auto-libm-test-out: Regenerated.
8942
8943 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944
8945 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8946 $(config-cflags-nofma).
8947
8948 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8949
8950 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8951 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8952 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8953 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8954 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8955 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8956 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8957 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8958 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8959 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8960 Add comment on closing #endif.
8961
8962 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8963
8964 * posix/wordexp.c (CHAR_IN_SET): New macro.
8965 (parse_param): Use it.
8966
8967 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8968
8969 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8970
8971 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8972
8973 [BZ #18043]
8974 * posix/wordexp.c (parse_param): Fix buffer overflow.
8975 * posix/wordexp-test.c (test_case): Add test case.
8976
8977 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8978
8979 [BZ #18042]
8980 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8981 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8982
8983 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8984
8985 [BZ #18043]
8986 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8987 (do_bz18043): Delete.
8988 (at_page_end): New.
8989 (testit): Refactor to have words at the edge of unreadable page.
8990
8991 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8992
8993 [BZ #16734]
8994 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8995 Cleanup read-only streams as well.
8996 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8997
8998 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8999
9000 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9001 <bits/libc-lockP.h>
9002
9003 2015-03-07 Joseph Myers <joseph@codesourcery.com>
9004
9005 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
9006 on [__KERNEL__].
9007 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9008 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9009 * soft-fp/op-common.h (_FP_DECL): Likewise.
9010
9011 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
9012
9013 * elf/ifuncdep2.c (global): Replace
9014 __attribute__((visibility("protected"))) with
9015 asm (".protected global").
9016 * elf/ifuncmod1.c (global): Likewise.
9017 * elf/ifuncmod5.c (global): Likewise.
9018
9019 2015-03-06 Joseph Myers <joseph@codesourcery.com>
9020
9021 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9022 <asm/sfp-machine.h> instead of <sfp-machine.h>.
9023
9024 2015-03-06 Roland McGrath <roland@hack.frob.com>
9025
9026 * manual/install.texi (Configuring and compiling):
9027 Document test-wrapper-env-only.
9028 * INSTALL: Regenerated.
9029
9030 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9031
9032 [BZ #18043]
9033 * posix/wordexp.c (parse_param): Fix buffer overflow.
9034 * posix/wordexp-test.c (do_bz18043): Add test case.
9035
9036 2015-03-06 Vincent Bernat <vincent@bernat.im>
9037
9038 * time/tst-strptime2.c (do_test): Ensure failing tests are
9039 reported correctly.
9040 * time/tst-strptime3.c (do_test): Likewise.
9041
9042 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
9043
9044 Fix aio_error thread-safety.
9045 * sysdeps/pthread/aio_error.c: New file
9046 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9047 synchronization.
9048
9049 2015-03-06 Florian Weimer <fweimer@redhat.com>
9050
9051 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9052 (group_number, vfprintf): Use it.
9053 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9054 (JUMP, REF): Use it.
9055 (WORK_BUFFER_SIZE): New enum constant.
9056 (process_arg, vfprintf): Use it.
9057
9058 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
9059
9060 * manual/errno.texi (Error Messages): Complete example function
9061 by adding missing #define.
9062 (program_invocation_name): Add statement indicating GNU
9063 extension and reference which header file declares the variable.
9064 (program_invocation_short_name): Likewise.
9065
9066 2015-03-06 Mike Frysinger <vapier@gentoo.org>
9067
9068 * manual/errno.texi (Error Messages): Delete strerror ISO C89
9069 compatibility note.
9070
9071 2015-03-05 Roland McGrath <roland@hack.frob.com>
9072
9073 * Makeconfig (test-wrapper-env-only): New variable.
9074 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9075 then use that with $(test-wrapper-env-only) rather than using
9076 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9077
9078 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 [BZ #18082]
9081 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9082 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9083 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9084 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9085 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9086 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9087 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9088 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9089 Likewise.
9090 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9091 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9092 Likewise.
9093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9094 Likewise.
9095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9096 Likewise.
9097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9098 Likewise.
9099 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9101 Likewise.
9102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9103 Likewise.
9104 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9105 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9106
9107 2015-03-04 Roland McGrath <roland@hack.frob.com>
9108
9109 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9110 (ETH_ALEN): New macro.
9111 (struct ether_addr): Use it for length of ether_addr_octet.
9112
9113 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9114 (setdb): Don't call __nss_configure_lookup for "rpc".
9115 (do_test): Don't call test_rpc.
9116 (output_rpcent, test_rpc): Functions moved ...
9117 * sunrpc/test-rpcent.c: ... to this new file.
9118 * sunrpc/Makefile (tests): Add it.
9119
9120 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9121 __xpg_sigpause.
9122 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9123 * nptl/tst-signal6.c: Likewise.
9124 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9125 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9126
9127 * configure.ac (libc_cv_cxx_link_ok): New check.
9128 Reset CXX to empty if it fails to link.
9129 * configure: Regenerated.
9130 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9131 bug-atexit3-lib only if $(CXX) is nonempty.
9132 * nptl/Makefile (tests): Likewise for tst-cancel24.
9133 (tests, tests-static): Likewise for tst-cancel24-static.
9134 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9135 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9136 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9137 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9138
9139 2015-03-04 Andreas Schwab <schwab@suse.de>
9140
9141 [BZ #17631]
9142 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9143 for non-GCC compilers.
9144 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9145 Likewise.
9146
9147 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9148
9149 [BZ #17776]
9150 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9151 integer before bitwise and assembly operations.
9152 (feclearexcept): Likewise.
9153 * math/test-fenvinline.c: New file.
9154 * math/Makefile: Add test-fenvinline test.
9155
9156 2015-03-03 Alan Modra <amodra@gmail.com>
9157
9158 [BZ #16512]
9159 * scripts/localplt.awk: Strip off symbol version.
9160 * NEWS: Mention bug fix.
9161
9162 2015-03-02 Roland McGrath <roland@hack.frob.com>
9163
9164 * sysdeps/pthread/timer_routines.c
9165 (timer_free_list, thread_free_list, thread_active_list): Make static.
9166
9167 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9168
9169 [BZ #17779]
9170 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9171 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9172 Undefine.
9173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9174 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9175 Likewise.
9176 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9177 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9178 Likewise.
9179
9180 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9181
9182 [BZ #18036]
9183 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9184 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9185
9186 2015-03-02 Andreas Schwab <schwab@suse.de>
9187
9188 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9189 variable name.
9190
9191 2015-03-02 Florian Weimer <fweimer@redhat.com>
9192
9193 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9194 Return error status.
9195
9196 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9197
9198 [BZ #15969]
9199 * locale/findlocale.c (_nl_find_locale): Introduce const
9200 version of loc_name and drop unsafe type casts.
9201
9202 2015-02-27 Roland McGrath <roland@hack.frob.com>
9203
9204 * dlfcn/tststatic2.c (main): Converted to ...
9205 (do_test): ... this.
9206 (TEST_FUNCTION): New macro.
9207 Include test-skeleton.c.
9208
9209 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 [BZ #17711]
9212 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9213 (tests-pie): Add vismain.
9214 (CFLAGS-vismain.c): New.
9215 * elf/vismain.c: Add comments for PIE requirement.
9216
9217 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9218
9219 [BZ #18046]
9220 [BZ #18047]
9221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9222 0x1p-56L as threshold for just returning the argument.
9223 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9224 0x1p-32L as threshold for just returning the argument.
9225 * math/auto-libm-test-in: Add more tests of atanh.
9226 * math/auto-libm-test-out: Regenerated.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9229
9230 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9231
9232 * string/bcopy.c (bcopy): Call memmove for performance.
9233
9234 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9235
9236 * string/bzero.c (__bzero): Call memset for performance.
9237
9238 2015-02-27 John David Anglin <dave.anglin@bell.net>
9239
9240 [BZ #18068]
9241 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9242 to 00100000.
9243
9244 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9245
9246 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9247
9248 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9249
9250 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9251 (__kernel_standard): Use CSTR macro when setting exc.name.
9252 * sysdeps/ieee754/Makefile [$(subdir) = math]
9253 (CFLAGS-k_standard.c): Remove variable.
9254
9255 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9256 setting p and q from "else if" to "else".
9257 (qzero): Likewise.
9258 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9259 (qone): Likewise.
9260 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9261 (qzerof): Likewise.
9262 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9263 (qonef): Likewise.
9264 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9265 (qzero): Likewise.
9266 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9267 (qone): Likewise.
9268
9269 [BZ #18038]
9270 [BZ #18039]
9271 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9272 return pi/2 for arguments below 0x1p-113L.
9273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9274 return pi/2 for arguments below 0x1p-106L.
9275 * math/auto-libm-test-in: Add more tests of acos.
9276 * math/auto-libm-test-out: Regenerated.
9277
9278 [BZ #16351]
9279 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9280 (MO): New macro.
9281 (__ieee754_asin): Force underflow exception for results with small
9282 absolute value.
9283 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9284 (MO): New macro.
9285 (__ieee754_asinf): Force underflow exception for results with
9286 small absolute value.
9287 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9288 (__ieee754_asin): Force underflow exception for results with small
9289 absolute value.
9290 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9291 (__ieee754_asinf): Force underflow exception for results with
9292 small absolute value.
9293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9294 (__ieee754_asinl): Force underflow exception for results with
9295 small absolute value.
9296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9297 (__ieee754_asinl): Force underflow exception for results with
9298 small absolute value.
9299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9300 (__ieee754_asinl): Force underflow exception for results with
9301 small absolute value.
9302 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9303 Include <math.h>.
9304 * math/auto-libm-test-in: Do not mark underflow exceptions as
9305 possibly missing for bug 16351.
9306 * math/auto-libm-test-out: Regenerated.
9307
9308 [BZ #18030]
9309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9310 of power of 2 down when low part has opposite sign.
9311 * math/libm-test.inc (logb_test_data): Add more tests.
9312
9313 2015-02-26 Andreas Schwab <schwab@suse.de>
9314
9315 [BZ #18032]
9316 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9317 over collating symbol inside a bracket expression. Minor cleanup.
9318 * posix/tst-fnmatch3.c (do_test): Add test case.
9319
9320 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9321
9322 [BZ #18029]
9323 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9324 Adjust exponent of power of 2 down when low part has opposite
9325 sign.
9326 * math/libm-test.inc (ilogb_test_data): Add more tests.
9327
9328 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9329
9330 [BZ #15969]
9331 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9332 the previous change.
9333
9334 [BZ #15969]
9335 * locale/findlocale.c (_nl_find_locale): Retry archive search
9336 after alias expansion.
9337
9338 2015-02-25 Roland McGrath <roland@hack.frob.com>
9339
9340 * iconv/tst-iconv3.c (main): Converted to ...
9341 (do_test): ... this.
9342 (TEST_FUNCTION): New macro.
9343 Include test-skeleton.c.
9344
9345 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9346 (convert): Make function static.
9347 (test_unalign): Likewise. Add const to argument pointee types.
9348 (main): Replace with static function do_test.
9349 Print "Succeeded." only if RET is zero.
9350 (TEST_FUNCTION): New macro.
9351 Include test-skeleton.c.
9352
9353 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9354 returns a null pointer.
9355
9356 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9357
9358 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9359 to __memcpy_ppc only for static builds.
9360
9361 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9362
9363 [BZ #18020]
9364 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9365 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9366 * math/auto-libm-test-in: Add more tests of asinh.
9367 * math/auto-libm-test-out: Regenerated.
9368 * sysdeps/i386/fpu/libm-test-ulps: Update.
9369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9370
9371 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9372
9373 [BZ #15850]
9374 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9375 and ip6_mtuinfo definitions here.
9376 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9377 in this define too. Update comment.
9378
9379 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9380
9381 * elf/sprof.c (load_shobj): Tweak error message to match others.
9382
9383 2015-02-24 Kevin Easton <kevin@guarana.org>
9384
9385 [BZ #16145] (partial fix)
9386 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9387 to reduce lock contention.
9388
9389 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9390
9391 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9392 (struct timex): Update time comment.
9393 (ADJ_SETOFFSET): Define.
9394
9395 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9396
9397 [BZ #18019]
9398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9399 2**56 not 2**28 as threshold for log (2x) formula.
9400 * math/auto-libm-test-in: Add more tests of acosh.
9401 * math/auto-libm-test-out: Regenerated.
9402 * sysdeps/i386/fpu/libm-test-ulps: Update.
9403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9404
9405 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9406
9407 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9408 parenthesis around the buf assignment.
9409 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9410
9411 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9412
9413 [BZ #16783]
9414 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9415 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9416 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9417 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9418 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9419 * math/libm-test.inc (scalb_test_data): Add more tests.
9420
9421 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9422
9423 [BZ #17916]
9424 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9425 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9426
9427 2015-02-24 Eric Rannaud <e@nanocritical.com>
9428
9429 [BZ #17523]
9430 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9431 * io/bits/fcntl2.h (open): Use it.
9432 (openat): Likewise.
9433 * io/open.c (__libc_open): Likewise.
9434 * io/open64.c (__libc_open64): Likewise.
9435 * io/open64_2.c (__open64_2): Likewise.
9436 * io/open_2.c (__open_2): Likewise.
9437 * io/openat.c (__openat): Likewise.
9438 * io/openat64.c (__openat64): Likewise.
9439 * io/openat64_2.c (__openat64_2): Likewise.
9440 * io/openat_2.c (__openat_2): Likewise.
9441 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9442 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9443 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9444 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9445 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9446 (__open_nocancel): Likewise.
9447 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9448 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9449 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9450
9451 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9452
9453 [BZ #14841]
9454 * resolv/gethnamaddr.c (getanswer): Skip logging if
9455 RES_USE_DNSSEC is set.
9456 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9457
9458 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9459
9460 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9461
9462 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9463
9464 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9465 201304L, for Unicode 7.
9466
9467 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 [BZ #17836]
9470 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9471 shared library. Add gmon-start.os otherwise.
9472 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9473 $(objpfx)gmon-start.os if builing shared library.
9474 ($(objpfx)g$(static-start-installed-name)): Likewise.
9475
9476 2015-02-23 Andreas Schwab <schwab@suse.de>
9477
9478 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9479
9480 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9481
9482 [BZ #17269]
9483 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9484 (enlarge_userbuf): Likewise.
9485
9486 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9487
9488 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9489 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9490 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9491 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9492
9493 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9494
9495 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9496 expression inside statement expression.
9497
9498 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9499
9500 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9501 <sysdeps/nptl/lowlevellock.h> and remove macros and
9502 functions that are now defined there.
9503 (SYS_futex): Remove.
9504 (lll_compare_and_swap): Remove.
9505 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9506
9507 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9508
9509 [BZ #17999]
9510 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9511 instead of scandirat.
9512 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9513 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9514 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9515 __scandirat.
9516 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9517 (__scandirat): Declare. Use libc_hidden_proto.
9518 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9519 Remove variable.
9520 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9521
9522 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #15319]
9525 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9526 (MO): New macro.
9527 (__ieee754_atan2): For results with small absolute value, force
9528 underflow exception and remove excess range and precision from
9529 return value.
9530 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9531 (MO): New macro.
9532 (__ieee754_atan2f): For results with small absolute value, force
9533 underflow exception and remove excess range and precision from
9534 return value.
9535 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9536 (MO): New macro.
9537 (__atan): For results with small absolute value, force underflow
9538 exception and remove excess range and precision from return value.
9539 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9540 (MO): New macro.
9541 (__atanf): For results with small absolute value, force underflow
9542 exception and remove excess range and precision from return value.
9543 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9544 <math.h>.
9545 (__ieee754_atan2): Force underflow exception for results with
9546 small absolute value.
9547 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9548 <math_private.h>.
9549 (atan): Force underflow exception for results with small absolute
9550 value.
9551 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9552 (__atanf): Force underflow exception for results with small
9553 absolute value.
9554 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9555 <math.h>.
9556 (__atanl): Force underflow exception for results with small
9557 absolute value.
9558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9559 (__atanl): Force underflow exception for results with small
9560 absolute value.
9561 * sysdeps/x86/fpu/bits/mathinline.h
9562 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9563 (__ieee754_atan2): Only define inline for long double.
9564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9565 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9566 * math/auto-libm-test-in: Do not mark underflow exceptions as
9567 possibly missing for bug 15319. Add more tests of atan2.
9568 * math/auto-libm-test-out: Regenerated.
9569 * math/libm-test.inc (casin_test_data): Do not mark underflow
9570 exceptions as possibly missing for bug 15319.
9571 (casinh_test_data): Likewise.
9572 * sysdeps/i386/fpu/libm-test-ulps: Update.
9573
9574 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9575
9576 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9577 * sysdeps/mips/bits/endian.h: Fix comments.
9578
9579 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9580
9581 [BZ #17996]
9582 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9583 (hdestroy_r): Likewise.
9584 (hsearch_r): Likewise.
9585 (__hcreate_r): Declare and use libc_hidden_proto.
9586 (__hdestroy_r): Likewise.
9587 (__hsearch_r): Likewise.
9588 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9589 (hcreate): Call __hcreate_r instead of hcreate_r.
9590 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9591 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9592 as weak alias of __hcreate_r.
9593 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9594 __hdestroy_r.
9595 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9596 __hsearch_r.
9597 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9598 Remove variable.
9599 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9600 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9601 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9602 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9603
9604 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9605
9606 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9607 arena_lock into a single arena_get.
9608
9609 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9610
9611 * dl-reloc.c: Inlucde libc-internal.h.
9612 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9613 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9614 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9615 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9616 (grow_heap): Likewise.
9617 * malloc/malloc.c: Include libc-internal.h.
9618 (do_check_malloc): Call powerof2.
9619 (sysmalloc): Use pagesize. Call ALIGN_UP.
9620 (systrim): Use pagesize.
9621 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9622 (__libc_valloc): Use pagesize.
9623 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9624
9625 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9626
9627 [BZ #17991]
9628 * include/sys/resource.h (__getrlimit64): Declare. Use
9629 libc_hidden_proto.
9630 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9631 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9632 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9633 getrlimit64.
9634 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9635 __getrlimit64.
9636 [!getrlimit64] (getrlimit64): Define as weak alias of
9637 __getrlimit64. Use libc_hidden_weak.
9638 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9639 using __getrlimit64 not __new_getrlimit64.
9640 (__GI_getrlimit64): Likewise.
9641 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9642 Likewise.
9643 (__GI_getrlimit64): Likewise.
9644 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9646 (getrlimit): Add __getrlimit64 alias.
9647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9648 Likewise.
9649 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9650 Remove variable.
9651 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9652 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9653
9654 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9655
9656 * libio/fileops.c: Add missing sys/mman.h
9657 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9658
9659 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9660
9661 * manual/math.texi (Errors in Math Functions): Clarify goals
9662 regarding inexact and underflow exceptions.
9663
9664 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9665
9666 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9667 * sysdeps/mips/memset.S: Ditto.
9668
9669 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9670
9671 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9672
9673 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9674
9675 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9676 (__v1longjmp): Remove versioned symbol.
9677 (__v1siglongjmp): Remove alias and versioned symbol.
9678 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9679 (__v2siglongjmp): Likewise.
9680
9681 2015-02-16 Torvald Riegel <triegel@redhat.com>
9682
9683 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9684
9685 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9686
9687 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9688
9689 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9690
9691 [BZ #17987]
9692 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9693 zero result does not depend on the sign resulting from
9694 subtraction.
9695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9696 Likewise.
9697 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9698 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9701 * math/libm-test.inc (remquo_test_data): Add more tests.
9702
9703 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9704
9705 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9706 Problem reported by J William Piggott.
9707
9708 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9709
9710 [BZ #17978]
9711 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9712 products 4 * y and 2 * y where those would overflow.
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9714 Likewise.
9715 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9716 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9718 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9719 * math/libm-test.inc (remquo_test_data): Add more tests.
9720
9721 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9722
9723 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9724 [defined _COMPILING_NEWLIB].
9725 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9726 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9727
9728 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9729 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9730
9731 2015-02-16 Torvald Riegel <triegel@redhat.com>
9732
9733 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9734 acquired.
9735
9736 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9737
9738 [BZ #17792]
9739 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9740 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9741 HOST_STACK_END_ADDR): Likewise.
9742
9743 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9744
9745 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9746 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9747 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9748
9749 2015-02-13 Roland McGrath <roland@hack.frob.com>
9750
9751 * sysdeps/generic/c++-types.data: New file.
9752 * sysdeps/generic/ld.abilist: New file.
9753 * sysdeps/generic/libBrokenLocale.abilist: New file.
9754 * sysdeps/generic/libanl.abilist: New file.
9755 * sysdeps/generic/libc.abilist: New file.
9756 * sysdeps/generic/libcrypt.abilist: New file.
9757 * sysdeps/generic/libdl.abilist: New file.
9758 * sysdeps/generic/libm.abilist: New file.
9759 * sysdeps/generic/libpthread.abilist: New file.
9760 * sysdeps/generic/libresolv.abilist: New file.
9761 * sysdeps/generic/librt.abilist: New file.
9762
9763 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9764
9765 [BZ #17569]
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9767 Compute absolute value of x as modified by fmod, not original
9768 value of x.
9769 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9770 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9771 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9772 RUN_TEST_ffI_f1_mod8.
9773 (remquo_test_data): Add more tests.
9774
9775 2015-02-13 Roland McGrath <roland@hack.frob.com>
9776
9777 * sysdeps/init_array/pt-crti.S: New file.
9778
9779 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #17967]
9782 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9783 __builtin_fmaf instead of relying on contraction of a * b + c.
9784
9785 2015-02-12 J William Piggott <elseifthen@gmx.com>
9786
9787 [BZ #17969]
9788 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9789 node.
9790
9791 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9792
9793 [BZ #17964]
9794 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9795 __builtin_fma instead of relying on contraction of a * b + c.
9796
9797 2015-02-12 Roland McGrath <roland@hack.frob.com>
9798
9799 * Makeconfig (ASFLAGS): Add -Werror=undef.
9800 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9801 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9802 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9803
9804 * Makeconfig (after-link): New variable.
9805 (+link-pie, +link-pie-tests): Use it.
9806 (+link-static, +link-static-tests): Likewise.
9807 (+link, +link-tests): Likewise.
9808 * Makerules (build-module, build-module-asneeded): Likewise.
9809 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9810 Likewise.
9811 * elf/Makefile ($(objpfx)ld.so): Likewise.
9812
9813 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9814
9815 [BZ #17965]
9816 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9817 both struct timeval and struct timespec.
9818
9819 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9820
9821 [BZ #16560]
9822 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9823 and redefine.
9824 (__ieee754_exp2l): Do not multiply small fractional parts by
9825 M_LN2l.
9826 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9827 small argument.
9828 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9829 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9830 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9831 * math/auto-libm-test-in: Add more tests of exp2.
9832 * math/auto-libm-test-out: Regenerated.
9833
9834 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9835
9836 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9837 unaligned path.
9838
9839 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9842 little endian.
9843
9844 2015-02-12 Andreas Schwab <schwab@suse.de>
9845
9846 [BZ #15790]
9847 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9848 Filter out elision flags from value returned in kind.
9849 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9850 * nptl/tst-pthread-mutexattr.c: New file.
9851
9852 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9853
9854 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9855 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9856 into gnu-gnu, and update comment to refer to abi-tags.
9857
9858 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #15467]
9861 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9862 (__sincos): Set errno to EDOM for infinite argument.
9863 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9864 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9865 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9866 (__sincosl): Set errno to EDOM for infinite argument.
9867 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9868 (__sincosl): Set errno to EDOM for infinite argument.
9869 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9870 (__sincosl): Set errno to EDOM for infinite argument.
9871 * math/libm-test.inc (sincos_test_data): Test errno setting.
9872
9873 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9874
9875 * string/strxfrm_l.c: Remove #define STRCMP.
9876 * string/strcoll_l.c: Remove #define STRLEN.
9877 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9878 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9879
9880 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9881
9882 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9883 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9884 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9885 * sysdeps/mips/mips64/Makefile: ... here.
9886 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9887 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9888 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9889 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9890 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9891 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9892 * sysdeps/mips/mips64/n64/Implies: Likewise.
9893
9894 2015-02-10 Roland McGrath <roland@hack.frob.com>
9895
9896 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9897 <sys/time.h>, <string.h>, and <errno.h>.
9898 (dest_offset, dest_address, value, zero): Remove unused variables.
9899 (ldouble): Remove typedef.
9900 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9901 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9902 1). Fix code style.
9903 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9904 (check): Function removed.
9905 (CHECK): New macro.
9906 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9907 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9908 Don't call set_sigaction_FP and remove_sigaction_FP here.
9909 (ldouble_test): Just use 'long double' as macro argument, no need for
9910 the 'ldouble' typedef.
9911 (do_test): Set up SIGFPE handler at start, using plain signal rather
9912 than sigaction. Fix code style.
9913
9914 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9915
9916 [BZ #17949]
9917 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9918 jump label.
9919
9920 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9921
9922 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9923 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9924
9925 * sysdeps/powerpc/configure.ac: Remove file.
9926 * sysdeps/powerpc/configure: Likewise.
9927
9928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9929 [sysdep_routines]: Remove wordcopy-power6 object.
9930 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9931 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9933 (__memmove_ppc32): Likewise.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9935 file.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9937 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9938 Remove preprocessor.
9939
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9941 [sysdep_routines]: Remove wide chars objects.
9942 [wcsmbs]: New rule for wide char objects.
9943
9944 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9945 Remove wordcopy-power6 obejct.
9946 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9947 Use local call for wordcopy and memcpy symbols.
9948 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9949 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9950 implementation for loader.
9951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9952
9953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9954 Remove wordcopy-power7 object.
9955 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9956 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9957 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9958 (_wordcopy_fwd_dest_aligned): Likewise.
9959 (_wordcopy_bwd_aligned): Likewise.
9960 (_wordcopy_bwd_dest_aligned): Likewise.
9961
9962 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9963 Rewrite to call __memmove_ppc instead of include default
9964 implementation.
9965
9966 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9967 Remove wide chars objects.
9968 [wcsmbs]: New rule for wide char objects.
9969
9970 2015-02-09 Andreas Schwab <schwab@suse.de>
9971
9972 [BZ #17912]
9973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9974 in terms of __O_DIRECTORY.
9975
9976 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9977
9978 * time/getdate.c: Include <stdbool.h>.
9979 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9980 call PTR_MANGLE.
9981 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9982 PTR_DEMANGLE.
9983
9984 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9985
9986 Add ersatz _Static_assert on older C hosts
9987 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9988 pre-C11 C platform that is not known to support _Static_assert.
9989
9990 2015-02-07 Richard Braun <rbraun@sceen.net>
9991
9992 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9993 sigstate.
9994 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9995
9996 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9997
9998 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9999 priority against unexistent AIO_PRIO_DELTA_MAX.
10000 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10001 instead of int.
10002 * misc/fchflags.c (fchflags): Likewise.
10003 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10004 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10005 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10006 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10007 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10008 Declare macros.
10009 [__USE_MISC] (chflags, fchflags): Declare functions.
10010 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10011 EINVAL when nfds is greater than FD_SETSIZE.
10012 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10013 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10014 45.
10015 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10016 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10017 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10018 MACH_RCV_TIMED_OUT.
10019 * hurd/hurd/signal.h (_hurd_self_sigstate,
10020 _hurd_critical_section_lock, _hurd_critical_section_unlock):
10021 Explicit casts from void *.
10022 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10023 * abi-tags: Rename gnu-gnu os into gnu.
10024
10025 [BZ #4719]
10026 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10027 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10028 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10029 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10030 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10031 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10032
10033 [BZ #17944]
10034 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10035 duplicates ADDR->sun_path with sockaddr LEN limitation.
10036 * sysdeps/mach/hurd/connect.c: Include <string.h>
10037 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10038 * sysdeps/mach/hurd/sendmsg.c: Likewise.
10039 * sysdeps/mach/hurd/sendto.c: Likewise.
10040 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10041 implementing it by hand.
10042
10043 2015-02-06 Roland McGrath <roland@hack.frob.com>
10044
10045 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10046 Use sfi_breg on ldr.
10047 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10048 Likewise.
10049
10050 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10051 it's defined.
10052 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10053 Test SIGSETXID only if it's defined.
10054
10055 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10056
10057 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10058 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
10059
10060 * nptl/tst-align2.c: Moved ...
10061 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10062 * nptl/Makefile (tests): Remove tst-align2.
10063 * sysdeps/unix/sysv/linux/Makefile
10064 [$(subdir) = nptl] (tests): Add tst-align-clone.
10065 * nptl/tst-getpid1.c: Moved ...
10066 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10067 * nptl/tst-getpid2.c: Moved ...
10068 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10069 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10070 * sysdeps/unix/sysv/linux/Makefile
10071 [$(subdir) = nptl] (tests): ... here.
10072 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10073 * sysdeps/unix/sysv/linux/Makefile
10074 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10075
10076 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10077 Drop trailing \n from perror argument. Use return rather than exit.
10078
10079 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10080 on [SA_SIGINFO].
10081 * nptl/tst-cancel21.c (do_test): Likewise.
10082 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10083 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10084 [!SA_SIGINFO]: Make it a stub test.
10085
10086 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10087 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10088
10089 * posix/tst-getlogin.c: Move to ...
10090 * login/tst-getlogin.c: ... here.
10091 * posix/Makefile (tests): Move tst-getlogin to ...
10092 * login/Makefile (tests): ... here.
10093
10094 * libio/tst-atime.c (do_test): Move local variables SV and E
10095 inside [ST_NOATIME] conditional.
10096
10097 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10098
10099 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10100
10101 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10102 (wait_code): New function replaces macro.
10103 Call nanosleep rather than syscall.
10104
10105 * nptl/pt-system.c: Rewritten. Put everything under
10106 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10107 Use IFUNC to redirect when possible.
10108
10109 * nptl/pt-longjmp.c: Rewritten. Put everything under
10110 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10111 Use IFUNC to redirect when possible.
10112
10113 * nptl/pt-fork.c: Rewritten. Put everything under
10114 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10115 Use IFUNC to redirect when possible.
10116 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10117
10118 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10119 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10120 unconditionally nowadays. This included the only reference to
10121 __vdso_clock_gettime that appears outside libc proper.
10122 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10123 Remove version set (containing only __vdso_clock_gettime).
10124 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10125 Add attribute_hidden.
10126 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10127 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10128 libc_hidden_data_def.
10129 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10130 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10131
10132 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10133 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10134 setrpcent, and getrpcport to ...
10135 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10136 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10137 getrpcbynumber_r, and getrpcent_r to ...
10138 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10139 * inet/getrpcbyname.c: Moved ...
10140 * sunrpc/getrpcbyname.c: ... here.
10141 * inet/getrpcbyname_r.c: Moved ...
10142 * sunrpc/getrpcbyname_r.c: ... here.
10143 * inet/getrpcbynumber.c: Moved ...
10144 * sunrpc/getrpcbynumber.c: ... here.
10145 * inet/getrpcbynumber_r.c: Moved ...
10146 * sunrpc/getrpcbynumber_r.c: ... here.
10147 * inet/getrpcent.c: Moved ...
10148 * sunrpc/getrpcent.c: ... here.
10149 * inet/getrpcent_r.c: Moved ...
10150 * sunrpc/getrpcent_r.c: ... here.
10151 * inet/Makefile (routines): Move those to ...
10152 * sunrpc/Makefile (routines): ... here.
10153 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10154 the $(subdirs) list.
10155 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10156 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10157 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10158 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10159
10160 * elf/Makefile (routines): Include $(all-dl-routines), not just
10161 $(dl-routines).
10162 (rtld-routines): Likewise. Use = rather than :=.
10163 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10164 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10165 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10166 * sysdeps/arm/Makefile: Likewise.
10167 * sysdeps/i386/Makefile: Likewise.
10168 * sysdeps/x86_64/Makefile: Likewise.
10169 * sysdeps/hppa/Makefile [$(subdir) = elf]
10170 (sysdep_routines, sysdep-rtld-routines): Don't add
10171 $(sysdep-dl-routines) to these.
10172 * sysdeps/ia64/Makefile: Likewise.
10173 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10174 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10175 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10176 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10177 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10178 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10179 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10180 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10181 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10182 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10183 these; sysdep-dl-routines alone is enough.
10184
10185 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #17932]
10188 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10189 where multiplication results in zero and third argument is finite
10190 and nonzero.
10191 * math/auto-libm-test-in: Add more tests of fma.
10192 * math/auto-libm-test-out: Regenerated.
10193
10194 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10195 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10196 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10197 (_FP_CMP_EQ): Likewise.
10198 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10199
10200 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10201 extra argument CHECK_NAN. Redefine as wrapper around
10202 _FP_EXTEND_CNAN.
10203
10204 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10205
10206 * version.h (RELEASE): Set to "stable".
10207 (VERSION): Set to "2.21"
10208 * include/features.h (__GLIBC_MINOR__): Set to 21.
10209
10210 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10211
10212 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10213 Paul Eggert <eggert@cs.ucla.edu>
10214
10215 [BZ #16618]
10216 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10217 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10218 size in bytes. Store needed elements in wpmax. Use needed size
10219 in bytes for extend_alloca.
10220
10221 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10222
10223 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10224 binutls 2.25, and texinfo 5.2.
10225 * INSTALL: Regenerate.
10226 * sysdeps/nios2/configure: Regenerate.
10227 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10228 * manual/contrib.texi: Update.
10229 * po/be.po: Update.
10230 * po/bg.po: Update.
10231 * po/ca.po: Update.
10232 * po/cs.po: Update.
10233 * po/da.po: Update.
10234 * po/de.po: Update.
10235 * po/el.po: Update.
10236 * po/eo.po: Update.
10237 * po/es.po: Update.
10238 * po/fi.po: Update.
10239 * po/fr.po: Update.
10240 * po/gl.po: Update.
10241 * po/hr.po: Update.
10242 * po/hu.po: Update.
10243 * po/ia.po: Update.
10244 * po/id.po: Update.
10245 * po/it.po: Update.
10246 * po/ja.po: Update.
10247 * po/ko.po: Update.
10248 * po/lt.po: Update.
10249 * po/nb.po: Update.
10250 * po/nl.po: Update.
10251 * po/pl.po: Update.
10252 * po/pt_BR.po: Update.
10253 * po/ru.po: Update.
10254 * po/rw.po: Update.
10255 * po/sk.po: Update.
10256 * po/sl.po: Update.
10257 * po/sv.po: Update.
10258 * po/tr.po: Update.
10259 * po/uk.po: Update.
10260 * po/vi.po: Update.
10261 * po/zh_CN.po: Update.
10262 * po/zh_TW.po: Update.
10263
10264 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10265 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10266 * sysdeps/hppa/dl-irel.h: Remove #warning.
10267 * sysdeps/hppa/entry.h: Provide prototype for
10268 __canonicalize_funcptr_for_compare and cast argument.
10269 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10270 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10271 * sysdeps/hppa/sotruss-lib.c: New file.
10272 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10273 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10274 (atomic_compare_and_exchange_bool_acq): Likewise.
10275 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10276 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10277
10278 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10279 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10280 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10281
10282 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10283
10284 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10285 called function in non-PIC case.
10286
10287 2015-01-31 David S. Miller <davem@davemloft.net>
10288
10289 * sysdeps/sparc/sparc32/bits/atomic.h
10290 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10291 unlock not after it.
10292 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10293 volatile register usage warnings from the compiler.
10294
10295 * sysdeps/sparc/nptl/sem_init.c: Delete.
10296 * sysdeps/sparc/nptl/sem_post.c: Delete.
10297 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10298 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10299 * sysdeps/sparc/sparc32/sem_init.c: New file.
10300 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10301 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10302 padding explicitly initialized.
10303 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10304 padding for in-semaphore spinlock.
10305 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10306 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10307 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10308 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10309 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10310 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10311 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10312 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10313 version.
10314 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10315 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10316
10317 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 [BZ #17801]
10320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10321 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10322 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10323 New.
10324 (index_AVX_Fast_Unaligned_Load): Likewise.
10325 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10326 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10327 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10328 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10329 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10330 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10331 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10332 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10333 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10334
10335 2015-01-29 Andreas Schwab <schwab@suse.de>
10336
10337 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10338
10339 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10340
10341 [BZ #17892]
10342 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10343
10344 2015-01-28 Martin Sebor <msebor@redhat.com>
10345
10346 * math/README.libm-test: Clarify. Add "How to read the test output."
10347
10348 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10349
10350 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10351 Define to 0.
10352
10353 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10354
10355 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10356 (__HAVE_64B_ATOMICS): Define to 0.
10357
10358 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10359
10360 [BZ #17885]
10361 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10362 value to set as new flag.
10363
10364 [BZ #16576]
10365 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10366 and use _ARCH_PPCSQ instead.
10367 (__ieee754_sqrt): Likewise.
10368 (__ieee754_sqrtf): Likewise.
10369 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10370 _ARCH_PPCSQ is defined.
10371 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10372 fsqrt instruction.
10373 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10374 _ARCH_PPCSQ is defined.
10375 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10376 fsqrts instruction.
10377 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10378
10379 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10380
10381 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10382 bug (GCC BZ #64739).
10383
10384 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10385
10386 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10387 Mark _retval as used.
10388 (lll_futex_wake_unlock): Likewise.
10389 (lll_futex_timed_wait_requeue_pi): Likewise.
10390
10391 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10392 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10393 register variables.
10394
10395 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10396 libm_hidden_def.
10397
10398 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10399 (__bswap_64): Mark as __always_inline.
10400
10401 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10402
10403 [BZ #15378]
10404 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10405 when none of the search directories exist.
10406
10407 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10408
10409 [BZ #17869]
10410 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10411 power8 in .machine directive.
10412
10413 [BZ #17868]
10414 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10415 set dependency from opd value.
10416
10417 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10420 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10421 architecture.
10422
10423 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 [BZ #17870]
10426 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10427 with uint64_t.
10428 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10429 (uint64_t) 1.
10430 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10431 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10432 Replace 1UL with (uint64_t) 1.
10433 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10434 int with uint64_t.
10435
10436 2015-01-23 Roland McGrath <roland@hack.frob.com>
10437
10438 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10439 (if_freenameindex): Likewise.
10440
10441 * resource/getrlimit64.c: Add missing libc_hidden_def.
10442
10443 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10444
10445 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10446 __label__.
10447 (_FP_FMA): Likewise.
10448 (_FP_TO_INT_ROUND): Likewise.
10449 (_FP_FROM_INT): Likewise.
10450
10451 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10452
10453 [BZ #16418]
10454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10455 Make code racy and cancel safe.
10456
10457 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10458
10459 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10460 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10461 attribution.
10462
10463 * pwd/tst-getpw.c: Rewrite.
10464
10465 [BZ #17702]
10466 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10467 (modules-names): Add moddummy1 and moddummy2.
10468 ($(objpfx)tst-rec-dlopen): Define.
10469 * dlfcn/moddummy1.c: New file.
10470 * dlfcn/moddummy2.c: New file.
10471 * dlfcn/tst-rec-dlopen.c: New file.
10472 * elf/dl-cache.c (_dl_load_cache_lookup):
10473 Return char*. Copy result with alloca/strcpy/strdup.
10474 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10475 returns char*. Free cached. If not saving realname
10476 free cached.
10477 * elf/dl-open.c (dl_open_worker): Do not assert that
10478 _r_debug->r_state is RT_CONSISTENT.
10479 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10480 returns char*.
10481
10482 2015-01-21 Torvald Riegel <triegel@redhat.com>
10483 Carlos O'Donell <carlos@redhat.com>
10484
10485 [BZ #12674]
10486 * nptl/sem_waitcommon.c: New file.
10487 * nptl/sem_wait.c: Include sem_waitcommon.c.
10488 (__sem_wait_cleanup, do_futex_wait): Remove.
10489 (__new_sem_wait): Adapt.
10490 (__new_sem_trywait): New function.
10491 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10492 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10493 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10494 (sem_timedwait): Adapt.
10495 * nptl/sem_post.c (__new_sem_post): Adapt.
10496 (futex_wake): New function.
10497 (__old_sem_post): Add release MO fence.
10498 * nptl/sem_open.c (sem_open): Adapt.
10499 * nptl/sem_init.c (__new_sem_init): Adapt.
10500 (futex_private_if_supported): New function.
10501 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10502 (__old_sem_getvalue): Add using previous code.
10503 * sysdeps/nptl/internaltypes.h: Adapt.
10504 * nptl/tst-sem13.c (do_test): Adapt.
10505 * nptl/tst-sem11.c (main): Adapt.
10506 * nptl/sem_trywait.c: Remove.
10507 * nptl/DESIGN-sem.txt: Remove.
10508 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10509 (gen-as-const-headers): Remove structsem.sym.
10510 * nptl/structsem.sym: Remove.
10511 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10512 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10513 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10514 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10515 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10516 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10517 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10518 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10519 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10520 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10521 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10522 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10523 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10524 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10525 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10526 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10527 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10528 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10529 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10530 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10531 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10532 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10533
10534 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10535
10536 * INSTALL: Regenerated.
10537
10538 * po/libc.pot: Regenerated.
10539
10540 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10541 Sandra Loosemore <sandra@codesourcery.com>
10542 Andrew Jenner <andrew@codesourcery.com>
10543 Joseph Myers <joseph@codesourcery.com>
10544 Nathan Sidwell <nathan@codesourcery.com>
10545
10546 * NEWS: Mention new Nios II port.
10547 * sysdeps/nios2/Implies: New file.
10548 * sysdeps/nios2/Makefile: New file.
10549 * sysdeps/nios2/Subdirs: New file.
10550 * sysdeps/nios2/Versions: New file.
10551 * sysdeps/nios2/__longjmp.S: New file.
10552 * sysdeps/nios2/abort-instr.h: New file.
10553 * sysdeps/nios2/backtrace.c: New file.
10554 * sysdeps/nios2/bits/endian.h: New file.
10555 * sysdeps/nios2/bits/fenv.h: New file.
10556 * sysdeps/nios2/bits/link.h: New file.
10557 * sysdeps/nios2/bits/setjmp.h: New file.
10558 * sysdeps/nios2/bsd-_setjmp.S: New file.
10559 * sysdeps/nios2/bsd-setjmp.S: New file.
10560 * sysdeps/nios2/configure: New generated file.
10561 * sysdeps/nios2/configure.ac: New file.
10562 * sysdeps/nios2/crti.S: New file.
10563 * sysdeps/nios2/crtn.S: New file.
10564 * sysdeps/nios2/dl-init.c: New file.
10565 * sysdeps/nios2/dl-machine.h: New file.
10566 * sysdeps/nios2/dl-sysdep.h: New file.
10567 * sysdeps/nios2/dl-tls.h: New file.
10568 * sysdeps/nios2/dl-trampoline.S: New file.
10569 * sysdeps/nios2/gccframe.h: New file.
10570 * sysdeps/nios2/gmp-mparam.h: New file.
10571 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10572 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10573 * sysdeps/nios2/ldsodefs.h: New file.
10574 * sysdeps/nios2/libc-tls.c: New file.
10575 * sysdeps/nios2/libm-test-ulps: New file.
10576 * sysdeps/nios2/machine-gmon.h: New file.
10577 * sysdeps/nios2/math-tests.h: New file.
10578 * sysdeps/nios2/math_private.h: New file.
10579 * sysdeps/nios2/memusage.h: New file.
10580 * sysdeps/nios2/nptl/Makefile: New file.
10581 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10582 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10583 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10584 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10585 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10586 * sysdeps/nios2/nptl/tls.h: New file.
10587 * sysdeps/nios2/preconfigure: New file.
10588 * sysdeps/nios2/s_fma.c: New file.
10589 * sysdeps/nios2/s_fmaf.c: New file.
10590 * sysdeps/nios2/setjmp.S: New file.
10591 * sysdeps/nios2/sfp-machine.h: New file.
10592 * sysdeps/nios2/sotruss-lib.c: New file.
10593 * sysdeps/nios2/stackguard-macros.h: New file.
10594 * sysdeps/nios2/stackinfo.h: New file.
10595 * sysdeps/nios2/start.S: New file.
10596 * sysdeps/nios2/sysdep.h: New file.
10597 * sysdeps/nios2/tls-macros.h: New file.
10598 * sysdeps/nios2/tst-audit.h: New file.
10599 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10600 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10601 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10602 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10603 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10604 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10605 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10606 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10607 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10608 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10609 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10610 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10611 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10612 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10613 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10614 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10615 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10616 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10617 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10618 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10619 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10620 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10621 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10622 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10623 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10624 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10625 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10626 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10627 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10628 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10629 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10630 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10631 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10632 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10633 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10634 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10636 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10637 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10638 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10639 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10640 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10641 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10642 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10643
10644 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10645
10646 [BZ #17844]
10647 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10648 (getutent): Use weak_alias in non SHARED case
10649 and default_symbol_version in SHARED case.
10650 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10651 (getutent_r, pututline): Likewise.
10652 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10653 (getutid): Likewise.
10654 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10655 (getutid_r): Likewise.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10657 (getutline): Likewise.
10658 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10659 (getutline_r): Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10661 (updwtmp): Likewise.
10662
10663 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10664
10665 [BZ #17848]
10666 * sysdeps/s390/s390-32/memcmp.S
10667 (memcmp_g5): Rename to __memcmp_g5.
10668 * sysdeps/s390/s390-32/memcpy.S
10669 (memcpy_g5): Rename to __memcpy_g5.
10670 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10671 (memcpy_mvcle) Rename to __memcpy_mvcle.
10672 * sysdeps/s390/s390-32/memset.S
10673 (memset_g5): Rename to __memset_g5.
10674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10675 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10676 and use prefixed functions.
10677 * sysdeps/s390/s390-32/multiarch/memcmp.S
10678 (memcmp_z196): Rename to __memcmp_z196.
10679 (memcmp_z10): Rename to __memcmp_z10.
10680 (memcmp): Set alias to __memcmp_g5.
10681 (bcmp): Set alias to __memcmp_g5.
10682 * sysdeps/s390/s390-32/multiarch/memcpy.S
10683 (memcpy_z196): Rename to __memcpy_z196.
10684 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10685 (memcpy_z10): Rename to __memcpy_z10.
10686 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10687 (memcpy): Set alias to __memcpy_g5.
10688 * sysdeps/s390/s390-32/multiarch/memset.S
10689 (memset_z196): Rename to __memset_z196.
10690 Jump to __memset_mvcle instead of memset_mvcle.
10691 (memset_z10): Rename to __memset_z10.
10692 Jump to __memset_mvcle instead of memset_mvcle.
10693 (memset_mvcle) Rename to __memset_mvcle.
10694 (memset): Set alias to __memset_g5.
10695 * sysdeps/s390/s390-64/memcmp.S
10696 (memcmp_z900): Rename to __memcmp_z900.
10697 * sysdeps/s390/s390-64/memcpy.S
10698 (memcpy_z900): Rename to __memcpy_z900.
10699 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10700 (memcpy_mvcle) Rename to __memcpy_mvcle.
10701 * sysdeps/s390/s390-64/memset.S
10702 (memset_z900): Rename to __memset_z900.
10703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10704 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10705 and use prefixed functions.
10706 * sysdeps/s390/s390-64/multiarch/memcmp.S
10707 (memcmp_z196): Rename to __memcmp_z196.
10708 (memcmp_z10): Rename to __memcmp_z10.
10709 (memcmp): Set alias to __memcmp_z900.
10710 (bcmp): Set alias to __memcmp_z900.
10711 * sysdeps/s390/s390-64/multiarch/memcpy.S
10712 (memcpy_z196): Rename to __memcpy_z196.
10713 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10714 (memcpy_z10): Rename to __memcpy_z10.
10715 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10716 (memcpy): Set alias to __memcpy_z900.
10717 * sysdeps/s390/s390-64/multiarch/memset.S
10718 (memset_z196): Rename to __memset_z196.
10719 Jump to __memset_mvcle instead of memset_mvcle.
10720 (memset_z10): Rename to __memset_z10.
10721 Jump to __memset_mvcle instead of memset_mvcle.
10722 (memset_mvcle) Rename to __memset_mvcle.
10723 (memset): Set alias to __memset_z900.
10724
10725 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10726
10727 [BZ #17748]
10728 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10729 __fesetenv instead of fesetenv.
10730
10731 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10732
10733 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10734 macro.
10735
10736 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10737
10738 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10739 regression on LE.
10740
10741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10742 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10743 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10744 strncmp-power8 object.
10745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10746 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10747 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10748 * NEWS: Update.
10749
10750 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10751 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10752
10753 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10754 trailing byte check.
10755
10756 2015-01-13 David S. Miller <davem@davemloft.net>
10757
10758 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10759
10760 2015-01-13 Roland McGrath <roland@hack.frob.com>
10761
10762 * login/logout.c (logout): Use memset rather than bzero.
10763 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10764 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10765 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10766 (_gethtbyaddr): Likewise.
10767 * locale/programs/simple-hash.c (bcopy): Macro removed.
10768
10769 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10770
10771 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10772 Add strcmp-power8 object.
10773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10774 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10775 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10776 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10777 __strcmp_power8 implementation.
10778 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10779 * NEWS: Update.
10780
10781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10782 Add strncpy-power8 and stpncpy-power8 objects.
10783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10784 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10785 implementations.
10786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10787 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10788 __stpncpy_power8 implementation.
10789 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10790 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10791 __strncpy_power8 implementation.
10792 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10793 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10794 * NEWS: Update.
10795
10796 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10797 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10798 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10799
10800 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10801 strncat-power8 object.
10802 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10803 __strcat_power8 implementation.
10804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10805 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10806 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10807 optimized strcat for power8.
10808
10809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10810 strcpy-power8 and stpcpy-power8 objects.
10811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10812 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10813 implementations.
10814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10815 multiarch stpcpy implementation for POWER8.
10816 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10817 multiarch strcpy implementation for POWER8.
10818 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10819 __strcpy_power8 function.
10820 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10821 stpcpy for POWER8.
10822 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10823 strcpy for POWER8.
10824 * NEWS: Update.
10825
10826 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10827
10828 [BZ #16009]
10829 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10830 weights and rules. Use do_xfrm_cached if data fits in cache,
10831 do_xfrm otherwise. Moved former main loop to...
10832 * (do_xfrm_cached): New function.
10833 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10834 find_idx, find_position and stack_push.
10835 * (find_idx): New function.
10836 * (find_position): Likewise.
10837 * localedata/sort-test.sh: Added test run for do_xfrm.
10838 * localedata/xfrm-test.c (main): Added command line option
10839 -nocache to run the test with strings that are too large for
10840 the STRXFRM cache.
10841
10842 2015-01-13 Torvald Riegel <triegel@redhat.com>
10843
10844 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10845 variable to lll_futex_wake call, not the value itself.
10846
10847 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10848
10849 [BZ #17803]
10850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10851 twom64. Adjust value to 0x1p-64L.
10852 (__scalblnl): Only return standard underflowing result for K <=
10853 -64 not K <= -63; adjust exponent for underflowing result by 64
10854 not 63.
10855 * math/libm-test.inc (scalbn_test_data): Add more tests.
10856 (scalbln_test_data): Likewise.
10857
10858 [BZ #17834]
10859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10860 0x1p63L.
10861 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10862 not HX.
10863 * math/libm-test.inc (scalbn_test_data): Add more tests.
10864 (scalbln_test_data): Likewise.
10865
10866 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10867 Stefani Seibold <stefani@seibold.net>
10868
10869 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10870 (sysdep_routines): Add dl-vdso here, ...
10871 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10872 (sysdep_routines): ... not here.
10873 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10874 fallback when vDSO is not presented.
10875 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10876 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10877 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10878 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10879 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10880 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10881 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10883 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10885 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10886 fallback configurable symbol when vDSO is not available.
10887 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10888 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10889 be able to redefine fallback symbol when vDSO is not available.
10890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10891 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10892
10893 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10896 (TLS_INIT_TP): Add tm_capable initialization.
10897 (TLS_DEFINE_INIT_TP): Likewise.
10898 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10899 TCB.
10900 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10901 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10902 calculation.
10903 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10904 transactoion is lock elision is built and TCB tm_capable is set.
10905 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10907 (INTERNAL_SYSCALL_NCS): Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10909 (INTERNAL_SYSCALL_NCS): Likewise.
10910 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10911
10912 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10913 for powerpc.
10914 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10915 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10916 and remove it for 32 bits case.
10917 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10919 initialization.
10920 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10921 Disable lock elision with rdlocks if elision is not available.
10922
10923 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10924 (sysdep_routines): Add lock elision objects.
10925 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10926 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10927 [pthread_mutex_t] (__elision): Add field.
10928 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10929 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10930 elision definitions for powerpc.
10931 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10932 implementation of lock elision for powerpc.
10933 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10934 implementation of timed lock elision for powerpc.
10935 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10936 implementation of trylock with lock elision for powerpc.
10937 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10938 implementaion of unlock for lock elision for powerpc.
10939 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10940 automatic enable lock elision for mutexes.
10941 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10942 transaction execution definitions for powerpc.
10943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10944 definitions.
10945 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10946 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10947 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10949 * NEWS: Update.
10950
10951 2015-01-09 Roland McGrath <roland@hack.frob.com>
10952
10953 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10954 for #include of <shm-directory.h>.
10955
10956 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10957
10958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10959 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10960
10961 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10962
10963 [BZ #17791]
10964 * NEWS: Mention bug fix.
10965 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10966 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10967 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10968
10969 2015-01-09 Torvald Riegel <triegel@redhat.com>
10970
10971 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10972
10973 2015-01-09 Torvald Riegel <triegel@redhat.com>
10974
10975 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10976
10977 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10978
10979 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10980 pointer and cast to uintptr_t.
10981
10982 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10983
10984 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10985 removed.
10986 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10987
10988 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10989
10990 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10991 of 0.
10992
10993 2015-01-08 Roland McGrath <roland@hack.frob.com>
10994
10995 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10996 <nptl/pthreadP.h> instead.
10997 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10998
10999 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11000 already defined.
11001 [__SIGRTMIN] (init): Function removed.
11002 [__SIGRTMIN] (initialized): Variable removed.
11003 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11004 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11005 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11006 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11007 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11008 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11009 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11010 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11011 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11012 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11013 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11014 * sysdeps/nptl/allocrtsig.c: New file.
11015 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11016 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11017 * sysdeps/generic/testrtsig.h: File removed.
11018
11019 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11020 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11021
11022 * nptl/nptl-init.c (pthread_functions): Conditionalize
11023 .ptr__nptl_setxid initialization on [SIGSETXID].
11024
11025 * sysdeps/nptl/sys/procfs.h: New file.
11026 * nptl_db/Makefile (headers): Add it.
11027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11028
11029 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11030 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11031 * nptl/pthread_attr_setaffinity.c: Include it.
11032 * nptl/pthread_setattr_default_np.c: Likewise.
11033 * nptl/check-cpuset.h: New file.
11034
11035 2015-01-08 Richard Henderson <rth@redhat.com>
11036
11037 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11038 (CFLAGS-tst-execstack-prog.c): Likewise.
11039 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11040
11041 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
11042 Sandra Loosemore <sandra@codesourcery.com>
11043 Andrew Jenner <andrew@codesourcery.com>
11044 Joseph Myers <joseph@codesourcery.com>
11045 Nathan Sidwell <nathan@codesourcery.com>
11046
11047 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11048 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11049 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11050 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11051 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11052 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11053 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11054 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11055 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11056 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11057 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11058 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11059 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11060 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11061 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11062 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11063 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11064
11065 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11066
11067 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11068 timespec struct member in syscall macro.
11069 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11070 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11071 first timeval struct member in syscall macro.
11072 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11073
11074 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11075
11076 [BZ #17748]
11077 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11078 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11079 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11080 __feupdateenv and define as weak alias of __feupdateenv. Use
11081 libm_hidden_weak.
11082 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11083 libm_hidden_def.
11084 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11085 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11086 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11087 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11088 libm_hidden_def.
11089 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11090 __feupdateenv and define as weak alias of __feupdateenv. Use
11091 libm_hidden_weak.
11092 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11093 libm_hidden_def.
11094 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11095 __feupdateenv and define as weak alias of __feupdateenv. Use
11096 libm_hidden_weak.
11097 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11098 libm_hidden_def.
11099 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11100 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11101 (__feupdateenv): Likewise.
11102 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11103 __feupdateenv and define as weak alias of __feupdateenv. Use
11104 libm_hidden_weak.
11105 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11106 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11107 libm_hidden_def.
11108 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11109 function.
11110 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11111 libm_hidden_def.
11112 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11113 __feupdateenv instead of feupdateenv.
11114 (default_libc_feupdateenv_test): Likewise.
11115 (libc_feresetround_ctx): Likewise.
11116
11117 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11118
11119 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11120 prototype.
11121
11122 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11123
11124 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11125 COLL_SYM in a couple of places to avoid uninitialized variable
11126 wanings on tilegx gcc 4.8.2.
11127
11128 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11129
11130 * sysdeps/aarch64/strcpy.S: New file.
11131 * sysdeps/aarch64/stpcpy.S: New file.
11132 * NEWS: Updated.
11133
11134 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11135
11136 * sysdeps/aarch64/strrchr.S: New file.
11137 * NEWS: Updated.
11138
11139 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11140
11141 [BZ #17658]
11142 * stdlib/setenv.c: Fix memory leak when setting large,
11143 duplicate string.
11144
11145 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11146
11147 [BZ #17273]
11148 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11149 and tabs from buffer before parsing fstab entry.
11150 * misc/tst-mntent.c (main): Add test for mount entry with
11151 trailing spaces and tabs.
11152
11153 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11154
11155 [BZ #17748]
11156 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11157 * math/fesetround.c (fesetround): Rename to __fesetround and
11158 define as weak alias of __fesetround. Use libm_hidden_weak.
11159 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11160 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11161 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11162 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11163 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11164 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11165 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11166 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11167 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11168 __fesetround_inline.
11169 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11170 __fesetround_inline instead of __fesetround.
11171 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11172 __fesetround and define as weak alias of __fesetround. Use
11173 libm_hidden_weak. Call __fesetround_inline instead of
11174 __fesetround.
11175 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11176 __fesetround and define as weak alias of __fesetround. Use
11177 libm_hidden_weak.
11178 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11179 Likewise.
11180 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11181 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11182 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11183 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11184 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11185 __fesetround and define as weak alias of __fesetround. Use
11186 libm_hidden_weak.
11187 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11188 __fesetround instead of fesetround.
11189 (default_libc_feholdexcept_setround): Likewise.
11190 (libc_feholdsetround_ctx): Likewise.
11191 (libc_feholdsetround_noex_ctx): Likewise.
11192
11193 [BZ #17748]
11194 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11195 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11196 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11197 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11198 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11199 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11200 define as weak alias of __fesetenv. Use libm_hidden_weak.
11201 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11202 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11203 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11204 define as weak alias of __fesetenv. Use libm_hidden_weak.
11205 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11206 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11207 define as weak alias of __fesetenv. Use libm_hidden_weak.
11208 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11209 libm_hidden_def.
11210 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11211 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11212 Likewise.
11213 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11214 define as weak alias of __fesetenv. Use libm_hidden_weak.
11215 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11216 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11217 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11218 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11219 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11220 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11221 __fesetenv instead of fesetenv.
11222 (libc_feresetround_noex_ctx): Likewise.
11223 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11224 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11225 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11226 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11227 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11228 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11229 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11230 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11231 (__feupdateenv): Likewise.
11232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11233 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11234 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11235 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11236
11237 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11238
11239 [BZ #17806]
11240 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11241 addresses have been freed.
11242
11243 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11244
11245 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11246 and nservall.
11247
11248 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11249
11250 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11251 Clean up check_pf allocation pattern. addresses
11252
11253 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254
11255 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11256 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11257 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11258 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11259 * nptl/pthread_join.c (pthread_join): Likewise.
11260 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11261 * sysdeps/posix/waitid.c (__waitid): Likewise.
11262 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11263 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11264 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11265 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11267 Likewise.
11268 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11269 (__libc_pread64): Likewise.
11270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11271 (__libc_pwrite): Likewise.
11272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11273 (__libc_pwrite64): Likewsie.
11274 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11275 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11276 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11277 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11278 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11279 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11280 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11282 Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11284 (__libc_pread64): Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11288 (__libc_pwrite64): Likewise.
11289 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11290 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11291 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11292 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11293 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11294 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11295 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11296 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11297 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11298 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11299 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11300 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11301 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11302 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11303 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11304 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11305 Likewise.
11306
11307 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11308
11309 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11310 (CFLAGS-test-double.c): Likewise.
11311 (CFLAGS-test-ldouble.c): Likewise.
11312 (CPPFLAGS-test-ifloat.c): Likewise.
11313 (CPPFLAGS-test-idouble.c): Likewise.
11314 (CPPFLAGS-test-ildoubl.c): Likewise.
11315 (CFLAGS-test-test-fenv.c): Remove variable.
11316 (CFLAGS-test-misc.c): Likewise.
11317
11318 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 [BZ #17797]
11321 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11322 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11323 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11324 CLOCKS_PER_SEC == 1000000.
11325 * time/clocktest.c (main): Replace %ld with %jd and cast to
11326 intmax_t.
11327
11328 2015-01-05 Roland McGrath <roland@hack.frob.com>
11329
11330 * sysdeps/generic/unwind-resume.h: New file.
11331 * sysdeps/gnu/unwind-resume.c: Include it.
11332 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11333 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11334 argument list.
11335 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11336 global rather than static.
11337 (_Unwind_Resume): Update user.
11338 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11339 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11340 rather than static. Add __attribute__ ((cold)).
11341 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11342 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11343 * sysdeps/arm/arm-unwind-resume.S: New file.
11344 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11345 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11346 * sysdeps/arm/Makefile [$(subdir) = csu]
11347 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11348 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11349 Add rt-arm-unwind-resume.
11350 [$(subdir) = nptl]
11351 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11352 Add pt-arm-unwind-resume.
11353 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11354 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11355
11356 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #17748]
11359 * include/fenv.h (__feholdexcept): Declare. Use
11360 libm_hidden_proto.
11361 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11362 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11363 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11364 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11365 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11366 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11367 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11368 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11369 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11370 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11371 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11372 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11373 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11374 (feholdexcept): Likewise.
11375 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11376 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11377 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11378 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11379 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11380 __feholdexcept instead of feholdexcept.
11381 (default_libc_feholdexcept_setround): Likewise.
11382
11383 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11384
11385 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11386 to avoid using stl/str to align destination.
11387
11388 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11389
11390 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11391
11392 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11393
11394 [BZ #17796]
11395 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11396 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11397 Define as weak alias not strong alias.
11398
11399 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11400
11401 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11402 bltzal with addiupc.
11403 (RTLD_START): Ditto.
11404
11405 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11406
11407 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11408 for __vdso_* functions in declarations.
11409 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11410 definitions.
11411 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11412 INTERNAL_VSYSCALL): Use struct return types to check for error.
11413
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11415 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11416 function with cast from llround().
11417 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11418 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11419 Define.
11420
11421 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11422
11423 [BZ #17793]
11424 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11425 Define as weak alias not strong alias.
11426
11427 [BZ #17635]
11428 * ctype/ctype-c99.c: New file. isblank implementation moved from
11429 ...
11430 * ctype/ctype-extn.c: ... here.
11431 (__isblank_l): Move to ...
11432 * ctype/ctype-c99_l.c: ... here. New file.
11433 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11434 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11435 Remove variable.
11436 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11437 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11438 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11439 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11440 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11441
11442 [BZ #17777]
11443 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11444 (posix_fadvise64): Define as weak alias not strong alias.
11445 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11446 (posix_fallocate64): Likewise.
11447 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11448 Remove variable.
11449 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11450 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11451 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11452 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11453 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11454
11455 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11456
11457 [BZ #16191]
11458 * NEWS: Mention bug fix.
11459 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11460 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11461 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11462 (HOST_STACK_END_ADDR): Likewise.
11463
11464 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11465
11466 [BZ #17748]
11467 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11468 * math/fegetround.c (fegetround): Rename to __fegetround and
11469 define as weak alias of __fegetround. Use libm_hidden_weak.
11470 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11471 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11472 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11473 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11474 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11475 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11476 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11477 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11478 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11479 Undefine after rather than before function definition; use
11480 parentheses around function name in definition.
11481 (__fegetround): Also undefine macro after function definition.
11482 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11483 __fegetround and define as weak alias of __fegetround. Use
11484 libm_hidden_weak. Do not undefine as macro.
11485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11486 Likewise.
11487 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11488 __fegetround and define as weak alias of __fegetround. Use
11489 libm_hidden_weak.
11490 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11491 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11492 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11493 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11494 __fegetround and define as weak alias of __fegetround. Use
11495 libm_hidden_weak.
11496 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11497 __fegetround instead of fegetround.
11498
11499 [BZ #17782]
11500 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11501 Condition macro definition on [__USE_MISC].
11502
11503 [BZ #17781]
11504 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11505 (struct sigaction): Change type of sa_flags field to int.
11506
11507 [BZ #17780]
11508 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11509 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11510 __glibc_reserved0.
11511
11512 * nptl/version.c (banner): Use single year in copyright notice.
11513
11514 * NEWS: Update copyright dates.
11515 * catgets/gencat.c (print_version): Likewise.
11516 * csu/version.c (banner): Likewise.
11517 * debug/catchsegv.sh: Likewise.
11518 * debug/pcprofiledump.c (print_version): Likewise.
11519 * debug/xtrace.sh (do_version): Likewise.
11520 * elf/ldconfig.c (print_version): Likewise.
11521 * elf/ldd.bash.in: Likewise.
11522 * elf/pldd.c (print_version): Likewise.
11523 * elf/sotruss.sh: Likewise.
11524 * elf/sprof.c (print_version): Likewise.
11525 * iconv/iconv_prog.c (print_version): Likewise.
11526 * iconv/iconvconfig.c (print_version): Likewise.
11527 * locale/programs/locale.c (print_version): Likewise.
11528 * locale/programs/localedef.c (print_version): Likewise.
11529 * login/programs/pt_chown.c (print_version): Likewise.
11530 * malloc/memusage.sh (do_version): Likewise.
11531 * malloc/memusagestat.c (print_version): Likewise.
11532 * malloc/mtrace.pl: Likewise.
11533 * manual/libc.texinfo: Likewise.
11534 * nptl/version.c (banner): Likewise.
11535 * nscd/nscd.c (print_version): Likewise.
11536 * nss/getent.c (print_version): Likewise.
11537 * nss/makedb.c (print_version): Likewise.
11538 * posix/getconf.c (main): Likewise.
11539 * scripts/test-installation.pl: Likewise.
11540 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11541
11542 2015-01-02 Will Newton <will.newton@linaro.org>
11543
11544 * sysdeps/arm/armv7/configure: Removed.
11545 * sysdeps/arm/armv7/configure.ac: Likewise.
11546
11547 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11548
11549 * All files with FSF copyright notices: Update copyright dates
11550 using scripts/update-copyrights.
11551 * intl/plural.c: Regenerated.
11552 * locale/programs/charmap-kw.h: Likewise.
11553 * locale/programs/locfile-kw.h: Likewise.
11554
11555 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11556
11557 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11558
11559 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11560
11561 [BZ #17748]
11562 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11563 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11564 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11565 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11566 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11567 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11568 define as weak alias of __fegetenv. Use libm_hidden_weak.
11569 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11570 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11571 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11572 define as weak alias of __fegetenv. Use libm_hidden_weak.
11573 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11574 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11575 define as weak alias of __fegetenv. Use libm_hidden_weak.
11576 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11577 libm_hidden_def.
11578 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11579 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11580 Likewise.
11581 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11582 define as weak alias of __fegetenv. Use libm_hidden_weak.
11583 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11584 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11585 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11586 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11587 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11588 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11589 __fegetenv instead of fegetenv.
11590 (libc_feholdsetround_noex_ctx): Likewise.
11591
11592 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11593
11594 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11595 (Elf_MIPS_ABIFlags_v0): New structure.
11596 (EF_MIPS_FP64): Define.
11597 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11598 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11599 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11600 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11601 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11602 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11603 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11604 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11605 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11606 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11607 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11608 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11609 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11610 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11611 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11612 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11613 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11614 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11615 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11616 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11617 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11618 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11619 field.
11620 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11621 EF_MIPS_FP64.
11622 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11623 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11624 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11625 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11626 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11627 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11628 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11629 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11630 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11631 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11632 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11633 record the current FP ABI extension.
11634 (mips-mode-switch): Define to show if kernel headers support mode
11635 switching.
11636 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11637 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11638 supported SYSV ABI version to 3.
11639 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11640 feature.
11641
11642 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11643 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11646 path.
11647 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11648
11649 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11650
11651 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11652 __fegetround and redefine to call __fegetround. Remove condition
11653 on [!__NO_MATH_INLINES].
11654 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11655 function.
11656 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11657 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11658 Remove macro.
11659 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11660 instead of <fenv_libc.h>.
11661 (__llrintl): Call fegetround instead of __fegetround.
11662 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11663 instead of <fenv_libc.h>.
11664 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11665 (__lrintl): Call fegetround instead of __fegetround.
11666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11667 instead of <fenv_libc.h>.
11668 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11669 (__rintl): Call fegetround instead of __fegetround.
11670
11671 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11672
11673 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11674 arrays.
11675
11676 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11677
11678 [BZ #17775]
11679 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11680 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11681 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11682
11683 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11684
11685 * sysdeps/i386/tls-macros.h: Include <features.h>.
11686 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11687 (TLS_IE): Likewise.
11688 (TLS_LD): Likewise.
11689 (TLS_GD): Likewise.
11690 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11691 define for GCC >= 5.0.
11692
11693 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11694
11695 * math/test-fenv.c (test_single_exception, set_single_exc,
11696 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11697 feexcp_mask_test, feenable_test, fe_single_test): Add
11698 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11699 case where they are not used.
11700 * math/libm-test.inc: Likewise.
11701 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11702 unused in the absence of FP rounding/exception support.
11703 * stdio-common/tst-printf-round.c: Likewise.
11704 * stdlib/tst-strtod-round.c: Likewise.
11705 * stdlib/tst-strtod-underflow.c: Likewise.
11706
11707 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11708
11709 [BZ #17723]
11710 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11711 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11712 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11713 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11714 libm_hidden_weak.
11715 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11716 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11717 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11718 libm_hidden_def.
11719 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11720 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11721 libm_hidden_weak.
11722 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11723 Likewise.
11724 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11725 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11726 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11727 libm_hidden_weak.
11728 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11729 libm_hidden_def.
11730 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11731 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11732 (__feraiseexcept): Likewise.
11733 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11734 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11735 libm_hidden_weak.
11736 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11737 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11738 libm_hidden_def.
11739 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11740 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11741 Use libm_hidden_def.
11742 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11743 libm_hidden_def.
11744 (feraiseexcept): Define as weak not strong alias. Use
11745 libm_hidden_weak.
11746 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11747 New inline function. Factored out of ...
11748 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11749 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11750 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11751 feraiseexcept.
11752 * math/w_acos.c (__acos): Likewise.
11753 * math/w_asin.c (__asin): Likewise.
11754 * math/w_ilogb.c (__ilogb): Likewise.
11755 * math/w_j0.c (y0): Likewise.
11756 * math/w_j1.c (y1): Likewise.
11757 * math/w_jn.c (yn): Likewise.
11758 * math/w_log.c (__log): Likewise.
11759 * math/w_log10.c (__log10): Likewise.
11760 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11761 * sysdeps/aarch64/fpu/math_private.h
11762 (libc_feupdateenv_test_aarch64): Likewise.
11763 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11764 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11765 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11766 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11767 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11768 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11769 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11770 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11771 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11772 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11773
11774 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 [BZ #17732]
11777 * io/test-utime.c (main): Replace %ld with %jd and cast to
11778 intmax_t.
11779 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11780 * nptl/tst-mutex5.c: Include <stdint.h>.
11781 (do_test): Replace %ld with %jd and cast to intmax_t.
11782 * posix/tst-regex.c (run_test): Likewise.
11783 (run_test_backwards): Likewise.
11784 * rt/tst-clock.c: Include <stdint.h>.
11785 (clock_test): Replace %ld with %jd and cast to intmax_t.
11786 * rt/tst-cpuclock1.c: Include <stdint.h>.
11787 (do_test): Replace %lu with %ju and cast to uintmax_t.
11788 * rt/tst-cpuclock2.c: Include <stdint.h>.
11789 (do_test): Replace %lu with %ju and cast to uintmax_t.
11790 * rt/tst-mqueue1.c: Include <stdint.h>.
11791 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11792 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11793 intmax_t.
11794 * rt/tst-mqueue4.c (do_test): Likewise.
11795 * rt/tst-timer4.c: Include <stdint.h>.
11796 (check_ts): Replace %ld with %jd and cast to intmax_t.
11797 (do_test): Likewise.
11798 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11799 and cast to intmax_t.
11800 * sysdeps/pthread/tst-timer.c (main): Likewise.
11801 * time/clocktest.c (main): Likewise.
11802 * time/tst-posixtz.c (do_test): Likewise.
11803 * timezone/tst-timezone.c (main): Likewise.
11804
11805 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11806 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11809 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11810 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11811 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11812 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11813 version if bit_Fast_Unaligned_Load is set.
11814 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11817 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11818 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11819 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11821 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11822 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11823 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11824 to 4.
11825 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11826 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11827 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11828 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11829
11830 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11831
11832 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11833 instead of #if to avoid a Wundef warning.
11834 * stdlib/tst-limits.c (do_test): Likewise.
11835
11836 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11837 parallel other exception macros.
11838 (fegetenv): Convert from macro to extern inline so that it applies
11839 retroactively to inline functions already seen by the compiler.
11840 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11841
11842 * posix/Makefile (before-compile): Use $(objpfx) for
11843 posix-conf-vars-def.h.
11844
11845 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
11847 * posix/getconf.c (main): Use size_t for type of I.
11848 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11849 NSPEC.
11850
11851 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11852 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11853 * posix/posix-envs.def: Likewise.
11854 * sysdeps/posix/sysconf.c: Likewise.
11855 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11856 (specs): Remove array.
11857 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11858 array.
11859
11860 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11861 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11862 (__sysconf): Use CONF_IS_* macros.
11863
11864 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11865 ($(objpfx)posix-conf-vars-def.h): New target.
11866 * posix/posix-conf-vars.list: New file.
11867 * posix/posix-conf-vars.h: New file.
11868 * posix/confstr.c: Include posix-conf-vars.h.
11869 (confstr): Use CONF_IS_* macros.
11870 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11871 CONF_IS_* macros.
11872 * scripts/gen-posix-conf-vars.awk: New file.
11873
11874 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11875
11876 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11877 fegetround): Add no-op macros to avoid linknamespace issues.
11878
11879 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11880 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11881
11882 * sysdeps/unix/sysv/linux/tile/sysdep.h
11883 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11884 assembly-specific section to avoid a redefinition warning.
11885
11886 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11887 long before casting to pointer to avoid a cast warning.
11888
11889 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11890
11891 * sysdeps/tile/tilegx/Implies: New file.
11892
11893 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11894
11895 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11896
11897 2014-12-23 Florian Weimer <fweimer@redhat.com>
11898
11899 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11900
11901 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11902
11903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11904 not define.
11905 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11906 <kernel-features.h>.
11907 (__utimes) [__NR_utimes]: Make code unconditional.
11908 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11910 (__ASSUME_UTIMES): Do not undefine.
11911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11912 (__ASSUME_UTIMES): Likewise.
11913 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11914 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11915 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11916 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11917
11918 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11919
11920 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11921
11922 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11923
11924 [BZ #17747]
11925 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11926 alias to weak alias for j0l, y0l.
11927 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11928 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11929
11930 [BZ #17746]
11931 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11932 conversion.
11933
11934 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11935
11936 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11937 to zero if not already defined.
11938
11939 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11940
11941 [BZ #17724]
11942 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11943 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11944 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11945 (char *) casts added.
11946 * sysdeps/ieee754/k_standardf.c: New file.
11947 * sysdeps/ieee754/k_standardl.c: Likewise.
11948 * math/Makefile (libm-support): Remove k_standard.
11949 (libm-calls): Add k_standard.
11950
11951 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11952
11953 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11954 Optimize to avoid an unnecessary FPCR read.
11955
11956 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11957
11958 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11959 Optimize to reduce FPCR/FPSR accesses.
11960
11961 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11962
11963 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11964 Call libc_fetestexcept_aarch64.
11965
11966 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11967
11968 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11969 Call libc_fesetround_aarch64.
11970
11971 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11972
11973 [BZ #17733]
11974 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11975 (__bind): Do not define as weak alias.
11976 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11977 define.
11978 (__getsockname): Do not define as weak alias.
11979
11980 2014-12-22 Will Newton <will.newton@linaro.org>
11981
11982 * manual/install.texi: Document that we require bison 2.7
11983 or above.
11984 * INSTALL: Regenerate.
11985 * configure.ac: Use AC_CHECK_PROG_VER instead of
11986 AC_PATH_PROG when checking for bison and check for
11987 version 2.7 or above.
11988 * configure: Regenerate.
11989
11990 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11991
11992 [BZ #17745]
11993 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11994 * sysdeps/tile/ffsll.c (ffsll): To here.
11995
11996 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11997
11998 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12001 if not defined.
12002 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12003 definition.
12004 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12005 hidden ___tls_get_addr.
12006 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12007 hidden __tls_get_addr.
12008 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12009 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12010 Likewise.
12011
12012 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
12013
12014 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12015 _dl_init call.
12016
12017 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12020 from "call _dl_init@PLT".
12021 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12022
12023 2014-12-21 Anders Kaseorg <andersk@mit.edu>
12024
12025 * manual/search.texi: (Array Sort Function): Clarify stable sorting
12026 guarantees.
12027
12028 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
12029
12030 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12031
12032 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12033
12034 [BZ #17744]
12035 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12036 strnlen.
12037
12038 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12039
12040 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12041 of multu on MIPSr6.
12042 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12043 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12044 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12045 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12046 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12047
12048 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12049
12050 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12051 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12052 (PTR_SUBU): Use subu for mips32r6/mips64r6.
12053 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12054 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12055 mips32r6/mips64r6.
12056 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12057
12058 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
12059
12060 * string/strncat.c (STRNCAT): Simplify implementation.
12061
12062 2014-12-19 David S. Miller <davem@davemloft.net>
12063
12064 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12065 access the quad as both a long double and as a series of 4 words.
12066
12067 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12068 link_map->l_info array access.
12069
12070 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12071
12072 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12073
12074 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12075 * math/atest-exp2.c (TIMEOUT): Likewise.
12076 * math/atest-sincos.c (TIMEOUT): Likewise.
12077
12078 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12081 -Wno-error with -fno-builtin-lround.
12082
12083 2014-12-19 Torvald Riegel <triegel@redhat.com>
12084
12085 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12086 Contains futex constants and functions moved over from ...
12087 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12088 <lowlevellock-futex.h>.
12089 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12090 (lll_timedwait_tid): Add comments and parentheses around macro
12091 arguments.
12092
12093 2014-12-19 Torvald Riegel <triegel@redhat.com>
12094
12095 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12096 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12097 (__lll_private_flag): Remove.
12098 (lll_futex_wait): Likewise.
12099 (lll_futex_timed_wait): Likewise.
12100 (lll_futex_wake): Likewise.
12101 (lll_futex_requeue): Likewise.
12102 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12103 (__lll_timedwait_tid): Spell out argument names.
12104 (lll_timedwait_tid): Add comments and parentheses around macro
12105 arguments.
12106 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12107 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12108
12109 2014-12-19 Torvald Riegel <triegel@redhat.com>
12110
12111 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12112 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12113 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12114 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12115 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12116 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12117 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12118 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12119 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12120 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12121 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12122 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12124 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12125 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12126 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12127 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12128 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12129 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12130
12131 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12132
12133 * sysdeps/x86_64/x32/Makefile: New file.
12134
12135 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12138 1L with (mp_limb_t) 1.
12139
12140 2014-12-17 Roland McGrath <roland@hack.frob.com>
12141
12142 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12143 * nptl/libc_pthread_init.c: ... here.
12144 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12145 * nptl/register-atfork.c: ... here.
12146
12147 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12148 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12149 Use assert_perror to check its return value.
12150 (__gai_create_helper_thread): Likewise.
12151
12152 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12153
12154 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12155
12156 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12157
12158 [BZ #17725]
12159 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12160 __profil_counter.
12161 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12162 Likewise.
12163 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12164 Likewise.
12165 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12166 Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12168 (profil_counter): Likewise.
12169 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12170 (profil_counter): Likewise.
12171 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12172 Likewise.
12173 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12174 Likewise.
12175 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12176 (profil_counter): Likewise.
12177 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12178 Likewise.
12179 [!__profil_counter] (profil_counter): Define as weak alias of
12180 __profil_counter.
12181 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12182 (profil_counter): Rename to __profil_counter.
12183 [!__profil_counter] (profil_counter): Define as weak alias of
12184 __profil_counter.
12185 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12186 (profil_counter): Rename to __profil_counter.
12187 [!__profil_counter] (profil_counter): Define as weak alias of
12188 __profil_counter.
12189 * sysdeps/posix/profil.c: Update comment referring to
12190 profil_counter.
12191 (__profil): Use __profil_counter instead of profil_counter.
12192 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12193 __profil_counter. Use __profil_counter_ushort and
12194 __profil_counter_uint in definitions.
12195 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12196 instead of profil_counter_uint and profil_counter_ushort.
12197
12198 [BZ #17722]
12199 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12200 define as weak alias of __inet_makeaddr.
12201 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12202 as weak alias of __inet_addr.
12203 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12204 as weak alias of __inet_pton. Use libc_hidden_weak.
12205 * include/arpa/inet.h (__inet_pton): Declare. Use
12206 libc_hidden_proto.
12207 (inet_makeaddr): Don't use libc_hidden_proto.
12208 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12209 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12210 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12211 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12212 Remove variable.
12213 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12214 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12215
12216 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12217
12218 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12219
12220 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12221
12222 * stdio-common/bug-vfprintf-nargs.c (do_test):
12223 Cast value to intptr_t to avoid format warning
12224 for usage with PRIdPTR printing macro.
12225
12226 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12227
12228 * libio/tst-widetext.c (do_test):
12229 Use format type %td instead of %Zd for ptrdiff_t
12230 in order to avoid format warning.
12231
12232 2014-12-17 Andreas Schwab <schwab@suse.de>
12233
12234 * nscd/mem.c (gc): Add size_t cast to match printf format.
12235
12236 2014-12-16 Roland McGrath <roland@hack.frob.com>
12237
12238 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12239 (init): Apply PTR_MANGLE to pointers before storing them.
12240 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12241 before using them.
12242
12243 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12244
12245 [BZ #17719]
12246 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12247 define as weak alias of __memrchr.
12248 (__memrchr): Do not define as strong alias of memrchr.
12249 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12250 Remove variable.
12251 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12252 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12253 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12254
12255 [BZ #17717]
12256 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12257 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12258 (if_indextoname): Rename to __if_indextoname and define as weak
12259 alias of __if_indextoname. Use libc_hidden_weak.
12260 (if_freenameindex): Rename to __if_freenameindex and define as
12261 weak alias of __if_freenameindex.
12262 (if_nameindex): Rename to __if_nameindex and define as weak alias
12263 of __if_nameindex.
12264 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12265 __if_nametoindex and define as weak alias of __if_nametoindex.
12266 Use libc_hidden_weak.
12267 (if_freenameindex): Rename to __if_freenameindex and define as
12268 weak alias of __if_freenameindex.
12269 (if_nameindex): Rename to __if_nameindex and define as weak alias
12270 of __if_nameindex.
12271 (if_indextoname): Rename to __if_indextoname and define as weak
12272 alias of __if_indextoname. Use libc_hidden_weak.
12273 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12274 __if_nametoindex and define as weak alias of __if_nametoindex.
12275 Use libc_hidden_weak.
12276 (if_freenameindex): Rename to __if_freenameindex and define as
12277 weak alias of __if_freenameindex. Use libc_hidden_weak.
12278 (if_nameindex_netlink): Use __if_freenameindex instead of
12279 if_freenameindex.
12280 (if_nameindex): Rename to __if_nameindex and define as weak alias
12281 of __if_nameindex. Use libc_hidden_weak.
12282 (if_indextoname): Rename to __if_indextoname and define as weak
12283 alias of __if_indextoname. Use libc_hidden_weak.
12284 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12285 libc_hidden_proto.
12286 [!_ISOMAC] (__if_freenameindex): Likewise.
12287 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12288 if_nametoindex.
12289 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12290 variable.
12291 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12292 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12293 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12294 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12295 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12296 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12297 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12298
12299 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12300 Remove variable.
12301 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12302 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12303
12304 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12305
12306 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12307 subscript above bounds'
12308
12309 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12310 bounds.
12311
12312 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12313
12314 * libio/tst-fopenloc.c: Use test-skeleton.c.
12315
12316 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12317 (entry): Rename to ITEM.
12318 (do_test, comp): Adjust.
12319
12320 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12321
12322 2014-12-16 Torvald Riegel <triegel@redhat.com>
12323
12324 * string/tester.c: Include <libc-internal.h>.
12325 (test_memset): Ignore -Wmemset-transposed-args.
12326
12327 2014-12-16 Torvald Riegel <triegel@redhat.com>
12328
12329 * misc/tst-mntent2.c (do_test): Fix warning.
12330
12331 2014-12-16 Torvald Riegel <triegel@redhat.com>
12332
12333 * elf/tst-unique4lib.cc(a): Mark as used.
12334
12335 2014-12-16 Florian Weimer <fweimer@redhat.com>
12336
12337 [BZ #17630]
12338 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12339 names.
12340
12341 2014-12-16 Allan McRae <allan@archlinux.org>
12342
12343 * stdio-common/Makefile (tests): Re-add bug26.
12344
12345 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12346
12347 [BZ #17657]
12348 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12349 static array.
12350
12351 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12352
12353 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12354 (__lll_lock_wait): Likewise.
12355 (__lll_timedlock_wait): Likewise.
12356 (__lll_timedwait_tid): Likewise.
12357 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12358 (__lll_robust_timedlock_wait): Likewise.
12359 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12360 (lll_cond_trylock): Likewise.
12361 (__lll_lock): Likewise.
12362 (__lll_robust_lock): Likewise.
12363 (__lll_cond_lock): Likewise.
12364 (lll_robust_cond_lock): Likewise.
12365 (__lll_timedlock): Likewise.
12366 (__lll_robust_timedlock): Likewise.
12367 (__lll_unlock): Likewise.
12368 (__lll_robust_unlock): Likewise.
12369 (lll_wait_tid): Likewise.
12370 (lll_timedwait_tid): Likewise.
12371
12372 2014-12-15 Torvald Riegel <triegel@redhat.com>
12373
12374 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12375
12376 2014-12-15 Torvald Riegel <triegel@redhat.com>
12377
12378 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12379
12380 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12381
12382 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12383 * stdio-common/tst-sprintf.c: Likewise.
12384
12385 2014-12-15 Torvald Riegel <triegel@redhat.com>
12386
12387 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12388
12389 2014-12-15 Jeff Law <law@redhat.com>
12390
12391 [BZ #16617]
12392 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12393 on the heap. (CVE-2012-3406)
12394 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12395 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12396 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12397
12398 2014-12-15 Will Newton <will.newton@linaro.org>
12399
12400 * manual/install.texi: Bump required version of texinfo
12401 to 4.7 from 4.5.
12402 * INSTALL: Regenerated.
12403 * configure.ac: Check for makeinfo version 4.7 and above.
12404 * configure: Regenerated.
12405
12406 2014-12-12 Roland McGrath <roland@hack.frob.com>
12407
12408 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12409 PREFIX, string constant to insert between directory and name.
12410 * sysdeps/posix/shm_open.c: Update caller.
12411 * sysdeps/posix/shm_unlink.c: Likewise.
12412 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12413 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12414 (SEM_SHM_PREFIX): New macro.
12415 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12416 [$(have-thread-library) = no].
12417 * nptl/Makefile (libpthread-routines): Add shm-directory.
12418 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12419 * sysdeps/nptl/shm-directory.h: New file.
12420 * sysdeps/posix/shm-directory.c
12421 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12422 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12423 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12424 INTERNAL_SYSCALL.
12425 (__where_is_shmfs): Function removed.
12426 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12427 Variables removed.
12428 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12429 Use SHM_GET_NAME.
12430 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12431
12432 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12433 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12434 unconditional for use inside libpthread.
12435 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12436
12437 2014-12-12 Roland McGrath <roland@hack.frob.com>
12438
12439 * nptl/pthread_getaffinity.c: New file.
12440 * nptl/pthread_setaffinity.c: New file.
12441 * nptl/pthread_getname.c: New file.
12442 * nptl/pthread_setname.c: New file.
12443
12444 * nptl/pthread_create.c (START_THREAD_DEFN)
12445 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12446
12447 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12448 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449
12450 * resolv/res_send.c (send_vc): Disable warning resplen may
12451 be used uninitialized.
12452
12453 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12454
12455 * nptl/tst-mutex6.c
12456 (ATTR_NULL): New define checks ATTR against NULL.
12457 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12458 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12459
12460 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12461
12462 [BZ #17581]
12463 * malloc/hooks.c
12464 (mem2mem_check): Revert my previous change.
12465 (malloc_check_get_size): Revert my previous change.
12466 (mem2chunk_check): Revert my previous change.
12467
12468 2014-12-11 Roland McGrath <roland@hack.frob.com>
12469
12470 * sysdeps/posix/shm-directory.c: New file.
12471 * sysdeps/posix/shm-directory.h: New file.
12472 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12473 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12474 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12475 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12476 Transmute EPERM to EACCES.
12477 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12478 from ...
12479 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12480 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12481
12482 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12483
12484 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12485 pointer and cast to uintptr_t.
12486 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12487 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12488 Add cast to avoid warning.
12489 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12490
12491 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12492
12493 * nptl/semaphore.h: Move to ...
12494 * sysdeps/pthread/semaphore.h: ... here.
12495 * Makefile (installed-headers): Change nptl/semaphore.h to
12496 sysdeps/pthread/semaphore.h.
12497
12498 2014-12-11 Roland McGrath <roland@hack.frob.com>
12499
12500 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12501 generated error format strings.
12502
12503 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12504 -Wformat-extra-args warnings for scanf formats.
12505 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12506 test of zero-length format (duh).
12507 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12508 corner-case scanf format test.
12509 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12510 generated fprintf format string.
12511 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12512 corner-case sprintf format tests.
12513 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12514 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12515 -Wformat-extra-args warnings throughout.
12516 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12517 (CFLAGS-scanf4.c): Likewise.
12518 (CFLAGS-scanf7.c): Likewise.
12519 (CFLAGS-tst-sprintf.c): Likewise.
12520 (CFLAGS-tst-printf.c): Likewise.
12521 (CFLAGS-tst-printfsz.c): Likewise.
12522
12523 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12524
12525 * include/cpio.h: New file.
12526 * include/fmtmsg.h: Likewise.
12527
12528 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12529 corresponding format argument to size_t.
12530 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12531 arguments.
12532 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12533 corresponding format argument to size_t.
12534 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12535 arguments.
12536 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12537 corresponding format argument to size_t.
12538 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12539 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12540 (CFLAGS-tst-mbswcs2.c): Likewise.
12541 (CFLAGS-tst-mbswcs3.c): Likewise.
12542 (CFLAGS-tst-mbswcs4.c): Likewise.
12543 (CFLAGS-tst-mbswcs5.c): Likewise.
12544 (CFLAGS-tst-trans.c): Likewise
12545
12546 2014-12-11 Roland McGrath <roland@hack.frob.com>
12547
12548 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12549 rather than assuming they won't contain any '%'s.
12550
12551 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12552
12553 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12554 inhibit_loop_to_libcall to avoid recursive calls.
12555 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12556 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12557
12558 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12559
12560 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12561 prototype.
12562
12563 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12564
12565 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12566 integer value instead of boolean.
12567
12568 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12569
12570 * malloc/malloc.c: Fix powerof2 check.
12571
12572 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12573
12574 * locale/programs/locfile.h (maybe_swap_uint32):
12575 Remove inline and add unused attribute.
12576
12577 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12578
12579 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12580 Truncating assembler expression to a .long expression.
12581
12582 2014-12-11 Andreas Schwab <schwab@suse.de>
12583
12584 * elf/rtld.c (struct map_args): Constify str member.
12585 (do_preload): Constify fname argument.
12586
12587 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12588
12589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12590 constants definition.
12591
12592 2014-12-11 Andreas Schwab <schwab@suse.de>
12593
12594 [BZ #16657]
12595 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12596 FORCE_ELISION instead of DO_ELISION.
12597 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12598 Remove.
12599 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12600 Likewise.
12601
12602 * iconvdata/gconv-modules: Remove duplicate entry.
12603
12604 2014-12-11 Will Newton <will.newton@linaro.org>
12605
12606 Merge gettext 0.19.3 into intl/.
12607
12608 This involves a number of cosmetic changes to comments
12609 and ANSI function definitions and prototypes throughout
12610 all the files. The gettext copyright header is used but
12611 with the date ranges taken from the glibc copy.
12612
12613 * NEWS: Add gettext merge to 2.21.
12614 * intl/bindtextdom.c: Switch to gettext copyright.
12615 Use ANSI definitions and prototypes.
12616 Use gl_* locking primitives rather than __libc_* ones.
12617 Use __builtin_expect rather than __glibc_likely/unlikely.
12618 * intl/dcgettext.c: Switch to gettext copyright.
12619 Use ANSI definitions and prototypes.
12620 * intl/dcigettext.c: Switch to gettext copyright.
12621 Use ANSI definitions and prototypes.
12622 (INTDIV0_RAISES_SIGFPE): New define.
12623 Use gl_* locking primitives rather than __libc_* ones.
12624 Include eval-plural.h instead of plural-eval.c.
12625 Use __builtin_expect rather than __glibc_likely/unlikely.
12626 * intl/dcngettext.c: Switch to gettext copyright.
12627 Use ANSI definitions and prototypes.
12628 * intl/dgettext.c: Likewise.
12629 * intl/dngettext.c: Likewise.
12630 * intl/plural-eval.c: Renamed to...
12631 * intl/eval-plural.h: ...this.
12632 * intl/explodename.c: Switch to gettext copyright.
12633 Use ANSI definitions and prototypes.
12634 (_nl_explode_name): Use strchr instead of __rawmemchr.
12635 * intl/finddomain.c: Switch to gettext copyright.
12636 Use ANSI definitions and prototypes.
12637 Use gl_* locking primitives rather than __libc_* ones.
12638 (_nl_find_domain): Use malloc rather than alloca for
12639 allocation of temporary locale name.
12640 * intl/gettext.c: Switch to gettext copyright.
12641 Use ANSI definitions and prototypes.
12642 * intl/gettextP.h: Switch to gettext copyright.
12643 Use ANSI definitions and prototypes.
12644 Use gl_* locking primitives rather than __libc_* ones.
12645 * intl/gmo.h: Switch to gettext copyright.
12646 (struct sysdep_string): Move struct segment_pair outside of
12647 struct definition.
12648 * intl/hash-string.c: Use ANSI definitions and prototypes.
12649 * intl/hash-string.h: Switch to gettext copyright.
12650 Use ANSI definitions and prototypes.
12651 * intl/l10nflist.c: Switch to gettext copyright.
12652 Use ANSI definitions and prototypes.
12653 (_nl_normalize_codeset): Avoid integer overflow.
12654 * intl/loadinfo.h: Switch to gettext copyright.
12655 Use ANSI definitions and prototypes.
12656 (LIBINTL_DLL_EXPORTED): New define.
12657 (PATH_SEPARATOR): New define.
12658 * intl/loadmsgcat.c: Switch to gettext copyright.
12659 * intl/localealias.c: Switch to gettext copyright.
12660 Use ANSI definitions and prototypes.
12661 (_nl_expand_alias): Use PATH_SEPARATOR.
12662 * intl/ngettext.c: Switch to gettext copyright.
12663 Use ANSI definitions and prototypes.
12664 * intl/plural-exp.c: Likewise.
12665 * intl/plural-exp.h: Switch to gettext copyright.
12666 Use ANSI definitions and prototypes.
12667 (struct expression): Move definition of enum operator outside
12668 of struct definition.
12669 * intl/plural.c: Regenerate.
12670 * intl/plural.y: Switch to gettext copyright.
12671 Use ANSI definitions and prototypes.
12672 Port to bison 3.0.
12673 * intl/textdomain.c: Switch to gettext copyright.
12674 Use ANSI definitions and prototypes.
12675 Use gl_* locking primitives rather than __libc_* ones.
12676
12677 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12678
12679 * debug/warning-nop.c: Add used atrribute.
12680
12681 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12682
12683 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12684
12685 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12686 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12687 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12688
12689 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12690 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12691
12692 [BZ #17634]
12693 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12694 Undefine after defining function. Define as weak alias of
12695 __wcschr. Use libc_hidden_weak.
12696 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12697 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12698 (libc_hidden_def): Also define __GI___wcschr alias.
12699 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12700 __wcschr and define as weak alias of __wcschr.
12701 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12702 __wcschr.
12703 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12704 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12705 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12706 libc_hidden_weak. Do not use libc_hidden_def.
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12708 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12709 __GI___wcschr alias.
12710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12711 [IS_IN (libc)] (wcschr): Define as macro expanding to
12712 __redirect_wcschr.
12713 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12714 [IS_IN (libc)] (__wcschr_power6): Likewise.
12715 [IS_IN (libc)] (__wcschr_power7): Likewise.
12716 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12717 instead of wcschr.
12718 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12719 __libc_wcschr.
12720 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12721 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12722 __wcschr and define as weak alias of __wcschr. Use
12723 libc_hidden_builtin_def.
12724 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12725 as weak alias of __wcschr. Use libc_hidden_weak.
12726 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12727 wcschr.
12728 * time/era.c (_nl_init_era_entries): Likewise.
12729 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12730 variable.
12731 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12732 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12733
12734 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12735
12736 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12737 format for long int variable.
12738
12739 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12740
12741 [BZ #10672]
12742 * manual/search.texi: (Array Sort Function): Remove claim how to make
12743 qsort stable.
12744
12745 2014-12-10 Andreas Schwab <schwab@suse.de>
12746
12747 [BZ #12847]
12748 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12749 user-controlled locks.
12750
12751 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12752
12753 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12754 register.
12755
12756 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12757
12758 * configure.ac (--disable-werror): New configure option.
12759 (enable_werror): New AC_SUBST.
12760 * configure: Regenerated.
12761 * config.make.in (enable-werror): New variable.
12762 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12763 -Wno-error=undef.
12764 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12765 * manual/install.texi (Configuring and compiling): Document
12766 --disable-werror.
12767 * INSTALL: Regenerated.
12768 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12769 (CFLAGS-tst-chk2.c): Likewise.
12770 (CFLAGS-tst-chk3.c): Likewise.
12771 (CFLAGS-tst-chk4.cc): Likewise.
12772 (CFLAGS-tst-chk5.cc): Likewise.
12773 (CFLAGS-tst-chk6.cc): Likewise.
12774 (CFLAGS-tst-lfschk1.c): Likewise.
12775 (CFLAGS-tst-lfschk2.c): Likewise.
12776 (CFLAGS-tst-lfschk3.c): Likewise.
12777 (CFLAGS-tst-lfschk4.cc): Likewise.
12778 (CFLAGS-tst-lfschk5.cc): Likewise.
12779 (CFLAGS-tst-lfschk6.cc): Likewise.
12780
12781 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12782 (main): Disable -Wdeprecated-declarations around calls to
12783 register_printf_function.
12784
12785 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12786 (do_test): Disable -Wdiv-by-zero around some calls to
12787 fwrite_unlocked and fread_unlocked.
12788
12789 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12790 (DIAG_POP_NEEDS_COMMENT): Likewise.
12791 (_DIAG_STR1): Likewise.
12792 (_DIAG_STR): Likewise.
12793 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12794 * stdio-common/bug21.c: Include <libc-internal.h>.
12795 (do_test): Disable -Wformat around call to sscanf.
12796 * stdio-common/scanf14.c: Include <libc-internal.h>.
12797 (main): Disable -Wformat around some calls to scanf functions.
12798
12799 2014-12-09 Torvald Riegel <triegel@redhat.com>
12800
12801 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12802
12803 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12804
12805 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12806 stack variable alignment.
12807
12808 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12809
12810 [BZ #17682]
12811 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12812 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12813 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12814 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12815 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12816 __getrlimit instead of getrlimit.
12817 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12818 __gettimeofday instead of gettimeofday.
12819 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12820 Likewise.
12821 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12822 Likewise.
12823 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12824 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12825 Remove variable.
12826 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12827 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12828
12829 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830
12831 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12832 for wide-character tests.
12833
12834 2014-12-04 Roland McGrath <roland@hack.frob.com>
12835
12836 * io/openat64.c: #include <libc-internal.h>
12837 (__openat64): Prototypify. Use ignore_value on MODE.
12838 * io/openat.c: Likewise.
12839 * misc/reboot.c: #include <libc-internal.h>
12840 (reboot): Prototypify. Use ignore_value on HOWTO.
12841 * misc/ptrace.c: #include <libc-internal.h>
12842 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12843
12844 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12845
12846 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12847 XPG4, UNIX98 and XOPEN2K.
12848 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12849 Remove variable.
12850 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12851
12852 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12853
12854 * libio/fileops.c: Use ISO C style for function definitions.
12855 * libio/iofopen.c: Likewise.
12856 * libio/wfileops.c: Likewise.
12857
12858 [BZ #17653]
12859 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12860 offset on EOF.
12861 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12862 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12863 (fgets_func): Function pointer to fgets and fgetws.
12864 (do_ftell_test): Add test to verify ftell value after read
12865 EOF.
12866 (do_test): Set fgets_func.
12867
12868 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12869 O_TRUNC flag for w and w+ modes.
12870 (do_rewind_test): Likewise.
12871 (do_ftell_test): Likewise.
12872 (do_write_test): Likewise.
12873
12874 [BZ #17647]
12875 * libio/fileops.c (do_ftell): Seek only when there are
12876 unflushed writes.
12877 * libio/wfileops.c (do_ftell_wide): Likewise.
12878 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12879 test case.
12880 (do_one_test): Call it.
12881
12882 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12883
12884 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12885 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12886 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12887 Remove variable.
12888 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12889 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12890 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12891
12892 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12893
12894 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12895 Remove variable.
12896 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12897
12898 [BZ #17668]
12899 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12900 as weak alias of __getifaddrs. Use libc_hidden_weak.
12901 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12902 __freeifaddrs. Use libc_hidden_weak.
12903 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12904 define 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/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12908 __getifaddrs and define as weak alias of __getifaddrs. Use
12909 libc_hidden_weak.
12910 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12911 __freeifaddrs. Use libc_hidden_weak.
12912 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12913 Remove variable.
12914 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12915 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12916
12917 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12918
12919 [BZ #17601]
12920 * sysdeps/mips/start.S (__start): Use indirect jump to call
12921 __libc_start_main.
12922
12923 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12924
12925 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12926
12927 * nptl/tst-mutex1.c: Include <stdbool.h>.
12928 [!ATTR] (ATTR_NULL): New macro.
12929 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12930 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12931 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12932
12933 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12934 to char *.
12935
12936 [BZ #17665]
12937 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12938 Change conditional to [__USE_MISC].
12939
12940 [BZ #17664]
12941 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12942 fgets_unlocked.
12943 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12944 __fgets_unlocked.
12945 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12946 fgets_unlocked.
12947 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12948 Remove variable.
12949 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12950 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12951 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12952 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12953 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12954 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12955 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12956 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12957 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12958
12959 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12960
12961 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12962
12963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12964 Remove strpbrk objects.
12965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12966 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12967 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12968 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12969 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12970 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12971
12972 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12973 Remove strcspn objects.
12974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12975 (__libc_ifunc_impl_list): Remove strcspn implementation.
12976 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12977 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12978 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12979 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12980
12981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12982 Remove strspn objetcs.
12983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12984 (__libc_ifunc_impl_list): Remove strspn implementation.
12985 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12986 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12987 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12988 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12989
12990 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12991
12992 [BZ #17581]
12993 * malloc/hooks.c
12994 (mem2mem_check): Add a terminator to the chain of checking blocks.
12995 (malloc_check_get_size): Use it here.
12996 (mem2chunk_check): Ditto.
12997
12998 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12999
13000 * sysdeps/powerpc/powerpc64/strtok.S: New file.
13001 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13002
13003 2014-11-29 Carlos O'Donell <carlos@redhat.com>
13004
13005 * bits/ioctl-types.h: Indent preprocessor directives correctly.
13006
13007 * nptl/nptl-init.c: Include libc-internal.h.
13008 (__pthread_initialize_minimal_internal): Use ROUND_UP.
13009
13010 * elf/ldconfig.c (search_dir): Expand comment.
13011
13012 2014-11-29 Joseph Myers <joseph@codesourcery.com>
13013
13014 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13015 variable.
13016 (linknamespace-symlist-stdlibs-tests): Likewise.
13017 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13018 instead of $(objpfx)symlist-stdlibs.
13019 (linknamespace-libs-isoc): New variable.
13020 (linknamespace-libs): Use $(linknamespace-libs-isoc).
13021 (linknamespace-libs-ISO): New variable.
13022 (linknamespace-libs-ISO99): Likewise.
13023 (linknamespace-libs-ISO11): Likewise.
13024 (linknamespace-libs-XPG3): Likewise.
13025 (linknamespace-libs-XPG4): Likewise.
13026 (linknamespace-libs-POSIX): Likewise.
13027 (linknamespace-libs-UNIX98): Likewise.
13028 (linknamespace-libs-XOPEN2K): Likewise.
13029 (linknamespace-libs-POSIX2008): Likewise.
13030 (linknamespace-libs-XOPEN2K8): Likewise.
13031 ($(objpfx)symlist-stdlibs): Replace by
13032 $(linknamespace-symlist-stdlibs-tests). Use
13033 $(linknamespace-libs-$*) as set of libraries.
13034 ($(linknamespace-header-tests)): Update dependencies. Use
13035 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13036 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13037 * conform/linknamespace.pl: Remove comment about considering
13038 definitions of symbols from irrelevant libraries.
13039
13040 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
13041
13042 [BZ #13862]
13043 * elf/dl-tls.c: Include <atomic.h>.
13044 (oom): Remove #ifdef SHARED/#endif.
13045 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13046 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
13047 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13048 big enough.
13049 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13050 * nptl/Makefile (tests): Add tst-stack4.
13051 (modules-names): Add tst-stack4mod.
13052 ($(objpfx)tst-stack4): New.
13053 (tst-stack4mod.sos): Likewise.
13054 ($(objpfx)tst-stack4.out): Likewise.
13055 ($(tst-stack4mod.sos)): Likewise.
13056 (clean): Likewise.
13057 * nptl/tst-stack4.c: New file.
13058 * nptl/tst-stack4mod.c: Likewise.
13059
13060 2014-11-27 J. Brown <jb999@gmx.de>
13061
13062 * sysdeps/x86/bits/string.h: Add recent CPUs.
13063
13064 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13065
13066 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13067 sigblock.
13068
13069 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13070 feof.
13071
13072 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13073 variable.
13074
13075 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13076
13077 * nscd/connections.c: Include libc-internal.h because of macro
13078 usage ignore_value.
13079
13080 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 * string/bits/string3.h (__warn_memset_zero_len): Don't
13083 declare for gcc newer than 5.0.
13084 (memset): Don't test for zero-length __LEN for gcc newer than
13085 5.0.
13086
13087 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13088
13089 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13090 size_t for %zu format.
13091
13092 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13093 difference, not %ju.
13094
13095 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13096
13097 * include/libc-internal.h (ignore_value): New macro.
13098 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13099 with ignore_value.
13100
13101 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13102 definition.
13103
13104 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13105 pthread_cleanup_push to void *.
13106
13107 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13108 Undefine.
13109
13110 [BZ #16619]
13111 [BZ #16740]
13112 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13113 instead of 1L << 52.
13114
13115 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13116 * libio/bug-rewind2.c (do_test): Likewise.
13117
13118 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13119 * debug/test-strcpy_chk-ifunc.c: Likewise.
13120 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13121 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13122 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13123 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13124 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13125 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13126 * Rules [$(multi-arch) = no] (tests): Do not filter out
13127 $(tests-ifunc).
13128 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13129 * debug/Makefile (tests-ifunc): Remove variable.
13130 (tests): Do not add $(tests-ifunc).
13131 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13132 (tests): Do not add $(tests-ifunc).
13133 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13134 [TEST_IFUNC]: Remove conditionals.
13135 * string/test-string.h (TEST_IFUNC): Remove macro.
13136 [TEST_IFUNC]: Remove conditionals.
13137
13138 * string/test-strchr.c [!WIDE] (L): New macro.
13139 [WIDE] (L): Likewise.
13140 (check1): Use CHAR instead of char. Use L on string and character
13141 constants.
13142
13143 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13144
13145 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13146 tests.
13147 * sysdeps/powerpc/bits/atomic.h
13148 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13149 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13150 (atomic_exchange_and_add_acq): Likewise.
13151 (atomic_exchange_and_add_rel): Likewise.
13152 * sysdeps/powerpc/powerpc32/bits/atomic.h
13153 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13154 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13155 * sysdeps/powerpc/powerpc64/bits/atomic.h
13156 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13157 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13158
13159 2014-11-26 Torvald Riegel <triegel@redhat.com>
13160
13161 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13162 Change synchronization of __sched_fifo_min_prio and
13163 __sched_fifo_max_prio.
13164 * nptl/pthread_mutexattr_getprioceiling.c
13165 (pthread_mutexattr_getprioceiling): Likewise.
13166 * nptl/pthread_mutexattr_setprioceiling.c
13167 (pthread_mutexattr_setprioceiling): Likewise.
13168 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13169 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13170 Likewise.
13171
13172 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13173
13174 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13175 void.
13176
13177 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13178
13179 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13180 third argument const.
13181
13182 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13183
13184 fnmatch: work around GCC compiler warning bug with uninit var
13185 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13186 This works around a bug with x86-64 GCC 4.9.2 and earlier
13187 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13188 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13189 used uninitialized in this function [-Wmaybe-uninitialized]".
13190
13191 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13192
13193 * posix/bug-regex31.c (main): Return RES not 0.
13194
13195 2014-11-25 Anton Blanchard <anton@samba.org>
13196
13197 * sysdeps/powerpc/bits/atomic.h
13198 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13199
13200 2014-11-24 Sterling Augustine <saugustine@google.com>
13201
13202 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13203
13204 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13205
13206 [BZ #17608]
13207 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13208
13209 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #17633]
13212 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13213 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13214 variable.
13215 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13216 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13217
13218 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13219
13220 * string/strncpy.c (strncpy): Improve performance by using memset.
13221
13222 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13223
13224 * string/strcpy.c (strcpy):
13225 Improve performance by using strlen and memcpy.
13226
13227 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13228
13229 * string/strcoll_l.c (get_next_seq): __always_inline.
13230 * string/strcoll_l.c (do_compare): __always_inline.
13231
13232 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13233
13234 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13235 defined.
13236 * include/mqueue.h: Likewise.
13237 * include/stdlib.h: Likewise.
13238
13239 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13240 (get_null_defines): Adjust.
13241 * sunrpc/Makefile: Adjust comment.
13242 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13243 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13244 (CFLAGS-interp.c): Likewise.
13245 (CFLAGS-ldconfig.c): Likewise.
13246 (CPPFLAGS-.os): Likewise.
13247 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13248 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13249 * extra-modules.mk (extra-modules.mk): Likewise.
13250 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13251 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13252 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13253 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13254 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13255 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13256 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13257 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13258 * iconvdata/Makefile (CPPFLAGS): Likewise.
13259 (cpp-srcs-left): Add libof for all iconvdata routines.
13260 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13261 * include/assert.h: Likewise.
13262 * include/ctype.h: Likewise.
13263 * include/errno.h: Likewise.
13264 * include/libc-symbols.h: Likewise.
13265 * include/math.h: Likewise.
13266 * include/netdb.h: Likewise.
13267 * include/resolv.h: Likewise.
13268 * include/stdio.h: Likewise.
13269 * include/stdlib.h: Likewise.
13270 * include/string.h: Likewise.
13271 * include/sys/stat.h: Likewise.
13272 * include/wctype.h: Likewise.
13273 * intl/l10nflist.c: Likewise.
13274 * libidn/idn-stub.c: Likewise.
13275 * libio/libioP.h: Likewise.
13276 * nptl/libc_multiple_threads.c: Likewise.
13277 * nptl/pthreadP.h: Likewise.
13278 * posix/regex_internal.h: Likewise.
13279 * resolv/res_hconf.c: Likewise.
13280 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13281 * sysdeps/arm/memmove.S: Likewise.
13282 * sysdeps/arm/sysdep.h: Likewise.
13283 * sysdeps/generic/_itoa.h: Likewise.
13284 * sysdeps/generic/symbol-hacks.h: Likewise.
13285 * sysdeps/gnu/errlist.awk: Likewise.
13286 * sysdeps/gnu/errlist.c: Likewise.
13287 * sysdeps/i386/i586/memcpy.S: Likewise.
13288 * sysdeps/i386/i586/memset.S: Likewise.
13289 * sysdeps/i386/i686/memcpy.S: Likewise.
13290 * sysdeps/i386/i686/memmove.S: Likewise.
13291 * sysdeps/i386/i686/mempcpy.S: Likewise.
13292 * sysdeps/i386/i686/memset.S: Likewise.
13293 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13294 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13295 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13296 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13297 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13298 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13299 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13301 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13303 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13310 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13314 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13340 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13345 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13348 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13351 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13354 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13355 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13356 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13357 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13358 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13359 * sysdeps/posix/closedir.c: Likewise.
13360 * sysdeps/posix/opendir.c: Likewise.
13361 * sysdeps/posix/readdir.c: Likewise.
13362 * sysdeps/posix/rewinddir.c: Likewise.
13363 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13364 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13365 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13366 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13367 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13379 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13399 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13400 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13401 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13402 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13403 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13404 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13405 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13407 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13408 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13409 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13410 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13411 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13412 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13414 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13415 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13417 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13418 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13420 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13422 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13424 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13425 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13426 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13427 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13428 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13429 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13431 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13433 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13434 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13435 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13436 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13437 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13438 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13439 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13441 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13443 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13444 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13445 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13446 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13447 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13449 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13450 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13451 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13452 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13453 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13454 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13455 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13459 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13461 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13462 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13463 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13464 * sysdeps/unix/alpha/sysdep.S: Likewise.
13465 * sysdeps/unix/alpha/sysdep.h: Likewise.
13466 * sysdeps/unix/make-syscalls.sh: Likewise.
13467 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13469 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13470 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13471 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13472 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13473 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13474 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13475 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13476 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13478 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13480 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13481 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13482 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13483 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13484 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13485 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13486 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13487 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13488 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13489 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13490 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13491 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13492 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13493 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13496 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13497 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13501 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13503 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13506 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13507 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13508 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13509 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13510 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13511 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13514 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13517 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13518 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13519 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13520 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13523 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13525 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13526 * sysdeps/x86_64/memcpy.S: Likewise.
13527 * sysdeps/x86_64/memmove.c: Likewise.
13528 * sysdeps/x86_64/memset.S: Likewise.
13529 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13530 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13531 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13532 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13533 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13536 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13537 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13538 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13539 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13540 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13541 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13544 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13546 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13548 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13549 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13550 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13553 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13554 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13555 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13556 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13557 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13558 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13559 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13560 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13561 * sysdeps/x86_64/strcmp.S: Likewise.
13562
13563 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13564
13565 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13566 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13567 * elf/rtld-Rules: Likewise.
13568 * elf/setup-vdso.h: Likewise.
13569 * include/assert.h: Likewise.
13570 * include/bits/stdlib-float.h: Likewise.
13571 * include/errno.h: Likewise.
13572 * include/sys/stat.h: Likewise.
13573 * include/unistd.h: Likewise.
13574 * sysdeps/aarch64/setjmp.S: Likewise.
13575 * sysdeps/alpha/setjmp.S: Likewise.
13576 * sysdeps/arm/__longjmp.S: Likewise.
13577 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13578 * sysdeps/arm/setjmp.S: Likewise.
13579 * sysdeps/arm/sysdep.h: Likewise.
13580 * sysdeps/generic/_itoa.h: Likewise.
13581 * sysdeps/generic/dl-sysdep.h: Likewise.
13582 * sysdeps/generic/ldsodefs.h: Likewise.
13583 * sysdeps/i386/dl-tls.h: Likewise.
13584 * sysdeps/i386/setjmp.S: Likewise.
13585 * sysdeps/m68k/setjmp.c: Likewise.
13586 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13587 * sysdeps/mach/hurd/opendir.c: Likewise.
13588 * sysdeps/posix/getcwd.c: Likewise.
13589 * sysdeps/posix/opendir.c: Likewise.
13590 * sysdeps/posix/profil.c: Likewise.
13591 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13597 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13598 * sysdeps/s390/dl-tls.h: Likewise.
13599 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13600 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13601 * sysdeps/sh/sh3/setjmp.S: Likewise.
13602 * sysdeps/sh/sh4/setjmp.S: Likewise.
13603 * sysdeps/unix/alpha/sysdep.h: Likewise.
13604 * sysdeps/unix/arm/sysdep.S: Likewise.
13605 * sysdeps/unix/i386/sysdep.S: Likewise.
13606 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13607 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13608 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13609 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13611 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13612 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13613 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13614 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13615 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13616 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13617 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13621 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13624 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13625 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13626 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13629 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13630 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13633 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13634 * sysdeps/x86_64/setjmp.S: Likewise.
13635
13636 * include/math.h: Use IS_IN instead of IS_IN_libm.
13637 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13649 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13657 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13658 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13659 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13660 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13661 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13664 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13665 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13666 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13667 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13668 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13669 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13671 Likewise.
13672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13673 Likewise.
13674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13675 Likewise.
13676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13677 Likewise.
13678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13679 Likewise.
13680 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13681 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13682 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13683 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13684 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13685 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13691 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13692 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13693 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13694 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13696 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13698 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13699 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13700 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13701 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13704 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13706 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13707
13708 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13709 * nptl/pthreadP.h: Likewise.
13710 * nptl_db/structs.def: Likewise.
13711 * sysdeps/arm/sysdep.h: Likewise.
13712 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13713 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13714 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13715 * sysdeps/unix/alpha/sysdep.h: Likewise.
13716 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13718 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13719 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13720 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13721 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13723 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13724 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13725 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13726 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13727 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13728 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13729 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13734 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13737 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13738 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13739 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13740 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13741 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13742
13743 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13744 * nptl/pthreadP.h: Likewise.
13745 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13746 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13747 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13748 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13749 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13750 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13751 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13752 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13753 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13754 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13755 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13756 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13758 Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13760 Likewise.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13763 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13766 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13767 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13769
13770 * dlfcn/dladdr.c: Use IS_IN.
13771 * dlfcn/dladdr1.c: Likewise.
13772 * dlfcn/dlclose.c: Likewise.
13773 * dlfcn/dlerror.c: Likewise.
13774 * dlfcn/dlinfo.c: Likewise.
13775 * dlfcn/dlmopen.c: Likewise.
13776 * dlfcn/dlopen.c: Likewise.
13777 * dlfcn/dlsym.c: Likewise.
13778 * dlfcn/dlvsym.c: Likewise.
13779
13780 * include/ifaddrs.h: Use IS_IN.
13781 * inet/check_pf.c: Likewise.
13782 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13783 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13784
13785 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13786 IS_IN_ldconfig.
13787 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13788 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13789
13790 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13791 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13792 IS_IN (libc).
13793
13794 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13795
13796 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13797 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13798 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13799 * include/libc-symbols.h (IS_IN_LIB): New macro.
13800 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13801 * include/netdb.h: Likewise.
13802 * include/stap-probe.h: Remove all uses of IN_LIB.
13803
13804 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13805 instead of IN_MODULE.
13806 * include/libc-symbols.h (IN_MODULE): Define using
13807 MODULE_NAME.
13808 (PASTE_NAME, PASTE_NAME1): New macros.
13809 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13810 of IN_LIB.
13811 (STAP_PROBE_ASM): Likewise.
13812
13813 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13814
13815 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13816 __mach_init in dlopened libc.
13817
13818 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13819
13820 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13821 * sysdeps/arm/preconfigure: Regenerate.
13822
13823 2014-11-21 Roland McGrath <roland@hack.frob.com>
13824
13825 * nptl/pthread_create.c (__pthread_create_2_1): Set
13826 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13827 when copying values from IATTR into PD.
13828
13829 2014-11-21 Will Newton <will.newton@linaro.org>
13830 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13831
13832 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13833 Refactor inline-asm. Also add comment.
13834
13835 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13836 ElfW macro instead of hardcoded Elf64 types.
13837 (la_aarch64_gnu_pltenter): Likewise.
13838 * sysdeps/aarch64/dl-machine.h
13839 (elf_machine_runtime_setup): Use ElfW(Addr).
13840
13841 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13842 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13843 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13844 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13845 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13846 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13847 (R_AARCH64_TLS_DTPMOD): This.
13848 (R_AARCH64_TLS_DTPREL64): Rename to ...
13849 (R_AARCH64_TLS_DTPREL): This.
13850 (R_AARCH64_TLS_TPREL64): Rename to ...
13851 (R_AARCH64_TLS_TPREL): This.
13852 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13853 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13854 R_AARCH64_TLS_TPREL64.
13855 (elf_machine_rela): Likewise.
13856
13857 2014-11-21 Torvald Riegel <triegel@redhat.com>
13858
13859 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13860 by setting it to 0. 64b atomics are not supported currently.
13861
13862 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13863
13864 [BZ #16469]
13865 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13866 search domain names.
13867
13868 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13869
13870 [BZ #16469]
13871 * NEWS: Update.
13872 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13873 trailing dot.
13874 * posix/tst-getaddrinfo5.c: New.
13875 * posix/Makefile (tests): Add it.
13876
13877 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13878
13879 [BZ #14498]
13880 * NEWS: Fixed.
13881 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13882 after parsing line but before break_if_match.
13883 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13884 if there is a protocol mismatch.
13885
13886 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13887
13888 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13889 because the potential race is on the user-supplied stream.
13890
13891 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13892
13893 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13894 string literal if not passed a buffer.
13895 * manual/job.texi (ctermid): Update reasoning, note deviation
13896 from posix, suggest mtasurace when not passed a buffer, for
13897 future non-preliminary safety notes.
13898
13899 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13900
13901 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13902 of not passing it a buffer.
13903 Reported by Peng Haitao.
13904
13905 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13906
13907 * manual/Makefile ($(objpfx)stamp-summary): Require
13908 check-safety.sh to pass.
13909 * manual/check-safety.sh: Wish for verification that every
13910 @deftypefn and @deftypefun is followed by a @safety remark.
13911
13912 2014-11-20 Roland McGrath <roland@hack.frob.com>
13913
13914 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13915
13916 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13917 PTHREAD_CANCEL_ASYNCHRONOUS.
13918 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13919 send SIGCANCEL.
13920
13921 * nptl/default-sched.h: New file.
13922 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13923 * nptl/pthread_create.c: Include it.
13924 (__pthread_create_2_1): Use collect_default_sched instead of making
13925 Linux syscalls here directly.
13926
13927 2014-11-20 Torvald Riegel <triegel@redhat.com>
13928
13929 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13930 __pthread_once): Use C11 atomics.
13931
13932 2014-11-20 Torvald Riegel <triegel@redhat.com>
13933
13934 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13935
13936 2014-11-20 Torvald Riegel <triegel@redhat.com>
13937
13938 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13939 atomic_thread_fence_acquire, atomic_thread_fence_release,
13940 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13941 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13942 atomic_compare_exchange_weak_relaxed,
13943 atomic_compare_exchange_weak_acquire,
13944 atomic_compare_exchange_weak_release,
13945 atomic_exchange_acquire, atomic_exchange_release,
13946 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13947 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13948 atomic_fetch_and_acquire,
13949 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13950
13951 2014-11-20 Torvald Riegel <triegel@redhat.com>
13952
13953 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13954 USE_ATOMIC_COMPILER_BUILTINS): Define.
13955 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13956 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13957 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13958 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13959 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13961 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13963 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13965 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13967 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13969 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13971 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13973 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13975 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13976 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13977 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13979 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13981 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13982 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13983 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13984 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13985 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13986 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13987 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13988 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13989 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13990 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13991 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13992 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13993 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13994 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13995
13996 2014-11-19 Roland McGrath <roland@hack.frob.com>
13997
13998 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13999 the sched_priority value here. It was already checked when the user
14000 called pthread_attr_setschedparam.
14001
14002 * nptl/tst-bad-schedattr.c: New file.
14003 * nptl/Makefile (tests): Add it.
14004
14005 2014-11-19 Carlos O'Donell <carlos@redhat.com>
14006 Florian Weimer <fweimer@redhat.com>
14007 Joseph Myers <joseph@codesourcery.com>
14008 Adam Conrad <adconrad@0c3.net>
14009 Andreas Schwab <schwab@suse.de>
14010 Brooks <bmoses@google.com>
14011
14012 [BZ #17625]
14013 * wordexp-test.c (__dso_handle): Add prototype.
14014 (__register_atfork): Likewise.
14015 (__app_register_atfork): New function.
14016 (registered_forks): New global.
14017 (register_fork): New function.
14018 (test_case): Add 3 new tests for WRDE_CMDSUB.
14019 (main): Call __app_register_atfork.
14020 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14021 fork count is non-zero fail the test.
14022 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14023 is set.
14024 (parse_dollars): Remove check for WRDE_NOCMD.
14025 (parse_dquote): Likewise.
14026
14027 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14028
14029 * Makeconfig (built-modules): List non-library modules to be
14030 built.
14031 (module-cppflags): Include libc-modules.h for
14032 everything except shlib-versions.v.i.
14033 (CPPFLAGS): Use it.
14034 (before-compile): Add libc-modules.h.
14035 ($(common-objpfx)libc-modules.h,
14036 $(common-objpfx)libc-modules.stmp): New targets.
14037 (common-generated): Add libc-modules.h and libc-modules.stmp.
14038 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14039 * include/libc-symbols.h: Don't include libc-modules.h.
14040 * include/libc-modules.h: Remove file.
14041 * scripts/gen-libc-modules.awk: New script to generate
14042 libc-modules.h.
14043 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14044 Depend on libc-modules.stmp.
14045
14046 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14047
14048 * Makeconfig (in-module): Get value of libof set for the
14049 translation unit.
14050 (CPPFLAGS): Use $(in-module).
14051 * Makerules: Don't suffix routine names for nonlib.
14052 * include/libc-modules.h: New file.
14053 * include/libc-symbols.h: Include libc-modules.h
14054 (IS_IN): New macro to replace IS_IN_* macros.
14055 * elf/Makefile: Set libof-* for each routine.
14056 * elf/rtld-Rules: Likewise.
14057 * extra-modules.mk: Likewise.
14058 * iconv/Makefile: Likewise.
14059 * iconvdata/Makefile: Likewise.
14060 * locale/Makefile: Likewise.
14061 * malloc/Makefile: Likewise.
14062 * nss/Makefile: Likewise.
14063 * sysdeps/gnu/Makefile: Likewise.
14064 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14065 * sysdeps/unix/sysv/linux/Makefile: Likewise.
14066 * sysdeps/s390/s390-64/Makefile: Likewise.
14067 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
14068 CPPFLAGS for nscd instead of nonlib.
14069
14070 2014-11-18 Roland McGrath <roland@hack.frob.com>
14071
14072 * nptl/createthread.c: New file.
14073
14074 * nptl/createthread.c: Moved ...
14075 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14076
14077 * nptl/createthread.c: Add proper top-line comment.
14078 (do_clone): Folded into ...
14079 (create_thread): ... here. Take new arguments STOPPED_START and
14080 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14081 increment __nptl_threads, do event-reporting logic, do
14082 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14083 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14084 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14085 just send SIGCANCEL.
14086 * nptl/pthread_create.c: Forward-declare create_thread before
14087 including createthread.c.
14088 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14089 declaration, and new macro START_THREAD_SELF to replace argument.
14090 Remove return statement.
14091 (report_thread_creation): New function.
14092 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14093 synchronization logic, and __nptl_nthreads increment here, around
14094 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14095 PD->parent_cancelhandling here, before create_thread. When
14096 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14097 __deallocate_stack, and ENOMEM translation here.
14098
14099 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14100
14101 [BZ #17616]
14102 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14103 (mptwo): Rename to __mptwo.
14104 (__inv): Use __mptwo instead of mptwo.
14105 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14106 (mptwo): Rename to __mptwo.
14107 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14108 of mpone and __mptwo instead of mptwo.
14109 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14110 instead of mpone.
14111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14112 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14113 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14114 of mpone and __mptwo instead of mptwo.
14115 (__mpranred): Use __mpone instead of mpone.
14116 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14117 variable.
14118 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14119 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14120 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14121 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14122 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14123 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14124 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14125 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14126 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14127 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14128 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14129 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14130 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14131 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14132 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14133 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14134 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14135 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14136 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14137
14138 2014-11-18 Tom de Vries <tom@codesoucery.com>
14139
14140 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14141 replace BSD Handler xref with BSD Signal Handling.
14142
14143 2014-11-17 Richard Henderson <rth@redhat.com>
14144
14145 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14146 (_FP_PACK_RAW_2): Remove.
14147 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14148 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14149 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14150 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14151 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14152 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14153 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14154 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14155 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14156 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14157 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14158 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14159 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14160 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14161 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14162 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14163
14164 2014-11-14 Roland McGrath <roland@hack.frob.com>
14165
14166 * signal/signal.h [__USE_MISC]
14167 (struct sigvec): Remove type.
14168 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14169 (sigvec): Remove declaration.
14170 * sysdeps/posix/sigvec.c: Moved ...
14171 * signal/sigvec.c: ... here, replacing old file.
14172 (struct sigvec): New type, copied from old signal.h definition.
14173 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14174 (__sigvec): Convert definition to prototype.
14175 (sigvec): Replace weak_alias with compat_symbol.
14176 * signal/Versions (libc: GLIBC_2.21): New version set.
14177 * include/signal.h: Remove __sigvec declaration.
14178 * sysdeps/unix/bsd/sigvec.c: Remove file.
14179 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14180 * manual/signal.texi (BSD Handler): Remove subsection.
14181 Move siginterrupt up to ...
14182 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14183 (Blocking in BSD): Fold subsection into its parent.
14184 * NEWS: Mention sigvec removal.
14185
14186 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14187
14188 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14189 (DLA_FMS): Make definition conditional only on [__FMA4__].
14190 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14191 definition.
14192
14193 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14194 Make definition conditional only on [PROF].
14195 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14196 definition.
14197 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14198 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14199
14200 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14201 !__GNUC__].
14202 * include/signal.h (__sigpause): Move declaration above call to
14203 libc_hidden_proto.
14204 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14205 variable.
14206 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14207 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14208
14209 2014-11-14 David S. Miller <davem@davemloft.net>
14210
14211 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14212 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14213
14214 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14215
14216 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14217 * configure: Regenerated.
14218 * manual/install.texi (Tools for Compilation): Document a
14219 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14220 compiler verified to work.
14221 * INSTALL: Regenerated.
14222
14223 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14224 redeclare with asm name.
14225 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14226 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14227 including <string.h>.
14228 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14230 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14231 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14232 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14234 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14235
14236 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14237
14238 * stdlib/strtol.c (__strtol): Use prototype definition.
14239
14240 [BZ #17594]
14241 * stdlib/strtol.c (SYM__): New macro.
14242 (SYM__1): Likewise.
14243 (__strtol): Likewise.
14244 (strtol): Rename to __strtol and define as weak alias of
14245 __strtol. Use libc_hidden_weak.
14246
14247 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14248
14249 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14250 Use numbered labels in inline assembly.
14251
14252 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14253
14254 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14255 Add setjmp LIBC_PROBE.
14256 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14257 Likewise.
14258 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14259 Add longjmp, longjmp_target LIBC_PROBE.
14260 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14261 Likewise.
14262
14263 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14264
14265 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14266 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14267 to get rid of unused variable warning.
14268
14269 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14270
14271 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14272 Check for unwind_backtrace == NULL only in SHARED case.
14273 (__backchain_backtrace): Compile only in SHARED case.
14274 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14275 Likewise.
14276 (__backchain_backtrace): Declare as static.
14277
14278 2014-11-12 Roland McGrath <roland@hack.frob.com>
14279
14280 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14281 (__libc_multiple_threads_ptr): Variable moved ...
14282 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14283
14284 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14285
14286 * conform/GlibcConform.pm: New file.
14287 * conform/conformtest.pl: Use GlibcConform module.
14288 * conform/linknamespace.pl: New file.
14289 * conform/list-header-symbols.pl: Likewise.
14290 * conform/Makefile (linknamespace-symlists-base): New variable.
14291 (linknamespace-symlists-tests): Likewise.
14292 (linknamespace-header-base): Likewise.
14293 (linknamespace-header-tests): Likewise.
14294 (tests-special): Add new tests.
14295 ($(linknamespace-symlists-tests)): New rule.
14296 (linknamespace-libs): New variable.
14297 ($(objpfx)symlist-stdlibs): New rule.
14298 ($(linknamespace-header-tests)): Likewise.
14299 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14300 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14301 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14302 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14303 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14304 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14305 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14306 (test-xfail-ISO/math.h/linknamespace): Likewise.
14307 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14308 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14309 (test-xfail-ISO/time.h/linknamespace): Likewise.
14310 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14311 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14312 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14313 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14314 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14315 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14316 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14317 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14318 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14319 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14320 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14321 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14322 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14323 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14324 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14325 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14326 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14327 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14328 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14329 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14330 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14331 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14332 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14333 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14334 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14335 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14336 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14337 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14338 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14339 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14340 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14341 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14342 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14343 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14344 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14345 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14346 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14347 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14348 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14349 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14350 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14351 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14352 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14353 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14354 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14355 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14356 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14357 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14358 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14359 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14360 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14361 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14362 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14363 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14364 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14365 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14366 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14367 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14368 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14369 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14370 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14371 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14372 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14373 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14374 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14375 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14376 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14377 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14378 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14379 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14380 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14381 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14382 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14383 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14384 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14385 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14386 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14387 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14388 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14389 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14390 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14391 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14392 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14393 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14394 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14395 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14396 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14397 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14398 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14399 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14400 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14401 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14402 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14403 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14404 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14405 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14406 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14407 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14408 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14409 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14410 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14411 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14412 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14413 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14414 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14415 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14416 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14417 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14418 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14419 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14420 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14421 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14422 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14423 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14424 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14425 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14426 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14427 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14428 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14429 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14430 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14431 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14432 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14433 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14434 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14435 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14436 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14437 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14438 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14439 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14440 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14441 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14442 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14443 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14444 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14445 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14446 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14447 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14448 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14449 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14450 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14451 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14452 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14453 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14454 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14455 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14456 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14457 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14458 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14459 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14460
14461 [BZ #17589]
14462 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14463 of fgets_unlocked.
14464
14465 [BZ #17585]
14466 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14467 (memmem): Rename to __memmem and define as weak alias of
14468 __memmem. Use libc_hidden_weak.
14469 (__memmem): Use libc_hidden_def.
14470 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14471 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14472 memmem.
14473
14474 [BZ #17582]
14475 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14476 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14477 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14478 and define as weak alias of __fgets_unlocked. Use
14479 libc_hidden_weak.
14480 (__fgets_unlocked): Use libc_hidden_def.
14481 * include/stdio.h (__fgets_unlocked): Declare. Use
14482 libc_hidden_proto.
14483 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14484 __fgets_unlocked instead of fgets_unlocked.
14485 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14486 (GET_NPROCS_CONF_PARSER): Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14488 (GET_NPROCS_CONF_PARSER): Likewise.
14489
14490 [BZ #17574]
14491 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14492 weak alias of __wmemset. Use libc_hidden_weak.
14493 (__wmemset): Use libc_hidden_def.
14494 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14495 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14496 of wmemset.
14497
14498 [BZ #17573]
14499 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14500 with asm name __mempcpy.
14501 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14502
14503 [BZ #17572]
14504 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14505 and define as weak alias of __rawmemchr.
14506 (__rawmemchr): Do not define as strong alias of rawmemchr.
14507
14508 [BZ #17571]
14509 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14510 alias of __qsort_r.
14511 (qsort): Call __qsort_r instead of qsort_r.
14512 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14513 (__qsort_r): Declare. Call libc_hidden_proto.
14514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14515 instead of qsort_r.
14516 * nscd/gai.c (__qsort_r): Define to qsort_r.
14517 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14518 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14519 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14520
14521 [BZ #17570]
14522 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14523 define as weak alias of __malloc_info.
14524
14525 [BZ #17584]
14526 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14527 as weak alias of __rewinddir. Don't use libc_hidden_def.
14528 (__rewinddir): Use libc_hidden_def.
14529 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14530 as weak alias of __rewinddir. Don't use libc_hidden_def.
14531 (__rewinddir): Use libc_hidden_def.
14532 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14533 weak alias of __rewinddir. Don't use libc_hidden_def.
14534 (__rewinddir): Use libc_hidden_def.
14535 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14536 (__rewinddir): Use libc_hidden_proto.
14537 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14538 rewinddir.
14539 (__getcwd): Use __rewinddir instead of rewinddir.
14540
14541 [BZ #17583]
14542 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14543 alias of __fileno. Use libc_hidden_weak.
14544 (__fileno): Use libc_hidden_def.
14545 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14546 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14547 alias of __ftello.
14548 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14549 __ftello.
14550 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14551 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14552 libc_hidden_def.
14553 (fread_unlocked): Don't use libc_hidden_ver.
14554 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14555 and define as weak alias of __fread_unlocked. Don't use
14556 libc_hidden_def.
14557 (__fread_unlocked): Use libc_hidden_def.
14558 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14559 (ftello): Don't use libc_hidden_proto.
14560 (__ftello): Declare. Use libc_hidden_proto.
14561 (fread_unlocked): Don't use libc_hidden_proto.
14562 (__fread_unlocked): Declare. Use libc_hidden_proto.
14563 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14564 and __ftello instead of fileno, fread_unlocked and ftello.
14565
14566 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14567
14568 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14569 GOT12.
14570 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14571 Likewise.
14572 (_dl_start_user): Likewise.
14573 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14574
14575 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14576 Siddhesh Poyarekar <siddhesh@redhat.com>
14577
14578 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14579 Move argv and envp down instead of moving argc up.
14580 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14581
14582 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14583
14584 [BZ #17506]
14585 * test-skeleton.c (main): Return successful if one of
14586 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14587 * string/tst-strcoll-overflow.c: Define expected status.
14588
14589 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14590
14591 [BZ #17475]
14592 * locale/iso-639.def: Define Bhili and Tulu language codes.
14593
14594 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14595
14596 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14597
14598 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14599
14600 [BZ #17555]
14601 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14602
14603 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14604
14605 * configure.ac: Updated check of minimal required version to
14606 2.22.
14607 * manual/install.texi (Tools for Compilation): Updated version
14608 number.
14609 * configure: Regenerated.
14610 * INSTALL: Likewise.
14611
14612 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14615 __tls_get_addr.
14616
14617 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14618
14619 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14620 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14621 (__waitpid): Don't define as alias. Use libc_hidden_def not
14622 libc_hidden_weak.
14623 (waitpid): Define as alias of __waitpid.
14624 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14625 __waitpid.
14626 (__waitpid): Don't define as alias. Use libc_hidden_def not
14627 libc_hidden_weak.
14628 (waitpid): Define as alias of __waitpid.
14629 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14630 __libc_waitpid alias.
14631 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14632 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14633 Likewise.
14634 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14635 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14636 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14637 alias.
14638 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14639 __waitpid.
14640 (__waitpid): Don't define as alias. Use libc_hidden_def not
14641 libc_hidden_weak.
14642 (waitpid): Define as alias of __waitpid.
14643
14644 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14645
14646 * manual/llio.texi: Add comment that write safety has been
14647 fixed in Linux.
14648
14649 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14650 (localplt-build-dso): Add elf/ld.so.
14651 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14652 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14653 and free for ld.so.
14654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14655 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14657 Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14659 Likewise.
14660 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14661 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14662 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14663 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14664 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14665 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14666 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14667 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14668 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14670 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14671
14672 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14673
14674 [BZ #14132]
14675 * include/libc-symbols.h (INTUSE): Remove macro.
14676 (INTDEF): Likewise.
14677 (INTVARDEF): Likewise.
14678 (_INTVARDEF): Likewise.
14679 (INTDEF2): Likewise.
14680 (INTVARDEF2): Likewise.
14681 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14682 rtld_hidden_def instead of INTVARDEF.
14683 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14684 (_dl_starting_up_internal): Remove declaration.
14685 (_dl_starting_up): Use rtld_hidden_proto.
14686 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14687 declaration.
14688 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14689 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14690 _dl_starting_up.
14691 * elf/dl-writev.h (_dl_writev): Likewise.
14692 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14693 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14694 _dl_starting_up_internal.
14695
14696 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14697
14698 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14699 test-skeleton.c.
14700
14701 2014-11-05 Will Newton <will.newton@linaro.org>
14702
14703 * benchtests/Makefile: (bench-malloc): Add malloc thread
14704 scalability benchmark.
14705 * benchtests/bench-malloc-threads.c: New file.
14706
14707 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14708
14709 * sysdeps/aarch64/strchrnul.S: New file.
14710
14711 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14712
14713 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14714 definition.
14715 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14716 Likwise.
14717 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14718 Likewise.
14719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14720 Likewise.
14721 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14722 Likewise.
14723 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14724 Likewise.
14725
14726 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14727
14728 * catgets/test-gencat.c: Use test-skeleton.c.
14729 * catgets/tst-catgets.c: Likewise.
14730 * csu/tst-empty.c: Likewise.
14731 * elf/tst-audit2.c: Likewise.
14732 * elf/tst-global1.c: Likewise.
14733 * elf/tst-pathopt.c: Likewise.
14734 * elf/tst-piemod1.c: Likewise.
14735 * elf/tst-tls10.c: Likewise.
14736 * elf/tst-tls11.c: Likewise.
14737 * elf/tst-tls12.c: Likewise.
14738 * gnulib/tst-gcc.c: Likewise.
14739 * iconvdata/tst-e2big.c: Likewise.
14740 * iconvdata/tst-loading.c: Likewise.
14741 * iconv/tst-iconv1.c: Likewise.
14742 * iconv/tst-iconv2.c: Likewise.
14743 * inet/test-inet6_opt.c: Likewise.
14744 * inet/tst-gethnm.c: Likewise.
14745 * inet/tst-network.c: Likewise.
14746 * inet/tst-ntoa.c: Likewise.
14747 * intl/tst-codeset.c: Likewise.
14748 * intl/tst-gettext2.c: Likewise.
14749 * intl/tst-gettext3.c: Likewise.
14750 * intl/tst-ngettext.c: Likewise.
14751 * intl/tst-translit.c: Likewise.
14752 * io/test-stat.c: Likewise.
14753 * libio/test-fmemopen.c: Likewise.
14754 * libio/tst-freopen.c: Likewise.
14755 * libio/tst-sscanf.c: Likewise.
14756 * libio/tst-ungetwc1.c: Likewise.
14757 * libio/tst-ungetwc2.c: Likewise.
14758 * libio/tst-widetext.c: Likewise.
14759 * localedata/tst-ctype.c: Likewise.
14760 * localedata/tst-digits.c: Likewise.
14761 * localedata/tst-leaks.c: Likewise.
14762 * localedata/tst-mbswcs1.c: Likewise.
14763 * localedata/tst-mbswcs2.c: Likewise.
14764 * localedata/tst-mbswcs3.c: Likewise.
14765 * localedata/tst-mbswcs4.c: Likewise.
14766 * localedata/tst-mbswcs5.c: Likewise.
14767 * localedata/tst-setlocale.c: Likewise.
14768 * localedata/tst-trans.c: Likewise.
14769 * localedata/tst-wctype.c: Likewise.
14770 * localedata/tst-xlocale1.c: Likewise.
14771 * login/tst-grantpt.c: Likewise.
14772 * malloc/tst-calloc.c: Likewise.
14773 * malloc/tst-malloc.c: Likewise.
14774 * malloc/tst-mallocstate.c: Likewise.
14775 * malloc/tst-mcheck.c: Likewise.
14776 * malloc/tst-mtrace.c: Likewise.
14777 * malloc/tst-obstack.c: Likewise.
14778 * math/atest-exp2.c: Likewise.
14779 * math/atest-exp.c: Likewise.
14780 * math/atest-sincos.c: Likewise.
14781 * math/test-matherr.c: Likewise.
14782 * math/test-misc.c: Likewise.
14783 * math/test-powl.c: Likewise.
14784 * math/tst-definitions.c: Likewise.
14785 * misc/tst-dirname.c: Likewise.
14786 * misc/tst-efgcvt.c: Likewise.
14787 * misc/tst-fdset.c: Likewise.
14788 * misc/tst-hsearch.c: Likewise.
14789 * misc/tst-mntent2.c: Likewise.
14790 * nptl/tst-sem7.c: Likewise.
14791 * nptl/tst-sem8.c: Likewise.
14792 * nptl/tst-sem9.c: Likewise.
14793 * nss/test-netdb.c: Likewise.
14794 * posix/tst-fnmatch.c: Likewise.
14795 * posix/tst-getlogin.c: Likewise.
14796 * posix/tst-gnuglob.c: Likewise.
14797 * posix/tst-mmap.c: Likewise.
14798 * pwd/tst-getpw.c: Likewise.
14799 * resolv/tst-inet_ntop.c: Likewise.
14800 * rt/tst-timer.c: Likewise.
14801 * stdio-common/test-fseek.c: Likewise.
14802 * stdio-common/test-popen.c: Likewise.
14803 * stdio-common/test-vfprintf.c: Likewise.
14804 * stdio-common/tst-cookie.c: Likewise.
14805 * stdio-common/tst-fileno.c: Likewise.
14806 * stdio-common/tst-gets.c: Likewise.
14807 * stdio-common/tst-obprintf.c: Likewise.
14808 * stdio-common/tst-perror.c: Likewise.
14809 * stdio-common/tst-sprintf2.c: Likewise.
14810 * stdio-common/tst-sprintf3.c: Likewise.
14811 * stdio-common/tst-sprintf.c: Likewise.
14812 * stdio-common/tst-swprintf.c: Likewise.
14813 * stdio-common/tst-tmpnam.c: Likewise.
14814 * stdio-common/tst-unbputc.c: Likewise.
14815 * stdio-common/tst-wc-printf.c: Likewise.
14816 * stdlib/tst-environ.c: Likewise.
14817 * stdlib/tst-fmtmsg.c: Likewise.
14818 * stdlib/tst-limits.c: Likewise.
14819 * stdlib/tst-rand48-2.c: Likewise.
14820 * stdlib/tst-rand48.c: Likewise.
14821 * stdlib/tst-random2.c: Likewise.
14822 * stdlib/tst-random.c: Likewise.
14823 * stdlib/tst-strtol.c: Likewise.
14824 * stdlib/tst-strtoll.c: Likewise.
14825 * stdlib/tst-tls-atexit.c: Likewise.
14826 * stdlib/tst-xpg-basename.c: Likewise.
14827 * string/test-ffs.c: Likewise.
14828 * string/tst-bswap.c: Likewise.
14829 * string/tst-inlcall.c: Likewise.
14830 * string/tst-strtok.c: Likewise.
14831 * string/tst-strxfrm.c: Likewise.
14832 * sysdeps/x86_64/tst-audit10.c: Likewise.
14833 * sysdeps/x86_64/tst-audit3.c: Likewise.
14834 * sysdeps/x86_64/tst-audit4.c: Likewise.
14835 * sysdeps/x86_64/tst-audit5.c: Likewise.
14836 * time/tst-ftime_l.c: Likewise.
14837 * time/tst-getdate.c: Likewise.
14838 * time/tst-mktime3.c: Likewise.
14839 * time/tst-mktime.c: Likewise.
14840 * time/tst-posixtz.c: Likewise.
14841 * time/tst-strptime2.c: Likewise.
14842 * time/tst-strptime3.c: Likewise.
14843 * wcsmbs/tst-btowc.c: Likewise.
14844 * wcsmbs/tst-mbrtowc.c: Likewise.
14845 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14846 * wcsmbs/tst-wchar-h.c: Likewise.
14847 * wcsmbs/tst-wcpncpy.c: Likewise.
14848 * wcsmbs/tst-wcrtomb.c: Likewise.
14849 * wcsmbs/tst-wcsnlen.c: Likewise.
14850 * wcsmbs/tst-wcstof.c: Likewise.
14851
14852 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #14132]
14855 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14856 INTDEF.
14857 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14858 declaration.
14859 (_dl_mcount): Use rtld_hidden_proto.
14860 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14861 _dl_mcount.
14862 * elf/rtld.c (_rtld_global_ro): Likewise.
14863
14864 [BZ #14132]
14865 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14866 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14867 of _dl_init_internal.
14868 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14869 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14870 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14871 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14872 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14873 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14874 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14875 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14876 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14877 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14878 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14879 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14880 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14881 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14882 * sysdeps/tile/dl-start.S (_start): Likewise.
14883 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14884 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14885
14886 [BZ #14132]
14887 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14888 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14889 (rtld_progname): Make macro definition unconditional.
14890 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14891 INTDEF.
14892 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14893 (dl_main): Likewise.
14894 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14895 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14896 instead of _dl_argv_internal.
14897 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14898 __GI__dl_argv instead of INTUSE(_dl_argv).
14899 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14900 __GI__dl_argv instead of _dl_argv_internal.
14901
14902 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14903 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14904 macro.
14905 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14906 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14907 New macro.
14908 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14909 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14910 macro.
14911 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14912 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14913
14914 2014-11-04 Andreas Schwab <schwab@suse.de>
14915
14916 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14917
14918 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14919
14920 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14921 mtvsrd instruction in binary form.
14922
14923 2014-11-03 Andreas Schwab <schwab@suse.de>
14924
14925 [BZ #17522]
14926 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14927 for less than MB_LEN_MAX use a local buffer of that size.
14928 * libio/tst-fputws.c: New file.
14929 * libio/Makefile (tests): Add tst-fputws.
14930
14931 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14932
14933 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14934 the size of the fpu_fr.fpu_dregs[] array.
14935
14936 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14937
14938 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14939 (__nanosleep): Do not define as alias.
14940 (nanosleep): Define as alias of __nanosleep.
14941 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14942 __libc_nanosleep name.
14943
14944 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14945
14946 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14947 install.texi in comment.
14948
14949 2014-10-31 Torvald Riegel <triegel@redhat.com>
14950
14951 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14952 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14953 ... add here and use lwsync or sync ...
14954 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14955 ... and add here using lwsync.
14956
14957 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14958
14959 * elf/dl-machine-reject-phdr.h: New file.
14960 * elf/dl-load.c: #include that.
14961 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14962 if that returned true.
14963
14964 2014-10-31 Roland McGrath <roland@hack.frob.com>
14965
14966 [BZ #17496]
14967 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14968 gen-as-const-headers chunk. Add a big scare comment after the last
14969 safe place to touch before-compile.
14970
14971 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14972
14973 * manual/install.texi (Tools for Compilation): Update autoconf
14974 version requirements.
14975 * INSTALL: Regenerated.
14976
14977 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14978 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14979 (__libc_pselect): Likewise.
14980
14981 [BZ #14138]
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14986
14987 2014-10-31 Torvald Riegel <triegel@redhat.com>
14988
14989 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14990 correct barrier instruction.
14991 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14992 Likewise.
14993 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14994 Likewise.
14995
14996 2014-10-30 Roland McGrath <roland@hack.frob.com>
14997
14998 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14999 after defining inlines. Instead, just use parens to defeat macro
15000 expansion of __isctype in its declaration.
15001
15002 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15003
15004 * include/sys/uio.h (__libc_readv): Remove declaration.
15005 (__libc_writev): Likewise.
15006 * misc/readv.c (__libc_readv): Rename to __readv.
15007 (__readv): Do not define as alias.
15008 (readv): Define as alias of __readv.
15009 * misc/writev.c (__libc_writev): Rename to __writev.
15010 (__writev): Do not define as alias.
15011 (writev): Define as alias of __writev.
15012 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15013 (__readv): Do not define as alias.
15014 (readv): Define unconditionally as alias of __readv.
15015 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15016 (__writev): Do not define as alias.
15017 (writev): Define unconditionally as alias of __writev.
15018 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15019 name.
15020 (writev): Do not define __libc_writev name.
15021
15022 2014-10-30 Roland McGrath <roland@hack.frob.com>
15023
15024 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15025 (convert_charseq): New function, broken out of ...
15026 (use_from_charmap): ... here. Call it.
15027 (use_to_charmap): Use convert_charseq and free instead of duplicating
15028 its code with a variable-length stack struct.
15029
15030 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15031
15032 * include/fcntl.h (__libc_creat): Remove declaration.
15033 * io/creat.c (__libc_creat): Rename to creat.
15034 (creat): Do not define as alias.
15035 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15036 of creat instead of __libc_creat.
15037 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15038 to creat.
15039 (creat): Do not define as alias.
15040 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15041 __libc_creat.
15042 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15043 __libc_creat name.
15044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15045 Likewise.
15046
15047 2014-10-29 Carlos O'Donell <carlos@redhat.com>
15048
15049 * manual/llio.texi: Add comments discussing why write() may be
15050 considered MT-unsafe on Linux.
15051
15052 2014-10-28 Carlos O'Donell <carlos@redhat.com>
15053
15054 * dl-load.c (local_strdup): Remove.
15055 (expand_dynamic_string_token): Use __strdup.
15056 (decompose_rpath): Likewise.
15057 (_dl_map_object): Likewise.
15058
15059 2014-10-28 Joseph Myers <joseph@codesourcery.com>
15060
15061 [BZ #14132]
15062 * sysdeps/generic/unwind-dw2-fde.c
15063 (__register_frame_info_bases_internal): Do not declare.
15064 (__register_frame_info_table_bases_internal): Likewise.
15065 (__deregister_frame_info_bases_internal): Likewise.
15066 (__register_frame_info_bases): Declare and use hidden_proto before
15067 definition. Use hidden_def instead of INTDEF.
15068 (__register_frame_info_table_bases): Likewise.
15069 (__deregister_frame_info_bases): Likewise.
15070 (__register_frame_info): Do not use INTUSE.
15071 (__register_frame): Likewise.
15072 (__register_frame_info_table): Likewise.
15073 (__register_frame_table): Likewise.
15074 (__deregister_frame_info): Likewise.
15075 (__deregister_frame): Likewise.
15076
15077 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15078
15079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15080 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15081 not undefine.
15082 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15083 Likewise.
15084 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15085 Likewise.
15086
15087 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15088
15089 [BZ #14138]
15090 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15091 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15092 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15093 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15094 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15095 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15098 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15099 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15100 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15102 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15103 syscall.
15104 (setfsuid): Likewise.
15105 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15106 (setfsuid): Likewise.
15107 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15108 (setfsuid): Likewise.
15109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15110 Likewise.
15111 (setfsuid): Likewise.
15112 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15113 (setfsuid): Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15115 Likewise.
15116 (setfsuid): Likewise.
15117
15118 2014-10-27 Andreas Schwab <schwab@suse.de>
15119
15120 [BZ #17501]
15121 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15122 check for Slow_SSE4_2 feature bit.
15123 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15124 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15125 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15126 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15127
15128 2014-10-24 Roland McGrath <roland@hack.frob.com>
15129
15130 * configure.ac: Validate compiler version with a empirical test of
15131 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15132 $CC -v output.
15133 * configure: Regenerated.
15134
15135 * inet/htons.c (htons): Prototypify.
15136 * inet/htonl.c (htonl): Likewise.
15137
15138 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15139
15140 * string/strncat.c (strncat): Improve performance by using strlen.
15141
15142 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15143
15144 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15145
15146 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15147
15148 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15149 Call libc_fetestexcept_aarch64.
15150
15151 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15152
15153 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15154 Call libc_feholdexcept_aarch64.
15155
15156 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15157
15158 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15159 Call get_rounding_mode.
15160
15161 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15162
15163 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15164 Simplify logic.
15165
15166 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15167
15168 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15169 Simplify logic.
15170
15171 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #14138]
15174 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15175 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15176 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15177 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15178 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15179 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15180 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15181 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15182 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15184 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15189 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15190 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15191 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15192 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15193 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15194 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15195 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15196 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15197 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15199 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15202 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15203 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15204 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15205 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15206 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15207 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15208 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15209 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15210 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15211 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15212 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15214 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15215 syscall.
15216 (geteuid): Likewise.
15217 (getgid): Likewise.
15218 (getuid): Likewise.
15219 (getresgid): Likewise.
15220 (getresuid): Likewise.
15221 (getgroups): Likewise.
15222 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15223 (geteuid): Likewise.
15224 (getgid): Likewise.
15225 (getuid): Likewise.
15226 (getresgid): Likewise.
15227 (getresuid): Likewise.
15228 (getgroups): Likewise.
15229 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15230 (geteuid): Likewise.
15231 (getgid): Likewise.
15232 (getuid): Likewise.
15233 (getresgid): Likewise.
15234 (getresuid): Likewise.
15235 (getgroups): Likewise.
15236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15237 Likewise.
15238 (geteuid): Likewise.
15239 (getgid): Likewise.
15240 (getuid): Likewise.
15241 (getresgid): Likewise.
15242 (getresuid): Likewise.
15243 (getgroups): Likewise.
15244 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15245 (geteuid): Likewise.
15246 (getgid): Likewise.
15247 (getuid): Likewise.
15248 (getresgid): Likewise.
15249 (getresuid): Likewise.
15250 (getgroups): Likewise.
15251 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15252 Likewise.
15253 (geteuid): Likewise.
15254 (getgid): Likewise.
15255 (getuid): Likewise.
15256 (getgroups): Likewise.
15257
15258 [BZ #14138]
15259 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15260 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15261 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15262 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15263 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15264 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15265 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15266 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15267 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15268 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15269 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15271 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15272 __chown.
15273 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15274 (lchown): Likewise.
15275 (fchown): Likewise.
15276 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15277 Likewise.
15278 (lchown): Likewise.
15279 (fchown): Likewise.
15280 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15281 (lchown): Likewise.
15282 (fchown): Likewise.
15283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15284 Likewise.
15285 (lchown): Likewise.
15286 (fchown): Likewise.
15287
15288 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15289
15290 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15291 Simplify logic.
15292
15293 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15294
15295 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15296 Cleanup logic.
15297
15298 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15299
15300 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15301 Remove unused include.
15302
15303 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15304
15305 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15306 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15307 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15308 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15309
15310 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15311 Helge Deller <deller@gmx.de>
15312
15313 [BZ #17508]
15314 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15315 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15316 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15317
15318 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15319
15320 [BZ #14132]
15321 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15322 Remove macro definition.
15323 (__ashrdi3_v_glibc20): Likewise.
15324 (__lshrdi3_v_glibc20): Likewise.
15325 (__cmpdi2_v_glibc20): Likewise.
15326 (__ucmpdi2_v_glibc20): Likewise.
15327 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15328 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15329 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15330 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15331 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15332 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15333
15334 2014-10-22 Roland McGrath <roland@hack.frob.com>
15335
15336 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15337 old GNU extension [0] syntax.
15338 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15339 alloca rather than an array member with variable length.
15340 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15341 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15342 (parse_opt): ... here. Likewise use alloca there.
15343 Validate the -i argument before checking for rootness.
15344 (send_shutdown): New function, broken out of ...
15345 (parse_opt): ... here.
15346
15347 2014-10-22 Roland McGrath <roland@hack.frob.com>
15348
15349 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15350 macro to get at the _rt_local_ro field.
15351 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15352 ([PIC] case) or _dl_hwcap ([!PIC] case).
15353 * sysdeps/arm/setjmp.S: Likewise.
15354
15355 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15356 * sysdeps/arm/configure.ac: New check to define it.
15357 * sysdeps/arm/configure: Regenerated.
15358 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15359 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15360 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15361 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15362 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15363 Use move/movt pair instead of a load.
15364 (LDST_GLOBAL): Macro removed.
15365 (LDR_GLOBAL): New macro replaces it.
15366 (LDR_HIDDEN): New macro.
15367 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15368 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15369
15370 * setjmp/tst-setjmp-static.c: New file.
15371 * setjmp/Makefile (tests): Add it.
15372 (tests-static): New variable.
15373
15374 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15375
15376 [BZ #17485]
15377 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15378
15379 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15380
15381 [BZ #14132]
15382 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15383
15384 2014-10-21 Roland McGrath <roland@hack.frob.com>
15385
15386 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15387
15388 2014-10-20 Roland McGrath <roland@hack.frob.com>
15389
15390 * io/fts.c (dirent_not_directory): New function.
15391 (fts_build): Call it.
15392
15393 2014-10-20 Roland McGrath <roland@hack.frob.com>
15394
15395 * nptl/version.c (__nptl_main): Use normal __write rather than
15396 INTERNAL_SYSCALL.
15397 (banner): Update copyright years.
15398
15399 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15400 gettimeofday.
15401 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15402 * nptl/pthread_cond_timedwait.c: Likewise.
15403 * nptl/pthread_mutex_timedlock.c: Likewise.
15404 * nptl/sem_timedwait.c: Likewise.
15405
15406 * sysdeps/nptl/bits/libc-lock.h
15407 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15408 (__libc_lock_init_recursive): Return void, not 0.
15409 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15410 (__libc_rwlock_init): Likewise.
15411 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15412
15413 2014-10-20 Torvald Riegel <triegel@redhat.com>
15414
15415 [BZ #15215]
15416 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15417 (__pthread_once_slow): ... here.
15418 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15419 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15420
15421 2014-10-20 Torvald Riegel <triegel@redhat.com>
15422
15423 [BZ #15215]
15424 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15425 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15426 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15427 * nptl/pthread_once.c (__pthread_once): Likewise.
15428 Update comments.
15429
15430 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15431
15432 [BZ #14138]
15433 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15434 name.
15435 (writev): Use __libc_writev as strong name.
15436 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15437 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15438
15439 2014-10-17 Roland McGrath <roland@hack.frob.com>
15440
15441 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15442
15443 * sysdeps/i386/nptl/tls.h
15444 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15445 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15446 New macros.
15447 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15448 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15449 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15450 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15451 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15452 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15453
15454 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15455 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15456 on [__NR_futex].
15457 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15458 broken out of ...
15459 (__pthread_mutex_init): ... here. Call it.
15460 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15461 Conditionalize PI cases on [__NR_futex].
15462 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15463 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15464 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15465
15466 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15467 conditional on [SIGSETXID].
15468 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15469 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15470 is defined. Likewise for SIGSETXID.
15471 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15472 Conditionalize definitions on [SIGSETXID].
15473 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15474 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15475 unblocking on [SIGCANCEL].
15476
15477 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15478 [__NR_set_robust_list].
15479
15480 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15481
15482 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15483 (do_compare): Likewise.
15484
15485 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15486
15487 [BZ #15884]
15488 * string/strcoll_l.c: Don't include stdio.h.
15489 (coll_seq): Remove members idxarr and rulearr.
15490 (get_next_seq_cached): Remove function.
15491 (get_next_seq): Likewise.
15492 (get_next_seq_nocache): Rename to get_next_seq.
15493 (do_compare): Remove function.
15494 (do_compare_nocache): Rename to do_compare.
15495 (STRCOLL): Remove weight and rules cache.
15496
15497 2014-10-16 Roland McGrath <roland@hack.frob.com>
15498
15499 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15500 * sysdeps/arm/sfp-machine.h: ... to here.
15501 * sysdeps/arm/Implies: Remove arm/soft-fp.
15502
15503 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15504
15505 * conform/data/sys/utsname.h-data (*_t): Allow.
15506 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15507 [POSIX] (WEXITED): Do not expect constant.
15508 [POSIX] (WSTOPPED): Likewise.
15509 [POSIX] (WNOHANG): Likewise.
15510 [POSIX] (WNOWAIT): Likewise.
15511 [POSIX] (siginfo_t): Do not expect type or elements.
15512 [POSIX] (pid_t): Do not expect type.
15513 [POSIX] (signal.h): Do not allow header.
15514 [POSIX] (sys/resource.h): Likewise.
15515 [POSIX] (si_*): Do not allow pattern.
15516 [POSIX] (W*): Likewise.
15517 [POSIX] (P_*): Likewise.
15518 [POSIX] (BUS_*): Likewise.
15519 [POSIX] (CLD_*): Likewise.
15520 [POSIX] (FPE_*): Likewise.
15521 [POSIX] (ILL_*): Likewise.
15522 [POSIX] (POLL_*): Likewise.
15523 [POSIX] (SEGV_*): Likewise.
15524 [POSIX] (SI_*): Likewise.
15525 [POSIX] (TRAP_*): Likewise.
15526 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15527 variable.
15528
15529 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15530
15531 [BZ #12926]
15532 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15533 infinite loop when __recvmsg returns 0.
15534
15535 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15536
15537 * CANCEL-FCT-WAIVE: Remove file.
15538 * CANCEL-FILE-WAIVE: Likewise.
15539
15540 [BZ #14132]
15541 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15542 instead of INTVARDEF.
15543 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15544 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15545 rtld_hidden_data_def instead of INTVARDEF.
15546 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15547 * elf/dl-deps.c (expand_dst): Likewise.
15548 * elf/dl-load.c (_dl_dst_count): Likewise.
15549 (_dl_dst_substitute): Likewise.
15550 (decompose_rpath): Likewise.
15551 (_dl_init_paths): Likewise.
15552 (open_path): Likewise.
15553 (_dl_map_object): Likewise.
15554 * elf/rtld.c (dl_main): Likewise.
15555 (process_dl_audit): Likewise.
15556 (process_envvars): Likewise.
15557 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15558 Remove declaration.
15559 (__libc_enable_secure): Use rtld_hidden_proto.
15560
15561 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15562
15563 * elf/dl-load.c
15564 (add_path): New function broken out of _dl_rtld_di_serinfo.
15565 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15566
15567 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15568
15569 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15570 parentheses around macro arguments.
15571 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15577 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15582 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15583 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15584 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15585 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15586 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15587 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15588 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15589 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15590 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15591 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15597 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15598 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15600 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15601 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15602 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15603 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15604 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15605 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15606 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15607 Likewise.
15608 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15610 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15611 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15612 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15614 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15615 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15616 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15617 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15618 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15619 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15620 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15624 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15627 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15629 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15630 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15631 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15632 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15633 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15634 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15635 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15636 (_FP_FRAC_SRS_1): Likewise.
15637 (_FP_FRAC_CLZ_1): Likewise.
15638 (_FP_MUL_MEAT_1_imm): Likewise.
15639 (_FP_MUL_MEAT_1_wide): Likewise.
15640 (_FP_MUL_MEAT_1_hard): Likewise.
15641 (_FP_SQRT_MEAT_1): Likewise.
15642 (_FP_FRAC_ASSEMBLE_1): Likewise.
15643 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15644 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15645 (__FP_CLZ_2): Likewise.
15646 (_FP_MUL_MEAT_2_wide): Likewise.
15647 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15648 (_FP_MUL_MEAT_2_gmp): Likewise.
15649 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15650 (_FP_SQRT_MEAT_2): Likewise.
15651 (_FP_FRAC_ASSEMBLE_2): Likewise.
15652 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15653 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15654 (_FP_FRAC_CLZ_4): Likewise.
15655 (_FP_MUL_MEAT_4_wide): Likewise.
15656 (_FP_MUL_MEAT_4_gmp): Likewise.
15657 (_FP_SQRT_MEAT_4): Likewise.
15658 (_FP_FRAC_ASSEMBLE_4): Likewise.
15659 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15660 * soft-fp/op-common.h (_FP_CMP): Likewise.
15661 (_FP_CMP_EQ): Likewise.
15662 (_FP_CMP_UNORD): Likewise.
15663 (_FP_TO_INT): Likewise.
15664 (_FP_FROM_INT): Likewise.
15665 [!__FP_CLZ] (__FP_CLZ): Likewise.
15666 (_FP_DIV_HELP_imm): Likewise.
15667 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15668 Likewise.
15669 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15670 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15675 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15679 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15680 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15682 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15683 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15684 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15685 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15687 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15689 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15698 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15699 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15701 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15702 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15703 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15704 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15705 (FP_UNPACK_RAW_SP): Likewise.
15706 (FP_PACK_RAW_S): Likewise.
15707 (FP_PACK_RAW_SP): Likewise.
15708 (FP_UNPACK_S): Likewise.
15709 (FP_UNPACK_SP): Likewise.
15710 (FP_UNPACK_SEMIRAW_S): Likewise.
15711 (FP_UNPACK_SEMIRAW_SP): Likewise.
15712 (FP_PACK_S): Likewise.
15713 (FP_PACK_SP): Likewise.
15714 (FP_PACK_SEMIRAW_S): Likewise.
15715 (FP_PACK_SEMIRAW_SP): Likewise.
15716 (_FP_SQRT_MEAT_S): Likewise.
15717 (FP_CMP_S): Likewise.
15718 (FP_CMP_EQ_S): Likewise.
15719 (FP_CMP_UNORD_S): Likewise.
15720 (FP_TO_INT_S): Likewise.
15721 (FP_FROM_INT_S): Likewise.
15722
15723 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15724
15725 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15726 (FP_EX_INVALID_IMZ): Likewise.
15727 (FP_EX_INVALID_IMZ_FMA): Likewise.
15728 (FP_EX_INVALID_ISI): Likewise.
15729 (FP_EX_INVALID_ZDZ): Likewise.
15730 (FP_EX_INVALID_IDI): Likewise.
15731 (FP_EX_INVALID_SQRT): Likewise.
15732 (FP_EX_INVALID_CVI): Likewise.
15733 (FP_EX_INVALID_VC): Likewise.
15734 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15735 "invalid" exceptions.
15736 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15737 (_FP_ADD_INTERNAL): Likewise.
15738 (_FP_MUL): Likewise.
15739 (_FP_FMA): Likewise.
15740 (_FP_DIV): Likewise.
15741 (_FP_CMP_CHECK_NAN): Likewise.
15742 (_FP_SQRT): Likewise.
15743 (_FP_TO_INT): Likewise.
15744 (FP_EXTEND): Likewise.
15745
15746 2014-10-09 Allan McRae <allan@archlinux.org>
15747
15748 * po/fr.po: Update French translation from translation project.
15749
15750 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15751
15752 [BZ #14132]
15753 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15754 of INTDEF.
15755 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15756 (__cxa_atexit): Use libc_hidden_proto.
15757 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15758
15759 [BZ #14132]
15760 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15761 declaration.
15762 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15763 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15764 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15765 [!_ISOMAC] (__iswctype_internal): Likewise.
15766 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15767 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15768 alias.
15769 (fcntl): Remove __fcntl_internal alias.
15770 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15771 __connect_internal alias.
15772 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15773 Likewise.
15774
15775 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15776 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15777 FP_DENORM_ZERO.
15778 (_FP_CHECK_FLUSH_ZERO): New macro.
15779 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15780 (_FP_CMP): Likewise.
15781 (_FP_CMP_EQ): Likewise.
15782 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15783 FP_DENORM_ZERO.
15784 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15785 (FP_TRUNC): Likewise.
15786
15787 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15788 treated as invalid conversion, not as normal exponent.
15789
15790 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15791 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15792 (_FP_CMP_EQ): Likewise.
15793 (_FP_CMP_UNORD): Likewise.
15794 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15795 (FP_CMP_EQ_D): Likewise.
15796 (FP_CMP_UNORD_D): Likewise.
15797 * soft-fp/extended.h (FP_CMP_E): Likewise.
15798 (FP_CMP_EQ_E): Likewise.
15799 (FP_CMP_UNORD_E): Likewise.
15800 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15801 (FP_CMP_EQ_Q): Likewise.
15802 (FP_CMP_UNORD_Q): Likewise.
15803 * soft-fp/single.h (FP_CMP_S): Likewise.
15804 (FP_CMP_EQ_S): Likewise.
15805 (FP_CMP_UNORD_S): Likewise.
15806 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15807 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15808 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15809 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15810 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15811 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15812 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15813 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15814 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15815 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15816 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15817 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15818 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15819 to FP_CMP_Q.
15820 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15821 FP_CMP_Q.
15822 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15823 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15824 FP_CMP_EQ_Q.
15825 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15826 FP_CMP_Q.
15827 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15828 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15829 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15830 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15831 FP_CMP_EQ_Q.
15832 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15833 FP_CMP_Q.
15834 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15835 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15836 FP_CMP_EQ_Q.
15837 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15838 FP_CMP_Q.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15840 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15841 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15842 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15843 FP_CMP_EQ_Q.
15844
15845 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15846 a subnormal result, set the underflow exception if trapping on
15847 underflow is enabled.
15848 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15849 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15850 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15851 redefine to 0.
15852 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15853 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15854 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15855 * soft-fp/extendxftf2.c (__extendxftf2): Use
15856 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15857
15858 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15859 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15860 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15861 FP_HANDLE_EXCEPTIONS.
15862 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15863 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15864 FP_HANDLE_EXCEPTIONS.
15865 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15866 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15867 FP_HANDLE_EXCEPTIONS.
15868 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15869 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15870 FP_HANDLE_EXCEPTIONS.
15871
15872 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15873
15874 [BZ #14132]
15875 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15876 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15877 use INTUSE.
15878 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15879 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15880 Remove alias.
15881 (__adjtimex): Define using libc_hidden_ver.
15882 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15883 Remove declaration.
15884 (ntp_gettime): Call __adjtimex directly.
15885 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15886 Remove declaration.
15887 (ntp_gettimex): Call __adjtimex directly.
15888 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15889 __adjtimex_internal alias.
15890
15891 2014-10-08 Roland McGrath <roland@hack.frob.com>
15892
15893 [BZ #17460]
15894 * nscd/nscd.c (more_help): Rewrite list of tables collection
15895 using xstrdup and asprintf.
15896
15897 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15898
15899 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15900 Roland McGrath <roland@hack.frob.com>
15901
15902 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15903 (do_lookup_unique): ... local function 'enter' here; update callers.
15904
15905 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15906
15907 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15908 compat_symbol calls on [SHARED].
15909 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15910 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15911 Remove.
15912 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15913 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15914 (oldsetrlimit): Remove.
15915 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15917 (lchown): New syscall entry.
15918 (oldsetrlimit): Remove.
15919 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15921 (oldsetrlimit): Remove.
15922 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15923
15924 [BZ #14138]
15925 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15926 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15927 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15928 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15929 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15930 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15931 (fchown): Likewise.
15932 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15933 (fchown): Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15935 Likewise.
15936
15937 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15938
15939 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15940 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15941 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15942 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15943 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15944 Likewise.
15945 (__old_sem_post): Likewise.
15946
15947 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15948
15949 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15950 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15951 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15952 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15953 Use INLINE_VSYSCALL macro.
15954 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15955 __vdso_clock_gettime.
15956 * sysdeps/unix/sysv/linux/tile/init-first.c
15957 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15958 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15959 __vdso_clock_gettime.
15960
15961 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15962 to set up frame more cleanly.
15963
15964 * sysdeps/tile/memcmp.c: New file.
15965
15966 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15967
15968 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15969 * sysdeps/tile/tilegx/strcasestr.c: New file.
15970 * sysdeps/tile/tilegx/strnlen.c: New file.
15971 * sysdeps/tile/tilegx/strstr.c: New file.
15972
15973 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15974
15975 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15976
15977 * nptl/tst-setuid3.c: Write errors to stdout.
15978
15979 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15980
15981 * elf/dl-deps.c
15982 (preload): New functions broken out of _dl_map_object_deps.
15983 (_dl_map_object_deps): Remove a nested function. Update call sites.
15984
15985 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15986
15987 [BZ #14138]
15988 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15989 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15990
15991 2014-10-01 Steve Ellcey <sellcey@mips.com>
15992
15993 * sysdeps/mips/strcmp.S: New.
15994
15995 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15996
15997 [BZ #14138]
15998 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15999 (linkat): Likewise.
16000 (mkdirat): Likewise.
16001 (readlinkat): Likewise.
16002 (renameat): Likewise.
16003 (symlinkat): Likewise.
16004 (unlinkat): Likewise.
16005 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16006 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16007 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16008 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16009 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16010 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16011 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16012
16013 2014-09-30 Will Newton <will.newton@linaro.org>
16014
16015 * math/math.h: Define long double math functions if
16016 _LIBC_TEST is defined.
16017 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16018
16019 * localedata/Makefile: Move assignment to tests-special
16020 into an ifdef testing run-built-tests.
16021 * timezone/Makefile: Likewise.
16022
16023 2014-09-29 Joseph Myers <joseph@codesourcery.com>
16024
16025 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16026 with $(BASH) not $(SHELL).
16027
16028 2014-09-29 Carlos O'Donell <carlos@redhat.com>
16029 Matthew LeGendre <legendre1@llnl.gov>
16030
16031 [BZ #17411]
16032 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16033 l_reloc_result.
16034
16035 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16036
16037 * stdio-common/printf_fp.c
16038 (hack_digit): New function, broken out of ...
16039 (__printf_fp): ... local function here. Update call sites.
16040 hack_digit now takes an additional parameter that is a pointer
16041 to a struct of the referenced locals. Those locals moved inside
16042 the struct and references updated.
16043
16044 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
16045
16046 * aclocal.m4: Require autoconf 2.69.
16047 * configure: Regenerated.
16048 * sysdeps/aarch64/configure: Likewise.
16049 * sysdeps/alpha/configure: Likewise.
16050 * sysdeps/arm/armv7/configure: Likewise.
16051 * sysdeps/arm/configure: Likewise.
16052 * sysdeps/ia64/configure: Likewise.
16053 * sysdeps/mach/configure: Likewise.
16054 * sysdeps/mips/configure: Likewise.
16055 * sysdeps/s390/configure: Likewise.
16056 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16058
16059 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16060 file.
16061 * sysdeps/ia64/configure.ac: Likewise.
16062
16063 2014-09-26 Joseph Myers <joseph@codesourcery.com>
16064
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16066 specify symbol version for ld.so. Do not include entry for
16067 libpthread.
16068 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16069 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16070 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16071
16072 [BZ #14171]
16073 * Makeconfig [$(build-shared) = yes]
16074 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16075 makefiles.
16076 [$(build-shared) = yes && $(soversions.mk-done) = t]
16077 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16078 [$(build-shared) = yes && $(soversions.mk-done) = t]
16079 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16080 to Makerules.
16081 [$(build-shared) = yes && $(soversions.mk-done) = t]
16082 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16083 here.
16084 [$(build-shared) = yes && $(soversions.mk-done) = t]
16085 (common-generated): Don't append gnu/lib-names.h and
16086 gnu/lib-names.stmp here.
16087 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16088 (lib-names-h-abi): New variable.
16089 [$(build-shared) = yes && $(soversions.mk-done) = t]
16090 (lib-names-stmp-abi): Likewise.
16091 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16092 abi-variants] (before-compile): Append
16093 $(common-objpfx)$(lib-names-h-abi).
16094 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16095 abi-variants] (common-generated): Append gnu/lib-names.h.
16096 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16097 abi-variants] (install-others-nosubdir): Depend on
16098 $(inst_includedir)/$(lib-names-h-abi).
16099 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16100 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16101 [$(build-shared) = yes && $(soversions.mk-done) = t]
16102 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16103 [$(build-shared) = yes && $(soversions.mk-done) = t]
16104 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16105 [$(build-shared) = yes && $(soversions.mk-done) = t]
16106 (common-generated): Append $(lib-names-h-abi) and
16107 $(lib-names-stmp-abi).
16108 * scripts/lib-names.awk: Do not handle multi being set.
16109 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16110 Remove variable.
16111 (abi-lp64_be-ld-soname): Likewise.
16112 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16113 Likewise.
16114 (abi-hard-ld-soname): Likewise.
16115 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16116 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16117 Remove variable.
16118 (abi-o32_hard-ld-soname): Likewise.
16119 (abi-o32_soft_2008-ld-soname): Likewise.
16120 (abi-o32_hard_2008-ld-soname): Likewise.
16121 (abi-n32_soft-ld-soname): Likewise.
16122 (abi-n32_hard-ld-soname): Likewise.
16123 (abi-n32_soft_2008-ld-soname): Likewise.
16124 (abi-n32_hard_2008-ld-soname): Likewise.
16125 (abi-n64_soft-ld-soname): Likewise.
16126 (abi-n64_hard-ld-soname): Likewise.
16127 (abi-n64_soft_2008-ld-soname): Likewise.
16128 (abi-n64_hard_2008-ld-soname): Likewise.
16129 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16130 Likewise.
16131 (abi-64-v2-ld-soname): Likewise.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16133 ld.so entries.
16134 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16135 variable.
16136 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16137 entry.
16138 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16139 variable.
16140 (abi-64-ld-soname): Likewise.
16141 (abi-x32-ld-soname): Likewise.
16142 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16143 entry.
16144 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16145
16146 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16147
16148 [BZ #14138]
16149 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16150 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16151 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16152 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16153 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16154 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16155 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16156 syscall entry for GLIBC_2.2 symbol version.
16157 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16158 Likewise.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16160 (setrlimit): Likewise.
16161 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16162 Likewise.
16163
16164 2014-09-23 Will Newton <will.newton@linaro.org>
16165
16166 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16167 _LINUX_ARM_SYSDEP_H include guard too.
16168 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16169 define.
16170
16171 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16172
16173 * sysdeps/unix/sysv/linux/eventfd.c:
16174 Make first argument unsigned.
16175 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16176 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16177
16178 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16179
16180 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16181 * socket/sys/socket.h: Likewise
16182 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16183
16184 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16185
16186 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16187
16188 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16189
16190 * time/tst-ftime.c: New test.
16191 * time/Makefile (tests): Add tst-ftime.
16192
16193 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16194
16195 * soft-fp/extended.h: Fix comment formatting.
16196 * soft-fp/op-1.h: Likewise.
16197 * soft-fp/op-2.h: Likewise.
16198 * soft-fp/op-4.h: Likewise.
16199 * soft-fp/op-8.h: Likewise.
16200 * soft-fp/op-common.h: Likewise.
16201 * soft-fp/soft-fp.h: Likewise.
16202
16203 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16204
16205 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16206
16207 [BZ #6652]
16208 * Makeconfig (soversions-default-setname): Remove variable.
16209 ($(common-objpfx)soversions.i): Don't pass default_setname to
16210 soversions.awk.
16211 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16212 oldest_abi to abi-versions.awk.
16213 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16214 * config.make.in (oldest-abi): Remove variable.
16215 * configure.ac (--enable-oldest-abi): Remove configure option.
16216 * configure: Regenerated.
16217 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16218 text.
16219 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16220 * scripts/soversions.awk: Do not handle default_setname variable.
16221 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16222 variable.
16223 * sysdeps/mach/hurd/configure: Regenerated.
16224 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16225 variable.
16226 * sysdeps/unix/sysv/linux/configure: Regenerated.
16227
16228 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16229
16230 * elf/Makefile (CFLAGS-interp.c): Remove.
16231 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16232 path string.
16233 * elf/interp.c: Include generated runtime-linker.h
16234
16235 * Makerules (lib%.so): Don't include $(+interp) in
16236 prerequisites.
16237 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16238 * dlfcn/eval.c: Remove file.
16239
16240 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16241 macros.
16242
16243 [BZ #17266]
16244 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16245 4.2 and newer.
16246
16247 [BZ #17370]
16248 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16249
16250 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16251 Jakub Jelinek <jakub@redhat.com>
16252
16253 [BZ #17266]
16254 * libio/stdio.h: Check definition of __fortify_function
16255 instead of __extern_always_inline to include bits/stdio2.h.
16256 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16257 check if __extern_always_inline is defined.
16258 [__USE_MISC || __USE_XOPEN]: Likewise.
16259 [__USE_ISOC99] Likewise.
16260 * misc/sys/cdefs.h (__fortify_function): Define only if
16261 __extern_always_inline is defined.
16262 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16263 __extern_always_inline and __extern_inline only for g++-4.3
16264 and newer or a compatible gcc.
16265
16266 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16267
16268 [BZ #17371]
16269 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16270 last change to handle zero prefix length.
16271
16272 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16275 _SC_REGEX_VERSION.
16276
16277 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16278 _POSIX_RAW_SOCKETS.
16279
16280 2014-09-13 Allan McRae <allan@archlinux.org>
16281
16282 * po/ru.po: Update Russian translation from translation project.
16283
16284 2014-09-12 Roland McGrath <roland@hack.frob.com>
16285
16286 * locale/programs/locale.c (show_locale_vars): Inline local function
16287 into its sole call site. Clean up some style nits.
16288 (print_item): New function, broken out of ...
16289 (show_info): ... local function here. Clean up style nits.
16290
16291 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16292 out of ...
16293 (set_class_defaults): ... local function set_default here.
16294 Define set_default as a macro locally to pass constant parameters.
16295 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16296 rather than a shared local.
16297
16298 * stdlib/rpmatch.c (try): New function, broken out of ...
16299 (rpmatch): ... local function here. Also, prototypify definition.
16300
16301 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16302
16303 * scripts/soversions.awk: Do not handle configuration names.
16304 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16305 vendor and os variables to soversions.awk.
16306 * configure.ac: Do not modify gnu-* host_os.
16307 * configure: Regenerated
16308 * shlib-versions: Remove first column with configuration names.
16309 * nptl/shlib-versions: Likewise.
16310 * nptl_db/shlib-versions: Likewise.
16311 * sysdeps/hppa/shlib-versions: Likewise.
16312 * sysdeps/m68k/shlib-versions: Likewise.
16313 * sysdeps/mach/hurd/shlib-versions: Likewise.
16314 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16315 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16316 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16317 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16318 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16319 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16320 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16321 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16323 Likewise.
16324 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16325 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16326 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16328 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16329 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16330 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16331 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16332
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16334 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16336 Regenerated.
16337 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16339 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16340
16341 * shlib-versions: Remove OS-specific entries. Moved to files in
16342 sysdeps.
16343 * sysdeps/mach/hurd/shlib-versions: New file.
16344 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16345
16346 * nptl/shlib-versions: Remove architecture-specific entries.
16347 Moved to files in sysdeps.
16348 * shlib-versions: Likewise.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16350 file.
16351 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16352 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16353 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16354 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16355
16356 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16357 (UDP_NO_CHECK6_RX): Likewise.
16358
16359 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16360
16361 * sysdeps/posix/sysconf.c (__sysconf): Spell
16362 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16363
16364 2014-08-12 Florian Weimer <fweimer@redhat.com>
16365
16366 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16367 loading.
16368 * iconv/Versions (__gconv_transliterate): Export for use from
16369 gconv modules.
16370 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16371 (struct __gconv_trans_data, __gconv_trans_fct,
16372 __gconv_trans_context_fct, __gconv_trans_query_fct,
16373 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16374 definitions.
16375 (struct __gconv_step_data): Remove __trans member.
16376 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16377 longer hidden. Remove unused trans_data argument.
16378 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16379 (__gconv_translit_find): Remove declaration.
16380 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16381 prototype.
16382 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16383 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16384 trans_data argument. Add hidden definition.
16385 (__gconv_translit_find): Remove.
16386 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16387 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16388 * iconv/skeleton.c: Remove transliteration initialization.
16389 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16390 __gconv_step_data initialization.
16391 * libio/iofwide.c (__libio_translit_): Remove.
16392 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16393 * wcsmbs/btowc.c (__btowc): Likewise.
16394 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16395 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16396 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16397 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16398 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16399 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16400 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16401 * wcsmbs/wctob.c (wctob): Likewise.
16402
16403 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16404
16405 [BZ #16194]
16406 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16407 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16408 register usage.
16409 * sysdeps/x86/Makefile: Adjust.
16410
16411 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16412 Roland McGrath <roland@hack.frob.com>
16413
16414 * locale/weight.h: Add include guard.
16415 (findidx): Make static rather than auto; take new parameters
16416 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16417 * locale/weightwc.h: Likewise.
16418 * posix/fnmatch_loop.c
16419 (FCT): Change type of EXTRA from int32_t to wint_t.
16420 Don't include either header inside the function.
16421 Call FINDIDX rather than findidx, and pass new arguments.
16422 #undef FINDIDX at the end of the file.
16423 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16424 FINDIDX before including fnmatch_loop.c for the non-wide version.
16425 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16426 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16427 for the wide version.
16428 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16429 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16430 Pass new arguments to findidx.
16431 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16432 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16433 Don't #include it inside the function. Pass new arguments to findidx.
16434 * posix/regex_internal.h
16435 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16436 (re_string_elem_size_at): Don't #include it inside the function.
16437 Pass new arguments to findidx.
16438 * string/strcoll_l.c: #include WEIGHT_H at top level.
16439 (get_next_seq): Don't #include it inside the function.
16440 Pass new arguments to findidx.
16441 (get_next_seq_nocache): Likewise.
16442 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16443 (STRXFRM): Don't #include it inside the function.
16444 Pass new arguments to findidx.
16445
16446 2014-09-11 Florian Weimer <fweimer@redhat.com>
16447
16448 [BZ #17344]
16449 * malloc/malloc.c (unlink): Turn asserts into a call to
16450 malloc_printerr.
16451
16452 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16453
16454 [BZ #17370]
16455 * libio/wfileops (do_ftell_wide): Free OUT.
16456
16457 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16458
16459 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16460
16461 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16462
16463 [BZ #17363]
16464 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16465 group if the current group is empty.
16466
16467 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16468
16469 * benchtests/bench-memset.c (test_main): Add more test from size
16470 from 32 to 512 bytes.
16471 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16472 Add POWER8 memset object.
16473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16474 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16475 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16476 implementation.
16477 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16478 Likewise.
16479 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16480 multiarch POWER8 memset optimization.
16481 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16482 POWER8 memset optimization.
16483
16484 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16485 Remove bzero multiarch objects.
16486 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16487 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16489 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16490 Remove define.
16491 [__bzero]: Redefine to specific name.
16492 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16494 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16495 define.
16496 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16497 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16498
16499 2014-09-10 Florian Weimer <fweimer@redhat.com>
16500
16501 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16502 warnings into errors.
16503
16504 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16505 __cxa_thread_atexit_impl prototype.
16506
16507 2014-09-09 Steve Ellcey <sellcey@mips.com>
16508
16509 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16510 Fix capitalization of error message.
16511
16512 2014-09-09 Steve Ellcey <sellcey@mips.com>
16513
16514 * sysdeps/mips/preconfigure: Modify ABI tests.
16515
16516 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16517
16518 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16519
16520 2014-09-07 Roland McGrath <roland@hack.frob.com>
16521 Carlos O'Donell <carlos@systemhalted.org>
16522
16523 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16524 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16525 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16526 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16527 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16528 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16529 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16530 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16531 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16532 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16533 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16534 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16535 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16536 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16540 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16541 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16542 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16544 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16545 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16546 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16547 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16548 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16549 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16550 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16551 Deconditionalize the code that was previously under [RESET_PID].
16552 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16553 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16554 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16555 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16556 include sysdep.h.
16557
16558 2014-09-08 Allan McRae <allan@archlinux.org>
16559
16560 * version.h (RELEASE): Set to "development".
16561 (VERSION): Set to "2.20.90"
16562
16563 2014-09-07 Allan McRae <allan@archlinux.org
16564
16565 * version.h (RELEASE): Set to "stable".
16566 (VERSION): Set to "2.20"
16567 * include/features.h (__GLIBC_MINOR__): Set to 20.
16568
16569 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16570 Liebler.
16571
16572 * po/ko.po: Update Korean translation from translation project.
16573
16574 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16575
16576 [BZ #17354]
16577 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16578 macro for handling signed relocations.
16579
16580 2014-09-03 Florian Weimer <fweimer@redhat.com>
16581
16582 [BZ #17325]
16583 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16584 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16585 assert.
16586 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16587 * iconvdata/ibm935.c (BODY): Likewise.
16588 * iconvdata/ibm937.c (BODY): Likewise.
16589 * iconvdata/ibm939.c (BODY): Likewise.
16590 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16591 assert.
16592 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16593 script.
16594 * iconvdata/run-iconv-test.sh: New test loop for checking for
16595 decoder crashers.
16596
16597 2014-09-02 Khem Raj <raj.khem@gmail.com>
16598
16599 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16600 libm_hidden_ver.
16601
16602 2014-09-01 Allan McRae <allan@archlinux.org>
16603
16604 * po/eo.po: Update Esperanto translation from translation project.
16605
16606 * po/ca.po: Update Catalan translation from translation project.
16607
16608 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16609
16610 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16611 __proc_dostop call.
16612
16613 2014-08-27 Mark Wielaard <mjw@redhat.com>
16614
16615 [BZ #17319]
16616 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16617 to call set_thread_area instead of hand written asm.
16618 (__NR_set_thread_area): Removed define.
16619 (TLS_FLAG_WRITABLE): Likewise.
16620 (__ASSUME_SET_THREAD_AREA): Remove check.
16621 (TLS_EBX_ARG): Remove define.
16622 (TLS_LOAD_EBX): Likewise.
16623
16624 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16625
16626 Simplify atomicity of socket creation in bind.
16627
16628 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16629 looking up the name after linking the file.
16630
16631 2014-08-27 Allan McRae <allan@archlinux.org>
16632
16633 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16634
16635 2014-08-26 Florian Weimer <fweimer@redhat.com>
16636
16637 [BZ #17187]
16638 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16639 trans_compare, open_translit, __gconv_translit_find):
16640 Remove module loading code.
16641
16642 2014-08-26 Allan McRae <allan@archlinux.org>
16643
16644 * po/vi.po: Update Vietnamese translation from translation project.
16645
16646 * po/uk.po: Update Ukrainian translation from translation project.
16647
16648 * po/fr.po: Update French translation from translation project.
16649
16650 * po/ru.po: Update Russian translation from translation project.
16651
16652 * po/pl.po: Update Polish translation from translation project.
16653
16654 * po/cs.po: Update Czech translation from translation project.
16655
16656 * po/de.po: Update German translation from translation project.
16657
16658 * po/bg.po: Update Bulgarian translation from translation project.
16659
16660 * po/sv.po: Update Sweedish translation from translation project.
16661
16662 * po/nl.po: Update Dutch translation from translation project.
16663
16664 * po/es.po: Update Spanish translation from translation project.
16665
16666 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16667
16668 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16669
16670 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16671 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16672 (CPPFLAGS-iconvconfig): Likewise.
16673 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16674
16675 * include/libc-symbols.h: Remove unnecessary check for
16676 NOT_IN_libc.
16677 * nptl/pthreadP.h: Likewise.
16678 * sysdeps/aarch64/setjmp.S: Likewise.
16679 * sysdeps/alpha/setjmp.S: Likewise.
16680 * sysdeps/arm/sysdep.h: Likewise.
16681 * sysdeps/i386/setjmp.S: Likewise.
16682 * sysdeps/m68k/setjmp.c: Likewise.
16683 * sysdeps/posix/getcwd.c: Likewise.
16684 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16686 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16687 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16688 * sysdeps/sh/sh3/setjmp.S: Likewise.
16689 * sysdeps/sh/sh4/setjmp.S: Likewise.
16690 * sysdeps/unix/alpha/sysdep.h: Likewise.
16691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16693 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16694 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16699 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16702 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16704 * sysdeps/x86_64/setjmp.S: Likewise.
16705
16706 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16707
16708 [BZ #17263]
16709 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16710 <stdint.h>.
16711 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16712 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16713
16714 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16715
16716 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16717
16718 [BZ #17262]
16719 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16720 and __x86_64__ when disabling x87 inline functions.
16721
16722 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 [BZ #17259]
16725 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16726 asm statement with __cpuid_count.
16727
16728 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16729
16730 * configure.ac: Change __ehdr_start code to dereference the struct.
16731 Run readelf on the output to look for relocations.
16732 * configure: Regenerated.
16733
16734 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16735
16736 [BZ #17261]
16737 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16738 value to 0.
16739 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16740
16741 2014-08-12 Roland McGrath <roland@hack.frob.com>
16742
16743 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16744
16745 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16746
16747 [BZ #16892]
16748 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16749 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16750
16751 2014-08-12 Sean Anderson <seanga2@gmail.com>
16752
16753 * malloc/malloc.c: Fix typo in comment.
16754
16755 2014-08-09 Allan McRae <allan@archlinux.org>
16756
16757 * Regenerate libc.po.
16758
16759 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16760
16761 * intl/tst-gettext2.sh: Check every lang file for creation.
16762
16763 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16764
16765 * sysdeps/aarch64/fpu/math_private.h
16766 (libc_feholdsetround_noex_aarch64_ctx): New function.
16767
16768 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16769
16770 * sysdeps/arm/armv6/strcpy.S (strcpy):
16771 Fix performance issue in misaligned cases.
16772
16773 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16774
16775 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16776 Move definition from termios.h.
16777 (struct termio): Likewise.
16778 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16779 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16780 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16781 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16784 Move definition to ioctl-types.h
16785 (struct termio): Likewise.
16786 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16787 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16788 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16789 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16790 Likewise.
16791
16792 2014-08-05 Richard Henderson <rth@redhat.com>
16793
16794 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16795 exceptions.
16796 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16797 Add fraiseexcpt.
16798 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16799 Use __feraiseexcept.
16800 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16801 Protect libm symbols with IS_IN_libm.
16802
16803 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16804
16805 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16806
16807 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16808
16809 2014-08-04 Will Newton <will.newton@linaro.org>
16810
16811 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16812 file.
16813
16814 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16815
16816 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16817 variants for each function.
16818
16819 2014-08-04 Roland McGrath <roland@hack.frob.com>
16820
16821 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16822 appended ...
16823 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16824 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16825 appended ...
16826 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16827 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16828 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16829 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16830 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16831 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16832 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16833 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16834 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16835 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16836 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16837 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16838 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16839 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16840 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16841 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16842 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16843 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16844 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16845 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16846 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16847 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16849 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16850 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16852 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16853 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16856 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16857 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16858 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16859 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16860 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16862 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16863 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16864 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16865 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16866 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16867 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16868 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16869 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16870 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16872 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16874 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16876 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16877 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16878 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16879 Update #include.
16880 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16881 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16882
16883 2014-08-04 Roland McGrath <roland@hack.frob.com>
16884
16885 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16886 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16887 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16888 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16889 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16890 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16891
16892 2014-08-04 Roland McGrath <roland@hack.frob.com>
16893
16894 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16895 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16896 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16897 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16898
16899 2014-08-04 Roland McGrath <roland@hack.frob.com>
16900
16901 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16902 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16903 (__libc_vfork): Define function under this name.
16904 (__vfork): Define as an alias.
16905 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16906 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16907
16908 2014-08-04 Roland McGrath <roland@hack.frob.com>
16909
16910 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16911 that was previously under [RESET_PID].
16912 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16913
16914 2014-08-04 Andreas Schwab <schwab@suse.de>
16915
16916 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16917
16918 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16919
16920 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16921 (main): Likewise.
16922
16923 2014-08-01 Roland McGrath <roland@hack.frob.com>
16924
16925 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16926
16927 2014-08-01 Richard Henderon <rth@redhat.com>
16928
16929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16930 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16931 typo in exact zero test.
16932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16935
16936 2014-08-01 Roland McGrath <roland@hack.frob.com>
16937
16938 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16939 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16940 * sysdeps/arm/sysdep.h: ... here.
16941 [!__ASSEMBLER__]: Include <stdint.h>.
16942
16943 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16944
16945 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16946 (HAVE_WCTYPE_H): Likewise.
16947 (HAVE_ISWCTYPE): Likewise.
16948 (ENABLE_NLS): Likewise.
16949 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16950 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16951
16952 * posix/regex_internal.c: Check if DEBUG is defined and is
16953 set.
16954
16955 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16956 (HAVE_MBSRTOWCS): Likewise.
16957 * posix/fnmatch.c: Include string.h unconditionally.
16958
16959 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16960
16961 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16962 reversal.
16963
16964 2014-07-31 Roland McGrath <roland@hack.frob.com>
16965
16966 * sysdeps/generic/safe-fatal.h: New file.
16967 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16968 * nptl/forward.c: Include it.
16969 (__pthread_unwind): Use __safe_fatal as default action, rather
16970 than a bogus use of INTERNAL_SYSCALL that could never work.
16971
16972 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16973 * configure.ac (libc_cv_builtin_trap): New test.
16974 * configure: Regenerated.
16975 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16976 (ABORT_INSTRUCTION): Define using __builtin_trap.
16977
16978 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16979 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16980 * sysdeps/nptl/nptl-signals.h: New file.
16981 * nptl/pthreadP.h: Include <nptl-signals.h>.
16982
16983 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16984
16985 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16986 (ONE_DIRECTION): Define.
16987 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16988 (ONE_DIRECTION): Define.
16989 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16990 (ONE_DIRECTION): Define.
16991
16992 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16993
16994 * sysdeps/s390/Makefile: Delete file.
16995 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16996 * sysdeps/s390/__longjmp.c: Delete file.
16997 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16998 Remove fields __flags and __reserved.
16999 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17000 and add versioning.
17001 * sysdeps/s390/rtld-__longjmp.c: Delete file.
17002 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17003 * sysdeps/s390/rtld-setjmp.S: Likewise.
17004 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17005 * sysdeps/s390/s390-32/__longjmp.c: ... here.
17006 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17007 * sysdeps/s390/s390-32/setjmp.S: ... here.
17008 Add versioning.
17009 (__sigsetjmp): Remove setting __flags field.
17010 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17011 * sysdeps/s390/s390-64/__longjmp.c: ... here.
17012 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17013 * sysdeps/s390/s390-64/setjmp.S: ... here.
17014 Add versioning.
17015 (__sigsetjmp): Remove setting __flags field.
17016 * sysdeps/s390/setjmp.S: Delete file.
17017 * sysdeps/s390/sigjmp.c: Likewise.
17018 * sysdeps/s390/v1-longjmp.c: Likewise.
17019 * sysdeps/s390/v1-setjmp.h: Likewise.
17020 * sysdeps/s390/v1-sigjmp.c: Likewise.
17021 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17022 Remove v1-longjmp_chk.
17023 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17024 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17025 Include debug/longjmp_chk.c and add versioning.
17026 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17027 Include nptl/pt-longjmp.c and add versioning.
17028 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17029 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17030 Include __longjmp.c.
17031 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17032 Move to ...
17033 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17034 (__getcontext): Remove setting __flags field.
17035 Add versioning.
17036 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17037 Don't restore upper high grps.
17038 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17039 Likewise.
17040 (__swapcontext): Remove setting uc_flags field.
17041 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17042 Delete file.
17043 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17044 Include __longjmp.c.
17045 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17046 Move to ...
17047 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17048 (__getcontext): Remove setting __flags field.
17049 Add versioning.
17050 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17051 (__swapcontext): Remove setting uc_flags field.
17052 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17053 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17054 Remove fields uc_high_gprs and __reserved.
17055 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17056 New file with reverted content.
17057 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17058 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17059 Regenerated.
17060 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17061 Regenerated.
17062
17063 2014-07-31 Andreas Schwab <schwab@suse.de>
17064
17065 * config.h.in (HAVE_IFUNC): Define to 0.
17066 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17067 definedness.
17068
17069 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
17070
17071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17072 memmove-avx-unaligned, memcpy-avx-unaligned and
17073 mempcpy-avx-unaligned.
17074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17075 Add tests for AVX memcpy functions.
17076 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17077 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17078 memcpy_chk.
17079 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17080 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17081 memmove_chk.
17082 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17083 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17084 mempcpy_chk.
17085 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17086 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17087 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17088
17089 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17090
17091 [BZ #17213]
17092 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17093 powerpc64le.
17094
17095 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17096
17097 [BZ #16839]
17098 * manual/llio.texi: Add section about open file description locks.
17099 * manual/examples/ofdlocks.c: Example of open file description
17100 lock usage.
17101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17102 F_OFD_SETLK, and F_OFD_SETLKW.
17103
17104 2014-07-23 Allan McRae <allan@archlinux.org>
17105
17106 * po/es.po: Update Spanish translation from translation project.
17107
17108 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17109
17110 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17111
17112 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17113
17114 [BZ #17078]
17115 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17116 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17117 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17118
17119 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17120
17121 [BZ #17088]
17122 * math/fesetenv.c (__fesetenv)
17123 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17124 * math/feupdateenv.c (__feupdateenv)
17125 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17126
17127 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17128 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17129 (__ASSUME_SOCKETCALL): Do not define.
17130
17131 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17132 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17133 (__ASSUME_SOCKETCALL): Do not define.
17134 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17135 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17136 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17137 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17138 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17139 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17140 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17141 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17142
17143 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17144 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17145 (__ASSUME_SOCKETCALL): Do not define.
17146 (__ASSUME_IPC64): Define unconditionally.
17147 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17148 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17149 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17150 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17151 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17152 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17153 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17154 Likewise.
17155
17156 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17157 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17158 (__ASSUME_SOCKETCALL): Do not define.
17159 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17160 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17161 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17162 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17163 (__ASSUME_REQUEUE_PI): Define unconditionally.
17164 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17165 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17166 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17167 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17168 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17169 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17170
17171 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17172 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17173 (__ASSUME_SOCKETCALL): Do not define.
17174 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17175 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17176 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17177 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17178 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17179 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17180
17181 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17182 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17183 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17184 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17185 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17186 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17187 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17188 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17189 (__ASSUME_GETCPU_SYSCALL): Likewise.
17190
17191 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17192 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17193 cases for individual architectures.
17194 * sysdeps/gnu/configure: Regenerated.
17195 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17196 LIBC_SLIBDIR_RTLDDIR.
17197 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17198 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17199 LIBC_SLIBDIR_RTLDDIR.
17200 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17202 LIBC_SLIBDIR_RTLDDIR.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17204 Regenerated.
17205 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17206 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17207 file.
17208 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17209 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17210 file.
17211 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17212 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17213 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17214 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17215
17216 * sysdeps/aarch64/shlib-versions: Move to ...
17217 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17218 * sysdeps/alpha/shlib-versions: Move to ...
17219 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17220 * sysdeps/arm/shlib-versions: Move to ...
17221 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17222 * sysdeps/hppa/shlib-versions: Move all contents except for
17223 libgcc_s entry to ...
17224 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17225 entry from ...
17226 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17227 * sysdeps/ia64/shlib-versions: Move to ...
17228 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17229 entry from ...
17230 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17231 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17232 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17233 * sysdeps/microblaze/shlib-versions: Move to ...
17234 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17235 * sysdeps/mips/shlib-versions: Move to ...
17236 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17237 entry from ...
17238 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17239 * sysdeps/tile/shlib-versions: Move to ...
17240 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17241 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17242 from ...
17243 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17245 entry from ...
17246 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17247
17248 2014-07-17 Will Newton <will.newton@linaro.org>
17249
17250 * sysdeps/arm/bits/atomic.h
17251 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17252 (__arch_compare_and_exchange_bool_16_int): Likewise.
17253 (__arch_compare_and_exchange_bool_64_int): Likewise.
17254
17255 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17256 into an #else block.
17257
17258 2014-07-16 Roland McGrath <roland@hack.frob.com>
17259
17260 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17261 just Linux configurations. Test empirically that the compiler sets
17262 __ARM_EABI__, rather than using the tuple to decide.
17263 * sysdeps/arm/preconfigure: Regenerated.
17264 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17265 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17266 contents appended ...
17267 * sysdeps/arm/configure.ac: ... here.
17268 * sysdeps/arm/configure: Regenerated.
17269
17270 2014-07-15 Roland McGrath <roland@hack.frob.com>
17271
17272 * nptl/pthread_kill.c: New file.
17273 * nptl/pthread_sigmask.c: New file.
17274 * nptl/pthread_sigqueue.c: New file.
17275
17276 * sysdeps/nptl/lowlevellock.h: New file.
17277 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17278 * sysdeps/nptl/lowlevellock-futex.h: New file.
17279
17280 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17281 Remove dead declarations.
17282
17283 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17284
17285 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17286 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17287 config-cflags-avx2.
17288 * sysdeps/x86_64/configure.ac: Likewise.
17289 * sysdeps/i386/configure: Regenerated.
17290 * sysdeps/x86_64/configure: Likewise.
17291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17292 memset-avx2 only if config-cflags-avx2 is yes.
17293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17294 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17295 defined.
17296 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17297 only if HAVE_AVX2_SUPPORT is defined.
17298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17299
17300 2014-07-14 Alan Modra <amodra@gmail.com>
17301
17302 [BZ #17153]
17303 * elf/elf.h (DT_PPC64_NUM): Correct value.
17304 * NEWS: Add to fixed bug list.
17305
17306 2014-07-13 Jim Meyering <meyering@fb.com>
17307
17308 [BZ 17150]
17309 regex: don't deref NULL upon heap allocation failure
17310 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17311 failure in one more place.
17312 To trigger the segfault, configure grep -with-included-regex,
17313 build it, and run these commands:
17314 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17315
17316 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17317
17318 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17319
17320 2014-07-11 Richard Henderson <rth@redhat.com>
17321
17322 * sysdeps/aarch64/libm-test-ulps: Update.
17323
17324 2014-07-10 Florian Weimer <fweimer@redhat.com>
17325
17326 [BZ #17135]
17327 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17328 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17329 (__nptl_setxid): Initialize error member. Call
17330 __nptl_setxid_error.
17331 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17332 * nptl/descr.h (struct xid_command): Add error member.
17333 * nptl/tst-setuid3.c: New file.
17334 * nptl/Makefile (tests): Add it.
17335
17336 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17337
17338 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17339 New define.
17340 (__lll_trylock): Use __lll_base_trylock.
17341 (__lll_cond_trylock): Likewise.
17342
17343 2014-07-10 Roland McGrath <roland@hack.frob.com>
17344
17345 * nptl/pthread_create.c (start_thread): Use atomic_or and
17346 lll_futex_wake directly rather than lll_robust_dead.
17347 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17348 (lll_robust_dead): Macro removed.
17349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17350 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17351 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17352 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17353 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17354 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17355 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17356 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17357 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17359 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17360 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17361 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17362 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17364
17365 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17366 Use atomic_compare_and_exchange_val_acq directly rather than
17367 lll_robust_trylock.
17368 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17369 (__lll_robust_trylock, lll_robust_trylock): Removed.
17370 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17371 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17372 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17373 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17374 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17375 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17376 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17377 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17379 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17380 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17381 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17382 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17384
17385 2014-07-02 Florian Weimer <fweimer@redhat.com>
17386
17387 * manual/locale.texi (Locale Names): New section documenting
17388 locale name syntax. Adjust menu and node chaining accordingly.
17389 (Choosing Locale): Reference Locale Names, Locale Categories.
17390 Mention setting LC_ALL=C. Reflect that name syntax is now
17391 documented.
17392 (Locale Categories): New section title. Reference Locale Names.
17393 LC_ALL is an environment variable, but not a category.
17394 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17395 description, now in Locale Name. Reference that section. Locale
17396 name syntax is now documented.
17397
17398 2014-07-02 Florian Weimer <fweimer@redhat.com>
17399
17400 [BZ #17137]
17401 * locale/findlocale.c (name_present, valid_locale_name): New
17402 functions.
17403 (_nl_find_locale): Use the loc_name variable to store name
17404 candidates. Call name_present and valid_locale_name to check and
17405 validate locale names. Return an error if the locale is invalid.
17406
17407 2014-07-02 Florian Weimer <fweimer@redhat.com>
17408
17409 * locale/setlocale.c (setlocale): Use strdup for allocating
17410 composite name copy.
17411
17412 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17413
17414 Sync up with gnulib.
17415 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17416 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17417 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17418 and _GL_ARG_NONNULL.
17419 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17420 [!_LIBC]: Include code for Windows and Cygwin.
17421 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17422 Include prototype for int strerror_r.
17423 [!_LIBC] (is_open): New function.
17424 (flush_stdout): New function.
17425 (print_errno_message): Use it.
17426 (error): Likewise.
17427 (error_at_line): Likewise.
17428 (error_tail) Add function attribute macros. Use
17429 __builtin_expect.
17430
17431 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17432
17433 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17434
17435 * io/ftw.c: Include sys/param.h unconditionally.
17436
17437 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17438
17439 [BZ #17125]
17440 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17441 libc_freeres_ptr.
17442 (freecache): New function to free CACHE on exit.
17443
17444 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17445 initialization.
17446
17447 2014-07-09 David S. Miller <davem@davemloft.net>
17448
17449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17450
17451 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17452 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17453 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17454 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17455 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17456 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17457 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17458 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17459 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17460 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17461 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17462 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17463 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17464
17465 2014-07-09 Andreas Schwab <schwab@suse.de>
17466
17467 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17468 output.
17469 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17470 (do_test): Likewise.
17471
17472 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17473
17474 2014-07-09 Will Newton <will.newton@linaro.org>
17475
17476 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17477 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17478 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17479 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17480 * sysdeps/hppa/start.S (_start): Likewise.
17481
17482 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17483
17484 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17485
17486 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17487 defined.
17488
17489 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17490
17491 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17492 after checking that it is non-NULL.
17493
17494 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17495
17496 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17497
17498 * sysdeps/powerpc/memmove.c: Remove file.
17499 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17500 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17501 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17502 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17503 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17504 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17505 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17506 string memmove instead of removed powerpc one.
17507
17508 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17509 [weak_alias]: Fix compiler warning due trailing data.
17510 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17511 [weak_alias]: Likewise.
17512 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17513 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17514
17515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17516 (__libc_ifunc_impl_list): Add memmove functions.
17517
17518 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17519
17520 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17521 Remove code.
17522 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17523 Likewise
17524 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17525 Likewise
17526 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17527 Likewise
17528 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17529 Likewise
17530 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17531 Likewise
17532 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17533 Likewise
17534 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17535 Likewise
17536 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17537 Likewise
17538 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17539 Likewise
17540 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17541 Likewise
17542 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17543 Likewise
17544 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17545 Likewise
17546 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17547 Likewise
17548 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17549 Likewise
17550 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17551 Likewise
17552 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17553 Likewise
17554
17555 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17556
17557 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17558 to avoid alignment traps in non-cacheable memory.
17559 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17560
17561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17562 multiarch objects.
17563 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17564 file: multiarch power7 memmove.
17565 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17566 multiarch default memmove.
17567 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17568 multiarch memove for powerpc32/power4.
17569
17570 * string/bcopy.c: Use full path to include memmove.c.
17571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17572 multiarch objects.
17573 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17574 bcopy for powerpc64.
17575 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17576 bcopy for powerpc64.
17577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17578 and memmove implementations.
17579 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17580 optimized multiarch memmove for POWER7/powerpc64.
17581 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17582 default multiarch memmove for powerpc64.
17583 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17584 multiarch for powerpc64.
17585 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17586 for POWER7/powerpc64.
17587 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17588 memmove for POWER7/powerpc64.
17589
17590 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17591 glibc default one.
17592
17593 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17594 __ELF_NATIVE_CLASS equal to 64.
17595
17596 2014-07-07 Roland McGrath <roland@hack.frob.com>
17597
17598 * sysdeps/nptl/lowlevellock.h: File removed.
17599
17600 * NEWS: NPTL is no longer an add-on!
17601 * nptl/internaltypes.h: Moved ...
17602 * sysdeps/nptl/internaltypes.h: ... here.
17603 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17604 * sysdeps/nptl/fork.c: Likewise.
17605 * sysdeps/nptl/gai_misc.h: Likewise.
17606 * sysdeps/nptl/librt-cancellation.c: Likewise.
17607 * sysdeps/nptl/jmp-unwind.c: Likewise.
17608 * sysdeps/nptl/setxid.h: Likewise.
17609 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17610 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17611 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17612 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17613 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17614 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17615 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17616 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17617 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17618 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17619 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17620 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17621 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17622 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17623 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17624 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17625 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17626 * nptl/Makeconfig: Moved ...
17627 * sysdeps/nptl/Makeconfig: ... here.
17628 * nptl/configure: File removed.
17629 * nptl/ANNOUNCE: File removed.
17630 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17631 * sysdeps/unix/sysv/linux/configure: Regenerated.
17632
17633 * nptl/Makefile (routines): Add libc_pthread_init,
17634 libc_multiple_threads, register-atfork and unregister-atfork.
17635 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17636 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17637 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17638 pthread-pi-defines.sym, structsem.sym.
17639 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17640 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17641 [$(subdir) = nptl] (tests): Add tst-setgetname.
17642 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17643 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17644 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17645 [!LIBC_SIGACTION]: Remove aliases.
17646 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17647 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17648 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17649 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17650 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17651 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17652 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17653 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17654 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17655 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17656 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17657 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17658 __libc_allocate_rtsig_private.
17659 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17660 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17661 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17662 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17663 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17664 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17665 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17666 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17667 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17668 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17669 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17670 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17671 * nptl/internaltypes.h: ... here.
17672 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17673 * sysdeps/nptl/jmp-unwind.c: ... here.
17674 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17675 * nptl/libc-lowlevellock.c: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17677 * nptl/libc_multiple_threads.c: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17679 * nptl/libc_pthread_init.c: ... here.
17680 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17681 * nptl/lowlevelbarrier.sym: ... here.
17682 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17683 * nptl/lowlevelcond.sym: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17685 * nptl/lowlevellock.c: ... here.
17686 * nptl/lowlevellock.h: Moved ...
17687 * sysdeps/nptl/lowlevellock.h: ... here.
17688 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17689 * nptl/lowlevelrobustlock.c: ... here.
17690 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17691 * nptl/lowlevelrobustlock.sym: ... here.
17692 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17693 * nptl/lowlevelrwlock.sym: ... here.
17694 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17695 * nptl/pt-fork.c: ... here.
17696 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17697 * nptl/pthread-pi-defines.sym: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17699 * nptl/pthread_attr_getaffinity.c: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17701 * nptl/pthread_attr_setaffinity.c: ... here.
17702 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17703 * nptl/pthread_mutex_cond_lock.c: ... here.
17704 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17705 Update #include.
17706 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17707 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17708 * nptl/pthread_once.c: ... here, replacing old file.
17709 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17710 * nptl/pthread_yield.c: ... here.
17711 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17712 * nptl/register-atfork.c: ... here.
17713 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17714 * nptl/sem_post.c: ... here.
17715 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17716 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17717 * nptl/sem_timedwait.c: ... here.
17718 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17719 * nptl/sem_trywait.c: ... here.
17720 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17721 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17722 * nptl/sem_wait.c: ... here.
17723 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17724 * nptl/structsem.sym: ... here.
17725 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17726 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17727 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17728 * nptl/unregister-atfork.c: ... here.
17729 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17730 * nptl/unwindbuf.sym: ... here.
17731 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17732 * sysdeps/nptl/fork.c: ... here.
17733 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17734 * sysdeps/nptl/fork.h: ... here.
17735 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17736 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17737 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17738 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17739 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17740 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17741 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17742 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17743 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17744 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17745 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17746 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17747 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17749 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17751 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17753 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17755 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17756 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17757 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17758 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17759 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17760 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17761 * sysdeps/unix/sysv/linux/raise.c: ... here.
17762 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17763 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17764 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17765 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17767 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17768 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17769 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17770 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17771 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17773 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17775 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17776 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17777
17778 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17779
17780 * sysdeps/generic/memcopy.h: Add comment for
17781 MEMCPY_OK_FOR_FWD_MEMMOVE.
17782
17783 2014-07-04 Will Newton <will.newton@linaro.org>
17784
17785 * string/memchr.c: Merge from gnulib.
17786 [_LIBC]: Remove conditionals.
17787 (__ptr_t): Remove define.
17788 (LONG_MAX_32_BITS): Likewise.
17789 (LONG_MAX): Likewise.
17790 (MEMCHR): Use ANSI prototype and optimize algorithm.
17791
17792 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17793
17794 2014-07-03 Roland McGrath <roland@hack.frob.com>
17795
17796 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17797 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17798
17799 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17800 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17801 in a bare environment with no <stdlib.h> installed.
17802 * sysdeps/nptl/configure: Regenerated.
17803
17804 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17805
17806 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17807 AC_EGREP_CPP for kernel header checks, so they only succeed if
17808 including <linux/version.h> actually works right.
17809 * sysdeps/unix/sysv/linux/configure: Regenerated.
17810
17811 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17812 value so it's not diagnosed as unused.
17813
17814 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17815 thing) with "ifeq ($(subdir),rt)".
17816
17817 2014-07-03 Richard Henderson <rth@redhat.com>
17818
17819 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17820 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17821 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17822
17823 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17824 (math_force_eval): New.
17825
17826 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17827 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17828
17829 * sysdeps/alpha/fpu/s_round.c: Remove file.
17830 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17831
17832 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17833 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17834 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17835 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17836 (_dl_start, print_statistics): Likewise.
17837 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17838 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17839
17840 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17841 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17842 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17843 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17844 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17845 (HP_SMALL_TIMING_AVAIL): Define.
17846 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17847 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17848 (HP_SMALL_TIMING_AVAIL): Define.
17849 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17850 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17851
17852 * sysdeps/aarch64/hp-timing.h: New file.
17853
17854 * sysdeps/generic/hp-timing.h: Remove dead comment.
17855 * sysdeps/generic/hp-timing-common.h: New file.
17856 * sysdeps/alpha/hp-timing.h: Include it.
17857 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17858 * sysdeps/i386/i686/hp-timing.h: Likewise.
17859 * sysdeps/ia64/hp-timing.h: Likewise.
17860 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17861 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17862 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17863 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17864 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17865 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17866 (hp_timing_t): New.
17867
17868 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17869 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17870 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17871 * elf/rtld.c (_dl_start_final): Likewise.
17872 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17873 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17874 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17875 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17876 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17877 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17878 (HP_TIMING_DIFF_INIT): Remove.
17879 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17880 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17881 (HP_TIMING_DIFF_INIT): Remove.
17882 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17883 * sysdeps/i386/i686/hp-timing.c: Remove file.
17884 * sysdeps/x86_64/hp-timing.c: Remove file.
17885 * sysdeps/ia64/hp-timing.c: Remove file.
17886 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17887 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17888 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17889 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17890
17891 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17892 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17893 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17894 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17895 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17896 (HP_TIMING_ACCUM): Remove.
17897 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17899 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17900
17901 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17902 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17903 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17904 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17906 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17908 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17909
17910 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17911
17912 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17913
17914 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17915
17916 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17917
17918 Sync up with gettext.
17919 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17920 [_MSC_VER]: Include malloc.h
17921 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17922 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17923 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17924 TEMP_FAILURE_RETRY. Cast return of alloca.
17925 [!_LIBC] Call gl_rwlock_init.
17926 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17927
17928 2014-07-02 Roland McGrath <roland@hack.frob.com>
17929
17930 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17931 before checking its value.
17932
17933 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17934
17935 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17936
17937 * debug/memcpy_chk.c: Don't include pagecopy.h.
17938 * debug/mempcpy_chk.c: Likewise.
17939 * string/memcpy.c: Likewise.
17940 * string/memmove.c: Likewise.
17941 * sysdeps/powerpc/memmove.c: Likewise.
17942 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17943 definition of PAGE_COPY_FWD_MAYBE here...
17944 * sysdeps/generic/pagecopy.h: ... from here.
17945 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17946
17947 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17948 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17949
17950 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17952 optimizations.
17953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17954 (__libc_ifunc_impl_list): Likewise.
17955 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17956 multiarch strcat for PPC64.
17957 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17958 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17959
17960 2014-07-02 Roland McGrath <roland@hack.frob.com>
17961
17962 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17963
17964 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17965
17966 * intl/loadmsgcat.c: Remove declaration of
17967 get_sysdep_segment_value.
17968 (get_sysdep_segment_value): Use ISO C style.
17969 (_nl_load_domain): Use ISO C style. Get rid of redundant
17970 semicolon. Fix typo and formatting in comment.
17971 (_nl_unload_domain): Use ISO C style.
17972
17973 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17974
17975 2014-07-02 Will Newton <will.newton@linaro.org>
17976
17977 * malloc/obstack.c: Merge from gnulib master.
17978 [HAVE_CONFIG_H]: Remove conditional code.
17979 [!_LIBC]: Include config.h.
17980 [!ELIDE_CODE]: Don't include inttypes.h, include
17981 stdint.h unconditionally.
17982 (print_and_abort): Mark as _Noreturn.
17983 (_obstack_allocated_p): Mark as __attribute_pure__.
17984 (obstack_free): Rename to __obstack_free.
17985 [!__attribute__]: Remove conditional code.
17986 * malloc/obstack.h: Merge from gnulib master.
17987 [__cplusplus]: Move conditional down.
17988 [!__attribute_pure__]: Define __attribute_pure__ here
17989 if it is not already defined.
17990 (_obstack_memory_used): Mark as __attribute_pure__.
17991 [!__obstack_free]: Define as obstack_free.
17992 [__GNUC__]: Remove check for ancient NeXT gcc.
17993
17994 2014-07-02 Will Newton <will.newton@linaro.org>
17995 Paul Eggert <eggert@cs.ucla.edu>
17996
17997 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17998
17999 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18000
18001 * resolv/gethnamaddr.c: Add comment warning that the file is
18002 not maintained.
18003
18004 2014-07-01 Carlos O'Donell <carlos@redhat.com>
18005
18006 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18007 entries.
18008
18009 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18010 entry for aio_cancel and aio_cancel64.
18011 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18012 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18013 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18014 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18015 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18016 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18017 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18018 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18019 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18020 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18021 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18022 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18023 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18024
18025 2014-07-01 Roland McGrath <roland@hack.frob.com>
18026
18027 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18028 * nptl/pthread_mutex_lock.c: Likewise.
18029 * nptl/pthread_mutex_timedlock.c: Likewise.
18030 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18031
18032 2014-07-01 Richard henderson <rth@redhat.com>
18033
18034 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18035 (__isnan, __isnanl): Remove.
18036 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18037
18038 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18039
18040 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18041
18042 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18043
18044 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18045
18046 * resolv/nss_dns/dns-host.c (getanswer_r)
18047 [MULTI_PTRS_ARE_ALIASES]: Remove code.
18048
18049 2014-07-01 Joseph Myers <joseph@codesourcery.com>
18050
18051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18052 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18053 undefine.
18054 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18055 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18056
18057 2014-07-01 Roland McGrath <roland@hack.frob.com>
18058
18059 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18060 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18061
18062 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18063 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18064
18065 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18066 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18067 ... here.
18068 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18069 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18070
18071 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18072 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18073 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18074 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18075
18076 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18077 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18078 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18079 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18080 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18081 Moved ...
18082 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18083 ... here.
18084 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18085 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18086 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18087 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18088 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18089 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18095 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18103 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18104 ... here.
18105 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18106 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18107 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18108 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18109 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18110 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18111 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18112 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18113
18114 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18115
18116 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18117 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18118 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18119 Add sysdep.
18120
18121 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18122
18123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18124
18125 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18126
18127 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18128 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18129
18130 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18131
18132 * sysdeps/arm/libm-test-ulps: Regenerated.
18133
18134 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18135 Roland McGrath <roland@hack.frob.com>
18136
18137 * test-skeleton.c (signal_handler): Kill the whole process group
18138 before killing the child individually.
18139 (main): Report any failure on `setpgid'.
18140
18141 2014-06-30 Roland McGrath <roland@hack.frob.com>
18142
18143 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18144 from _TLS_H to _ARM_NPTL_TLS_H.
18145 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18146 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18147
18148 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18149
18150 [BZ #16539]
18151 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18152 (__expm1l): Return argument unchanged when small but not
18153 subnormal.
18154
18155 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18156 include macro name.
18157 (_FP_UNPACK_RAW_1_P): Likewise.
18158 (_FP_PACK_RAW_1): Likewise.
18159 (_FP_PACK_RAW_1_P): Likewise.
18160 (_FP_MUL_MEAT_1_wide): Likewise.
18161 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18162 (_FP_MUL_MEAT_1_hard): Likewise.
18163 (_FP_DIV_MEAT_1_imm): Likewise.
18164 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18165 (_FP_DIV_MEAT_1_udiv): Likewise.
18166 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18167 (_FP_UNPACK_RAW_2): Likewise.
18168 (_FP_UNPACK_RAW_2_P): Likewise.
18169 (_FP_PACK_RAW_2): Likewise.
18170 (_FP_PACK_RAW_2_P): Likewise.
18171 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18172 (_FP_MUL_MEAT_2_wide): Likewise.
18173 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18174 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18175 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18176 (_FP_MUL_MEAT_2_gmp): Likewise.
18177 (_FP_DIV_MEAT_2_udiv): Likewise.
18178 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18179 (_FP_FRAC_SRL_4): Likewise.
18180 (_FP_FRAC_SRST_4): Likewise.
18181 (_FP_FRAC_SRS_4): Likewise.
18182 (_FP_UNPACK_RAW_4): Likewise.
18183 (_FP_UNPACK_RAW_4_P): Likewise.
18184 (_FP_PACK_RAW_4): Likewise.
18185 (_FP_PACK_RAW_4_P): Likewise.
18186 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18187 (_FP_MUL_MEAT_4_wide): Likewise.
18188 (_FP_MUL_MEAT_4_gmp): Likewise.
18189 (umul_ppppmnnn): Likewise.
18190 (_FP_DIV_MEAT_4_udiv): Likewise.
18191 (__FP_FRAC_ADD_4): Likewise.
18192 (__FP_FRAC_SUB_3): Likewise.
18193 (__FP_FRAC_SUB_4): Likewise.
18194 (__FP_FRAC_DEC_3): Likewise.
18195 (__FP_FRAC_DEC_4): Likewise.
18196 (__FP_FRAC_ADDI_4): Likewise.
18197 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18198 (_FP_FRAC_SRL_8): Likewise.
18199 (_FP_FRAC_SRS_8): Likewise.
18200
18201 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18202 include macro name.
18203 (FP_UNPACK_RAW_EP): Likewise.
18204 (FP_PACK_RAW_E): Likewise.
18205 (FP_PACK_RAW_EP): Likewise.
18206 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18207 (_FP_ISSIGNAN): Likewise.
18208 (_FP_ADD_INTERNAL): Likewise.
18209 (_FP_FMA): Likewise.
18210 (_FP_CMP): Likewise.
18211 (_FP_SQRT): Likewise.
18212 (_FP_TO_INT): Likewise.
18213 (_FP_FROM_INT): Likewise.
18214 (FP_EXTEND): Likewise.
18215 (_FP_DIV_MEAT_N_loop): Likewise.
18216
18217 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18218
18219 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18220 throughout.
18221
18222 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18223
18224 [BZ #17097]
18225 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18226 result with correct sign in case of exponents that produce
18227 overflow except for X very close to 1.
18228
18229 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18230
18231 mktime: merge #if/#ifdef usage from glibc
18232 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18233 as that works with both Glibc's and Gnulib's style.
18234 See thread starting at Siddhesh Poyarekar's bug report at:
18235 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18236
18237 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18238
18239 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18240 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18241 * sysdeps/tile/tilegx/memmove.c: Remove file.
18242
18243 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18244
18245 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18246 abi-name definition.
18247 * scripts/soversions.awk: Do not handle or generate ABI lines.
18248 * shlib-versions: Remove ABI entries.
18249 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18250 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18251
18252 2014-06-27 Roland McGrath <roland@hack.frob.com>
18253
18254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18255 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18256 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18257 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18259 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18261 Moved ...
18262 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18263 ... here.
18264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18265 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18266 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18267 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18273 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18275 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18277 Moved ...
18278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18280 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18284 Moved ...
18285 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18287 Moved ...
18288 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18290 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18292 Moved ...
18293 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18295 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18297 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18301 Moved ...
18302 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18304 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18305 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18306 Moved ...
18307 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18309 Moved ...
18310 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18312 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18313 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18314 Moved ...
18315 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18316 ... here.
18317 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18318 Identical file removed.
18319 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18320 Moved ...
18321 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18323 Identical file removed.
18324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18325 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18327 Moved ...
18328 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18330 Identical file removed.
18331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18332 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18334 Identical file removed.
18335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18338 Identical file removed.
18339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18340 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18342 Identical file removed.
18343 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18344 Moved ...
18345 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18347 Identical file removed.
18348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18349 Moved ...
18350 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18352 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18354 Identical file removed.
18355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18356 Moved ...
18357 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18358 ... here.
18359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18360 Identical file removed.
18361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18362 Moved ...
18363 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18365 Identical file removed.
18366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18367 Moved ...
18368 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18370 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18372 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18374 Moved ...
18375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18376 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18377 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18378
18379 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18380 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18381 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18382 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18383 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18384
18385 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18386
18387 [BZ #17092]
18388 * nscd/nscd.c (monitor_child): Return exit status of child
18389 instead of return value from wait syscall.
18390
18391 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18392
18393 * configure.ac (libc_commonpagesize): Remove variable.
18394 (libc_relro_required): Likewise.
18395 (libc_cv_z_relro): Remove configure test.
18396 * configure: Regenerated.
18397 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18398 variable.
18399 (libc_relro_required): Likewise.
18400 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18401 (libc_relro_required): Likewise.
18402 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18403 (libc_relro_required): Likewise.
18404 * sysdeps/arm/preconfigure: Regenerated.
18405 * sysdeps/ia64/preconfigure: Remove file.
18406 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18407 variable.
18408 (libc_relro_required): Likewise.
18409
18410 [BZ #16561]
18411 [BZ #16562]
18412 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18413 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18414 recompute overflowing results in original rounding mode.
18415 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18416 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18417 recompute overflowing results in original rounding mode.
18418 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18419 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18420 recompute overflowing results in original rounding mode.
18421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18422 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18423 recompute overflowing results in original rounding mode.
18424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18425 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18426 recompute overflowing results in original rounding mode.
18427 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18428 (libc_feholdsetround_ctx): New macro.
18429 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18432
18433 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18434
18435 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18436 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18437 corresponding .cpsetup call.
18438
18439 2014-06-26 Roland McGrath <roland@hack.frob.com>
18440
18441 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18442 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18443 * sysdeps/arm/Makefile [$(subdir) = csu]
18444 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18445 (static-only-routines): Add aeabi_read_tp here.
18446 (shared-only-routines): Add libc-aeabi_read_tp here.
18447 (CFLAGS-libc-start.c): Add -fexceptions here.
18448 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18449 (sysdep_routines, static-only-routines, shared-only-routines):
18450 Don't add to these here.
18451 (CFLAGS-libc-start.c): Likewise.
18452
18453 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18454 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18455 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18456 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18457 * sysdeps/arm/Makefile [$(subdir) = rt]
18458 (librt-sysdep_routines, librt-shared-only-routines):
18459 Append rt-aeabi_unwind_cpp_pr1 here.
18460 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18461 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18462 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18463 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18464 Append nptl-aeabi_unwind_cpp_pr1 here.
18465 (tests): Filter out tst-cleanupx4 here.
18466 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18467 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18468 Don't do those here.
18469
18470 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18471
18472 * scripts/list-sources.sh: Do not handle ports specially.
18473
18474 2014-06-26 Roland McGrath <roland@hack.frob.com>
18475
18476 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18477 * sysdeps/arm/feupdateenv.c: Likewise.
18478
18479 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18480
18481 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18482
18483 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18484 trailing whitespace removed.
18485 * scripts/config.guess: Update to version 2014-03-23.
18486 * scripts/config.sub: Update to version 2014-05-01
18487 * scripts/install-sh: Update to version 2013-12-25.23.
18488 * scripts/move-if-change: Update from gnulib.
18489
18490 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18491
18492 * debug/memmove_chk.c: Remove pagecopy.h include.
18493
18494 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18495
18496 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18497 identical to gnulib mktime.
18498
18499 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18500
18501 * configure.ac: Do not test for machine being rs6000. Do not test
18502 for powerpc*-*soft.
18503 * configure: Regenerated.
18504
18505 [BZ #11505]
18506 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18507 test.
18508 * configure: Regenerated.
18509 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18510 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18511 Remove configure test.
18512 * sysdeps/arm/configure: Regenerated.
18513 * sysdeps/nptl/configure.ac: Do not check
18514 libc_cv_asm_cfi_directives.
18515 * sysdeps/nptl/configure: Regenerated.
18516 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18517 * sysdeps/x86_64/nptl/configure: Remove generated file.
18518 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18519 unconditional.
18520 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18521
18522 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18523
18524 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18525 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18526 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18527 it is defined.
18528
18529 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18530 instead of whether it is defined.
18531 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18532 * sysdeps/hppa/dl-machine.h: Likewise.
18533 * sysdeps/ia64/dl-machine.h: Likewise.
18534 * sysdeps/m68k/dl-machine.h: Likewise.
18535 * sysdeps/microblaze/dl-machine.h: Likewise.
18536 * sysdeps/mips/dl-machine.: Likewise.
18537 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18538 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18539 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18540 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18541 * sysdeps/sh/dl-machine.h: Likewise.
18542 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18543 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18544 * sysdeps/tile/dl-machine.h: Likewise.
18545 * sysdeps/x86_64/dl-machine.h: Likewise.
18546
18547 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18548 code.
18549 (verify_persistent_db): Likewise.
18550
18551 2014-06-26 Roland McGrath <roland@hack.frob.com>
18552
18553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18554 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18556 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18558 Moved ...
18559 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18560 ... here.
18561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18562 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18564 Identical file removed.
18565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18568 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18570 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18574 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18576 Moved ...
18577 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18579 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18581 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18583 Moved ...
18584 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18586 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18588 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18590 Identical file removed.
18591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18592 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18594 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18596 Moved ...
18597 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18598 ... here.
18599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18600 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18602 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18604 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18606 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18608 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18610 Moved ...
18611 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18613 Moved ...
18614 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18616 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18618 Moved ...
18619 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18621 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18622
18623 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18624 folded into ...
18625 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18626 * sysdeps/unix/sysv/linux/s390/Versions
18627 (libpthread: GLIBC_2.19): New version set.
18628 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18629 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18630 (librt: GLIBC_2.3.3): New version set.
18631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18633 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18634 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18635 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18636 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18637 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18638 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18639 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18640 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18641 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18642 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18643 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18644 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18645 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18646 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18647 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18648 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18650 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18651 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18653 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18655 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18659 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18661 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18667 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18669 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18675 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18676
18677 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18678 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18679 (__libc_vfork): Define the function under this name.
18680 [!NOT_IN_libc] (__vfork): Make this an alias.
18681 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18683 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18684 (__libc_vfork): Define the function under this name.
18685 [!NOT_IN_libc] (__vfork): Make this an alias.
18686 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18687 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18688 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18689 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18691 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18692
18693 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18694 code that was previously under [RESET_PID].
18695 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18696 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18697 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18698
18699 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18700 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18701 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18702 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18703 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18704 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18705 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18706 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18707 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18708 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18709 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18710 Moved ...
18711 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18712 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18713 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18714 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18715 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18716 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18717 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18718 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18719 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18720 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18722 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18723 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18724 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18725 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18726 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18727 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18728 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18729 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18730 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18731 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18735 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18736 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18737 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18738 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18739 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18740
18741 2014-06-25 Roland McGrath <roland@hack.frob.com>
18742
18743 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18744 that was previously under [RESET_PID].
18745 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18746
18747 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18748
18749 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18750 not undefine and redefine.
18751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18752 [O_CLOEXEC]: Make code unconditional.
18753 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18754 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18755 <kernel-features.h>.
18756 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18757 conditional variable definition.
18758 (shm_open) [O_CLOEXEC]: Make code unconditional.
18759 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18760 code.
18761
18762 * configure.ac (USE_REGPARMS): Don't define here.
18763 * configure: Regenerated.
18764 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18765 * sysdeps/i386/configure: Regenerated.
18766
18767 * nptl/createthread.c: Don't include kernel-features.h.
18768 * nptl/pthread_cancel.c: Likewise.
18769 * nptl/pthread_condattr_setclock.c: Likewise.
18770 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18771 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18772 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18773 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18774 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18775 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18776 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18779 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18780 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18781 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18782 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18783 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18784 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18785 * nscd/gai.c: Likewise.
18786 * nss/nss_db/db-open.c: Likewise.
18787 * sysdeps/generic/ldsodefs.h: Likewise.
18788 * sysdeps/sh/nptl/tls.h: Likewise.
18789 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18790 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18791 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18792 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18793 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18794 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18795 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18796 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18798 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18799 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18800 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18801 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18802 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18803 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18804 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18805 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18806 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18807 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18808 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18811 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18812 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18817 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18818 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18819 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18820 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18821 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18822 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18823 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18824 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18825 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18826 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18827 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18828 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18829 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18830 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18831 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18833 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18834 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18835 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18836 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18837 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18838 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18839 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18840 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18841 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18842 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18843 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18845 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18869 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18870 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18871 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18872 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18873 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18876 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18877 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18878 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18879 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18880 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18881 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18883 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18884 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18885 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18886 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18887 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18888 * sysdeps/unix/sysv/linux/system.c: Likewise.
18889 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18890 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18891 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18892 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18893 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18894 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18895 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18896
18897 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18898 * configure: Regenerated.
18899 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18900
18901 * configure.ac (base_machine): Do not set specially for particular
18902 machines here.
18903 * configure: Regenerated.
18904 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18905 settings from configure.ac.
18906 * sysdeps/i386/preconfigure: New file.
18907 * sysdeps/s390/preconfigure: Likewise.
18908 * sysdeps/sh/preconfigure: Likewise.
18909 * sysdeps/sparc/preconfigure: Likewise.
18910
18911 2014-06-25 Roland McGrath <roland@hack.frob.com>
18912
18913 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18914 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18915 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18916 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18917 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18918 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18919 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18920 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18921 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18922 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18923 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18924 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18925 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18926 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18927 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18928 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18929 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18930 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18931 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18932
18933 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18934 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18935 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18936 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18937 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18938 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18939 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18940 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18941 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18942 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18943 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18944 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18945 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18946 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18947 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18948 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18949 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18950 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18951 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18952 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18954 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18958 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18960 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18963 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18964 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18965 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18966 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18967 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18968 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18970 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18971
18972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18973 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18975 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18977 Moved ...
18978 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18979 ... here.
18980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18981 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18985 Moved ...
18986 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18988 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18992 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18994 Moved ...
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18997 Moved ...
18998 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19000 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19002 Moved ...
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19009 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19011 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19013 Moved ...
19014 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19015 ... here.
19016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19017 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19021 Moved ...
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19030 Moved ...
19031 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19033 Moved ...
19034 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19038 Moved ...
19039 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19041 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19043 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19044
19045 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19046
19047 * timezone/checktab.awk: Update from tzcode 2014e.
19048 * timezone/private.h: Likewise.
19049 * timezone/tzfile.h: Likewise.
19050 * timezone/zdump.c: Likewise.
19051 * timezone/zic.c: Likewise.
19052
19053 * sysdeps/unix/sysv/linux/kernel-features.h
19054 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19055 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19056 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19058 Remove conditional code.
19059
19060 2014-06-25 Will Newton <will.newton@linaro.org>
19061
19062 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19063 (_dl_arm_cap_flags): Add HWCAP2 values.
19064 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19065 (_DL_HWCAP_COUNT): Increase to 37.
19066 (_DL_HWCAP_LAST): New define.
19067 (_DL_HWCAP2_LAST): New define.
19068 (_dl_procinfo): Add support for printing
19069 AT_HWCAP2 entries.
19070 (_dl_string_hwcap): Use _dl_hwcap_string.
19071
19072 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19073
19074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19075
19076 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19077
19078 * README: Do not mention ports directory.
19079
19080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19081 Remove macro.
19082 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19083 <kernel-features.h>.
19084 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19085 conditional variable definition.
19086 (__futimes): Update comment.
19087 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19088 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19089
19090 [BZ #16560]
19091 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19092 arguments close to 0.
19093 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19094 Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19096 Likewise.
19097 * math/auto-libm-test-in: Add more tests of exp10.
19098 * math/auto-libm-test-out: Regenerated.
19099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19100
19101 * sysdeps/unix/sysv/linux/kernel-features.h
19102 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19103 * sysdeps/unix/sysv/linux/readv.c: Do not include
19104 <kernel-features.h>.
19105 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19106 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19107 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19108 unconditional.
19109 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19110 conditional code.
19111 * sysdeps/unix/sysv/linux/writev.c: Do not include
19112 <kernel-features.h>.
19113 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19114 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19115 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19116 unconditional.
19117 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19118 conditional code.
19119
19120 2014-06-25 Will Newton <will.newton@linaro.org>
19121
19122 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19123 comment changes throughout the file. Remove checks
19124 for HAVE_*_H definitions that are not required.
19125 (__gen_tempname): Call abort if an unknown kind value is
19126 passed.
19127
19128 2014-06-25 Andreas Schwab <schwab@suse.de>
19129
19130 [BZ #17086]
19131 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19132 scalbln, scalblnf, scalblnl in libc.
19133
19134 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19135
19136 [BZ #17086]
19137 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19138 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19139 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19140
19141 2014-06-24 Roland McGrath <roland@hack.frob.com>
19142
19143 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19144 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19145 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19146 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19147 Update #include.
19148 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19149 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19150 Update #include.
19151 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19153 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19154 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19155 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19156 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19157 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19158 * sysdeps/x86/bits/semaphore.h: ... here.
19159 * sysdeps/x86/nptl/elide.h: Moved ...
19160 * sysdeps/x86/elide.h: ... here.
19161 * sysdeps/x86_64/nptl/Implies: File removed.
19162 * sysdeps/i386/nptl/Implies: File removed.
19163
19164 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19165
19166 [BZ #16539]
19167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19168 return the argument for normal arguments with exponent below -64.
19169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19170 Likewise.
19171 * math/auto-libm-test-in: Add another test of expm1.
19172 * math/auto-libm-test-out: Regenerated.
19173
19174 [BZ #16287]
19175 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19176 calling __erfcl for arguments at least 16.
19177 * math/auto-libm-test-in: Add more tests of erf.
19178 * math/auto-libm-test-out: Regenerated.
19179
19180 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19181 individual architectures.
19182 * sysdeps/unix/sysv/linux/configure: Regenerated.
19183 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19184 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19185 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19186 (ldd_rewrite_script): Define variable.
19187 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19189 file.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19191 generated file.
19192 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19193 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19194 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19195 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19196 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19197 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19198 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19199 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19200
19201 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19202
19203 [BZ #17084]
19204 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19205 Rename member __data.d to __data.__elision_data.
19206
19207 2014-06-24 Wilco <wdijkstr@arm.com>
19208
19209 * NEWS: Add 16918 to fixed bug list.
19210
19211 2014-06-24 Wilco <wdijkstr@arm.com>
19212
19213 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19214
19215 2014-06-24 Wilco <wdijkstr@arm.com>
19216
19217 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19218 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19219 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19220 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19221 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19222 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19223 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19224 Use _FPU_MASK_RM.
19225
19226 2014-06-24 Wilco <wdijkstr@arm.com>
19227
19228 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19229
19230 2014-06-24 Wilco <wdijkstr@arm.com>
19231
19232 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19233 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19234 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19235 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19236
19237 2014-06-24 Wilco <wdijkstr@arm.com>
19238
19239 [BZ #16918]
19240 * sysdeps/arm/feupdateenv.c (feupdateenv):
19241 Rewrite to reduce FPSCR accesses and fix return value.
19242
19243 2014-06-24 Wilco <wdijkstr@arm.com>
19244
19245 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19246 Optimize to avoid unnecessary FPSCR writes.
19247 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19248 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19249 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19250 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19251
19252 2014-06-24 Wilco <wdijkstr@arm.com>
19253
19254 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19255 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19256 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19257 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19258 Call libc_fetestexcept_vfp.
19259 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19260 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19261 __SOFTFP__ ifdef so that they can be built for softfp.
19262
19263 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19264
19265 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19266 argument type signed char.
19267
19268 * Makerules (check-abi): Dump diff of symlist if the test
19269 fails.
19270
19271 2014-06-23 Roland McGrath <roland@hack.frob.com>
19272
19273 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19274 using abort.
19275
19276 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19277 Remove unused variable ST.
19278
19279 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19280
19281 [BZ #16354]
19282 [BZ #17061]
19283 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19284 small arguments before calling __expm1.
19285 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19286 small arguments before calling __expm1f.
19287 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19288 small arguments before calling __expm1l.
19289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19290 Likewise.
19291 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19292 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19293 spurious underflow for some cosh tests.
19294 * math/auto-libm-test-out: Regenerated.
19295 * sysdeps/i386/fpu/libm-test-ulps: Update.
19296
19297 [BZ #17050]
19298 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19299 (__ieee754_y1): Set errno if return value overflows.
19300 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19301 (__ieee754_y1f): Set errno if return value overflows.
19302 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19303 (__ieee754_y1l): Set errno if return value overflows.
19304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19305 (__ieee754_y1l): Set errno if return value overflows.
19306 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19307 * math/auto-libm-test-out: Regenerated.
19308
19309 * math/gen-auto-libm-tests.c: Document use of
19310 ignore-zero-inf-sign.
19311 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19312 (input_flags): Add ignore-zero-inf-sign.
19313 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19314 * math/gen-libm-test.pl (generate_testfile): Handle
19315 ignore-zero-inf-sign.
19316 * math/auto-libm-test-in: Mark some cpow tests with
19317 ignore-zero-inf-sign and some with xfail-rounding.
19318 * math/auto-libm-test-out: Regenerated.
19319 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322
19323 [BZ #16315]
19324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19325 overflowing or underflowing operations take place with sign of
19326 result.
19327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19329 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19330 (__ieee754_pow): Recompute overflowing and underflowing results in
19331 original rounding mode.
19332 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19333 (__powl_helper): Allow negative argument X and scale negated value
19334 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19335 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19336 overflowing or underflowing operations take place with sign of
19337 result.
19338 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19339 Include <math.h>.
19340 * math/auto-libm-test-in: Add more tests of pow.
19341 * math/auto-libm-test-out: Regenerated.
19342 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19343 (pow_tonearest_test_data): Remove.
19344 (pow_test_tonearest): Likewise.
19345 (pow_towardzero_test_data): Likewise.
19346 (pow_test_towardzero): Likewise.
19347 (pow_downward_test_data): Likewise.
19348 (pow_test_downward): Likewise.
19349 (pow_upward_test_data): Likewise.
19350 (pow_test_upward): Likewise.
19351 (main): Don't call removed functions.
19352 * sysdeps/i386/fpu/libm-test-ulps: Update.
19353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19354
19355 2014-06-23 Roland McGrath <roland@hack.frob.com>
19356
19357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19358 Moved ...
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19361 Moved ...
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19364 Moved ...
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19367 Moved ...
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19370 File removed.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19372 File removed.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19374 File removed.
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19376 File removed.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19378 File removed.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19380 File removed.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19382 File removed.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19384 File removed.
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19386 File removed.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19388 File removed.
19389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19390 File removed.
19391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19392 File removed.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19394 Moved ...
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19397 Moved ...
19398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19399 ... here.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19401 Moved ...
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19404 Moved ...
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19407 Moved ...
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19410 Moved ...
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19413 Moved ...
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19416 Moved ...
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19419 Moved ...
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19423 ... here.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19425 Moved ...
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19428 Moved ...
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19430 ... here.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19432 Moved ...
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19434 ... here.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19436 Moved ...
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19438 ... here.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19440 Moved ...
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19443 Moved ...
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19448 Moved ...
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19450 ... here.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19452 Moved ...
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19454 ... here.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19456 Moved ...
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19459 Moved ...
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19462 Moved ...
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19465 Moved ...
19466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19468 Moved ...
19469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19470 ... here.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19472 Moved ...
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19475 Moved ...
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19478 Moved ...
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19481 Moved ...
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19486 Moved ...
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19489 Moved ...
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19492 Moved ...
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19494 ... here.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19496 Moved ...
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19498 ... here.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19500 Moved ...
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19502 ... here.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19504 Moved ...
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19507 Moved ...
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19510 Moved ...
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19513 Moved ...
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19515 ... here.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19517 Moved ...
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19519 ... here.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19523 ... here.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19525 Moved ...
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19528 Moved ...
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19530
19531 2014-06-23 Will Newton <will.newton@linaro.org>
19532 Wilco <wdijkstr@arm.com>
19533
19534 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19535 implementation. Include get-rounding-mode.h.
19536 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19537 [!libc_feholdsetround_noex_ctx]: Define
19538 libc_feholdsetround_noex_ctx.
19539 [!libc_feholdsetround_noexf_ctx]: Define
19540 libc_feholdsetround_noexf_ctx.
19541 [!libc_feholdsetround_noexl_ctx]: Define
19542 libc_feholdsetround_noexl_ctx.
19543 (libc_feholdsetround_ctx): New function.
19544 (libc_feresetround_ctx): New function.
19545 (libc_feholdsetround_noex_ctx): New function.
19546 (libc_feresetround_noex_ctx): New function.
19547
19548 2014-06-23 Roland McGrath <roland@hack.frob.com>
19549
19550 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19551 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19552 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19553 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19554 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19555 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19556
19557 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19558 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19559 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19560 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19561 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19562 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19564 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19565 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19566 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19568 Moved ...
19569 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19570 ... here.
19571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19572 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19576 Moved ...
19577 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19579 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19581 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19583 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19585 Moved ...
19586 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19588 Moved ...
19589 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19591 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19593 Moved ...
19594 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19596 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19597 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19598 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19599 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19600 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19602 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19604 Moved ...
19605 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19606 ... here.
19607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19608 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19610 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19612 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19614 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19616 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19618 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19620 Moved ...
19621 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19623 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19625 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19627 Moved ...
19628 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19630 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19631 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19632 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19633
19634 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19635 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19636 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19637 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19638 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19639 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19640 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19641 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19643 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19644 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19645 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19647 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19648 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19649 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19650 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19651 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19653 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19654 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19655 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19656 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19657 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19658 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19659 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19660 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19661 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19662
19663 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19664
19665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19666 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19667 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19668 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19669 (IPV6_PMTUDISC_INTERFACE): Likewise.
19670 (IPV6_PMTUDISC_OMIT): Likewise.
19671
19672 2014-06-23 Andreas Schwab <schwab@suse.de>
19673
19674 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19675 Remove unused errout label.
19676
19677 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19678
19679 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19680 macro: hardware supports Vector Crypto instructions.
19681
19682 2014-06-23 Will Newton <will.newton@linaro.org>
19683
19684 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19685 rather than __builtin_expect.
19686
19687 * elf/dl-lookup.c (undefined_msg): Remove variable.
19688 (_dl_lookup_symbol_x): Replace undefined_msg with string
19689 literal.
19690
19691 * elf/dl-lookup.c (do_lookup_unique): New function.
19692 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19693 to a separate function.
19694
19695 2014-06-23 Andreas Schwab <schwab@suse.de>
19696
19697 [BZ #17079]
19698 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19699 before reading the next line.
19700
19701 2014-06-23 Will Newton <will.newton@linaro.org>
19702
19703 * test-skeleton.c (signal_handler): Use printf and %m
19704 rather than perror. Use printf rather than fprintf to
19705 stderr. Use puts rather than fputs to stderr.
19706 (main): Likewise.
19707
19708 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19709
19710 * nscd/nscd.c (thread_info_t): Remove typedef.
19711 (thread_info): Remove variable.
19712
19713 2014-06-21 Allan McRae <allan@archlinux.org>
19714
19715 * NEWS: Mention CVE-2014-4043.
19716
19717 2014-06-20 Roland McGrath <roland@hack.frob.com>
19718
19719 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19720 * nptl/smp.h: ... here.
19721
19722 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19723
19724 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19725 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19726 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19727 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19728
19729 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19730 * nptl/stack-aliasing.h: New file.
19731 * sysdeps/i386/i686/stack-aliasing.h: New file.
19732 * sysdeps/i386/i686/nptl/Makefile: File removed.
19733 * sysdeps/x86_64/stack-aliasing.h: New file.
19734 * sysdeps/x86_64/nptl/Makefile
19735 (CFLAGS-pthread_create.c): Variable removed.
19736
19737 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19738 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19739 old file.
19740 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19741 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19742 old file.
19743
19744 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19745
19746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19747 (__ASSUME_SIGFRAME_V2): Remove macro.
19748 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19749 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19750 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19751 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19752 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19753 Declare as function. Remove conditional macro definitions.
19754 (__default_rt_sa_restorer): Likewise.
19755 (__default_sa_restorer_v1): Remove declaration.
19756 (__default_sa_restorer_v2): Likewise.
19757 (__default_rt_sa_restorer_v1): Likewise.
19758 (__default_rt_sa_restorer_v2): Likewise.
19759 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19760 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19761 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19762
19763 2014-06-20 Roland McGrath <roland@hack.frob.com>
19764
19765 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19766 (libpthread-routines): Add sysdep.
19767 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19768 * sysdeps/unix/sysv/linux/sparc/Versions
19769 (libpthread: GLIBC_2.3.3): New version set.
19770 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19771 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19772 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19773 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19774 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19775 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19776 Moved ...
19777 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19778 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19779 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19780 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19781 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19782 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19783 * sysdeps/sparc/nptl/sem_init.c: ... here.
19784 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19785 * sysdeps/sparc/nptl/sem_post.c: ... here.
19786 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19787 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19788 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19789 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19790 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19791 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19792 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19793 (libpthread-routines): Add cpu_relax.
19794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19795 File removed.
19796 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19797 (librt: GLIBC_2.3.3): New version set.
19798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19799 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19801 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19804 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19806 Moved ...
19807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19809 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19811 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19813 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19815 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19817 Moved ...
19818 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19819 Update #include.
19820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19821 Moved ...
19822 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19823 Update #include.
19824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19825 Moved ...
19826 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19827 Update #include.
19828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19829 Moved ...
19830 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19831 Update #include.
19832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19833 Moved ...
19834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19835 Update #include.
19836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19837 Moved ...
19838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19839 Update #include.
19840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19841 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19847 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19849 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19851 Moved ...
19852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19854 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19856 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19857
19858 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19859
19860 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19861 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19862 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19863 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19864 * nscd/nscd.c: Likewise.
19865 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19866 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19867 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19868 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19869
19870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19871 <kernel-features.h>.
19872 (init_mq_netlink): Remove conditional have_sock_cloexec
19873 definitions. Remove code conditional on have_sock_cloexec < 0.
19874 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19875 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19876 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19877 <kernel-features.h>.
19878 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19879 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19880
19881 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19884 Add tests for memset_chk and memset.
19885
19886 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19887 with AVX2_Usable.
19888
19889 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19890
19891 [BZ #16046]
19892 * elf/tst-dl-iter-static.c: New file.
19893 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19894
19895 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19896 error.
19897
19898 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19899
19900 * sysdeps/unix/sysv/linux/kernel-features.h
19901 (__ASSUME_F_GETOWN_EX): Remove macro.
19902 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19903 <kernel-features.h>.
19904 (miss_F_GETOWN_EX): Remove variable or macro.
19905 (do_fcntl): Do not check miss_F_GETOWN_EX.
19906 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19907
19908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19909 Remove macro.
19910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19911 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19912 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19913
19914 * sysdeps/unix/sysv/linux/kernel-features.h
19915 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19916 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19917 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19918 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19919
19920 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19921
19922 [BZ #17075]
19923 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19924 Fix calculation of the symbol's value.
19925 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19926 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19927 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19928 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19929 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19930 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19931 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19932 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19933 (modules-names): Add `tst-armtlsdescmod',
19934 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19935 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19936 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19937 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19938 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19939 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19940 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19941 ($(objpfx)tst-armtlsdescloc): New dependency.
19942 ($(objpfx)tst-armtlsdescextnow): Likewise.
19943 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19944 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19945 TLS scheme support.
19946 * sysdeps/arm/configure: Regenerate.
19947
19948 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19949
19950 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19951 (__atfct_seterrno_2): Likewise.
19952 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19953 <kernel-features.h>.
19954 (__ASSUME_ATFCTS): Do not undefine and redefine.
19955 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19956 (__have_atfcts): Remove conditional definition.
19957 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19958 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19959 unreachable if [__ASSUME_ATFCTS].
19960 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19961 not undefine and redefine.
19962 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19963 <kernel-features.h>.
19964 (faccessat) [__NR_faccessat]: Make code unconditional.
19965 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19966 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19967 <kernel-features.h>.
19968 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19969 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19970 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19971 <kernel-features.h>.
19972 (fchownat) [__NR_fchownat]: Make code unconditional.
19973 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19974 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19975 <kernel-features.h>.
19976 (futimesat) [__NR_futimesat]: Make code unconditional.
19977 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19978 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19979 <kernel-features.h>.
19980 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19981 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19983 <kernel-features.h>.
19984 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19985 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19986 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19987 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19988 <kernel-features.h>.
19989 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19990 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19991 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19992 <kernel-features.h>.
19993 (linkat) [__NR_linkat]: Make code unconditional.
19994 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19995 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19996 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19997 <kernel-features.h>.
19998 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19999 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20000 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20001 <kernel-features.h>.
20002 (mkdirat) [__NR_mkdirat]: Make code unconditional.
20003 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20004 * sysdeps/unix/sysv/linux/openat.c: Do not include
20005 <kernel-features.h>.
20006 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20007 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20008 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20009 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20010 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20011 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20012 <kernel-features.h>.
20013 (readlinkat) [__NR_readlinkat]: Make code unconditional.
20014 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
20015 result of INLINE_SYSCALL directly, not via int variable.
20016 * sysdeps/unix/sysv/linux/renameat.c: Do not include
20017 <kernel-features.h>.
20018 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20019 (renameat) [__NR_renameat]: Make code unconditional.
20020 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20021 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20022 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20023 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20024 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20025 (__ASSUME_ATFCTS): Do not undefine and redefine.
20026 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20027 <kernel-features.h>.
20028 (symlinkat) [__NR_symlinkat]: Make code unconditional.
20029 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20030 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20031 <kernel-features.h>.
20032 (unlinkat) [__NR_unlinkat]: Make code unconditional.
20033 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20035 (__ASSUME_ATFCTS): Do not undefine and redefine.
20036 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20037 <kernel-features.h>.
20038 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20039 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20040 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20041 <kernel-features.h>.
20042 (__xmknodat) [__NR_mknodat]: Make code unconditional.
20043 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20044
20045 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20046
20047 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20048
20049 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
20050
20051 [BZ #17069]
20052 * posix/regcomp.c (parse_reg_exp): Deallocate partially
20053 constructed tree before returning error.
20054 * posix/bug-regexp36.c: Expand test case.
20055
20056 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20057
20058 [BZ #6803]
20059 * math/libm-test.inc (scalbln_test_date):
20060 Add errno expectations.
20061 * math/w_scalblnf.c: New File.
20062 Add wrapper which checks for setting errno to ERANGE.
20063 Add weak_alias for corresponding scalbln function.
20064 * math/w_scalbln.c: Likewise.
20065 * math/w_scalblnl.c: Likewise.
20066 * math/Makefile (libm-calls): Add w_scalbln.
20067 * sysdeps/ieee754/flt-32/s_scalblnf.c:
20068 Remove weak_alias for corresponding scalbln function.
20069 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20071 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20073 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20074 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20075 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20076 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20077 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20078 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20079 Remove long_double_symbol for scalblnl function in libm, libc.
20080 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20081 Add wrapper which checks for setting errno to ERANGE.
20082 Add long_double_symbol for scalblnl function in libm, libc.
20083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20084 Remove long_double_symbol for scalblnl in libm.
20085 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20086 Add wrapper which checks for setting errno to ERANGE.
20087 Add long_double_symbol for scalblnl function in libm.
20088 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20089 Do not use wrapper because of own implementation.
20090
20091 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20092
20093 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20094 3 bytes for __pad1 for x32.
20095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20096
20097 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20098 H.J. Lu <hongjiu.lu@intel.com>
20099
20100 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20101 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20102 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20103 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20104 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20105
20106 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20107
20108 [BZ #17069]
20109 * posix/regcomp.c (parse_expression): Deallocate partially
20110 constructed tree before returning error.
20111 * posix/Makefile.c (tests): Add bug-regex36.
20112 (generated): Add bug-regex36.mtrace.
20113 (tests-special): Add $(objpfx)bug-regex36-mem.out
20114 (bug-regex36-ENV): New variable.
20115 ($(objpfx)bug-regex36-mem.out): New rule.
20116 * posix/bug-regex36.c: New file.
20117
20118 2014-06-19 Will Newton <will.newton@linaro.org>
20119
20120 * malloc/malloc.c (systrim): If extra is zero then return
20121 early.
20122
20123 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20124
20125 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20126
20127 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20128
20129 * sysdeps/aarch64/strchr.S: New file.
20130
20131 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20132
20133 [BZ #17022]
20134 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20135 from arguments -2 or below.
20136 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20137 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20138
20139 2014-06-18 Andreas Schwab <schwab@suse.de>
20140
20141 [BZ #17062]
20142 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20143 of a bracket expr not to run off the end of the string.
20144 * posix/Makefile (tests): Add tst-fnmatch3.
20145 * posix/tst-fnmatch3.c: New file.
20146
20147 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20148
20149 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20151 [$(cross-compiling) = no]: Likewise.
20152 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20153 [$(cross-compiling) = no]: Likewise.
20154
20155 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20156
20157 [BZ #17031]
20158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20159 double, adjusted for any remainder from the high double.
20160 * math/libm-test.inc (nearbyint): Add tests.
20161 (rint): Likewise.
20162
20163 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20164
20165 * nptl/sysdeps/powerpc/Makefile: Moved ...
20166 * sysdeps/powerpc/nptl/Makefile: ... here.
20167 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20168 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20169 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20170 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20171 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20172 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20173 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20174 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20175 * nptl/sysdeps/powerpc/tls.h: Moved ...
20176 * sysdeps/powerpc/nptl/tls.h: ... here.
20177
20178 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20179
20180 [BZ #16681]
20181 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20182 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20183 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20184 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20185 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20186 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20187 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20188 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20189 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20190
20191 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20192
20193 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20194
20195 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20196
20197 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20198 defined operator.
20199
20200 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20201 $TIMEOUTFACTOR.
20202
20203 2014-06-16 Florian Weimer <fweimer@redhat.com>
20204
20205 [BZ #17058]
20206 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20207 non-executed part of the test.
20208
20209 2014-06-16 Andreas Schwab <schwab@suse.de>
20210
20211 * string/bits/string2.h (strdup, strndup): Update feature guard.
20212
20213 2014-06-14 David S. Miller <davem@davemloft.net>
20214
20215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20216
20217 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20218
20219 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20220 that was previously under [RESET_PID].
20221 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20222
20223 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20224 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20225 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20227 (__libc_vfork): New strong alias.
20228 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20229
20230 2014-06-14 Andi Kleen <ak@linux.intel.com>
20231
20232 * sysdeps/generic/elide.h: New file.
20233
20234 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20235
20236 * Makefile (installed-headers): Adjust path of pthread.h header.
20237
20238 2014-06-13 Roland McGrath <roland@hack.frob.com>
20239
20240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20241 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20242 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20243 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20244
20245 * nptl/sysdeps/s390/Makefile: Moved ...
20246 * sysdeps/s390/nptl/Makefile: ... here.
20247 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20248 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20249 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20250 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20251 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20252 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20253 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20254 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20255 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20256 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20257 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20258 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20259 * nptl/sysdeps/s390/tls.h: Moved ...
20260 * sysdeps/s390/nptl/tls.h: ... here.
20261
20262 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20263 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20264
20265 2014-06-13 David S. Miller <davem@davemloft.net>
20266
20267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20270 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20274 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20275 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20276 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20277 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20278 Remove RESET_PID cpp guards.
20279 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20280 Remove RESET_PID cpp guards.
20281 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20282
20283 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20284
20285 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20286 __sp to uintptr_t.
20287
20288 2014-06-13 Andi Kleen <ak@linux.intel.com>
20289
20290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20297 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20302 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20303 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20306 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20307 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20310
20311 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20312 (pthread_rwlock_rdlock): Add elision.
20313 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20314 (pthread_rwlock_wrlock): Add elision.
20315 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20316 (pthread_rwlock_trywrlock): Add elision.
20317 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20318 (pthread_rwlock_tryrdlock): Add elision.
20319 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20320 (pthread_rwlock_tryrdlock): Add elision unlock.
20321 * nptl/sysdeps/pthread/pthread.h:
20322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20323 (PTHREAD_RWLOCK_INITIALIZER,
20324 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20325 Handle new elision field.
20326 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20327 * sysdeps/arm/nptl/bits/pthreadtypes.h
20328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20329 * sysdeps/sh/nptl/bits/pthreadtypes.h
20330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20331 * sysdeps/tile/nptl/bits/pthreadtypes.h
20332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20333 * sysdeps/a/nptl/bits/pthreadtypes.h
20334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20335 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20337 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20339 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20341 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20343 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20345 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20347 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20349 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20351 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20352 (elision_init): Set try_xbegin to zero when no RTM.
20353 * sysdeps/x86/nptl/bits/pthreadtypes.h
20354 (pthread_rwlock_t): Change __pad1 to __rwelision.
20355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20356
20357 2014-06-13 Andi Kleen <ak@linux.intel.com>
20358
20359 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20360 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20361 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20362 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20363
20364 2014-06-13 Meador Inge <meadori@codesourcery.com>
20365
20366 [BZ #16996]
20367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20368 that the cached result has been set before returning it.
20369
20370 2014-06-12 Roland McGrath <roland@hack.frob.com>
20371
20372 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20373 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20374 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20375 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20376 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20377 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20378
20379 * nptl/sysdeps/sparc/Makefile: Moved ...
20380 * sysdeps/sparc/nptl/Makefile: ... here.
20381 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20382 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20383 * nptl/sysdeps/sparc/tls.h: Moved ...
20384 * sysdeps/sparc/nptl/tls.h: ... here.
20385 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20386 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20387 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20388 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20389 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20390 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20391 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20392 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20393 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20394 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20395 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20396 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20397 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20398 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20399 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20400 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20401 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20402 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20403 Update #include.
20404 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20405 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20406 Update #include.
20407 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20409 Update #include.
20410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20412 Update #include.
20413
20414 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20415
20416 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20417 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20418
20419 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20420 (struct list_links): Type removed.
20421 (struct thread_node, struct timer_node): Replace struct list_links
20422 with struct list_head.
20423 (list_unlink_ip): Likewise.
20424 * sysdeps/pthread/timer_routines.c
20425 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20426 (list_append, list_insbefore): Likewise.
20427 (list_init): Function removed.
20428 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20429 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20430 * sysdeps/pthread/Makefile: ... here, new file.
20431
20432 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20433 * sysdeps/nptl/Implies: ... here.
20434 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20435 * nptl/sysdeps/pthread/list.h: Moved ...
20436 * include/list.h: ... here.
20437 * nptl/sysdeps/pthread/createthread.c: Moved ...
20438 * nptl/createthread.c: ... here.
20439 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20440 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20441 * nptl/pt-longjmp.c: ... here.
20442 * nptl/sysdeps/pthread/Makefile: Moved ...
20443 * sysdeps/nptl/Makefile: ... here.
20444 * nptl/sysdeps/pthread/Subdirs: Moved ...
20445 * sysdeps/nptl/Subdirs: ... here.
20446 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20447 * sysdeps/nptl/aio_misc.h: ... here.
20448 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20449 * sysdeps/nptl/bits/libc-lock.h: ... here.
20450 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20451 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20452 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20453 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20454 * nptl/sysdeps/pthread/configure: Moved ...
20455 * sysdeps/nptl/configure: ... here.
20456 * nptl/sysdeps/pthread/configure.ac: Moved ...
20457 * sysdeps/nptl/configure.ac: ... here.
20458 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20459 * sysdeps/nptl/gai_misc.h: ... here.
20460 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20461 * sysdeps/nptl/librt-cancellation.c: ... here.
20462 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20463 * sysdeps/nptl/malloc-machine.h: ... here.
20464 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20465 * sysdeps/nptl/pthread-functions.h: ... here.
20466 * nptl/sysdeps/pthread/pthread.h: Moved ...
20467 * sysdeps/nptl/pthread.h: ... here.
20468 * nptl/sysdeps/pthread/setxid.h: Moved ...
20469 * sysdeps/nptl/setxid.h: ... here.
20470 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20471 * sysdeps/nptl/sigfillset.c: ... here.
20472 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20473 * sysdeps/nptl/tcb-offsets.h: ... here.
20474 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20475 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20476 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20477 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20478 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20479 * sysdeps/pthread/allocalim.h: ... here.
20480 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20481 * sysdeps/pthread/bits/sigthread.h: ... here.
20482 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20483 * sysdeps/pthread/flockfile.c: ... here.
20484 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20485 * sysdeps/pthread/ftrylockfile.c: ... here.
20486 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20487 * sysdeps/pthread/funlockfile.c: ... here.
20488 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20489 * sysdeps/pthread/posix-timer.h: ... here.
20490 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20491 * sysdeps/pthread/timer_create.c: ... here.
20492 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20493 * sysdeps/pthread/timer_delete.c: ... here.
20494 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20495 * sysdeps/pthread/timer_getoverr.c: ... here.
20496 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20497 * sysdeps/pthread/timer_gettime.c: ... here.
20498 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20499 * sysdeps/pthread/timer_routines.c: ... here.
20500 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20501 * sysdeps/pthread/timer_settime.c: ... here.
20502 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20503 * sysdeps/pthread/tst-timer.c: ... here.
20504 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20505 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20506
20507 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20508 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20509
20510 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20511 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20512 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20513 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20514 Update #include target.
20515 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20516 * sysdeps/i386/i686/nptl/Makefile: ... here.
20517 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20518 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20519 Update #include target.
20520 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20521 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20522 * nptl/sysdeps/i386/Makefile: Moved ...
20523 * sysdeps/i386/nptl/Makefile: ... here.
20524 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20525 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20526 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20527 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20528 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20529 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20530 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20531 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20532 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20533 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20534 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20535 * nptl/sysdeps/i386/tls.h: Moved ...
20536 * sysdeps/i386/nptl/tls.h: ... here.
20537
20538 * sysdeps/sh/Makefile [$(subdir) = csu]
20539 (gen-as-const-headers): Add tcb-offsets.sym.
20540 * nptl/sysdeps/sh/Makefile: File removed.
20541 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20542 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20543 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20544 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20545 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20546 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20547 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20548 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20549 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20550 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20551 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20552 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20553 * nptl/sysdeps/sh/tls.h: Moved ...
20554 * sysdeps/sh/nptl/tls.h: ... here.
20555 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20556 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20557 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20558 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20559 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20560 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20561 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20562 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20563 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20564 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20566 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20568 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20570 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20572 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20574 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20576 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20578 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20580 Moved ...
20581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20583 Moved ...
20584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20589 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20590 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20591 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20592 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20593 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20594 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20595 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20596 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20597 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20598 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20599 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20600 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20601 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20602 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20603
20604 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20605
20606 * posix/spawn_faction_addopen.c: Include string.h.
20607
20608 2014-06-11 Roland McGrath <roland@hack.frob.com>
20609
20610 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20611 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20612 * nptl/sysdeps/x86_64/Makefile: Moved ...
20613 * sysdeps/x86_64/nptl/Makefile: ... here.
20614 * nptl/sysdeps/x86_64/configure: Moved ...
20615 * sysdeps/x86_64/nptl/configure: ... here.
20616 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20617 * sysdeps/x86_64/nptl/configure.ac: ... here.
20618 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20619 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20620 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20621 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20622 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20623 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20624 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20625 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20626 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20627 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20628 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20629 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20630 * nptl/sysdeps/x86_64/tls.h: Moved ...
20631 * sysdeps/x86_64/nptl/tls.h: ... here.
20632 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20633 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20634 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20635 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20636
20637 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20638
20639 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20640
20641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20642
20643 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20644
20645 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20646 type.
20647 [POSIX] (off_t): Likewise.
20648 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20649 [POSIX] (S_ISBLK): Require macro.
20650 [POSIX] (S_ISCHR): Likewise.
20651 [POSIX] (S_ISDIR): Likewise.
20652 [POSIX] (S_ISFIFO): Likewise.
20653 [POSIX] (S_ISREG): Likewise.
20654 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20655 optional-macro.
20656 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20657 type.
20658 [POSIX] (time_t): Likewise.
20659 [POSIX] (timer_t): Likewise.
20660
20661 2014-06-11 Florian Weimer <fweimer@redhat.com>
20662
20663 [BZ #17048]
20664 * posix/spawn_int.h (struct __spawn_action): Make the path string
20665 non-const to support deallocation.
20666 * posix/spawn_faction_addopen.c
20667 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20668 * posix/spawn_faction_destroy.c
20669 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20670 path in all spawn_do_open actions.
20671 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20672 posix_spawn_file_actions_addopen.
20673
20674 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20675
20676 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20677 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20678 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20679 conditional code always true.
20680 (__libc_vfork): New alias.
20681
20682 2014-06-11 Roland McGrath <roland@hack.frob.com>
20683
20684 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20685 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20686
20687 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20688
20689 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20690 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20691
20692 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20693 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20694
20695 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20696 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20697
20698 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20699
20700 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20701 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20702 multiarch strcmp for PPC64.
20703 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20704 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20706 multiarch optimizations.
20707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20708 (__libc_ifunc_impl_list): Likewise.
20709
20710 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20711
20712 * benchtests/scripts/validate_benchout.py: New script.
20713 * benchtests/Makefile (bench-func): Call it.
20714 * benchtests/scripts/benchout.schema.json: New file.
20715
20716 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20717
20718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20719 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20720 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20721 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20722 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20723 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20724 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20725 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20726 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20727 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20728 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20729 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20730 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20731 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20732 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20733 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20735 Moved ...
20736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20737 ... here.
20738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20739 Moved ...
20740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20742 Moved ...
20743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20744 ... here.
20745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20746 Moved ...
20747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20748 ... here.
20749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20750 Moved ...
20751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20753 Moved ...
20754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20755 ... here.
20756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20757 Moved ...
20758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20759 ... here.
20760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20761 Moved ...
20762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20764 Moved ...
20765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20766 ... here.
20767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20768 Moved ...
20769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20770 ... here.
20771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20772 Moved ...
20773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20774 ... here.
20775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20776 Moved ...
20777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20779 Moved ...
20780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20781 ... here.
20782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20783 Moved ...
20784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20785 ... here.
20786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20787 Moved ...
20788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20789 ... here.
20790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20791 Moved ...
20792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20794 Moved ...
20795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20796 ... here.
20797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20798 Moved ...
20799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20800 ... here.
20801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20802 Moved ...
20803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20805 Moved ...
20806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20807 ... here.
20808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20809 Moved ...
20810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20812 Moved ...
20813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20815 Moved ...
20816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20817 ... here.
20818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20819 Moved ...
20820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20821 ... here.
20822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20823 Moved ...
20824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20825 ... here.
20826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20827 Moved ...
20828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20830 Moved ...
20831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20832 ... here.
20833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20834 Moved ...
20835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20836 ... here.
20837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20838 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20839 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20840 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20842 Moved ...
20843 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20844 ... here.
20845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20846 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20848 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20850 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20852 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20854 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20856 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20858 Moved ...
20859 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20861 Moved ...
20862 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20864 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20866 Moved ...
20867 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20869 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20870 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20871 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20872 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20873 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20874
20875 2014-06-10 Wilco <wdijkstr@arm.com>
20876
20877 * math/test-fenv-return.c: New file.
20878 * math/Makefile: Add new test test-fenv-return.
20879
20880 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20881
20882 [BZ #17042]
20883 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20884 when x - 1 is zero.
20885 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20886 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20887 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20888 0.0L for an argument of 1.0L.
20889 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20890 Likewise.
20891 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20892 value when x - 1 is zero.
20893 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20894 * sysdeps/i386/fpu/libm-test-ulps: Update.
20895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20896
20897 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20898
20899 [BZ #15119]
20900 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20901
20902 2014-06-09 Roland McGrath <roland@hack.frob.com>
20903
20904 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20905 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20906
20907 2014-06-09 Roland McGrath <roland@hack.frob.com>
20908
20909 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20910 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20911
20912 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20913 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20914
20915 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20916 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20917
20918 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20919 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20920
20921 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20922 if not already defined.
20923 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20924 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20925 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20926 (TLS_INIT_TP): Use it.
20927 (TLS_DEFINE_INIT_TP): New macro.
20928 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20929
20930 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20931
20932 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20933 constant.
20934 [POSIX] (IXANY): Likewise.
20935 [POSIX] (OLCUC): Likewise.
20936 [POSIX || POSIX2008] (CBAUD): Do not allow.
20937 [POSIX || POSIX2008] (DEFECHO): Likewise.
20938 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20939 [POSIX || POSIX2008] (ECHOKE): Likewise.
20940 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20941 [POSIX || POSIX2008] (EXTA): Likewise.
20942 [POSIX || POSIX2008] (EXTB): Likewise.
20943 [POSIX || POSIX2008] (FLUSHO): Likewise.
20944 [POSIX || POSIX2008] (LOBLK): Likewise.
20945 [POSIX || POSIX2008] (PENDIN): Likewise.
20946 [POSIX || POSIX2008] (SWTCH): Likewise.
20947 [POSIX || POSIX2008] (VDISCARD): Likewise.
20948 [POSIX || POSIX2008] (VDSUSP): Likewise.
20949 [POSIX || POSIX2008] (VLNEXT): Likewise.
20950 [POSIX || POSIX2008] (VREPRINT): Likewise.
20951 [POSIX || POSIX2008] (VSTATUS): Likewise.
20952 [POSIX || POSIX2008] (VWERASE): Likewise.
20953 (B*): Change to B[0123456789]*.
20954 * conform/data/time.h-data [POSIX || UNIX98]
20955 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20956 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20957 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20958 [POSIX] (tm_*): Do not allow.
20959
20960 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20961
20962 * Makefile (install): Don't set LANGUAGE.
20963 * Makefile.in (install): Likewise.
20964 * assert/Makefile (test-assert-ENV): Remove variable.
20965 (test-assert-perr-ENV): Likewise.
20966 * elf/Makefile (neededtest4-ENV): Likewise.
20967 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20968 [$(cross-compiling) = no]: Don't set LANGUAGE.
20969 * io/ftwtest-sh (LANG): Remove variable.
20970 * libio/Makefile (tst-widetext-ENV): Likewise.
20971 * manual/install.texi (Running make install): Don't refer to
20972 environment settings for make install.
20973 * INSTALL: Regenerated.
20974 * nptl/tst-tls6.sh: Don't set LANG.
20975 * posix/globtest.sh (LANG): Remove variable.
20976 * string/Makefile (tester-ENV): Likewise.
20977 (inl-tester-ENV): Likewise.
20978 (noinl-tester-ENV): Likewise.
20979 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20980 [$(cross-compiling) = no]: Don't set LANGUAGE.
20981 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20982 without explicit environment settings.
20983
20984 2014-06-06 Roland McGrath <roland@hack.frob.com>
20985
20986 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20987 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20988 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20989 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20990
20991 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20992
20993 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20994 other files in the crypt directory.
20995 * crypt/crypt.c: Remove duplicate includes.
20996 * crypt/crypt-entry.c: Likewise.
20997 * crypt/crypt_util.c: Likewise.
20998
20999 2014-06-06 Joseph Myers <joseph@codesourcery.com>
21000
21001 * Makeconfig (run-program-env): New variable.
21002 (run-program-prefix-before-env): Likewise.
21003 (run-program-prefix-after-env): Likewise.
21004 (run-program-prefix): Define in terms of new variables.
21005 (built-program-cmd-before-env): New variable.
21006 (built-program-cmd-after-env): Likewise.
21007 (built-program-cmd): Define in terms of new variables.
21008 (test-program-prefix-before-env): New variable.
21009 (test-program-prefix-after-env): Likewise.
21010 (test-program-prefix): Define in terms of new variables.
21011 (test-program-cmd-before-env): New variable.
21012 (test-program-cmd-after-env): Likewise.
21013 (test-program-cmd): Define in terms of new variables.
21014 * Rules (make-test-out): Use $(run-program-env).
21015 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21016 (help): Do not mention environment variables. Mention
21017 --timeoutfactor option.
21018 (timeoutfactor): New variable.
21019 (blacklist_exports): Remove function.
21020 (exports): Remove variable.
21021 (command): Do not include ${exports}.
21022 * manual/install.texi (Configuring and compiling): Do not mention
21023 test wrappers preserving environment variables. Mention that last
21024 assignment to a variable must take precedence.
21025 * INSTALL: Regenerated.
21026 * benchtests/Makefile (run-bench): Use $(run-program-env).
21027 * catgets/Makefile ($(objpfx)test1.cat): Use
21028 $(built-program-cmd-before-env), $(run-program-env) and
21029 $(built-program-cmd-after-env).
21030 ($(objpfx)test2.cat): Do not specify environment variables
21031 explicitly.
21032 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21033 $(run-program-env) and $(built-program-cmd-after-env).
21034 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21035 $(run-program-env) and $(test-program-cmd-after-env).
21036 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21037 explicitly.
21038 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21039 run_program_env and test_program_cmd_after_env arguments.
21040 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21041 * elf/tst-pathopt.sh: Use run_program_env argument.
21042 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21043 $(test-wrapper-env) and $(run-program-env).
21044 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21045 run_program_env arguments.
21046 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21047 * intl/Makefile ($(objpfx)tst-gettext.out): Use
21048 $(test-program-prefix-before-env), $(run-program-env) and
21049 $(test-program-prefix-after-env).
21050 ($(objpfx)tst-gettext2.out): Likewise.
21051 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21052 run_program_env and test_program_prefix_after_env arguments.
21053 * intl/tst-gettext2.sh: Likewise.
21054 * intl/tst-gettext4.sh: Do not set environment variables
21055 explicitly.
21056 * intl/tst-gettext6.sh: Likewise.
21057 * intl/tst-translit.sh: Likewise.
21058 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21059 $(test-program-prefix-before-env), $(run-program-env) and
21060 $(test-program-prefix-after-env).
21061 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21062 run_program_env and test_program_prefix_after_env arguments.
21063 * math/Makefile (run-regen-ulps): Use $(run-program-env).
21064 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21065 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
21066 explicitly with each use of ${test_wrapper_env}.
21067 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21068 $(test-program-prefix-before-env), $(run-program-env) and
21069 $(test-program-prefix-after-env).
21070 * posix/tst-getconf.sh: Do not set environment variables
21071 explicitly.
21072 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21073 run_program_env and test_program_prefix_after_env arguments.
21074 * stdio-common/tst-printf.sh: Do not set environment variables
21075 explicitly.
21076 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21077 $(test-program-prefix-before-env), $(run-program-env) and
21078 $(test-program-prefix-after-env).
21079 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21080 run_program_env and test_program_prefix_after_env arguments.
21081 Split $test calls into $test_pre and $test.
21082 * timezone/Makefile (build-testdata): Use
21083 $(built-program-cmd-before-env), $(run-program-env) and
21084 $(built-program-cmd-after-env).
21085
21086 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21087
21088 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21089 strlen for non SHARED builds.
21090
21091 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21092
21093 * nptl/allocatestack.c (check_list): Inlined function...
21094 (__reclaim_stacks): ... here.
21095
21096 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21097
21098 [BZ #15698]
21099 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21100 memory overrun.
21101
21102 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21103
21104 * Rules (make-test-out): Include
21105 LOCPATH=$(common-objpfx)localedata in default environment.
21106 * debug/Makefile (tst-chk1-ENV): Remove variable.
21107 (tst-chk2-ENV): Likewise.
21108 (tst-chk3-ENV): Likewise.
21109 (tst-chk4-ENV): Likewise.
21110 (tst-chk5-ENV): Likewise.
21111 (tst-chk6-ENV): Likewise.
21112 (tst-lfschk1-ENV): Likewise.
21113 (tst-lfschk2-ENV): Likewise.
21114 (tst-lfschk3-ENV): Likewise.
21115 (tst-lfschk4-ENV): Likewise.
21116 (tst-lfschk5-ENV): Likewise.
21117 (tst-lfschk6-ENV): Likewise.
21118 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21119 (tst-iconv7-ENV): Likewise.
21120 * intl/Makefile (LOCPATH-ENV): Likewise.
21121 (tst-codeset-ENV): Likewise.
21122 (tst-gettext3-ENV): Likewise.
21123 (tst-gettext5-ENV): Likewise.
21124 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21125 (tst-fopenloc-ENV): Likewise.
21126 (tst-fgetws-ENV): Remove variable.
21127 (tst-ungetwc1-ENV): Likewise.
21128 (tst-ungetwc2-ENV): Likewise.
21129 (bug-ungetwc2-ENV): Likewise.
21130 (tst-swscanf-ENV): Likewise.
21131 (bug-ftell-ENV): Likewise.
21132 (tst-fgetwc-ENV): Likewise.
21133 (tst-fseek-ENV): Likewise.
21134 (tst-ftell-partial-wide-ENV): Likewise.
21135 (tst-ftell-active-handler-ENV): Likewise.
21136 (tst-ftell-append-ENV): Likewise.
21137 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21138 (tst-regexloc-ENV): Likewise.
21139 (bug-regex1-ENV): Likewise.
21140 (tst-regex-ENV): Likewise.
21141 (tst-regex2-ENV): Likewise.
21142 (bug-regex5-ENV): Likewise.
21143 (bug-regex6-ENV): Likewise.
21144 (bug-regex17-ENV): Likewise.
21145 (bug-regex18-ENV): Likewise.
21146 (bug-regex19-ENV): Likewise.
21147 (bug-regex20-ENV): Likewise.
21148 (bug-regex22-ENV): Likewise.
21149 (bug-regex23-ENV): Likewise.
21150 (bug-regex25-ENV): Likewise.
21151 (bug-regex26-ENV): Likewise.
21152 (bug-regex30-ENV): Likewise.
21153 (bug-regex32-ENV): Likewise.
21154 (bug-regex33-ENV): Likewise.
21155 (bug-regex34-ENV): Likewise.
21156 (bug-regex35-ENV): Likewise.
21157 (tst-rxspencer-ENV): Likewise.
21158 (tst-rxspencer-no-utf8-ENV): Likewise.
21159 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21160 (tst-sscanf-ENV): Likewise.
21161 (tst-swprintf-ENV): Likewise.
21162 (tst-swscanf-ENV): Likewise.
21163 (test-vfprintf-ENV): Likewise.
21164 (scanf13-ENV): Likewise.
21165 (bug14-ENV): Likewise.
21166 (tst-grouping-ENV): Likewise.
21167 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21168 (tst-strtod3-ENV): Likewise.
21169 (tst-strtod4-ENV): Likewise.
21170 (tst-strtod5-ENV): Likewise.
21171 (testmb2-ENV): Likewise./
21172 * string/Makefile (tst-strxfrm-ENV): Likewise.
21173 (tst-strxfrm2-ENV): Likewise.
21174 (bug-strcoll1-ENV): Likewise.
21175 (test-strcasecmp-ENV): Likewise.
21176 (test-strncasecmp-ENV): Likewise.
21177 * time/Makefile (tst-strptime-ENV): Likewise.
21178 (tst-ftime_l-ENV): Likewise.
21179 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21180 (tst-mbrtowc-ENV): Likewise.
21181 (tst-wcrtomb-ENV): Likewise.
21182 (tst-mbrtowc2-ENV): Likewise.
21183 (tst-c16c32-1-ENV): Likewise.
21184 (tst-mbsnrtowcs-ENV): Likewise.
21185
21186 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21187
21188 * manual/resource.texi (How to get information about the memory
21189 subsystem?): Fix typo.
21190 Reported by Peon de la Parra Ivan <peon@keba.com>
21191
21192 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21193
21194 [BZ #16882]
21195 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21196 (pthread_spin_lock): Branch out of spin loop to proper location.
21197 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21198 (pthread_spin_lock): Likewise.
21199
21200 * nptl/tst-spin4.c: New test.
21201 * nptl/Makefile (tests): Add tst-spin4.
21202
21203 2014-06-03 Andreas Schwab <schwab@suse.de>
21204
21205 [BZ #15946]
21206 * resolv/res_send.c (send_dg): Reload file descriptor after
21207 calling reopen.
21208
21209 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21210
21211 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21212
21213 2014-06-03 Richard Henderson <rth@redhat.com>
21214
21215 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21216 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21217 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21218 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21219 in the SAVE_PID block.
21220 (__libc_vfork): New alias.
21221 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21222
21223 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21224 child in registers, not on the stack. Remove RESET_PID conditionals.
21225 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21226
21227 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21228
21229 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21230
21231 2014-06-03 Wilco <wdijkstr@arm.com>
21232
21233 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21234 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21235 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21236 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21237 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21238 Likewise.
21239
21240 2014-06-03 Wilco <wdijkstr@arm.com>
21241
21242 * sysdeps/aarch64/fpu/math_private.h
21243 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21244 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21245 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21246 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21247 Fix declarations.
21248
21249 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21250
21251 * crypt/crypt-private.h: Include ufc-crypt.h.
21252 (__b64_from_24bit): Declare extern.
21253 * crypt/crypt_util.c(__b64_from_24bit): New function.
21254 (b64t): New static const variable.
21255 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21256 (b64t): Remove variable.
21257 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21258 * crypt/sha256-crypt.c: Include crypt-private.h.
21259 (b64t): Remove variable.
21260 (__sha256_crypt_r): Remove b64_from_24bit and replace
21261 with __b64_from_24bit.
21262 * crypt/sha512-crypt.c: Likewise.
21263
21264 2014-06-02 Roland McGrath <roland@hack.frob.com>
21265
21266 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21267 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21268 Label the code __libc_vfork rather than __vfork.
21269 [!NOT_IN_libc] (vfork): Define as weak alias.
21270 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21271 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21272 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21273
21274 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21275
21276 * malloc/malloc.c (malloc_info): Fix format specifier for
21277 n_mmaps.
21278
21279 2014-06-02 Wilco <wdijkstr@arm.com>
21280
21281 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21282 FPCR write.
21283
21284 2014-06-02 Wilco <wdijkstr@arm.com>
21285
21286 [BZ #17009]
21287 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21288 Rewrite to reduce FPCR/FPSR accesses.
21289
21290 2014-06-01 David S. Miller <davem@davemloft.net>
21291
21292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21293
21294 2014-05-31 David S. Miller <davem@davemloft.net>
21295
21296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21297 to occur in round to nearest mode when |x| >= 2.0
21298
21299 2014-05-30 Richard Henderson <rth@twiddle.net>
21300
21301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21302 (PSEUDO_RET_NOERRNO): Remove.
21303 (ret): Don't redefine.
21304 (ret_NOERRNO): Define in terms of ret.
21305 (ret_ERRVAL): Likewise.
21306
21307 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21308 use of PSEUDO_RET; perform the error check directly.
21309
21310 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21311
21312 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21313 with __int128_t.
21314
21315 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21316
21317 * malloc/malloc (malloc_info): Fix formatting.
21318
21319 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21320 Roland McGrath <roland@hack.frob.com>
21321
21322 * malloc/malloc (malloc_info): Also print mmapped statistics.
21323
21324 2014-05-30 Roland McGrath <roland@hack.frob.com>
21325
21326 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21327 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21328
21329 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21330
21331 * malloc/malloc.c (malloc_info): Inline mi_arena.
21332
21333 2014-05-29 Richard Henderson <rth@twiddle.net>
21334
21335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21336 Remove comma before expanding ASM_ARGS_##nr.
21337 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21338 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21339 of ASM_ARGS_##nr.
21340 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21341 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21342 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21343 (ASM_ARGS_1): Add leading comma.
21344
21345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21346 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21347 to __errno_location.
21348 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21349 Remove the expected plt for __errno_location.
21350
21351 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21352 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21353 call to __read_tp.
21354
21355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21356 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21357 it and break it down.
21358 (DOCARGS_0, DOCARGS_1): Do nothing.
21359 (DOCARGS_2): Update to store into the new stack frame.
21360 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21361 (UNDOCARGS_1): Update to restore from the new stack frame.
21362 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21363 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21364
21365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21366 (SINGLE_THREAD_P): New parameter for result regno.
21367 (PSEUDO): Update to match; use cbz instead of beq.
21368
21369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21370 Use ENTRY to define the _nocancel entry point. Share the syscall
21371 and syscall error check paths with the cancel path.
21372 (PSEUDO_END): New.
21373
21374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21375 whitespace; tabs before and after asm mnemonics.
21376
21377 2014-05-29 Eric Wong <normalperson@yhbt.net>
21378
21379 [BZ #15132]
21380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21381 Call fstat64 or stat64 internally, depending on arguments passed.
21382 Replace stat buffer argument with file descriptor argument.
21383 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21384 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21385 Pass fd to __internal_statvfs instead of calling fstat64.
21386 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21387 Pass fd to __internal_statvfs64 instead of calling fstat64.
21388 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21389 Pass -1 to __internal_statvfs instead of calling stat64.
21390 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21391 Pass -1 to __internal_statvfs64 instead of calling stat64.
21392
21393 2014-05-28 Roland McGrath <roland@hack.frob.com>
21394
21395 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21396 that was previously under [RESET_PID].
21397 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21398
21399 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21400 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21401
21402 2014-05-27 Roland McGrath <roland@hack.frob.com>
21403
21404 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21405
21406 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21407 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21408
21409 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21410
21411 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21412
21413 2014-05-27 Andreas Schwab <schwab@suse.de>
21414
21415 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21416 TLS_INIT_TP macro.
21417 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21418 * elf/rtld.c (init_tls, dl_main): Likewise.
21419 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21420 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21421 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21422 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21423 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21424 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21425 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21426 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21427 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21428 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21429 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21430 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21431 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21432 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21433 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21434 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21435 * sysdeps/generic/tls.h: Update description.
21436
21437 2014-05-27 Will Newton <will.newton@linaro.org>
21438
21439 [BZ #16990]
21440 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21441 and restore r2 rather than just restoring.
21442
21443 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21444
21445 [BZ #16724]
21446 * libio/tst-ftell-append.c: New test case.
21447 * libio/Makefile (tests): Add test case.
21448 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21449 append mode.
21450 * libio/wfileops.c (do_ftell_wide): Likewise.
21451
21452 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453
21454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21455
21456 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21457 ...
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21460 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21461 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21462 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21463 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21464 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21465 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21467 Moved ...
21468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21470 Moved ...
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21472 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21473 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21474 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21475 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21476 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21477 ...
21478 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21479 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21480 Moved ...
21481 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21482 here.
21483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21484 ...
21485 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21486 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21487 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21488
21489 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21490 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21491 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21492 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21493
21494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21495 merge into ...
21496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21498 ...
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21501 ...
21502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21504 Moved ...
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21506 here.
21507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21508 Moved ...
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21511 Moved ...
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21513
21514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21515 conditional [RESET_PID].
21516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21518 removed.
21519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21520 removed.
21521
21522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21523 <tcb-offsets.h>.
21524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21525 (__libc_vfork): New strong alias.
21526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21527 removed.
21528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21529 Removed.
21530
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21532 <tcb-offsets.h>.
21533 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21534 (__libc_vfork): New strong alias.
21535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21536 removed.
21537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21538 removed.
21539
21540 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21541
21542 * malloc/malloc.c (mi_arena): New function.
21543 (malloc_info): Remove nested function mi_arena. Call non-nosted
21544 function mi_arena.
21545
21546 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21547
21548 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21549 by insrwi.
21550 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21551 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21552 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21553 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21554 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21555 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21556 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21557
21558 2014-05-26 Andreas Schwab <schwab@suse.de>
21559
21560 [BZ #16984]
21561 * locale/programs/repertoire.c (repertoire_read): Add slash
21562 between I18NPATH element and file name.
21563 * locale/programs/locfile.c (locfile_read): Likewise.
21564
21565 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21566
21567 * nptl/pthread_mutexattr_settype.c
21568 (__pthread_mutexattr_settype):
21569 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21570
21571 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21572
21573 * nptl/tst-mutex5 (do_test):
21574 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21575
21576 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21577
21578 * benchtests/README: Document 'init' directive.
21579 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21580 BENCH_INIT.
21581 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21582 (parse_file): Recognize 'init' directive.
21583
21584 2014-05-26 Kyle McMartin <kyle@redhat.com>
21585
21586 [BZ #16796]
21587 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21588 alignment of struct pthread.
21589
21590 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21591
21592 [BZ #16878]
21593 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21594 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21595 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21596 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21597
21598 2014-05-25 Richard Henderson <rth@twiddle.net>
21599
21600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21601 (SINGLE_THREAD_P_PIC): Remove.
21602 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21603 (SINGLE_THREAD_P_PIC): Remove.
21604
21605 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21606 branch to syscall error ...
21607 (PSEUDO): ... here.
21608 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21609 from __local_syscall_error to .Lsyscall_error.
21610 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21611 (SYSCALL_ERROR): Update label name.
21612
21613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21614 Do not use DOARGS/UNDOARGS.
21615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21616 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21617 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21618 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21619 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21620
21621 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21622 block comment.
21623
21624 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21625 define if !NOT_IN_libc.
21626 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21627 define with non-default symbol versions.
21628
21629 2014-05-23 Richard Henderson <rth@twiddle.net>
21630
21631 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21632 (vfork, __vfork): Define via compat_symbol.
21633
21634 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21635 [!HAVE_IFUNC] (vfork_compat): Remove.
21636 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21637
21638 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #16978]
21641 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21642 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21643 variable.
21644
21645 2014-05-23 Richard Henderson <rth@twiddle.net>
21646
21647 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21648 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21649 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21650 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21651
21652 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21653 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21654 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21655 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21656 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21657 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21659 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21660 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21661 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21662 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21663 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21664 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21665 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21666 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21667 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21668 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21669 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21670 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21671 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21672 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21673 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21674 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21675 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21676 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21677 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21678 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21679 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21680 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21681 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21682 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21683 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21684 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21685 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21686 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21687 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21688 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21689 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21690 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21691 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21692 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21693 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21694 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21695 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21696 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21697 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21699 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21701 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21703 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21705 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21707 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21708
21709 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21710 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21711 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21712 before exiting on error.
21713 (__libc_vfork): New strong alias.
21714 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21715 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21716
21717 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21718 that was previously under [RESET_PID].
21719 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21720
21721 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21722
21723 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21724
21725 [BZ #16977]
21726 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21727 value when x - 1 is zero.
21728 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21729 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21730 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21731 0.0L for an argument of 1.0L.
21732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21733 Likewise.
21734 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21735 value when x - 1 is zero.
21736 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21737 * sysdeps/i386/fpu/libm-test-ulps: Update.
21738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21739
21740 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21741
21742 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21743 alphasort and versionsort.
21744
21745 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21746
21747 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21748 macro.
21749 [copysignf]: Likewise.
21750
21751 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21752
21753 * crypt/md5-crypt.c: Fix formatting.
21754
21755 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21756
21757 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21758 (b64_from_24bit): New function.
21759
21760 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21761
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21763 libc_hidden_builtin_def to ifunc.
21764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21765 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21766
21767 2014-05-21 Roland McGrath <roland@hack.frob.com>
21768
21769 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21770 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21771
21772 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21773
21774 * nscd/Depend (linuxthreads): Remove.
21775 (nptl): Add.
21776 * resolv/Depend (linuxthreads): Remove.
21777 * rt/Depend (linuxthreads): Remove.
21778
21779 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21780 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21781 $(common-objpfx)elf/.
21782 (link-libc-before-gnulib): Likewise.
21783 (elfobjdir): Remove variable.
21784 * Makefile (install): Use $(elf-objpfx) instead of
21785 $(common-objpfx)elf/.
21786 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21787 $(elfobjdir)/.
21788 (link-libc-deps): Likewise.
21789 ($(common-objpfx)libc.so): Likewise.
21790 ($(common-objpfx)linkobj/libc.so): Likewise.
21791 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21792 instead of $(common-objpfx)elf/.
21793 (symbolic-link-list): Likewise.
21794 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21795 [$(cross-compiling) = no]: Likewise.
21796 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21797 $(elfobjdir)/.
21798 (static-gnulib-arch): Likewise.
21799 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21800 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21801 $(common-objpfx)elf/.
21802
21803 2014-05-21 Richard Henderson <rth@redhat.com>
21804
21805 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21806 (SINGLE_THREAD_P): Use the correct width load. Fold
21807 into the ldr offset.
21808
21809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21810 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21811
21812 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21813
21814 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21815 (libgcc_s_resume): Use __attribute_used__.
21816 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21817 Likewise.
21818
21819 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21820
21821 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21822 optimization when used with float constants.
21823
21824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21825
21826 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21827
21828 [BZ #16915]
21829 * locale/nl_langinfo_l.c: Make direct reference to every
21830 _nl_current_CATEGORY symbol.
21831 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21832 (tests-static): Add tst-langinfo-static.
21833 (tests-special): Add tst-langinfo-static.out.
21834 ($(objpfx)tst-langinfo.out): Redirect output.
21835 ($(objpfx)tst-langinfo-static.out): New.
21836 * localedata/tst-langinfo.sh: Send output to stdout.
21837 * localedata/tst-langinfo-static.c: New file.
21838
21839 [BZ #16965]
21840 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21841 when the shift amount is modulo the limb size.
21842
21843 2014-05-20 Richard Henderson <rth@redhat.com>
21844
21845 [BZ #16967]
21846 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21847 Change type of sa_flags from unsigned int to int.
21848
21849 [BZ #16966]
21850 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21851
21852 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21853
21854 2014-05-20 Will Newton <will.newton@linaro.org>
21855
21856 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21857 Test the return value of the system call in the nocancel case.
21858
21859 2014-05-20 Will Newton <will.newton@linaro.org>
21860 Yvan Roux <yvan.roux@linaro.org>
21861
21862 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21863 #include of asm/ptrace.h.
21864 (PTRACE_GET_THREAD_AREA): Remove #undef.
21865 (PTRACE_GETHBPREGS): Likewise.
21866 (PTRACE_SETHBPREGS): Likewise.
21867 (struct user_regs_struct): New structure.
21868 (struct user_fpsimd_struct): New structure.
21869 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21870 #include of asm/ptrace.h and second #include of sys/user.h.
21871 (PTRACE_GET_THREAD_AREA): Remove #undef.
21872 (PTRACE_GETHBPREGS): Likewise.
21873 (PTRACE_SETHBPREGS): Likewise.
21874 (ELF_NGREG): Use new struct user_regs_struct.
21875 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21876
21877 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21878
21879 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21880 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21881
21882 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21883
21884 [BZ #16958]
21885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21886 membar to avoid block loads/stores to overlap previous stores.
21887
21888 2014-05-17 Richard Henderson <rth@redhat.com>
21889
21890 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21891 Create the __##syscall_name##_nocancel entry point.
21892 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21893 Remove; let the sysdep-cancel.h code create it.
21894
21895 2014-05-17 David S. Miller <davem@davemloft.net>
21896
21897 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21898 Protect with __USE_GNU.
21899 (TIOCSET_TEMPT): Likewise.
21900 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21901 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21902 these are already provided in bits/ioctl-types.h
21903
21904 2014-05-16 Roland McGrath <roland@hack.frob.com>
21905
21906 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21907 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21908
21909 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21910 Use wait4 regardless of [__NR_waitpid].
21911
21912 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21913
21914 PR libgcc/60166
21915 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21916 (_FP_NANSIGN_Q): Set the quiet bit.
21917
21918 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21919
21920 * benchtests/Makefile
21921 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21922 not $(common-objpfx)math/libm.so.
21923 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21924 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21925 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21926 $(common-objpfx)dlfcn/libdl.so.
21927 ($(objpfx)tst-audit8): Depend on $(libm), not
21928 $(common-objpfx)math/libm.so.
21929 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21930 not $(common-objpfx)dlfcn/libdl.so.
21931 * math/Makefile
21932 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21933 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21934 [$(build-shared) = yes].
21935 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21936 $(common-objpfx)nptl/libpthread.so.
21937 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21938 $(common-objpfx)math/libm.so$(libm.so-version) or
21939 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21940 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21941 $(common-objpfx)dlfcn/libdl.so.
21942 * setjmp/Makefile (link-libm): Remove variable.
21943 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21944 * stdio-common/Makefile (link-libm): Remove variable.
21945 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21946 * stdlib/Makefile (link-libm): Remove variable.
21947 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21948 ($(objpfx)tst-strtod-round): Likewise.
21949 ($(objpfx)tst-tininess): Likewise.
21950 ($(objpfx)tst-strtod-underflow): Likewise.
21951 ($(objpfx)tst-strtod6): Likewise.
21952 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21953 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21954 $(common-objpfx)dlfcn/libdl.so.
21955
21956 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21957
21958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21959 BSD terminal modes definitions.
21960
21961 2014-05-16 Roland McGrath <roland@hack.frob.com>
21962
21963 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21964 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21965
21966 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21967 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21968 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21969 Don't do #include_next.
21970 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21971 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21972 Don't do #include_next.
21973 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21974 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21975 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21976 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21977
21978 2014-05-16 Allan McRae <allan@archlinux.org>
21979
21980 * po/sv.po: Update Swedish translation from translation project.
21981
21982 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21983 in sed expression.
21984
21985 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21986
21987 [BZ #16917]
21988 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21989 errno if the TIOCGPTN ioctl fails with an error different than
21990 EINVAL.
21991 * login/tst-ptsname.c: New file.
21992 * login/Makefile (tests): Add tst-ptsname.
21993
21994 [BZ #16943]
21995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21996 and prlimit64.
21997
21998 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21999
22000 [BZ #16849]
22001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22002 herrno to return EAI_AGAIN.
22003
22004 2014-05-14 Roland McGrath <roland@hack.frob.com>
22005
22006 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22007 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22008 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22009 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22010 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22011 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22012 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22013 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22015 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22016 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22017 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22018 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22019 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22020 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22021 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22022 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22023 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22024 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22025 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22026 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22027 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22028 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22029 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22030 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22031 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22032 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22033 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22034 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22035 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22037 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22039 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22041 Moved ...
22042 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22044 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22046 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22048 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22050 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22052 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22054 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22056 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22058 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22060 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22062 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22064 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22066 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22068 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22070 Moved ...
22071 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22073 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22075 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22077 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22079 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22081 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22083 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22085 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22087 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22089 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22091 Moved ...
22092 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22094 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22095
22096 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22097 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22098 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22099 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22100 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22101 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22102 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22103 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22104 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22105 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22106 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22107 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22108 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22109 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22110 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22111 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22112 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22113 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22114 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22115 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22116 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22117 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22118 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22119 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22120 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22121 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22122 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22127
22128 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22129 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22130
22131 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22132 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22133 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22134 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22135 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22136 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22137 Moved ...
22138 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22140 Moved ...
22141 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22143 Moved ...
22144 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22146 Moved ...
22147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22148 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22149 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22151 Moved ...
22152 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22153 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22154 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22156 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22157 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22158 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22160 Moved ...
22161 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22162 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22163 Moved ...
22164 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22165 ... here.
22166 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22167 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22168 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22169 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22170 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22171 Moved ...
22172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22173 ... here.
22174 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22175 Moved ...
22176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22177 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22178 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22179 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22180 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22181 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22182 Moved ...
22183 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22185 Moved ...
22186 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22188 Moved ...
22189 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22191 Moved ...
22192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22193 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22194 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22196 Moved ...
22197 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22198 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22199 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22201 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22202 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22203 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22205 Moved ...
22206 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22207 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22208 Moved ...
22209 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22210 ... here.
22211 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22212 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22213 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22214 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22215 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22216 Moved ...
22217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22218 ... here.
22219 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22220 Moved ...
22221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22222 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22223 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22224 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22225 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22226 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22228 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22229 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22231 Moved ...
22232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22233 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22234 Moved ...
22235 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22237 Moved ...
22238 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22240 Moved ...
22241 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22242 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22243 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22244 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22245 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22247 Moved ...
22248 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22249 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22250 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22252 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22253 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22254 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22256 Moved ...
22257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22259 Moved ...
22260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22261 ... here.
22262 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22263 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22264 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22265 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22266 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22267 Moved ...
22268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22269 ... here.
22270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22271 Moved ...
22272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22273 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22274 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22275 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22276 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22277 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22278 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22279 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22280 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22281 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22282 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22283
22284 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22285 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22286
22287 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22288 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22289
22290 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22291 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22292 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22293 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22294 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22295 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22296 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22297 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22298 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22299 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22300 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22301 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22302 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22303 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22304 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22306 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22308 Moved ...
22309 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22311 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22313 Moved ...
22314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22316 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22318 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22320 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22322 Moved ...
22323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22325 Moved ...
22326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22332 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22333 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22334 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22335 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22336 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22338 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22340 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22341 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22343
22344 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22345 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22346 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22347 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22348 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22349
22350 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22351 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22352 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22353 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22354 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22355 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22356 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22357 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22358 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22359 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22360
22361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22363
22364 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22365 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22366 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22367 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22368 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22369 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22370 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22371 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22373 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22375 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22377 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22379 Update #include.
22380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22381 Likewise.
22382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22383 Likewise.
22384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22385 Likewise.
22386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22387 Likewise.
22388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22389 Likewise.
22390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22391 Likewise.
22392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22393 Likewise.
22394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22395 Likewise.
22396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22397 Likewise.
22398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22408 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22410 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22413
22414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22415 that was previously under [RESET_PID].
22416 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22417 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22418 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22419
22420 * sysdeps/i386/nptl/Implies: New file.
22421 * sysdeps/x86_64/nptl/Implies: New file.
22422 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22423 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22424 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22425 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22426
22427 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22428 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22429 (__libc_vfork): New strong alias.
22430 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22431 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22432
22433 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22435 (__libc_vfork): New strong alias.
22436 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22437 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22438
22439 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22440 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22441 (__libc_vfork): New strong alias.
22442 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22443 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22444 * nptl/pt-vfork.c: New file.
22445 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22446 (libpthread: GLIBC_2.20): New version set (empty).
22447
22448 2014-05-14 Will Newton <will.newton@linaro.org>
22449
22450 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22451 rather than #if.
22452
22453 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22454
22455 [BZ #16564]
22456 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22457 arguments with exponent 65 or above.
22458 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22459 arguments 0x1p113L or above.
22460 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22461 to arguments 0x1p107L or above.
22462 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22463 positive arguments with exponent 65 or above.
22464 * math/auto-libm-test-in: Add more tests of log1p.
22465 * math/auto-libm-test-out: Regenerated.
22466
22467 [BZ #16928]
22468 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22469 non-finite arguments is +0.
22470 * math/s_cacosf.c (__cacosf): Likewise.
22471 * math/s_cacosl.c (__cacosl): Likewise.
22472 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22473 * sysdeps/i386/fpu/libm-test-ulps: Update.
22474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22475
22476 [BZ #16927]
22477 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22478 value.
22479 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22480 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22481 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22482 for explicit high bit of mantissa when testing for argument equal
22483 to 1.
22484 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22485 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22487
22488 [BZ #16516]
22489 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22490 (__erf): Scale by 16 instead of 8 in potentially underflowing
22491 case. Ensure exception if result actually underflows.
22492 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22493 (__erff): Scale by 16 instead of 8 in potentially underflowing
22494 case. Ensure exception if result actually underflows.
22495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22496 (efx8): Remove variable.
22497 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22498 case. Ensure exception if result actually underflows.
22499 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
22508 * math/auto-libm-test-out: Regenerated.
22509
22510 2014-05-14 Andreas Schwab <schwab@suse.de>
22511
22512 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22513 Remove code conditionalized on USE___THREAD.
22514
22515 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22516 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22517 not definedness.
22518
22519 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22520
22521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22522 Define unconditionally.
22523 (__ASSUME_O_CLOEXEC): Likewise.
22524 (__ASSUME_SOCK_CLOEXEC): Likewise.
22525 (__ASSUME_IN_NONBLOCK): Likewise.
22526 (__ASSUME_PIPE2): Likewise.
22527 (__ASSUME_EVENTFD2): Likewise.
22528 (__ASSUME_SIGNALFD4): Likewise.
22529 (__ASSUME_DUP3): Likewise.
22530 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22531 (__ASSUME_DUP3): Do not define.
22532 (__ASSUME_EVENTFD2): Likewise.
22533 (__ASSUME_IN_NONBLOCK): Likewise.
22534 (__ASSUME_O_CLOEXEC): Likewise.
22535 (__ASSUME_PIPE2): Likewise.
22536 (__ASSUME_SIGNALFD4): Likewise.
22537 (__ASSUME_SOCK_CLOEXEC): Likewise.
22538 (__ASSUME_UTIMES): Undefine.
22539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22540 (__ASSUME_UTIMES): Do not define.
22541 (__ASSUME_O_CLOEXEC): Likewise.
22542 (__ASSUME_SOCK_CLOEXEC): Likewise.
22543 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22544 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22545 0x020621].
22546 (__ASSUME_PIPE2): Likewise.
22547 (__ASSUME_EVENTFD2): Likewise.
22548 (__ASSUME_SIGNALFD4): Likewise.
22549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22550 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22551 Do not define.
22552 (__ASSUME_EVENTFD2): Likewise.
22553 (__ASSUME_SIGNALFD4): Likewise.
22554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22555 (__ASSUME_32BITUIDS): Likewise.
22556 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22557 (__ASSUME_IPC64): Likewise.
22558 (__ASSUME_ST_INO_64_BIT): Likewise.
22559 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22560 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22562 (__ASSUME_UTIMES): Do not define.
22563 (__ASSUME_PSELECT): Likewise.
22564 (__ASSUME_PPOLL): Likewise.
22565 (__ASSUME_O_CLOEXEC): Likewise.
22566 (__ASSUME_SOCK_CLOEXEC): Likewise.
22567 (__ASSUME_IN_NONBLOCK): Likewise.
22568 (__ASSUME_PIPE2): Likewise.
22569 (__ASSUME_EVENTFD2): Likewise.
22570 (__ASSUME_SIGNALFD4): Likewise.
22571 (__ASSUME_DUP3): Likewise.
22572 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22573 (__ASSUME_UTIMES): Likewise.
22574 (__ASSUME_O_CLOEXEC): Likewise.
22575 (__ASSUME_SOCK_CLOEXEC): Likewise.
22576 (__ASSUME_IN_NONBLOCK): Likewise.
22577 (__ASSUME_PIPE2): Likewise.
22578 (__ASSUME_EVENTFD2): Likewise.
22579 (__ASSUME_SIGNALFD4): Likewise.
22580 (__ASSUME_DUP3): Likewise.
22581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22582 (__ASSUME_UTIMES): Likewise.
22583 (__ASSUME_O_CLOEXEC): Likewise.
22584 (__ASSUME_SOCK_CLOEXEC): Likewise.
22585 (__ASSUME_IN_NONBLOCK): Likewise.
22586 (__ASSUME_PIPE2): Likewise.
22587 (__ASSUME_EVENTFD2): Likewise.
22588 (__ASSUME_SIGNALFD4): Likewise.
22589 (__ASSUME_DUP3): Likewise.
22590 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22591 Likewise.
22592 (__ASSUME_UTIMES): Likewise.
22593 (__ASSUME_EVENTFD2): Likewise.
22594 (__ASSUME_SIGNALFD4): Likewise.
22595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22596 (__ASSUME_O_CLOEXEC): Likewise.
22597 (__ASSUME_SOCK_CLOEXEC): Likewise.
22598 (__ASSUME_IN_NONBLOCK): Likewise.
22599 (__ASSUME_PIPE2): Likewise.
22600 (__ASSUME_EVENTFD2): Likewise.
22601 (__ASSUME_SIGNALFD4): Likewise.
22602 (__ASSUME_DUP3): Likewise.
22603 (__ASSUME_UTIMES): Undefine.
22604
22605 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22606 feclearexcept. Remove symbol versioning code.
22607 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22608 symbol versioning code.
22609 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22610 symbol versioning code.
22611 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22612 feupdateenv. Remove symbol versioning code.
22613 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22614 fegetexceptflag. Remove symbol versioning code.
22615 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22616 fesetexceptflag. Remove symbol versioning code.
22617 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22618 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22619 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22620 (__posix_fadvise64_l32): Remove prototype.
22621 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22622 code.
22623
22624 2014-05-13 Roland McGrath <roland@hack.frob.com>
22625
22626 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22627 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22628 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22629 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22630
22631 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22632
22633 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22634 current working directory
22635
22636 2014-05-13 Roland McGrath <roland@hack.frob.com>
22637
22638 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22639 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22640 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22641 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22642 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22643 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22644 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22645 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22646 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22647 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22648 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22649 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22650 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22651 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22652 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22653 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22654 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22655 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22656 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22657 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22658 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22659 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22660 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22661 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22662 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22663 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22664 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22665 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22666 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22667 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22668 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22669 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22670 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22671 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22672 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22673 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22674 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22675 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22676 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22677 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22678 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22679 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22680
22681 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22682 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22683
22684 * sysdeps/unix/sysv/linux/arm/Makefile
22685 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22686 Add rt-aeabi_unwind_cpp_pr1.
22687 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22688 Add nptl-aeabi_unwind_cpp_pr1.
22689 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22690 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22691 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22692 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22693 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22694 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22695
22696 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22697 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22698 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22699 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22700
22701 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22702 Deconditionalize the code that was previously under [RESET_PID].
22703 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22704
22705 * sysdeps/generic/exit-thread.h: New file.
22706 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22707 * include/unistd.h (__exit_thread): Remove declaration.
22708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22709 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22710 * csu/libc-start.c: Include <exit-thread.h>.
22711 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22712 * nptl/pthread_create.c: Include <exit-thread.h>.
22713 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22714 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22715 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22716 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22717 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22718 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22719 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22720 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22721 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22722 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22723 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22724 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22725 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22726 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22727 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22728 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22729 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22730
22731 2014-05-13 Andreas Schwab <schwab@suse.de>
22732
22733 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22734
22735 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22736
22737 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22738 (__ASSUME_UTIMES): Do not condition on kernel version.
22739 (__ASSUME_PSELECT): Define unconditionally.
22740 (__ASSUME_PPOLL): Likewise.
22741 (__ASSUME_ATFCTS): Likewise.
22742 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22743 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22744 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22745 (__ASSUME_UTIMENSAT): Define unconditionally.
22746 (__ASSUME_PRIVATE_FUTEX): Likewise.
22747 (__ASSUME_FALLOCATE): Likewise.
22748 (__ASSUME_O_CLOEXEC): Likewise.
22749 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22750 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22751 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22752 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22753 (__ASSUME_IN_NONBLOCK): Likewise.
22754 (__ASSUME_PIPE2): Likewise.
22755 (__ASSUME_EVENTFD2): Likewise.
22756 (__ASSUME_SIGNALFD4): Likewise.
22757 (__ASSUME_DUP3): Likewise.
22758 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22759 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22760 (__ASSUME_AT_RANDOM): Likewise.
22761 (__ASSUME_PREADV): Likewise.
22762 (__ASSUME_PWRITEV): Likewise.
22763 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22764 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22765 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22766 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22767 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22769 (__ASSUME_O_CLOEXEC): Define unconditionally.
22770 (__ASSUME_PSELECT): Do not undefine conditionally.
22771 (__ASSUME_PPOLL): Likewise.
22772 (__ASSUME_ATFCTS): Likewise.
22773 (__ASSUME_SET_ROBUST_LIST): Likewise.
22774 (__ASSUME_UTIMENSAT): Likewise.
22775 (__ASSUME_FDATASYNC): Define unconditionally.
22776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22777 (__ASSUME_SIGFRAME_V2): Likewise.
22778 )__ASSUME_EVENTFD2): Likewise.
22779 (__ASSUME_SIGNALFD4): Likewise.
22780 (__ASSUME_PSELECT): Do not undefine conditionally.
22781 (__ASSUME_PPOLL): Likewise.
22782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22783 (__ASSUME_PSELECT): Define unconditionally.
22784 (__ASSUME_PPOLL): Likewise.
22785 (__ASSUME_O_CLOEXEC): Likewise.
22786 (__ASSUME_SOCK_CLOEXEC): Likewise.
22787 (__ASSUME_IN_NONBLOCK): Likewise.
22788 (__ASSUME_PIPE2): Likewise.
22789 (__ASSUME_EVENTFD2): Likewise.
22790 (__ASSUME_SIGNALFD4): Likewise.
22791 (__ASSUME_DUP3): Likewise.
22792 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22793 (__ASSUME_O_CLOEXEC): Likewise.
22794 (__ASSUME_SOCK_CLOEXEC): Likewise.
22795 (__ASSUME_IN_NONBLOCK): Likewise.
22796 (__ASSUME_PIPE2): Likewise.
22797 (__ASSUME_EVENTFD2): Likewise.
22798 (__ASSUME_SIGNALFD4): Likewise.
22799 (__ASSUME_DUP3): Likewise.
22800 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22801 (__ASSUME_EVENTFD2): Likewise.
22802 (__ASSUME_SIGNALFD4): Likewise.
22803 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22804
22805 2014-05-12 Andreas Schwab <schwab@suse.de>
22806
22807 [BZ #16932]
22808 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22809 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22810 than maximum RPC packet size.
22811 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22812 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22813 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22814 (_nss_nis_getservbyport_r): Likewise.
22815
22816 2014-05-12 Will Newton <will.newton@linaro.org>
22817
22818 * malloc/Makefile (tests): Add tst-mallopt.
22819 * malloc/tst-mallopt.c: New file.
22820
22821 2014-05-09 Roland McGrath <roland@hack.frob.com>
22822
22823 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22824 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22825
22826 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22827
22828 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22829 (tst-tlsmod6.so): Likewise.
22830
22831 2014-05-09 Roland McGrath <roland@hack.frob.com>
22832
22833 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22834
22835 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #16064]
22838 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22839 and <dl-procinfo.h>.
22840 (__fegetenv): Save SSE state in envp->__eip if supported.
22841 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22842 envp->__eip if supported.
22843 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22844 and <dl-procinfo.h>.
22845 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22846 __data_offset and __data_selector in environment to 0. Set SSE
22847 state if supported.
22848 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22849 test-fenv-sse.
22850 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22851 -mfpmath=sse.
22852 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22853
22854 2014-05-09 Will Newton <will.newton@linaro.org>
22855
22856 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22857 and libc_relro_required for ARM.
22858 * sysdeps/arm/preconfigure: Regenerate.
22859
22860 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22861 Stefan Liebler <stli@linux.vnet.ibm.com>
22862
22863 * config.make.in (enable-lock-elision): New Makefile variable.
22864 * configure.ac: Likewise.
22865 * configure: Regenerate.
22866 * sysdeps/s390/configure.ac:
22867 Add check for gcc transactions support.
22868 * sysdeps/s390/configure: Regenerate.
22869 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22870 Build elision files if enabled.
22871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22872 Add lock elision support for s390.
22873 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22874 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22875 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22876 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22877 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22878 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22880 Likewise.
22881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22882 Likewise.
22883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22884 Likewise.
22885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22886 Likewise.
22887 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22888 (__lll_timedlock_elision, __lll_lock_elision)
22889 (__lll_unlock_elision, __lll_trylock_elision)
22890 (lll_timedlock_elision, lll_lock_elision)
22891 (lll_unlock_elision, lll_trylock_elision): Add.
22892 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22893 (pthread_mutex_t): Add lock elision support for s390.
22894
22895 2014-05-14 Wilco <wdijkstr@arm.com>
22896
22897 * sysdeps/arm/fclrexcpt.c: Cleanup.
22898 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22899 * sysdeps/arm/feenablxcpt.c: Cleanup.
22900 * sysdeps/arm/fegetenv.c: Cleanup.
22901 * sysdeps/arm/fegetexcept.c: Cleanup.
22902 * sysdeps/arm/fegetround.c: Cleanup.
22903 * sysdeps/arm/feholdexcpt.c: Cleanup.
22904 * sysdeps/arm/fesetenv.c: Cleanup.
22905 * sysdeps/arm/fesetround.c: Cleanup.
22906 * sysdeps/arm/feupdateenv.c: Cleanup.
22907 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22908 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22909 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22910 * sysdeps/arm/ftestexcept.c: Cleanup.
22911 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22912 * sysdeps/arm/setfpucw.c: Cleanup.
22913
22914 2014-05-09 Will Newton <will.newton@linaro.org>
22915
22916 * sysdeps/arm/armv7/strcmp.S: New file.
22917 * NEWS: Mention addition of ARMv7 optimized strcmp.
22918
22919 2014-05-08 Roland McGrath <roland@hack.frob.com>
22920
22921 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22922 look for %.ac rather than %.in.
22923
22924 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22925 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22926 * sysdeps/mach/hurd/configure: Regenerated.
22927 * sysdeps/unix/sysv/linux/configure: Regenerated.
22928
22929 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22930
22931 2014-05-07 Steve Ellcey <sellcey@mips.com>
22932
22933 [BZ# 16922]
22934 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22935 (LONG_SUB): Ditto.
22936 (PTR_SUB): Ditto.
22937
22938 2014-05-07 Andreas Schwab <schwab@suse.de>
22939
22940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22941 when skipping over non-matching result from nscd.
22942
22943 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22944
22945 [BZ #16876]
22946 * nptl/sockperf.c (client): Check socket return value.
22947
22948 [BZ #16877]
22949 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22950 nscd security class.
22951
22952 2014-05-06 Roland McGrath <roland@hack.frob.com>
22953
22954 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22955 * sysdeps/arm/unwind.h: ... here.
22956
22957 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22958
22959 [BZ# 16916]
22960 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22961 Define.
22962
22963 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22964
22965 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22966 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22967 multiarch strncpy for PPC64.
22968 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22969 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22971 multiarch optimizations.
22972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22973 (__libc_ifunc_impl_list): Likewise.
22974 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22975 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22976 multiarch stpncpy for PPC64.
22977 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22978 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22979
22980 2014-05-06 Andreas Schwab <schwab@suse.de>
22981
22982 [BZ #16912]
22983 * gmon/mcount.c (_MCOUNT_DECL): Use
22984 atomic_compare_and_exchange_bool_acq instead of
22985 catomic_compare_and_exchange_bool_acq.
22986
22987 2014-05-05 Roland McGrath <roland@hack.frob.com>
22988
22989 * elf/Makefile (others, install-bin): Remove pldd.
22990 (pldd-modules): Variable removed.
22991 ($(objpfx)pldd): Target removed.
22992 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22993 (others, install-bin): Append pldd here.
22994 ($(objpfx)pldd): New target.
22995
22996 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22997 to 0, so the first #if test emitted later doesn't see it undefined.
22998 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22999 * sysdeps/gnu/errlist.c: Regenerated.
23000
23001 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23002
23003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23004 [libc_hidden_builtin_def]: Define to empty value.
23005 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23006 [libc_hidden_builtin_def]: Likewise.
23007 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23008 [libc_hidden_builtin_def]: Likewise.
23009 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23010 [libc_hidden_builtin_def]: Likewise.
23011 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23012 __redirect_memcpy and define ifunc as default hidden symbol.
23013 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23014 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23015
23016 2014-05-04 Adam Conrad <adconrad@0c3.net>
23017
23018 * locale/iso-4217.def: Reintroduce XDR currency.
23019
23020 2014-05-04 Allan McRae <allan@archlinux.org>
23021
23022 * po/eo.po: Update Esperanto translation from translation project.
23023
23024 2014-05-02 Carlos O'Donell <carlos@redhat.com>
23025
23026 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23027 and FEATURE_INDEX_MAX to 1.
23028 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23029
23030 2014-05-01 Steve Ellcey <sellcey@mips.com>
23031
23032 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23033 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23034 * iconvdata/big5.c (ONE_DIRECTION): Define.
23035 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23036 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23037 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23038 * iconvdata/cp932.c (ONE_DIRECTION): Define.
23039 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23040 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23041 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23042 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23043 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23044 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23045 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23046 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23047 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23048 * iconvdata/gbk.c (ONE_DIRECTION): Define.
23049 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23050 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23051 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23052 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23053 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23054 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23055 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23056 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23057 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23058 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23059 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23060 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23061 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23062 * iconvdata/iso646.c (ONE_DIRECTION): Define.
23063 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23064 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23065 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23066 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23067 * iconvdata/johab.c (ONE_DIRECTION): Define.
23068 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23069 * iconvdata/sjis.c (ONE_DIRECTION): Define.
23070 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23071 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23072 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23073 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23074 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23075 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23076 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23077 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23078
23079 2014-05-01 Roland McGrath <roland@hack.frob.com>
23080
23081 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23082 (_IO_JUMPS_OFFSET): Define to 0.
23083
23084 * nptl/sysdeps/pthread/bits/libc-lock.h
23085 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23086 (__libc_lock_define_initialized_recursive): Always define using
23087 initializer. Modern compilers treat uninitialized (implicit zero) and
23088 explicit zero initializers the same (i.e. put the datum in bss).
23089
23090 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23091
23092 * nscd/nscd-client.h: Include <string.h>.
23093
23094 2014-05-01 David S. Miller <davem@davemloft.net>
23095
23096 [BZ #16885]
23097 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23098 multiple zero bytes exist at the end of a string.
23099 Reported by Aurelien Jarno <aurelien@aurel32.net>
23100
23101 * string/test-strcmp.c (check): Add explicit test for situations where
23102 there are multiple zero bytes after the first.
23103
23104 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23105
23106 [BZ #16890]
23107 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23108 when compiling wprintf.
23109 * stdio-common/tstdiomisc.c (t3): New function.
23110 (main): Call it.
23111
23112 2014-05-01 Steve Ellcey <sellcey@mips.com>
23113
23114 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23115 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23116 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23117 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23118
23119 2014-05-01 Steve Ellcey <sellcey@mips.com>
23120
23121 * stdlib/longlong.h: Updated from GCC.
23122
23123 2014-05-01 Will Newton <will.newton@linaro.org>
23124 Bernard Ogden <bernie.ogden@linaro.org>
23125
23126 * NEWS: Update fixed bug list.
23127
23128 [BZ #15119]
23129 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23130
23131 2014-04-30 David S. Miller <davem@davemloft.net>
23132
23133 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23134 (libc_feholdexcept_setround_sparc_ctx): New function.
23135 (libc_fesetenv_sparc_ctx): Likewise.
23136 (libc_feupdateenv_sparc_ctx): Likewise.
23137 (libc_feholdsetround_sparc_ctx): Likewise.
23138 (libc_feholdexcept_setround_ctx): Define.
23139 (libc_feholdexcept_setroundf_ctx): Likewise.
23140 (libc_feholdexcept_setroundl_ctx): Likewise.
23141 (libc_fesetenv_ctx): Likewise.
23142 (libc_fesetenvf_ctx): Likewise.
23143 (libc_fesetenvl_ctx): Likewise.
23144 (libc_feupdateenv_ctx): Likewise.
23145 (libc_feupdateenvf_ctx): Likewise.
23146 (libc_feupdateenvl_ctx): Likewise.
23147 (libc_feresetround_ctx): Likewise.
23148 (libc_feresetroundf_ctx): Likewise.
23149 (libc_feresetroundl_ctx): Likewise.
23150 (libc_feholdsetround_ctx): Likewise.
23151 (libc_feholdsetroundf_ctx): Likewise.
23152 (libc_feholdsetroundl_ctx): Likewise.
23153
23154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23155 with __USE_GNU instead of XOPEN cpp guards.
23156
23157 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23158 0.
23159
23160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23161 with XOPEN cpp guards.
23162
23163 2014-04-30 Julian Brown <julian@codesourcery.com>
23164
23165 [BZ #16888]
23166 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23167 handling.
23168
23169 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23170
23171 [BZ #9894]
23172 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23173 Change to 2.6.32.
23174 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23175 * sysdeps/unix/sysv/linux/configure: Regenerated.
23176 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23177 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23178 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23179 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23180 * README: Update reference to required Linux kernel version.
23181 * manual/install.texi (Linux): Update reference to required Linux
23182 kernel headers version.
23183 * INSTALL: Regenerated.
23184
23185 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23186 header inclusion.
23187 [POSIX] (limits.h): Likewise.
23188 [POSIX] (math.h): Likewise.
23189 [POSIX] (sys/wait.h): Likewise.
23190 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23191 function.
23192 [POSIX] (stddef.h): Do not allow header inclusion.
23193
23194 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23195
23196 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23197
23198 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23199
23200 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23201 Return immediately after lll_futex_wake.
23202
23203 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23204
23205 [BZ #16791]
23206 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23207 structure.
23208 (datahead_init_pos): Call datahead_init_common early.
23209 (datahead_init_neg): Likewise.
23210
23211 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23212 datahead_init_neg): New functions.
23213 * nscd/aicache.c (addhstaiX): Use them.
23214 * nscd/grpcache.c (cache_addgr): Likewise.
23215 * nscd/hstcache.c (cache_addhst): Likewise.
23216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23217 * nscd/netgroupcache.c (do_notfound): Likewise.
23218 (addgetnetgrentX): Likewise.
23219 (addinnetgrX): Likewise.
23220 * nscd/pwdcache.c (cache_addpw): Likewise.
23221 * nscd/servicescache.c (cache_addserv): Likewise.
23222
23223 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23224 Atsushi Onoe <atsushi@onoe.org>
23225
23226 [BZ #14308]
23227 [BZ #12994]
23228 [BZ #13651]
23229 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23230 one response is valid.
23231 * resolv/res_send.c (send_dg): Check for validity of other
23232 response if the current response is a referral.
23233
23234 2014-04-29 Steve Ellcey <sellcey@mips.com>
23235
23236 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23237
23238 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23239
23240 [BZ #16823]
23241 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23242 Always divide by positive zero when computing -Inf result.
23243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23244 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23245
23246 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23247
23248 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23249 FPSCR if value do not change.
23250 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23251 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23252 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23253 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23254 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23255 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23256 function.
23257
23258 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23259
23260 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23261 * sysdeps/unix/sysv/linux/hppa: Move directory from
23262 ports/systeps/unix/sysv/linux/hppa.
23263 * README: Update listing for hppa-*-linux-gnu.
23264
23265 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23266
23267 [BZ #16754]
23268 * manual/stdio.texi (Hook functions): Fix types of stream hook
23269 functions.
23270 [BZ #16854]
23271 * socket/sys/socket.h: Fix typo in comment.
23272
23273 2014-04-28 Wilco <wdijkstr@arm.com>
23274
23275 * sysdeps/arm/fenv_private.h: New file.
23276 * sysdeps/arm/math_private.h: New file.
23277 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23278
23279 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23280
23281 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23282 with __int128_t.
23283 (La_x86_64_retval): Likewise.
23284
23285 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23286
23287 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23288 fpsr if value didn't change.
23289 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23290 to fpcr if value didn't change.
23291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23292 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23293 fpsr or fpcr if value didn't change.
23294 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23295 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23296 fpcr if value didn't change.
23297 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23298 to fpsr if value didn't change.
23299
23300 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23301
23302 * nptl/tst-sem3.c: Use test-skeleton.c
23303 (main): Rename to do_test. Use return instead of
23304 exit.
23305 * nptl/tst-sem4.c: Use test-skeleton.c
23306 (main): Rename to do_test.
23307
23308 2014-04-22 David S. Miller <davem@davemloft.net>
23309
23310 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23311 (struct sigaction): New struct member __glibc_reserved0, change
23312 type of sa_flags to int.
23313
23314 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23315
23316 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23317 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23318
23319 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23320
23321 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23322 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23323
23324 2014-04-22 Will Newton <will.newton@linaro.org>
23325 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23326
23327 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23328 (__longjmp): Add longjmp and longjmp_target SystemTap
23329 probes.
23330 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23331 (__sigsetjmp): Add setjmp SystemTap probe.
23332
23333 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23334
23335 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23336 match manual order.
23337
23338 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23339
23340 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23341
23342 * sysdeps/powerpc/fpu/fenv_private.h
23343 (libc_feholdexcept_setroundl_ctx): Define to
23344 libc_feholdexcept_setround_ppc_ctx.
23345 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23346 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23347 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23348 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23349
23350 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23351
23352 * sysdeps/aarch64/math-tests.h: New file.
23353
23354 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23355
23356 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23357 New.
23358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23359 Check and set bit_AVX2_Usable.
23360 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23361 macro.
23362 (bit_AVX2): Likewise.
23363 (index_AVX2_Usable): Likewise.
23364 (CPUID_AVX2): Likewise.
23365 (HAS_AVX2): Likewise.
23366
23367 2014-04-17 Will Newton <will.newton@linaro.org>
23368
23369 * manual/setjmp.texi (System V contexts): Add note that
23370 calling setcontext on a context created by a call to a
23371 signal handler is undefined. Update text to note that
23372 setcontext from a signal handler is possible but not
23373 recommended.
23374
23375 [BZ #16629]
23376 * stdlib/tst-setcontext.c: Include signal.h.
23377 (main): Check that the signal stack before and
23378 after swapcontext is the same.
23379
23380 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23381 Re-implement to restore registers in user code and avoid
23382 rt_sigreturn system call.
23383
23384 2014-04-17 Wilco <wdijkstr@arm.com>
23385
23386 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23387 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23388 * math/test-fenv.c: Skip exception trap tests on targets which only
23389 support non-stop mode.
23390
23391 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23392 Wilco Dijkstra <wilco.dijkstra@arm.com>
23393
23394 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23395 (libc_feholdsetround_aarch64_ctx)
23396 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23397 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23398 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23399 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23400 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23401 (libc_feresetround_noexl_ctx): Define.
23402
23403 2014-04-16 Richard Henderson <rth@redhat.com>
23404
23405 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23406
23407 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23408 unwind tables.
23409
23410 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23411 const from the non-libc, non-ldso copy.
23412
23413 * sysdeps/alpha/libm-test-ulps: Regenerate.
23414
23415 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23416 Wilco Dijkstra <wilco.dijkstra@arm.com>
23417
23418 * sysdeps/aarch64/fpu/math_private.h: New file.
23419
23420 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23421
23422 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23423
23424 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23425
23426 [BZ #16275]
23427 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23428 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23430 Intel MPX bound registers before _dl_profile_fixup.
23431 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23432 registers after _dl_profile_fixup. Save and restore bound
23433 registers bnd0/bnd1 when calling _dl_call_pltexit.
23434 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23435 (LR_BND_OFFSET): Likewise.
23436 (LRV_BND0_OFFSET): Likewise.
23437 (LRV_BND1_OFFSET): Likewise.
23438
23439 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23440
23441 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23442 to...
23443 * sysdeps/mach/hurd/i386/tls.h: ... here.
23444 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23445 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23446 fields.
23447
23448 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23449
23450 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23451
23452 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23453
23454 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23455
23456 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23457
23458 [BZ #14770]
23459 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23460 * sysdeps/s390/configure: Regenerate.
23461
23462 [BZ #16824]
23463 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23464 Set round-to-nearest internally to reduce error accumulation.
23465
23466 2014-04-16 Alan Modra <amodra@gmail.com>
23467
23468 [BZ #16740]
23469 [BZ #16619]
23470 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23471 * math/libm-test.inc (frexp_test_data): Add tests.
23472 * NEWS: Update fixed bug list.
23473
23474 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23475
23476 * benchtests/Makefile: Depend on libraries in build directory.
23477 (bench-math): Separate out math tests.
23478 (bench-pthread): Separate out pthread tests.
23479 (bench): Include math and pthread tests.
23480
23481 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23482
23483 [BZ #16831]
23484 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23485 _dl_debug_initialize.
23486
23487 * configure.ac: Remove SELinux header check.
23488 * configure: Regenerate.
23489 * nscd/selinux.c (perms): Array of const char* to permission names.
23490 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23491 default policy. Call string_to_security_class and string_to_av_perm to
23492 translate strings. Enforce default policy and call avs_has_perm with
23493 results of translated strings.
23494
23495 2014-04-13 David S. Miller <davem@davemloft.net>
23496
23497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23498
23499 2014-04-12 Allan McRae <allan@archlinux.org>
23500
23501 [BZ #16838]
23502 * manual/string.texi (Collation Functions): Fix qsort argument
23503 order in example.
23504 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23505
23506 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23507
23508 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23509 Make the test a no-op if there are no exceptions defined.
23510
23511 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23512
23513 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23514 enable-hardcoded-path-in-tests
23515
23516 2014-04-11 Will Newton <will.newton@linaro.org>
23517
23518 * benchtests/Makefile (extra-objs): Add json-lib.o.
23519 (bench-func): Tidy up JSON output.
23520 * benchtests/bench-skeleton.c: Include json-lib.h.
23521 (main): Use JSON library functions to do output of
23522 benchmark results.
23523 * benchtests/bench-timing-type.c (main): Output the
23524 timing type simply, leaving formatting to the user.
23525 * benchtests/json-lib.c: New file.
23526 * benchtests/json-lib.h: Likewise.
23527
23528 2014-04-11 Torvald Riegel <triegel@redhat.com>
23529
23530 [BZ #15215]
23531 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23532 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23533 memory barriers. Add comments.
23534 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23535 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23536 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23537 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23538 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23539 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23540
23541 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23542
23543 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23544 * sysdeps/s390/s390-64/configure.ac: ... this ...
23545 * sysdeps/s390/configure.ac: ... to here.
23546 * sysdeps/s390/s390-32/configure: Delete file.
23547 * sysdeps/s390/s390-64/configure: Delete file.
23548 * sysdeps/s390/configure: Regenerate.
23549
23550 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23551
23552 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23553
23554 2014-04-11 Will Newton <will.newton@linaro.org>
23555
23556 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23557 to zero if it is not defined elsewhere. (mtrim): Test
23558 the value of MALLOC_DEBUG with #if rather than #ifdef.
23559
23560 2014-04-10 Torvald Riegel <triegel@redhat.com>
23561
23562 * benchtests/pthread_once-inputs: New file.
23563 * benchtests/pthread_once-source.c: New file.
23564 * benchtests/README: Update documentation.
23565
23566 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23567 H.J. Lu <hongjiu.lu@intel.com>
23568
23569 [BZ #16275]
23570 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23571 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23572 * sysdeps/x86_64/configure: Regenerated.
23573 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23574 macro.
23575 (REGISTER_SAVE_RAX): Likewise.
23576 (REGISTER_SAVE_RCX): Likewise.
23577 (REGISTER_SAVE_RDX): Likewise.
23578 (REGISTER_SAVE_RSI): Likewise.
23579 (REGISTER_SAVE_RDI): Likewise.
23580 (REGISTER_SAVE_R8): Likewise.
23581 (REGISTER_SAVE_R9): Likewise.
23582 (REGISTER_SAVE_BND0): Likewise.
23583 (REGISTER_SAVE_BND1): Likewise.
23584 (REGISTER_SAVE_BND2): Likewise.
23585 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23586 bound registers when calling _dl_fixup.
23587
23588 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23589
23590 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23591 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23592 of its definition.
23593 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23594 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23595 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23596 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23597 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23598 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23599 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23600
23601 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23602
23603 [BZ #15514]
23604 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23605 pathconf(_PC_NAME_MAX).
23606
23607 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23608
23609 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23610 Remove macro usage.
23611 (__PTHREAD_SPINS): Move definition to ...
23612 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23613 (__PTHREAD_SPINS): ... here.
23614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23615 (__PTHREAD_SPIN): Likewise.
23616 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23617 (__PTHREAD_SPIN): Likewise.
23618 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23619 (__PTHREAD_SPIN): Likewise.
23620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23621 (__PTHREAD_SPIN): Likewise.
23622 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23623 (__PTHREAD_SPIN): Likewise.
23624 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23625 (__PTHREAD_SPIN): Likewise.
23626 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23627 (__PTHREAD_SPIN): Likewise.
23628 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23629 (__PTHREAD_SPIN): Likewise.
23630 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23631 (__PTHREAD_SPIN): Likewise.
23632 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23633 (__PTHREAD_SPIN): Likewise.
23634 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23635 (__PTHREAD_SPIN): Likewise.
23636 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23637 (__PTHREAD_SPIN): Likewise.
23638
23639 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23641 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23642 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23643 imply folder.
23644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23645 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23646 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23647 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23648 correct imply path.
23649 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23650 strlen symbol for non multi-arch builds.
23651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23652 missing hidden_def and weak_alias.
23653
23654 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23655
23656 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23657
23658 2014-04-07 Will Newton <will.newton@linaro.org>
23659
23660 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23661 and contents. [!_LIBC] Remove #ifndef and contents.
23662 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23663 * string/memccpy.c (__memccpy): Use ANSI prototype.
23664 * string/memfrob.c (memfrob): Likewise.
23665 * string/strcoll.c (STRCOLL): Likewise.
23666 * string/strlen.c (strlen): Likewise.
23667 * string/strtok.c (STRTOK): Likewise.
23668 * string/strcat.c: Remove unused #include of memcopy.h.
23669 (strcat): Use ANSI prototype.
23670 * string/strchr.c: Remove unused #include of memcopy.h.
23671 (strchr): Use ANSI prototype.
23672 * string/strcmp.c: Remove unused #include of memcopy.h.
23673 (strcmp): Use ANSI prototype.
23674 * string/strcpy.c: Remove unused #include of memcopy.h.
23675 (strcpy): Use ANSI prototype.
23676
23677 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23678
23679 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23680 * config.make.in (config-extra-cppflags): Set it from
23681 libc_extra_cppflags.
23682 * configure.ac (libc_extra_cflags): Make it accumulate over
23683 configure fragments.
23684 (libc_extra_cppflags): New flag.
23685 * configure. Regenerate.
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23687 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23688 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23690
23691 [BZ #16815]
23692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23693 result for FE_DOWNWARD rounding mode.
23694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23695 Likewise.
23696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23697
23698 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23699
23700 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23701 in function argument name.
23702
23703 2014-04-03 David Svoboda <svoboda@cert.org>
23704
23705 [BZ #5666]
23706 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23707 explicitly.
23708
23709 2014-04-03 Roland McGrath <roland@hack.frob.com>
23710
23711 * elf/dl-unmap-segments.h: New file.
23712 * sysdeps/generic/ldsodefs.h
23713 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23714 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23715 * elf/dl-fptr.c: Likewise.
23716 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23717 * sysdeps/aarch64/tlsdesc.c: Likewise.
23718 * sysdeps/arm/tlsdesc.c: Likewise.
23719 * sysdeps/i386/tlsdesc.c: Likewise.
23720 * sysdeps/tile/dl-runtime.c: Likewise.
23721 * sysdeps/x86_64/tlsdesc.c: Likewise.
23722 * elf/dl-load.h: New file.
23723 * elf/dl-load.c: Include it.
23724 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23725 Macros moved to dl-load.h.
23726 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23727 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23728 Use _dl_unmap_segments in place of __munmap.
23729 Break out segment-mapping loop into ...
23730 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23731
23732 2014-04-03 Will Newton <will.newton@linaro.org>
23733
23734 * elf/dl-lookup.c (do_lookup_x): Remove comment
23735 referring to nested function and move variable
23736 declarations down to before first use.
23737
23738 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23739
23740 [BZ #16799]
23741 [BZ #16800]
23742 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23743 with 0 numerator.
23744 * math/s_catanf.c (__catanf): Likewise.
23745 * math/s_catanh.c (__catanh): Likewise.
23746 * math/s_catanhf.c (__catanhf): Likewise.
23747 * math/s_catanhl.c (__catanhl): Likewise.
23748 * math/s_catanl.c (__catanl): Likewise.
23749 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23750 by positive zero when computing -Inf result.
23751 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23752 (catanh_test): Likewise.
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755
23756 [BZ #16789]
23757 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23758 instead of using underflowing value in computing result.
23759 * math/s_clog10.c (__clog10): Likewise.
23760 * math/s_clog10f.c (__clog10f): Likewise.
23761 * math/s_clog10l.c (__clog10l): Likewise.
23762 * math/s_clogf.c (__clogf): Likewise.
23763 * math/s_clogl.c (__clogl): Likewise.
23764 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23765 (clog10_test): Likewise.
23766 * sysdeps/i386/fpu/libm-test-ulps: Update.
23767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23768
23769 2014-04-02 Alan Modra <amodra@gmail.com>
23770
23771 [BZ #16739]
23772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23773 output when value is near a power of two. Use int64_t for lx and
23774 remove casts. Use decimal rather than hex exponent constants.
23775 Don't use long double multiplication when double will suffice.
23776 * math/libm-test.inc (nextafter_test_data): Add tests.
23777 * NEWS: Add 16739 and 16786 to bug list.
23778
23779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23780
23781 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23782
23783 2014-04-01 Will Newton <will.newton@linaro.org>
23784
23785 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23786 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23787
23788 2014-04-01 Florian Weimer <fweimer@redhat.com>
23789
23790 [BZ #13347]
23791 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23792 * nptl/tst-setuid2.c: New file.
23793 * nptl/Makefile (xtests): Add tst-setuid2.
23794
23795 2014-04-01 Alan Modra <amodra@gmail.com>
23796
23797 [BZ #16786]
23798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23799
23800 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23801
23802 [BZ #6803]
23803 [BZ #6804]
23804 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23805 set errno as appropriate.
23806 * math/w_scalbf.c (__scalbf): Likewise.
23807 * math/w_scalbl.c (__scalbl): Likewise.
23808 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23809 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23810 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23811 Add more NaN tests.
23812
23813 [BZ #16349]
23814 * math/w_atan2.c: Include <errno.h>.
23815 (__atan2): Set errno for result underflowing to zero.
23816 * math/w_atan2f.c: Include <errno.h>.
23817 (__atan2f): Set errno for result underflowing to zero.
23818 * math/w_atan2l.c: Include <errno.h>.
23819 (__atan2l): Set errno for result underflowing to zero.
23820 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23821 tests.
23822 * math/auto-libm-test-out: Regenerated.
23823
23824 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23825
23826 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23827 Encode instruction correctly in little endian.
23828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23829 Likewise.
23830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23831 Likewise.
23832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23833 Likewise.
23834 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23835 Likewise.
23836
23837 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23838
23839 [BZ #9894]
23840 * sysdeps/unix/sysv/linux/kernel-features.h
23841 [__sparc__ && !__arch64__ && !__sparc_v9__]
23842 (__ASSUME_SET_ROBUST_LIST): Do not define.
23843 [__sparc__ && !__arch64__ && !__sparc_v9__]
23844 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23845 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23846 Likewise.
23847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23848 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23849 (__ASSUME_REQUEUE_PI): Likewise.
23850 (__ASSUME_SET_ROBUST_LIST): Likewise.
23851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23852 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23853 Undefine.
23854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23856 Likewise.
23857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23858 Likewise.
23859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23860 Likewise.
23861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23862 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23863 Undefine.
23864 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23865 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23866 Likewise.
23867
23868 [BZ #16648]
23869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23870 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23871 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23872
23873 2014-03-31 Will Newton <will.newton@linaro.org>
23874
23875 * benchtests/Makefile (bench): Add ffs and ffsll to list
23876 of tests.
23877 * benchtests/ffs-inputs: New file.
23878 * benchtests/ffsll-inputs: Likewise.
23879
23880 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23881
23882 [BZ #16770]
23883 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23884 too large before casting to int.
23885 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23886 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23887 * math/libm-test.inc (scalb_test_data): Add more tests.
23888
23889 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23890
23891 * benchtests/Makefile (DETAILED_OPT): New make option.
23892 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23893 set.
23894 * benchtests/bench-skeleton.c: Include stdbool.h.
23895 (main): Store and print timings per input.
23896 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23897 member to each argument value.
23898 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23899 (_print_arg_data): Initialize per-input timing to 0.
23900
23901 * benchtests/Makefile (timing-type): New binary.
23902 (bench-clean): Also remove bench-timing-type.
23903 (bench): New target for timing-type.
23904 (bench-func): Print output in JSON format.
23905 * benchtests/bench-skeleton.c (main): Print output in JSON
23906 format.
23907 * benchtests/bench-timing-type.c: New file.
23908 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23909 (TIMING_PRINT_STATS): Remove.
23910 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23911 name separately.
23912
23913 * benchtests/bench-modf.c: Remove.
23914 * benchtests/modf-inputs: New inputs file.
23915
23916 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23917
23918 [BZ #16362]
23919 * math/s_clog10.c (M_PI_LOG10E): New macro.
23920 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23921 imaginary parts are 0.
23922 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23923 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23924 imaginary parts are 0.
23925 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23926 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23927 imaginary parts are 0.
23928 * math/libm-test.inc (clog10_test_data): Update expected results
23929 for when real and imaginary parts are 0.
23930
23931 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23932
23933 * elf/dl-load.c: Finish conversion of __builtin_expect into
23934 __glibc_{un}likely.
23935
23936 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23937
23938 [BZ #16348]
23939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23940 1+x for argument with exponent below -67.
23941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23942 Likewise.
23943 * math/auto-libm-test-in: Add more tests of exp.
23944 * math/auto-libm-test-out: Regenerated.
23945
23946 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23947
23948 [BZ #16759]
23949 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23950 (nscd_getnetgrent): Use it.
23951
23952 [BZ #16760]
23953 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23954 of stpcpy.
23955
23956 2014-03-27 Andi Kleen <ak@linux.intel.com>
23957
23958 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23959 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23960 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23961 (lll_robust_unlock): Remove out of line section. Use cfi
23962 intrinsics.
23963 (LLL_STUB_UNWIND_INFO*): Remove.
23964 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23965 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23966 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23967 (lll_robust_unlock): Remove out of line section. Use cfi
23968 intrinsics.
23969 (LLL_STUB_UNWIND_INFO*): Remove.
23970
23971 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23972
23973 [BZ #16758]
23974 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23975 blank values.
23976
23977 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23978
23979 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23980
23981 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23982
23983 [BZ #16198]
23984 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23985 fnstenv.
23986 * math/test-fenv-preserve.c: New file.
23987 * math/Makefile (tests): Add test-fenv-preserve.
23988
23989 2014-03-26 Will Newton <will.newton@linaro.org>
23990
23991 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23992
23993 2014-03-25 Roland McGrath <roland@hack.frob.com>
23994
23995 * scripts/versionlist.awk: Partition the version sets and emit all
23996 GLIBC_* (sorted) before all others (sorted).
23997
23998 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23999
24000 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24001 GLIBC_2.2.5 version.
24002
24003 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24004
24005 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24006 calls.
24007
24008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24009 previous change.
24010
24011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24012
24013 2014-03-25 Andreas Schwab <schwab@suse.de>
24014
24015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24016 label to be used after in6ailist is initialized.
24017
24018 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24019
24020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24021 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24022
24023 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #16357]
24026 [BZ #16599]
24027 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24028 min_plus_half.
24029 (fp_formats): Update initializers.
24030 (init_fp_formats): Initialize new field.
24031 (output_for_one_input_case): Allow underflow for results up to
24032 min_plus_half.
24033 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24034 * math/auto-libm-test-in: Don't mark some underflows from asin and
24035 atanh as spurious.
24036 * math/auto-libm-test-out: Regenerated.
24037 * sysdeps/i386/fpu/libm-test-ulps: Update.
24038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24039
24040 2014-03-25 Andreas Schwab <schwab@suse.de>
24041
24042 * libio/Makefile (tst-ftell-partial-wide-ENV)
24043 (tst-ftell-active-handler-ENV): Define.
24044
24045 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24046
24047 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24048
24049 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24050
24051 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24052
24053 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24054
24055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24056 * sysdeps/x86_64/fpu/multiarch/e_exp.c
24057 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24058
24059 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24060
24061 [BZ #16634]
24062 * elf/dl-load.c (open_verify): Add mode parameter.
24063 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24064 (open_path): Change from boolean 'secure' to complete flag 'mode'
24065 (_dl_map_object): Adjust.
24066 * elf/Makefile (tests): Add tst-dlopen-aout.
24067 * elf/tst-dlopen-aout.c: New test.
24068
24069 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24070
24071 [BZ #16714]
24072 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24073 (struct stat): Rename member pad0 to __glibc_reserved0.
24074
24075 [BZ #16712]
24076 * sysdeps/s390/s390-32/bits/wordsize.h
24077 (__WORDSIZE32_SIZE_ULONG): New define.
24078 * sysdeps/s390/s390-64/bits/wordsize.h
24079 (__WORDSIZE32_SIZE_ULONG): Likewise.
24080 * sysdeps/generic/stdint.h (SIZE_MAX):
24081 Define as UL if __WORDSIZE32_SIZE_ULONG.
24082
24083 [BZ #16713]
24084 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24085 (__glibc_reserved0): New variable.
24086 (sa_flags): Change type to int.
24087
24088 * posix/Makefile (before-compile): Use += before-compile instead
24089 of a :=.
24090
24091 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24092 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24093
24094 2014-03-20 Andreas Schwab <schwab@suse.de>
24095
24096 [BZ #16743]
24097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24098 non-matching result from nscd.
24099
24100 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24101
24102 * scripts/bench.py: Moved to ...
24103 * benchtests/scripts/bench.py: ... here.
24104 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24105
24106 2014-03-24 Andreas Schwab <schwab@suse.de>
24107
24108 [BZ #16002]
24109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24110 alloca_account and account alloca use for struct in6ailist.
24111
24112 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24113
24114 [BZ #16284]
24115 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24116 rounding mode to recompute results that overflow to infinity or
24117 underflow to zero.
24118 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24119 bug 16284.
24120 * math/auto-libm-test-out: Regenerated.
24121 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24122 (ccosh_test): Likewise.
24123 (csin_test_data): Use plus_oflow.
24124 (csin_test): Use ALL_RM_TEST.
24125 (csinh_test_data): Use plus_oflow.
24126 (csinh_test): Use ALL_RM_TEST.
24127 * sysdeps/i386/fpu/libm-test-ulps: Update.
24128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24129
24130 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24131
24132 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24133 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24134 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24135
24136 [BZ #16731]
24137 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24138 when x - 1 is zero.
24139 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24140 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24141 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24143 argument is 1.
24144 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24145 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24146 zero.
24147 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24148 * sysdeps/i386/fpu/libm-test-ulps: Update.
24149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24150
24151 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24152
24153 * scripts/bench.pl: Remove file.
24154 * scripts/bench.py: New benchmark script.
24155 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24156 * benchtests/README: Mention python dependency.
24157 * scripts/pylintrc: New file.
24158 * scripts/pylint: New file.
24159
24160 * bits/mathdef.h: Use #ifdef instead of #if.
24161 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24162 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24163 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24164 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24165 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24167
24168 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24169 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24170
24171 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24173 and strpbrk-ppc64 objects.
24174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24175 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24176 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24177 multiarch strpbrk for POWER7.
24178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24179 multiarch strpbrk for PPC64.
24180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24181 ifunc selector.
24182 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24183 strpbrk for POWER7.
24184
24185 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24186
24187 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24188 (atan_test): Likewise.
24189 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24190 (atanh_test): Use ALL_RM_TEST.
24191 (atan2_test_data): Likewise.
24192 (cabs_test): Likewise.
24193 (cacosh_test): Likewise.
24194 (carg_test): Likewise.
24195 (casin_test): Likewise.
24196 (casinh_test): Likewise.
24197 (cbrt_test): Likewise.
24198 (csqrt_test): Likewise.
24199 (erf_test): Likewise.
24200 (erfc_test): Likewise.
24201 (pow10_test): Likewise.
24202 (exp2_test): Likewise.
24203 (hypot_test): Likewise.
24204 (j0_test): Likewise.
24205 (j1_test): Likewise.
24206 (lgamma_test): Likewise.
24207 (gamma_test): Likewise.
24208 (sincos_test): Likewise.
24209 (tanh_test): Likewise.
24210 (y0_test): Likewise.
24211 (y1_test): Likewise.
24212 * sysdeps/i386/fpu/libm-test-ulps: Update.
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24214
24215 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24216
24217 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24219 and strcspn-ppc64 objects.
24220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24221 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24222 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24223 multiarch strcspn for POWER7.
24224 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24225 multiarch strcspn for PPC64.
24226 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24227 ifunc selector.
24228 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24229 strcspn for POWER7.
24230
24231 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24232
24233 * math/gen-libm-test.pl (generate_testfile): Expect only function
24234 name as argument to AUTO_TESTS_* and pass results for all rounding
24235 modes to parse_args.
24236 (parse_auto_input): Separate inputs of automatic tests from
24237 outputs before storing in %auto_tests.
24238 * math/libm-test.inc (acos_test_data): Update call to
24239 AUTO_TESTS_f_f.
24240 (acos_test): Use ALL_RM_TEST.
24241 (acos_tonearest_test_data): Remove.
24242 (acos_test_tonearest): Likewise.
24243 (acos_towardzero_test_data): Likewise.
24244 (acos_test_towardzero): Likewise.
24245 (acos_downward_test_data): Likewise.
24246 (acos_test_downward): Likewise.
24247 (acos_upward_test_data): Likewise.
24248 (acos_test_upward): Likewise.
24249 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24250 (asin_test_data): Likewise.
24251 (asin_test): Use ALL_RM_TEST.
24252 (asin_tonearest_test_data): Remove.
24253 (asin_test_tonearest): Likewise.
24254 (asin_towardzero_test_data): Likewise.
24255 (asin_test_towardzero): Likewise.
24256 (asin_downward_test_data): Likewise.
24257 (asin_test_downward): Likewise.
24258 (asin_upward_test_data): Likewise.
24259 (asin_test_upward): Likewise.
24260 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24261 (atan_test_data): Likewise.
24262 (atanh_test_data): Likewise.
24263 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24264 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24265 (carg_test_data): Likewise.
24266 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24267 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24268 (ccosh_test_data): Likewise.
24269 (cexp_test_data): Likewise.
24270 (clog_test_data): Likewise.
24271 (clog10_test_data): Likewise.
24272 (cos_test_data): Update call to AUTO_TESTS_f_f.
24273 (cos_test): Use ALL_RM_TEST.
24274 (cos_tonearest_test_data): Remove.
24275 (cos_test_tonearest): Likewise.
24276 (cos_towardzero_test_data): Likewise.
24277 (cos_test_towardzero): Likewise.
24278 (cos_downward_test_data): Likewise.
24279 (cos_test_downward): Likewise.
24280 (cos_upward_test_data): Likewise.
24281 (cos_test_upward): Likewise.
24282 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24283 (cosh_test): Use ALL_RM_TEST.
24284 (cosh_tonearest_test_data): Remove.
24285 (cosh_test_tonearest): Likewise.
24286 (cosh_towardzero_test_data): Likewise.
24287 (cosh_test_towardzero): Likewise.
24288 (cosh_downward_test_data): Likewise.
24289 (cosh_test_downward): Likewise.
24290 (cosh_upward_test_data): Likewise.
24291 (cosh_test_upward): Likewise.
24292 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24293 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24294 (ctan_test_data): Likewise.
24295 (ctan_test): Use ALL_RM_TEST.
24296 (ctan_tonearest_test_data): Remove.
24297 (ctan_test_tonearest): Likewise.
24298 (ctan_towardzero_test_data): Likewise.
24299 (ctan_test_towardzero): Likewise.
24300 (ctan_downward_test_data): Likewise.
24301 (ctan_test_downward): Likewise.
24302 (ctan_upward_test_data): Likewise.
24303 (ctan_test_upward): Likewise.
24304 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24305 (ctanh_test): Use ALL_RM_TEST.
24306 (ctanh_tonearest_test_data): Remove.
24307 (ctanh_test_tonearest): Likewise.
24308 (ctanh_towardzero_test_data): Likewise.
24309 (ctanh_test_towardzero): Likewise.
24310 (ctanh_downward_test_data): Likewise.
24311 (ctanh_test_downward): Likewise.
24312 (ctanh_upward_test_data): Likewise.
24313 (ctanh_test_upward): Likewise.
24314 (erf_test_data): Update call to AUTO_TESTS_f_f.
24315 (erfc_test_data): Likewise.
24316 (exp_test_data): Likewise.
24317 (exp_test): Use ALL_RM_TEST.
24318 (exp_tonearest_test_data): Remove.
24319 (exp_test_tonearest): Likewise.
24320 (exp_towardzero_test_data): Likewise.
24321 (exp_test_towardzero): Likewise.
24322 (exp_downward_test_data): Likewise.
24323 (exp_test_downward): Likewise.
24324 (exp_upward_test_data): Likewise.
24325 (exp_test_upward): Likewise.
24326 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24327 (exp10_test): Use ALL_RM_TEST.
24328 (exp10_tonearest_test_data): Remove.
24329 (exp10_test_tonearest): Likewise.
24330 (exp10_towardzero_test_data): Likewise.
24331 (exp10_test_towardzero): Likewise.
24332 (exp10_downward_test_data): Likewise.
24333 (exp10_test_downward): Likewise.
24334 (exp10_upward_test_data): Likewise.
24335 (exp10_test_upward): Likewise.
24336 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24337 (expm1_test_data): Likewise.
24338 (expm1_test): Use ALL_RM_TEST.
24339 (expm1_tonearest_test_data): Remove.
24340 (expm1_test_tonearest): Likewise.
24341 (expm1_towardzero_test_data): Likewise.
24342 (expm1_test_towardzero): Likewise.
24343 (expm1_downward_test_data): Likewise.
24344 (expm1_test_downward): Likewise.
24345 (expm1_upward_test_data): Likewise.
24346 (expm1_test_upward): Likewise.
24347 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24348 (fma_test): Use ALL_RM_TEST.
24349 (fma_towardzero_test_data): Remove.
24350 (fma_test_towardzero): Likewise.
24351 (fma_downward_test_data): Likewise.
24352 (fma_test_downward): Likewise.
24353 (fma_upward_test_data): Likewise.
24354 (fma_test_upward): Likewise.
24355 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24356 (j0_test_data): Update call to AUTO_TESTS_f_f.
24357 (j1_test_data): Likewise.
24358 (jn_test_data): Update call to AUTO_TESTS_if_f.
24359 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24360 (log_test_data): Update call to AUTO_TESTS_f_f.
24361 (log10_test_data): Likewise.
24362 (log1p_test_data): Likewise.
24363 (log2_test_data): Likewise.
24364 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24365 (pow_tonearest_test_data): Likewise.
24366 (sin_test_data): Update call to AUTO_TESTS_f_f.
24367 (sin_test): Use ALL_RM_TEST.
24368 (sin_tonearest_test_data): Remove.
24369 (sin_test_tonearest): Likewise.
24370 (sin_towardzero_test_data): Likewise.
24371 (sin_test_towardzero): Likewise.
24372 (sin_downward_test_data): Likewise.
24373 (sin_test_downward): Likewise.
24374 (sin_upward_test_data): Likewise.
24375 (sin_test_upward): Likewise.
24376 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24377 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24378 (sinh_test): Use ALL_RM_TEST.
24379 (sinh_tonearest_test_data): Remove.
24380 (sinh_test_tonearest): Likewise.
24381 (sinh_towardzero_test_data): Likewise.
24382 (sinh_test_towardzero): Likewise.
24383 (sinh_downward_test_data): Likewise.
24384 (sinh_test_downward): Likewise.
24385 (sinh_upward_test_data): Likewise.
24386 (sinh_test_upward): Likewise.
24387 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24388 (sqrt_test): Use ALL_RM_TEST.
24389 (sqrt_tonearest_test_data): Remove.
24390 (sqrt_test_tonearest): Likewise.
24391 (sqrt_towardzero_test_data): Likewise.
24392 (sqrt_test_towardzero): Likewise.
24393 (sqrt_downward_test_data): Likewise.
24394 (sqrt_test_downward): Likewise.
24395 (sqrt_upward_test_data): Likewise.
24396 (sqrt_test_upward): Likewise.
24397 (tan_test_data): Update call to AUTO_TESTS_f_f.
24398 (tan_test): Use ALL_RM_TEST.
24399 (tan_tonearest_test_data): Remove.
24400 (tan_test_tonearest): Likewise.
24401 (tan_towardzero_test_data): Likewise.
24402 (tan_test_towardzero): Likewise.
24403 (tan_downward_test_data): Likewise.
24404 (tan_test_downward): Likewise.
24405 (tan_upward_test_data): Likewise.
24406 (tan_test_upward): Likewise.
24407 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24408 (tgamma_test_data): Likewise.
24409 (y0_test_data): Likewise.
24410 (y1_test_data): Likewise.
24411 (yn_test_data): Update call to AUTO_TESTS_if_f.
24412 (main): Do not call removed functions.
24413
24414 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24415
24416 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24417 (ldexp_test_data): Remove.
24418 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24419 scalbn_test_data.
24420 (scalb_test): Use ALL_RM_TEST.
24421
24422 2014-03-19 Andreas Schwab <schwab@suse.de>
24423
24424 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24425
24426 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24427
24428 [BZ #16649]
24429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24431 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24432 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24433 (__ASSUME_PREADV): Undefine.
24434 (__ASSUME_PWRITEV): Likewise.
24435
24436 2014-03-18 Roland McGrath <roland@hack.frob.com>
24437
24438 * bits/mman-linux.h: Add comment about non-Linux use.
24439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24440 bits/mman-linux.h resting place.
24441
24442 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24443 * bits/mman-linux.h: ... here.
24444
24445 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24446
24447 * conform/conformtest.pl: Add standard definition when calling C
24448 preprocessor on data files.
24449 (checknamespace): Remove unused variable.
24450
24451 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24452
24453 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24454 minus_oflow, plus_uflow and minus_uflow in expected results.
24455 * math/libm-test.inc (scalbn_test_data): Add more tests of
24456 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24457 minus_uflow.
24458 (scalbn_test): Use ALL_RM_TEST.
24459 (scalbln_test_data): Add more tests of negative arguments. Use
24460 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24461 (scalbln_test): Use ALL_RM_TEST.
24462
24463 2014-03-18 Roland McGrath <roland@hack.frob.com>
24464
24465 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24466
24467 2014-03-18 Will Newton <will.newton@linaro.org>
24468
24469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24470 inaccurate comment.
24471
24472 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24473
24474 * Makerules [!subdir] (check-abi): Exit with error status if a
24475 test failed.
24476
24477 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24478
24479 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24480 for rint. Include results for all rounding modes.
24481 (nearbyint_test): Use ALL_RM_TEST.
24482 (rint_test_data): Include all tests used for nearbyint.
24483
24484 2014-03-17 Will Newton <will.newton@linaro.org>
24485
24486 * nptl/sysdeps/pthread/pthread.h: Revert previous
24487 change.
24488
24489 * sysdeps/generic/ldsodefs.h: Revert previous
24490 change.
24491
24492 * libio/genops.c: Revert previous change.
24493 * libio/libioP.h: Likewise.
24494 * stdio-common/vfprintf.c: Likewise.
24495
24496 * sysdeps/generic/math_private.h: Revert previous
24497 change.
24498
24499 * sysdeps/generic/math_private.h: Check whether
24500 HAVE_RM_CTX is defined with #ifdef rather
24501 than #if.
24502
24503 * argp/argp-fmtstream.h: Check whether
24504 __STRICT_ANSI__ is defined with #ifdef rather
24505 than #if.
24506 * argp/argp.h: Likewise.
24507
24508 * libio/genops.c: Check whether
24509 _IO_JUMPS_OFFSET is defined with #ifdef rather
24510 than #if.
24511 * libio/libioP.h: Likewise.
24512 * stdio-common/vfprintf.c: Likewise.
24513
24514 * sysdeps/generic/ldsodefs.h: Check whether
24515 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24516 than #if.
24517
24518 * nptl/sysdeps/pthread/pthread.h: Check
24519 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24520 its value.
24521
24522 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24523
24524 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24525 setting O_APPEND.
24526 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24527 test case.
24528
24529 [BZ #16680]
24530 * libio/fileops.c (_IO_file_open): Seek to end of file but
24531 don't cache the offset.
24532 (get_file_offset): Remove function.
24533 (do_ftell): Use cached offset when available.
24534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24535 don't cache the offset.
24536 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24537 case.
24538 (do_one_test): Call it.
24539 (do_ftell_test): Fix up expected old offset for a+ mode.
24540 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24541 available.
24542
24543 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24544 up test status with function return status.
24545 (do_write_test): Likewise.
24546 (do_append_test): Likewise.
24547
24548 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24549 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24550 Remove.
24551
24552 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24553
24554 * math/gen-libm-test.pl (parse_args): Handle results specified for
24555 each rounding mode separately.
24556 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24557 tests and results from lrint_tonearest_test_data,
24558 lrint_towardzero_test_data, lrint_downward_test_data and
24559 lrint_upward_test_data.
24560 (lrint_test): Use ALL_RM_TEST.
24561 (lrint_tonearest_test_data): Remove.
24562 (lrint_test_tonearest): Likewise.
24563 (lrint_towardzero_test_data): Likewise.
24564 (lrint_test_towardzero): Likewise.
24565 (lrint_downward_test_data): Likewise.
24566 (lrint_test_downward): Likewise.
24567 (lrint_upward_test_data): Likewise.
24568 (lrint_test_upward): Likewise.
24569 (llrint_test_data): Merge in per-rounding-mode tests and results
24570 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24571 llrint_downward_test_data and llrint_upward_test_data.
24572 (llrint_test): Use ALL_RM_TEST.
24573 (llrint_tonearest_test_data): Remove.
24574 (llrint_test_tonearest): Likewise.
24575 (llrint_towardzero_test_data): Likewise.
24576 (llrint_test_towardzero): Likewise.
24577 (llrint_downward_test_data): Likewise.
24578 (llrint_test_downward): Likewise.
24579 (llrint_upward_test_data): Likewise.
24580 (llrint_test_upward): Likewise.
24581 (rint_test_data): Merge in per-rounding-mode tests and results
24582 from rint_tonearest_test_data, rint_towardzero_test_data,
24583 rint_downward_test_data and rint_upward_test_data. Add
24584 per-rounding-mode results for tests not in those arrays.
24585 (rint_test): Use ALL_RM_TEST.
24586 (rint_tonearest_test_data): Remove.
24587 (rint_test_tonearest): Likewise.
24588 (rint_towardzero_test_data): Likewise.
24589 (rint_test_towardzero): Likewise.
24590 (rint_downward_test_data): Likewise.
24591 (rint_test_downward): Likewise.
24592 (rint_upward_test_data): Likewise.
24593 (rint_test_upward): Likewise.
24594 (main): Don't call removed functions.
24595
24596 2014-03-14 Roland McGrath <roland@hack.frob.com>
24597
24598 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24599 "Compiled on ..." crapola. It is anti-useful.
24600
24601 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24602
24603 * scripts/evaluate-test.sh: Handle fourth argument to determine
24604 whether test run should stop on failure.
24605 * Makeconfig (stop-on-test-failure): New variable.
24606 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24607 $(stop-on-test-failure).
24608 * Makefile (tests): Give a summary of results from testing and
24609 exit with failure status if they include an ERROR or FAIL.
24610 (xtests): Likewise.
24611 * manual/install.texi (Configuring and compiling): Mention
24612 stop-on-test-failure=y.
24613 * INSTALL: Regenerated.
24614
24615 2014-03-14 Roland McGrath <roland@hack.frob.com>
24616
24617 * scripts/versionlist.awk: New file.
24618 * Makerules [$(build-shared) = yes]
24619 (postclean-generated): Add Versions.def, not Versions.def.v and
24620 Versions.def.v.i.
24621 ($(common-objpfx)Versions.def.v.i): Target removed.
24622 ($(common-objpfx)Versions.def): New target.
24623 ($(common-objpfx)Versions.all): Depend on that rather that
24624 $(common-objpfx)Versions.def.v.
24625 * Versions.def: File removed.
24626
24627 * Makeconfig (+gccwarn): Add -Wundef.
24628 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24629 a dl-sysdep.h breaking its contract.
24630 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24631 * include/stackinfo.h: New file.
24632 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24633 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24634 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24635 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24636 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24637 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24638 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24639 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24640 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24641 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24642 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24643 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24644 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24645 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24646 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24647
24648 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24649
24650 [BZ #16707]
24651 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24652 implementation.
24653 * math/libm-test.inc (round_test_data): Add more tests.
24654
24655 [BZ #16706]
24656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24657 implementation.
24658 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24659
24660 [BZ #16701]
24661 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24662 implementation.
24663 * math/libm-test.inc (ceil_test_data): Add more tests.
24664
24665 * math/libm-test.inc (trunc_test_data): Add more tests related to
24666 BZ#16414.
24667
24668 2014-03-14 Roland McGrath <roland@hack.frob.com>
24669
24670 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24671 with #if rather than #ifdef.
24672 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24673
24674 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24675
24676 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24677 first. Disable AVX-512 GCC support if assembler doesn't support
24678 it.
24679 * sysdeps/x86_64/configure: Regenerated.
24680
24681 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24682
24683 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24684 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24685 (__old_pthread_attr_setstack): Likewise.
24686 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24687 [!_STACK_GROWS_DOWN]: Likewise.
24688
24689 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24690
24691 * config.make.in (have-bash2): Delete.
24692 * configure.ac (libc_cv_have_bash2): Delete.
24693 * configure: Regenerate.
24694 * elf/Makefile (common-ldd-rewrite): Rename to ...
24695 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24696 (sh-ldd-rewrite): Delete.
24697 (bash-ldd-rewrite): Delete.
24698 (have-bash2): Delete checks.
24699 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24700 ldd-rewrite.
24701
24702 * config.make.in (have-ksh): Delete.
24703 (KSH): Delete.
24704 * configure.ac (libc_cv_have_ksh): Delete.
24705 * configure: Regenerate.
24706
24707 * elf/Makefile: Delete $(have-ksh) check.
24708 ($(objpfx)sotruss): Change KSH to BASH.
24709 * elf/sotruss.ksh: Rename to ...
24710 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24711 function style to match POSIX. Drop ksh vim mode setting.
24712
24713 * manual/time.texi (Specifying the Time Zone with TZ): Change
24714 Tuesday to Thursday.
24715
24716 * debug/tst-longjmp_chk2.c: Update header comment.
24717 (stackoverflow_handler): Add comment. Call assert on pass value.
24718
24719 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24720
24721 [BZ #16194]
24722 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24723 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24724 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24725 (La_x86_64_vector): Add zmm.
24726 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24727 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24728 ($(objpfx)tst-audit10): New target.
24729 ($(objpfx)tst-audit10.out): Likewise.
24730 (tst-audit10-ENV): New.
24731 (AVX512-CFLAGS): Likewise.
24732 (CFLAGS-tst-audit10.c): Likewise.
24733 (CFLAGS-tst-auditmod10a.c): Likewise.
24734 (CFLAGS-tst-auditmod10b.c): Likewise.
24735 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24736 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24737 * sysdeps/x86_64/configure: Regenerated.
24738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24739 AVX-512 zmm register support.
24740 (_dl_x86_64_save_sse): Likewise.
24741 (_dl_x86_64_restore_sse): Likewise.
24742 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24743 size vector registers.
24744 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24745 (ZMM_SIZE): Likewise.
24746 * sysdeps/x86_64/tst-audit10.c: New file.
24747 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24748 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24749
24750 2014-03-13 Roland McGrath <roland@hack.frob.com>
24751
24752 * configure.ac (HAVE_EHDR_START): New check.
24753 * configure: Regenerated.
24754 * config.h.in (HAVE_EHDR_START): New #undef.
24755 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24756 assuming the lowest-addressed segment maps the start of the file.
24757
24758 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24759
24760 * INSTALL: Regenerated.
24761
24762 2014-03-13 Will Newton <will.newton@linaro.org>
24763
24764 * manual/setjmp.texi (System V contexts): Improve
24765 clarity and grammar of documentation.
24766
24767 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24768
24769 [BZ #16381]
24770 * elf/Makefile (tests): Add tst-pie2.
24771 (tests-pie): Add tst-pie2.
24772 * elf/tst-pie2.c: New file.
24773 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24774 for ET_EXEC.
24775 * elf/rtld.c (map_doit): Load executable as lt_executable.
24776 (dl_main): Likewise.
24777
24778 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24779
24780 [BZ #16642]
24781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24782 (__ASSUME_PSELECT): Undefine.
24783
24784 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24785
24786 [BZ #16689]
24787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24788 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24789 static build.
24790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24791 selector for static builds.
24792
24793 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24794
24795 [BZ #16695]
24796 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24797 key in the buffer.
24798
24799 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24800
24801 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24802 IFUNC selector for static builds.
24803
24804 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24805
24806 * sysdeps/mips/math_private.h [__mips_hard_float]
24807 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24808 libc_feresetround_mips_ctx.
24809 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24810 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24811 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24812
24813 [BZ #16677]
24814 * math/s_nextafter.c (__nextafter): Do not return value from
24815 overflowing computation.
24816 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24817 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24819 Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24821 Likewise.
24822 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24823 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24824
24825 2014-03-11 Roland McGrath <roland@hack.frob.com>
24826
24827 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24828 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24829 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24830 the new mov targetting sp.
24831
24832 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24833
24834 [BZ #16683]
24835 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24836 Define it for static builds as well.
24837 (NO_BZERO_IMPL): Likewise.
24838
24839 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24840
24841 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24842 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24843 multiarch strspn for PPC64.
24844 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24845 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24847 (__libc_ifunc_impl_list): Likewise.
24848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24849 multiarch optimizations
24850 * string/strspn.c (strspn): Using macro to redefine symbol name.
24851
24852 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24853 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24854
24855 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24856 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24857 multiarch strncat for PPC64.
24858 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24859 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24861 (__libc_ifunc_impl_list): Likewise.
24862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24863 multiarch optimizations
24864
24865 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24866
24867 [BZ #16639]
24868 * nscd/nscd.service: Make service type forking.
24869
24870 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24871
24872 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24873 sign in non default rounding modes.
24874 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24875
24876 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24877
24878 * math/libm-test.inc (ALL_RM_TEST): New macro.
24879 (ceil_test): Use ALL_RM_TEST.
24880 (cimag_test): Likewise.
24881 (conj_test): Likewise.
24882 (copysign_test): Likewise.
24883 (cproj_test): Likewise.
24884 (creal_test): Likewise.
24885 (fabs_test): Likewise.
24886 (floor_test): Likewise.
24887 (fmax_test): Likewise.
24888 (fmin_test): Likewise.
24889 (fmod_test): Likewise.
24890 (fpclassify_test): Likewise.
24891 (frexp_test): Likewise.
24892 (ilogb_test): Likewise.
24893 (isfinite_test): Likewise.
24894 (finite_test): Likewise.
24895 (isgreater_test): Likewise.
24896 (isgreaterequal_test): Likewise.
24897 (isinf_test): Likewise.
24898 (isless_test): Likewise.
24899 (islessequal_test): Likewise.
24900 (islessgreater_test): Likewise.
24901 (isnan_test): Likewise.
24902 (isnormal_test): Likewise.
24903 (issignaling_test): Likewise.
24904 (isunordered_test): Likewise.
24905 (logb_test): Likewise.
24906 (logb_downward_test_data): Remove.
24907 (logb_test_downward): Likewise.
24908 (lround_test): Use ALL_RM_TEST.
24909 (llround_test): Likewise.
24910 (modf_test): Likewise.
24911 (nexttoward_test): Likewise.
24912 (remainder_test): Likewise.
24913 (drem_test): Likewise.
24914 (remainder_tonearest_test_data): Likewise.
24915 (remainder_test_tonearest): Likewise.
24916 (drem_test_tonearest): Likewise.
24917 (remainder_towardzero_test_data): Likewise.
24918 (remainder_test_towardzero): Likewise.
24919 (drem_test_towardzero): Likewise.
24920 (remainder_downward_test_data): Likewise.
24921 (remainder_test_downward): Likewise.
24922 (drem_test_downward): Likewise.
24923 (remainder_upward_test_data): Likewise.
24924 (remainder_test_upward): Likewise.
24925 (drem_test_upward): Likewise.
24926 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24927 (round_test): Use ALL_RM_TEST.
24928 (signbit_test): Likewise.
24929 (trunc_test): Likewise.
24930 (significand_test): Likewise.
24931 (main): Don't call removed functions.
24932
24933 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #16674]
24936 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24937 || __USE_XOPEN2K8].
24938 (ILL_ILLOPN): Likewise.
24939 (ILL_ILLADR): Likewise.
24940 (ILL_ILLTRP): Likewise.
24941 (ILL_PRVOPC): Likewise.
24942 (ILL_PRVREG): Likewise.
24943 (ILL_COPROC): Likewise.
24944 (ILL_BADSTK): Likewise.
24945 (FPE_INTDIV): Likewise.
24946 (FPE_INTOVF): Likewise.
24947 (FPE_FLTDIV): Likewise.
24948 (FPE_FLTOVF): Likewise.
24949 (FPE_FLTUND): Likewise.
24950 (FPE_FLTRES): Likewise.
24951 (FPE_FLTINV): Likewise.
24952 (FPE_FLTSUB): Likewise.
24953 (SEGV_MAPERR): Likewise.
24954 (SEGV_ACCERR): Likewise.
24955 (BUS_ADRALN): Likewise.
24956 (BUS_ADRERR): Likewise.
24957 (BUS_OBJERR): Likewise.
24958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24959 (TRAP_TRACE): Likewise.
24960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24961 __USE_XOPEN2K8].
24962 (CLD_KILLED): Likewise.
24963 (CLD_DUMPED): Likewise.
24964 (CLD_TRAPPED): Likewise.
24965 (CLD_STOPPED): Likewise.
24966 (CLD_CONTINUED): Likewise.
24967 (POLL_IN): Likewise.
24968 (POLL_OUT): Likewise.
24969 (POLL_MSG): Likewise.
24970 (POLL_ERR): Likewise.
24971 (POLL_PRI): Likewise.
24972 (POLL_HUP): Likewise.
24973 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24974 Likewise.
24975 (ILL_ILLOPN): Likewise.
24976 (ILL_ILLADR): Likewise.
24977 (ILL_ILLTRP): Likewise.
24978 (ILL_PRVOPC): Likewise.
24979 (ILL_PRVREG): Likewise.
24980 (ILL_COPROC): Likewise.
24981 (ILL_BADSTK): Likewise.
24982 (FPE_INTDIV): Likewise.
24983 (FPE_INTOVF): Likewise.
24984 (FPE_FLTDIV): Likewise.
24985 (FPE_FLTOVF): Likewise.
24986 (FPE_FLTUND): Likewise.
24987 (FPE_FLTRES): Likewise.
24988 (FPE_FLTINV): Likewise.
24989 (FPE_FLTSUB): Likewise.
24990 (SEGV_MAPERR): Likewise.
24991 (SEGV_ACCERR): Likewise.
24992 (BUS_ADRALN): Likewise.
24993 (BUS_ADRERR): Likewise.
24994 (BUS_OBJERR): Likewise.
24995 (BUS_MCEERR_AR): Likewise.
24996 (BUS_MCEERR_AO): Likewise.
24997 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24998 (TRAP_TRACE): Likewise.
24999 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25000 __USE_XOPEN2K8].
25001 (CLD_KILLED): Likewise.
25002 (CLD_DUMPED): Likewise.
25003 (CLD_TRAPPED): Likewise.
25004 (CLD_STOPPED): Likewise.
25005 (CLD_CONTINUED): Likewise.
25006 (POLL_IN): Likewise.
25007 (POLL_OUT): Likewise.
25008 (POLL_MSG): Likewise.
25009 (POLL_ERR): Likewise.
25010 (POLL_PRI): Likewise.
25011 (POLL_HUP): Likewise.
25012 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25013 (ILL_ILLOPN): Likewise.
25014 (ILL_ILLADR): Likewise.
25015 (ILL_ILLTRP): Likewise.
25016 (ILL_PRVOPC): Likewise.
25017 (ILL_PRVREG): Likewise.
25018 (ILL_COPROC): Likewise.
25019 (ILL_BADSTK): Likewise.
25020 (FPE_INTDIV): Likewise.
25021 (FPE_INTOVF): Likewise.
25022 (FPE_FLTDIV): Likewise.
25023 (FPE_FLTOVF): Likewise.
25024 (FPE_FLTUND): Likewise.
25025 (FPE_FLTRES): Likewise.
25026 (FPE_FLTINV): Likewise.
25027 (FPE_FLTSUB): Likewise.
25028 (SEGV_MAPERR): Likewise.
25029 (SEGV_ACCERR): Likewise.
25030 (BUS_ADRALN): Likewise.
25031 (BUS_ADRERR): Likewise.
25032 (BUS_OBJERR): Likewise.
25033 (BUS_MCEERR_AR): Likewise.
25034 (BUS_MCEERR_AO): Likewise.
25035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25036 (TRAP_TRACE): Likewise.
25037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25038 __USE_XOPEN2K8].
25039 (CLD_KILLED): Likewise.
25040 (CLD_DUMPED): Likewise.
25041 (CLD_TRAPPED): Likewise.
25042 (CLD_STOPPED): Likewise.
25043 (CLD_CONTINUED): Likewise.
25044 (POLL_IN): Likewise.
25045 (POLL_OUT): Likewise.
25046 (POLL_MSG): Likewise.
25047 (POLL_ERR): Likewise.
25048 (POLL_PRI): Likewise.
25049 (POLL_HUP): Likewise.
25050 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25051 Likewise.
25052 (ILL_ILLOPN): Likewise.
25053 (ILL_ILLADR): Likewise.
25054 (ILL_ILLTRP): Likewise.
25055 (ILL_PRVOPC): Likewise.
25056 (ILL_PRVREG): Likewise.
25057 (ILL_COPROC): Likewise.
25058 (ILL_BADSTK): Likewise.
25059 (ILL_BADIADDR): Likewise.
25060 (ILL_BREAK): Likewise.
25061 (FPE_INTDIV): Likewise.
25062 (FPE_INTOVF): Likewise.
25063 (FPE_FLTDIV): Likewise.
25064 (FPE_FLTOVF): Likewise.
25065 (FPE_FLTUND): Likewise.
25066 (FPE_FLTRES): Likewise.
25067 (FPE_FLTINV): Likewise.
25068 (FPE_FLTSUB): Likewise.
25069 (FPE_DECOVF): Likewise.
25070 (FPE_DECDIV): Likewise.
25071 (FPE_DECERR): Likewise.
25072 (FPE_INVASC): Likewise.
25073 (FPE_INVDEC): Likewise.
25074 (SEGV_MAPERR): Likewise.
25075 (SEGV_ACCERR): Likewise.
25076 (SEGV_PSTKOVF): Likewise.
25077 (BUS_ADRALN): Likewise.
25078 (BUS_ADRERR): Likewise.
25079 (BUS_OBJERR): Likewise.
25080 (BUS_MCEERR_AR): Likewise.
25081 (BUS_MCEERR_AO): Likewise.
25082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25083 (TRAP_TRACE): Likewise.
25084 (TRAP_BRANCH): Likewise.
25085 (TRAP_HWBKPT): Likewise.
25086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25087 __USE_XOPEN2K8].
25088 (CLD_KILLED): Likewise.
25089 (CLD_DUMPED): Likewise.
25090 (CLD_TRAPPED): Likewise.
25091 (CLD_STOPPED): Likewise.
25092 (CLD_CONTINUED): Likewise.
25093 (POLL_IN): Likewise.
25094 (POLL_OUT): Likewise.
25095 (POLL_MSG): Likewise.
25096 (POLL_ERR): Likewise.
25097 (POLL_PRI): Likewise.
25098 (POLL_HUP): Likewise.
25099 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25100 (ILL_ILLOPN): Likewise.
25101 (ILL_ILLADR): Likewise.
25102 (ILL_ILLTRP): Likewise.
25103 (ILL_PRVOPC): Likewise.
25104 (ILL_PRVREG): Likewise.
25105 (ILL_COPROC): Likewise.
25106 (ILL_BADSTK): Likewise.
25107 (FPE_INTDIV): Likewise.
25108 (FPE_INTOVF): Likewise.
25109 (FPE_FLTDIV): Likewise.
25110 (FPE_FLTOVF): Likewise.
25111 (FPE_FLTUND): Likewise.
25112 (FPE_FLTRES): Likewise.
25113 (FPE_FLTINV): Likewise.
25114 (FPE_FLTSUB): Likewise.
25115 (SEGV_MAPERR): Likewise.
25116 (SEGV_ACCERR): Likewise.
25117 (BUS_ADRALN): Likewise.
25118 (BUS_ADRERR): Likewise.
25119 (BUS_OBJERR): Likewise.
25120 (BUS_MCEERR_AR): Likewise.
25121 (BUS_MCEERR_AO): Likewise.
25122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25123 (TRAP_TRACE): Likewise.
25124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25125 __USE_XOPEN2K8].
25126 (CLD_KILLED): Likewise.
25127 (CLD_DUMPED): Likewise.
25128 (CLD_TRAPPED): Likewise.
25129 (CLD_STOPPED): Likewise.
25130 (CLD_CONTINUED): Likewise.
25131 (POLL_IN): Likewise.
25132 (POLL_OUT): Likewise.
25133 (POLL_MSG): Likewise.
25134 (POLL_ERR): Likewise.
25135 (POLL_PRI): Likewise.
25136 (POLL_HUP): Likewise.
25137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25138 (ILL_ILLOPN): Likewise.
25139 (ILL_ILLADR): Likewise.
25140 (ILL_ILLTRP): Likewise.
25141 (ILL_PRVOPC): Likewise.
25142 (ILL_PRVREG): Likewise.
25143 (ILL_COPROC): Likewise.
25144 (ILL_BADSTK): Likewise.
25145 (FPE_INTDIV): Likewise.
25146 (FPE_INTOVF): Likewise.
25147 (FPE_FLTDIV): Likewise.
25148 (FPE_FLTOVF): Likewise.
25149 (FPE_FLTUND): Likewise.
25150 (FPE_FLTRES): Likewise.
25151 (FPE_FLTINV): Likewise.
25152 (FPE_FLTSUB): Likewise.
25153 (SEGV_MAPERR): Likewise.
25154 (SEGV_ACCERR): Likewise.
25155 (BUS_ADRALN): Likewise.
25156 (BUS_ADRERR): Likewise.
25157 (BUS_OBJERR): Likewise.
25158 (BUS_MCEERR_AR): Likewise.
25159 (BUS_MCEERR_AO): Likewise.
25160 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25161 (TRAP_TRACE): Likewise.
25162 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25163 __USE_XOPEN2K8].
25164 (CLD_KILLED): Likewise.
25165 (CLD_DUMPED): Likewise.
25166 (CLD_TRAPPED): Likewise.
25167 (CLD_STOPPED): Likewise.
25168 (CLD_CONTINUED): Likewise.
25169 (POLL_IN): Likewise.
25170 (POLL_OUT): Likewise.
25171 (POLL_MSG): Likewise.
25172 (POLL_ERR): Likewise.
25173 (POLL_PRI): Likewise.
25174 (POLL_HUP): Likewise.
25175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25176 (ILL_ILLOPN): Likewise.
25177 (ILL_ILLADR): Likewise.
25178 (ILL_ILLTRP): Likewise.
25179 (ILL_PRVOPC): Likewise.
25180 (ILL_PRVREG): Likewise.
25181 (ILL_COPROC): Likewise.
25182 (ILL_BADSTK): Likewise.
25183 (FPE_INTDIV): Likewise.
25184 (FPE_INTOVF): Likewise.
25185 (FPE_FLTDIV): Likewise.
25186 (FPE_FLTOVF): Likewise.
25187 (FPE_FLTUND): Likewise.
25188 (FPE_FLTRES): Likewise.
25189 (FPE_FLTINV): Likewise.
25190 (FPE_FLTSUB): Likewise.
25191 (SEGV_MAPERR): Likewise.
25192 (SEGV_ACCERR): Likewise.
25193 (BUS_ADRALN): Likewise.
25194 (BUS_ADRERR): Likewise.
25195 (BUS_OBJERR): Likewise.
25196 (BUS_MCEERR_AR): Likewise.
25197 (BUS_MCEERR_AO): Likewise.
25198 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25199 (TRAP_TRACE): Likewise.
25200 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25201 __USE_XOPEN2K8].
25202 (CLD_KILLED): Likewise.
25203 (CLD_DUMPED): Likewise.
25204 (CLD_TRAPPED): Likewise.
25205 (CLD_STOPPED): Likewise.
25206 (CLD_CONTINUED): Likewise.
25207 (POLL_IN): Likewise.
25208 (POLL_OUT): Likewise.
25209 (POLL_MSG): Likewise.
25210 (POLL_ERR): Likewise.
25211 (POLL_PRI): Likewise.
25212 (POLL_HUP): Likewise.
25213 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25214 (ILL_ILLOPN): Likewise.
25215 (ILL_ILLADR): Likewise.
25216 (ILL_ILLTRP): Likewise.
25217 (ILL_PRVOPC): Likewise.
25218 (ILL_PRVREG): Likewise.
25219 (ILL_COPROC): Likewise.
25220 (ILL_BADSTK): Likewise.
25221 (ILL_DBLFLT): Likewise.
25222 (ILL_HARDWALL): Likewise.
25223 (FPE_INTDIV): Likewise.
25224 (FPE_INTOVF): Likewise.
25225 (FPE_FLTDIV): Likewise.
25226 (FPE_FLTOVF): Likewise.
25227 (FPE_FLTUND): Likewise.
25228 (FPE_FLTRES): Likewise.
25229 (FPE_FLTINV): Likewise.
25230 (FPE_FLTSUB): Likewise.
25231 (SEGV_MAPERR): Likewise.
25232 (SEGV_ACCERR): Likewise.
25233 (BUS_ADRALN): Likewise.
25234 (BUS_ADRERR): Likewise.
25235 (BUS_OBJERR): Likewise.
25236 (BUS_MCEERR_AR): Likewise.
25237 (BUS_MCEERR_AO): Likewise.
25238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25239 (TRAP_TRACE): Likewise.
25240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25241 __USE_XOPEN2K8].
25242 (CLD_KILLED): Likewise.
25243 (CLD_DUMPED): Likewise.
25244 (CLD_TRAPPED): Likewise.
25245 (CLD_STOPPED): Likewise.
25246 (CLD_CONTINUED): Likewise.
25247 (POLL_IN): Likewise.
25248 (POLL_OUT): Likewise.
25249 (POLL_MSG): Likewise.
25250 (POLL_ERR): Likewise.
25251 (POLL_PRI): Likewise.
25252 (POLL_HUP): Likewise.
25253 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25254 (ILL_ILLOPN): Likewise.
25255 (ILL_ILLADR): Likewise.
25256 (ILL_ILLTRP): Likewise.
25257 (ILL_PRVOPC): Likewise.
25258 (ILL_PRVREG): Likewise.
25259 (ILL_COPROC): Likewise.
25260 (ILL_BADSTK): Likewise.
25261 (FPE_INTDIV): Likewise.
25262 (FPE_INTOVF): Likewise.
25263 (FPE_FLTDIV): Likewise.
25264 (FPE_FLTOVF): Likewise.
25265 (FPE_FLTUND): Likewise.
25266 (FPE_FLTRES): Likewise.
25267 (FPE_FLTINV): Likewise.
25268 (FPE_FLTSUB): Likewise.
25269 (SEGV_MAPERR): Likewise.
25270 (SEGV_ACCERR): Likewise.
25271 (BUS_ADRALN): Likewise.
25272 (BUS_ADRERR): Likewise.
25273 (BUS_OBJERR): Likewise.
25274 (BUS_MCEERR_AR): Likewise.
25275 (BUS_MCEERR_AO): Likewise.
25276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25277 (TRAP_TRACE): Likewise.
25278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25279 __USE_XOPEN2K8].
25280 (CLD_KILLED): Likewise.
25281 (CLD_DUMPED): Likewise.
25282 (CLD_TRAPPED): Likewise.
25283 (CLD_STOPPED): Likewise.
25284 (CLD_CONTINUED): Likewise.
25285 (POLL_IN): Likewise.
25286 (POLL_OUT): Likewise.
25287 (POLL_MSG): Likewise.
25288 (POLL_ERR): Likewise.
25289 (POLL_PRI): Likewise.
25290 (POLL_HUP): Likewise.
25291 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25292 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25293
25294 [BZ #16670]
25295 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25296 before #include of <time.h>.
25297 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25298 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25299 (test-xfail-UNIX98/sched.h/conform): Likewise.
25300
25301 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25302
25303 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25304 error absence of trapping exception support.
25305 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25306
25307 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25308
25309 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25310 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25311 * timezone/Makefile (testdata): Move definition above include of
25312 Rules.
25313 (test-zones): New variable.
25314 (tests-special): Add zone files.
25315 (build-testdata): Use $(evaluate-test).
25316
25317 * elf/Makefile (tests-special): Rename tests to end with .out.
25318 ($(objpfx)noload-mem): Likewise.
25319 ($(objpfx)tst-leaks1-mem): Likewise.
25320 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25321 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25322 $(objpfx)test-iconvconfig.out.
25323 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25324 set -e inside subshell and redirect output to file.
25325 * iconvdata/Makefile (generated): Rename tests to end with .out.
25326 Correct type.
25327 (tests-special): Rename tests to end with .out.
25328 ($(objpfx)mtrace-tst-loading): Likewise.
25329 * intl/Makefile (generated): Likewise.
25330 (tests-special): Likewise.
25331 ($(objpfx)mtrace-tst-gettext): Likewise.
25332 * misc/Makefile (generated): Likewise.
25333 (tests-special): Likewise.
25334 ($(objpfx)tst-error1-mem): Likewise.
25335 * nptl/Makefile (tests-special): Likewise.
25336 ($(objpfx)tst-stack3-mem): Likewise.
25337 (generated): Likewise.
25338 * posix/Makefile (generated): Likewise.
25339 (tests-special): Likewise.
25340 (xtests-special): Likewise.
25341 ($(objpfx)tst-fnmatch-mem): Likewise.
25342 ($(objpfx)bug-regex2-mem): Likewise.
25343 ($(objpfx)bug-regex14-mem): Likewise.
25344 ($(objpfx)bug-regex21-mem): Likewise.
25345 ($(objpfx)bug-regex31-mem): Likewise.
25346 ($(objpfx)tst-vfork3-mem): Likewise.
25347 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25348 ($(objpfx)tst-pcre-mem): Likewise.
25349 ($(objpfx)tst-boost-mem): Likewise.
25350 ($(objpfx)bug-ga2-mem): Likewise.
25351 ($(objpfx)bug-glob2-mem): Likewise.
25352 * resolv/Makefile (generate): Likewise.
25353 (tests-special): Likewise.
25354 (xtests-special): Likewise.
25355 (generated): Likewise.
25356 ($(objpfx)mtrace-tst-leaks): Likewise.
25357 ($(objpfx)mtrace-tst-leaks2): Likewise.
25358
25359 * scripts/merge-test-results.sh: New file.
25360 * Makefile (tests-special-notdir): New variable.
25361 (tests): Run merge-test-results.sh.
25362 (xtests): Likewise.
25363 * Rules (tests-special-notdir): New variable.
25364 (xtests-special-notdir): Likewise.
25365 (tests): Run merge-test-results.sh
25366 (xtests): Likewise.
25367
25368 * Makeconfig (test-xfail-name): New variable.
25369 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25370 compute variable name for expected failures.
25371 * conform/Makefile (conformtest-headers-data): New variable.
25372 (conformtest-standards): Likewise.
25373 (conformtest-headers-ISO): Likewise.
25374 (conformtest-headers-ISO99): Likewise.
25375 (conformtest-headers-ISO11): Likewise.
25376 (conformtest-headers-POSIX): Likewise.
25377 (conformtest-headers-XPG3): Likewise.
25378 (conformtest-headers-XPG4): Likewise.
25379 (conformtest-headers-UNIX98): Likewise.
25380 (conformtest-headers-XOPEN2K): Likewise.
25381 (conformtest-headers-POSIX2008): Likewise.
25382 (conformtest-headers-XOPEN2K8): Likewise.
25383 (conformtest-header-list-base): Likewise.
25384 (conformtest-header-list-tests): Likewise.
25385 (conformtest-header-base): Likewise.
25386 (conformtest-header-tests): Likewise.
25387 (tests-special): Add $(conformtest-header-list-tests). If
25388 [$(fast-check) && !$(cross-compiling)], add
25389 $(conformtest-header-tests) instead of
25390 $(objpfx)run-conformtest.out.
25391 (generated): Add $(conformtest-header-list-base). If
25392 [$(fast-check) && !$(cross-compiling)], add
25393 $(conformtest-header-base). Remove previous setting.
25394 ($(conformtest-header-list-tests)): New target.
25395 (test-xfail-run-conformtest): Remove variable.
25396 ($(objpfx)run-conformtest.out): Remove target.
25397 (test-xfail-ISO11/complex.h/conform): New variable.
25398 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25399 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25400 (test-xfail-XPG3/varargs.h/conform): Likewise.
25401 (test-xfail-XPG4/varargs.h/conform): Likewise.
25402 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25403 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25404 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25405 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25406 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25407 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25408 (test-xfail-XPG3/ftw.h/conform): Likewise.
25409 (test-xfail-XPG3/grp.h/conform): Likewise.
25410 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25411 (test-xfail-XPG3/limits.h/conform): Likewise.
25412 (test-xfail-XPG3/pwd.h/conform): Likewise.
25413 (test-xfail-XPG3/search.h/conform): Likewise.
25414 (test-xfail-XPG3/signal.h/conform): Likewise.
25415 (test-xfail-XPG3/stdio.h/conform): Likewise.
25416 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25417 (test-xfail-XPG3/string.h/conform): Likewise.
25418 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25419 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25420 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25421 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25422 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25423 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25424 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25425 (test-xfail-XPG3/termios.h/conform): Likewise.
25426 (test-xfail-XPG3/time.h/conform): Likewise.
25427 (test-xfail-XPG3/unistd.h/conform): Likewise.
25428 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25429 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25430 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25431 (test-xfail-XPG4/netdb.h/conform): Likewise.
25432 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25433 (test-xfail-XPG4/signal.h/conform): Likewise.
25434 (test-xfail-XPG4/stdio.h/conform): Likewise.
25435 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25436 (test-xfail-XPG4/stropts.h/conform): Likewise.
25437 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25438 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25439 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25440 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25441 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25442 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25443 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25444 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25445 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25446 (test-xfail-XPG4/termios.h/conform): Likewise.
25447 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25448 (test-xfail-XPG4/unistd.h/conform): Likewise.
25449 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25450 (test-xfail-POSIX/sched.h/conform): Likewise.
25451 (test-xfail-POSIX/signal.h/conform): Likewise.
25452 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25453 (test-xfail-POSIX/tar.h/conform): Likewise.
25454 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25455 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25456 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25457 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25458 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25459 (test-xfail-UNIX98/sched.h/conform): Likewise.
25460 (test-xfail-UNIX98/signal.h/conform): Likewise.
25461 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25462 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25463 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25464 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25465 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25466 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25467 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25468 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25469 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25470 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25471 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25472 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25473 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25474 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25475 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25476 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25477 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25478 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25479 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25480 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25481 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25482 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25483 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25484 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25485 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25486 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25487 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25488 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25489 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25490 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25491 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25492 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25493 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25494 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25495 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25496 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25497 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25498 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25499 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25500 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25501 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25502 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25503 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25504 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25505 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25506 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25507 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25508 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25509 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25510 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25511 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25512 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25513 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25514 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25515 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25516 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25517 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25518 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25519 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25520 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25521 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25522 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25523 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25524 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25525 (conformtest-cc-flags): Likewise.
25526 ($(conformtest-header-tests): New target.
25527 * conform/check-header-lists.sh: New file.
25528 * conform/run-conformtest.sh: Remove.
25529
25530 * conform/conformtest.pl: Allow ' and \ in values given for
25531 constants.
25532 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25533 inclusion.
25534 [POSIX] (sys/types.h): Likewise.
25535 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25536 inclusion.
25537 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25538 inclusion.
25539 * conform/data/signal.h-data (SIGIO): Remove expectation.
25540 [XPG3] (SIGBUS): Do not expect.
25541 [POSIX || XPG3] (SIGPOLL): Likewise.
25542 [POSIX || XPG3] (SIGPROF): Likewise.
25543 [POSIX || XPG3] (SIGSYS): Likewise.
25544 [XPG3] (SIGTRAP): Likewise.
25545 [POSIX || XPG3] (SIGURG): Likewise.
25546 [POSIX || XPG3] (SIGVTALRM): Likewise.
25547 [POSIX || XPG3] (SIGXCPU): Likewise.
25548 [POSIX || XPG3] (SIGXFSZ): Likewise.
25549 [POSIX] (SA_SIGINFO): Expect.
25550 [XPG3] (siginfo_t): Do not expect type or contents.
25551 [POSIX] (si_pid): Do not expect element.
25552 [POSIX] (si_uid): Likewise.
25553 [POSIX] (si_addr): Likewise.
25554 [POSIX] (si_status): Likewise.
25555 [POSIX] (si_band): Likewise.
25556 [XPG4] (si_value): Likewise.
25557 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25558 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25559 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25560 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25561 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25562 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25563 [POSIX || XPG3] (ILL_COPROC): Likewise.
25564 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25565 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25566 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25567 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25568 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25569 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25570 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25571 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25572 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25573 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25574 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25575 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25576 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25577 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25578 [POSIX || XPG3] (CLD_EXITED): Likewise.
25579 [POSIX || XPG3] (CLD_KILLED): Likewise.
25580 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25581 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25582 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25583 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25584 [POSIX || XPG3] (POLL_IN): Likewise.
25585 [POSIX || XPG3] (POLL_OUT): Likewise.
25586 [POSIX || XPG3] (POLL_MSG): Likewise.
25587 [POSIX || XPG3] (POLL_ERR): Likewise.
25588 [POSIX || XPG3] (POLL_PRI): Likewise.
25589 [POSIX || XPG3] (POLL_HUP): Likewise.
25590 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25591 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25592 (SIG*): Do not allow.
25593 [XPG3] (si_*): Likewise.
25594 [XPG3] (SI_*): Likewise.
25595 [XPG3 || XPG4] (sigev_*): Likewise.
25596 [XPG3 || XPG4] (SIGEV_*): Likewise.
25597 [XPG3 || XPG4] (sival_*): Likewise.
25598 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25599 [POSIX || XPG3] (BUS_*): Likewise.
25600 [POSIX || XPG3] (CLD_*): Likewise.
25601 [POSIX || XPG3] (FPE_*): Likewise.
25602 [POSIX || XPG3] (ILL_*): Likewise.
25603 [POSIX || XPG3] (POLL_*): Likewise.
25604 [POSIX || XPG3] (SEGV_*): Likewise.
25605 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25606 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25607 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25608 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25609 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25610 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25611 Specify type and value.
25612 (TVERSLEN): Likewise.
25613 (REGTYPE): Likewise.
25614 (AREGTYPE): Likewise.
25615 (LNKTYPE): Likewise.
25616 (SYMTYPE): Likewise.
25617 (CHRTYPE): Likewise.
25618 (BLKTYPE): Likewise.
25619 (DIRTYPE): Likewise.
25620 (FIFOTYPE): Likewise.
25621 (CONTTYPE): Likewise.
25622 (TSUID): Likewise.
25623 (TSGID): Likewise.
25624 (TSVTX): Likewise.
25625 (TUREAD): Likewise.
25626 (TUWRITE): Likewise.
25627 (TUEXEC): Likewise.
25628 (TGREAD): Likewise.
25629 (TGWRITE): Likewise.
25630 (TGEXEC): Likewise.
25631 (TOREAD): Likewise.
25632 (TOWRITE): Likewise.
25633 (TOEXEC): Likewise.
25634 [POSIX] (TSVTX): Expect constant.
25635
25636 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25637
25638 * Makefile (tests): Change dependencies to ....
25639 (tests-special): ... additions to this variable.
25640 (tests): Depend on $(tests-special).
25641 * Makerules (check-abi-list): New variable.
25642 (check-abi): Depend on $(check-abi-list).
25643 [$(subdir) = elf] (tests-special): Add
25644 $(objpfx)check-abi-libc.out.
25645 [$(build-shared) = yes && subdir] (tests-special): Add
25646 $(check-abi-list).
25647 [$(build-shared) = yes && subdir] (tests): Do not depend on
25648 check-abi.
25649 * Rules (tests): Depend on $(tests-special).
25650 (xtests): Depend on $(xtests-special).
25651 * catgets/Makefile (tests): Change dependencies to ....
25652 (tests-special): ... additions to this variable.
25653 * conform/Makefile (tests): Change dependencies to ....
25654 (tests-special): ... additions to this variable.
25655 * elf/Makefile (tests): Change dependencies to ....
25656 (tests-special): ... additions to this variable.
25657 * grp/Makefile (tests): Change dependencies to ....
25658 (tests-special): ... additions to this variable.
25659 * iconv/Makefile (xtests): Change dependencies to ....
25660 (xtests-special): ... additions to this variable.
25661 * iconvdata/Makefile (tests): Change dependencies to ....
25662 (tests-special): ... additions to this variable.
25663 * intl/Makefile (tests): Change dependencies to ....
25664 (tests-special): ... additions to this variable. Also add
25665 $(objpfx)tst-gettext.out.
25666 * io/Makefile (tests): Change dependencies to ....
25667 (tests-special): ... additions to this variable.
25668 * libio/Makefile (tests): Change dependencies to ....
25669 (tests-special): ... additions to this variable.
25670 * malloc/Makefile (tests): Change dependencies to ....
25671 (tests-special): ... additions to this variable.
25672 * misc/Makefile (tests): Change dependencies to ....
25673 (tests-special): ... additions to this variable.
25674 * nptl/Makefile (tests): Change dependencies to ....
25675 (tests-special): ... additions to this variable.
25676 * nptl_db/Makefile (tests): Change dependencies to ....
25677 (tests-special): ... additions to this variable.
25678 * posix/Makefile (tests): Change dependencies to ....
25679 (tests-special): ... additions to this variable.
25680 (xtests): Change dependencies to ....
25681 (xtests-special): ... additions to this variable.
25682 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
25687 (tests-special): ... additions to this variable.
25688 (do-tst-unbputc): Remove target.
25689 (do-tst-printf): Likewise.
25690 * stdlib/Makefile (tests): Change dependencies to ....
25691 (tests-special): ... additions to this variable.
25692 * string/Makefile (tests): Change dependencies to ....
25693 (tests-special): ... additions to this variable.
25694 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25695 (tests-special): ... additions to this variable.
25696
25697 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25698 whole file.
25699 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25700 whole file.
25701 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25702 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25703
25704 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25705 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25706 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25707 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25708 * conform/data/libgen.h-data [XPG3]: Likewise.
25709 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25710 * conform/data/ndbm.h-data [XPG3]: Likewise.
25711 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25712 * conform/data/netdb.h-data [XPG3]: Likewise.
25713 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25714 * conform/data/poll.h-data [XPG3]: Likewise.
25715 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25716 * conform/data/strings.h-data [XPG3]: Likewise.
25717 * conform/data/stropts.h-data [XPG3]: Likewise.
25718 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25719 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25720 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25721 Likewise.
25722 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25723 * conform/data/sys/time.h-data [XPG3]: Likewise.
25724 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25725 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25726 * conform/data/sys/un.h-data [XPG3]: Likewise.
25727 * conform/data/syslog.h-data [XPG3]: Likewise.
25728 * conform/data/ucontext.h-data [XPG3]: Likewise.
25729 * conform/data/utmpx.h-data [XPG3]: Likewise.
25730 * conform/data/varargs.h-data [UNIX98]: Enable file.
25731
25732 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25733
25734 * math/libm-test.inc (struct test_f_f_data): Move expected results
25735 into structure for each rounding mode.
25736 (struct test_ff_f_data): Likewise.
25737 (struct test_ff_f_data_nexttoward): Likewise.
25738 (struct test_fi_f_data): Likewise.
25739 (struct test_fl_f_data): Likewise.
25740 (struct test_if_f_data): Likewise.
25741 (struct test_fff_f_data): Likewise.
25742 (struct test_c_f_data): Likewise.
25743 (struct test_f_f1_data): Likewise.
25744 (struct test_fF_f1_data): Likewise.
25745 (struct test_ffI_f1_data): Likewise.
25746 (struct test_c_c_data): Likewise.
25747 (struct test_cc_c_data): Likewise.
25748 (struct test_f_i_data): Likewise.
25749 (struct test_ff_i_data): Likewise.
25750 (struct test_f_l_data): Likewise.
25751 (struct test_f_L_data): Likewise.
25752 (struct test_fFF_11_data): Likewise.
25753 (RM_): New macro.
25754 (RM_FE_DOWNWARD): Likewise.
25755 (RM_FE_TONEAREST): Likewise.
25756 (RM_FE_TOWARDZERO): Likewise.
25757 (RM_FE_UPWARD): Likewise.
25758 (RUN_TEST_LOOP_f_f): Update references to expected results.
25759 (RUN_TEST_LOOP_2_f): Likewise.
25760 (RUN_TEST_LOOP_fff_f): Likewise.
25761 (RUN_TEST_LOOP_c_f): Likewise.
25762 (RUN_TEST_LOOP_f_f1): Likewise.
25763 (RUN_TEST_LOOP_fF_f1): Likewise.
25764 (RUN_TEST_LOOP_fI_f1): Likewise.
25765 (RUN_TEST_LOOP_ffI_f1): Likewise.
25766 (RUN_TEST_LOOP_c_c): Likewise.
25767 (RUN_TEST_LOOP_cc_c): Likewise.
25768 (RUN_TEST_LOOP_f_i): Likewise.
25769 (RUN_TEST_LOOP_f_i_tg): Likewise.
25770 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25771 (RUN_TEST_LOOP_f_b): Likewise.
25772 (RUN_TEST_LOOP_f_b_tg): Likewise.
25773 (RUN_TEST_LOOP_f_l): Likewise.
25774 (RUN_TEST_LOOP_f_L): Likewise.
25775 (RUN_TEST_LOOP_fFF_11): Likewise.
25776 * math/gen-libm-test.pl (parse_args): Output four copies of
25777 expected results for each test.
25778
25779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25780 (__ASSUME_UTIMES): Remove.
25781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25782 (__ASSUME_UTIMES): Likewise.
25783
25784 * math/gen-auto-libm-tests.c: Update comment on output format.
25785 (output_for_one_input_case): Generate before-rounding and
25786 after-rounding information as conditions on output flags not
25787 floating-point format.
25788 * math/auto-libm-test-out: Regenerated.
25789 * math/gen-libm-test.pl (cond_value): New function.
25790 (or_cond_value): Use cond_value.
25791 (generate_testfile): Handle conditional exceptions.
25792
25793 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25794
25795 * math/libm-test.inc (max_valid_error): New variable.
25796 (init_max_error): Take new argument specifying whether function
25797 results are exactly determined. Set max_valid_error and bound
25798 other variables for errors based on this argument.
25799 (set_max_error): Do not record results above max_valid_error.
25800 (check_float_internal): Only accept errors of up to 0.5ulps if
25801 also at most max_valid_error.
25802 (START): Take new argument EXACT and pass it to init_max_error.
25803 (acos_test): Update call to START.
25804 (acos_test_tonearest): Likewise.
25805 (acos_test_towardzero): Likewise.
25806 (acos_test_downward): Likewise.
25807 (acos_test_upward): Likewise.
25808 (acosh_test): Likewise.
25809 (asin_test): Likewise.
25810 (asin_test_tonearest): Likewise.
25811 (asin_test_towardzero): Likewise.
25812 (asin_test_downward): Likewise.
25813 (asin_test_upward): Likewise.
25814 (asinh_test): Likewise.
25815 (atan_test): Likewise.
25816 (atanh_test): Likewise.
25817 (atan2_test): Likewise.
25818 (cabs_test): Likewise.
25819 (cacos_test): Likewise.
25820 (cacosh_test): Likewise.
25821 (carg_test): Likewise.
25822 (casin_test): Likewise.
25823 (casinh_test): Likewise.
25824 (catan_test): Likewise.
25825 (catanh_test): Likewise.
25826 (cbrt_test): Likewise.
25827 (ccos_test): Likewise.
25828 (ccosh_test): Likewise.
25829 (ceil_test): Likewise.
25830 (cexp_test): Likewise.
25831 (cimag_test): Likewise.
25832 (clog_test): Likewise.
25833 (clog10_test): Likewise.
25834 (conj_test): Likewise.
25835 (copysign_test): Likewise.
25836 (cos_test): Likewise.
25837 (cos_test_tonearest): Likewise.
25838 (cos_test_towardzero): Likewise.
25839 (cos_test_downward): Likewise.
25840 (cos_test_upward): Likewise.
25841 (cosh_test): Likewise.
25842 (cosh_test_tonearest): Likewise.
25843 (cosh_test_towardzero): Likewise.
25844 (cosh_test_downward): Likewise.
25845 (cosh_test_upward): Likewise.
25846 (cpow_test): Likewise.
25847 (cproj_test): Likewise.
25848 (creal_test): Likewise.
25849 (csin_test): Likewise.
25850 (csinh_test): Likewise.
25851 (csqrt_test): Likewise.
25852 (ctan_test): Likewise.
25853 (ctan_test_tonearest): Likewise.
25854 (ctan_test_towardzero): Likewise.
25855 (ctan_test_downward): Likewise.
25856 (ctan_test_upward): Likewise.
25857 (ctanh_test): Likewise.
25858 (ctanh_test_tonearest): Likewise.
25859 (ctanh_test_towardzero): Likewise.
25860 (ctanh_test_downward): Likewise.
25861 (ctanh_test_upward): Likewise.
25862 (erf_test): Likewise.
25863 (erfc_test): Likewise.
25864 (exp_test): Likewise.
25865 (exp_test_tonearest): Likewise.
25866 (exp_test_towardzero): Likewise.
25867 (exp_test_downward): Likewise.
25868 (exp_test_upward): Likewise.
25869 (exp10_test): Likewise.
25870 (exp10_test_tonearest): Likewise.
25871 (exp10_test_towardzero): Likewise.
25872 (exp10_test_downward): Likewise.
25873 (exp10_test_upward): Likewise.
25874 (pow10_test): Likewise.
25875 (exp2_test): Likewise.
25876 (expm1_test): Likewise.
25877 (expm1_test_tonearest): Likewise.
25878 (expm1_test_towardzero): Likewise.
25879 (expm1_test_downward): Likewise.
25880 (expm1_test_upward): Likewise.
25881 (fabs_test): Likewise.
25882 (fdim_test): Likewise.
25883 (floor_test): Likewise.
25884 (fma_test): Likewise.
25885 (fma_test_towardzero): Likewise.
25886 (fma_test_downward): Likewise.
25887 (fma_test_upward): Likewise.
25888 (fmax_test): Likewise.
25889 (fmin_test): Likewise.
25890 (fmod_test): Likewise.
25891 (fpclassify_test): Likewise.
25892 (frexp_test): Likewise.
25893 (hypot_test): Likewise.
25894 (ilogb_test): Likewise.
25895 (isfinite_test): Likewise.
25896 (finite_test): Likewise.
25897 (isgreater_test): Likewise.
25898 (isgreaterequal_test): Likewise.
25899 (isinf_test): Likewise.
25900 (isless_test): Likewise.
25901 (islessequal_test): Likewise.
25902 (islessgreater_test): Likewise.
25903 (isnan_test): Likewise.
25904 (isnormal_test): Likewise.
25905 (issignaling_test): Likewise.
25906 (isunordered_test): Likewise.
25907 (j0_test): Likewise.
25908 (j1_test): Likewise.
25909 (jn_test): Likewise.
25910 (ldexp_test): Likewise.
25911 (lgamma_test): Likewise.
25912 (gamma_test): Likewise.
25913 (lrint_test): Likewise.
25914 (lrint_test_tonearest): Likewise.
25915 (lrint_test_towardzero): Likewise.
25916 (lrint_test_downward): Likewise.
25917 (lrint_test_upward): Likewise.
25918 (llrint_test): Likewise.
25919 (llrint_test_tonearest): Likewise.
25920 (llrint_test_towardzero): Likewise.
25921 (llrint_test_downward): Likewise.
25922 (llrint_test_upward): Likewise.
25923 (log_test): Likewise.
25924 (log10_test): Likewise.
25925 (log1p_test): Likewise.
25926 (log2_test): Likewise.
25927 (logb_test): Likewise.
25928 (logb_test_downward): Likewise.
25929 (lround_test): Likewise.
25930 (llround_test): Likewise.
25931 (modf_test): Likewise.
25932 (nearbyint_test): Likewise.
25933 (nextafter_test): Likewise.
25934 (nexttoward_test): Likewise.
25935 (pow_test): Likewise.
25936 (pow_test_tonearest): Likewise.
25937 (pow_test_towardzero): Likewise.
25938 (pow_test_downward): Likewise.
25939 (pow_test_upward): Likewise.
25940 (remainder_test): Likewise.
25941 (drem_test): Likewise.
25942 (remainder_test_tonearest): Likewise.
25943 (drem_test_tonearest): Likewise.
25944 (remainder_test_towardzero): Likewise.
25945 (drem_test_towardzero): Likewise.
25946 (remainder_test_downward): Likewise.
25947 (drem_test_downward): Likewise.
25948 (remainder_test_upward): Likewise.
25949 (drem_test_upward): Likewise.
25950 (remquo_test): Likewise.
25951 (rint_test): Likewise.
25952 (rint_test_tonearest): Likewise.
25953 (rint_test_towardzero): Likewise.
25954 (rint_test_downward): Likewise.
25955 (rint_test_upward): Likewise.
25956 (round_test): Likewise.
25957 (scalb_test): Likewise.
25958 (scalbn_test): Likewise.
25959 (scalbln_test): Likewise.
25960 (signbit_test): Likewise.
25961 (sin_test): Likewise.
25962 (sin_test_tonearest): Likewise.
25963 (sin_test_towardzero): Likewise.
25964 (sin_test_downward): Likewise.
25965 (sin_test_upward): Likewise.
25966 (sincos_test): Likewise.
25967 (sinh_test): Likewise.
25968 (sinh_test_tonearest): Likewise.
25969 (sinh_test_towardzero): Likewise.
25970 (sinh_test_downward): Likewise.
25971 (sinh_test_upward): Likewise.
25972 (sqrt_test): Likewise.
25973 (sqrt_test_tonearest): Likewise.
25974 (sqrt_test_towardzero): Likewise.
25975 (sqrt_test_downward): Likewise.
25976 (sqrt_test_upward): Likewise.
25977 (tan_test): Likewise.
25978 (tan_test_tonearest): Likewise.
25979 (tan_test_towardzero): Likewise.
25980 (tan_test_downward): Likewise.
25981 (tan_test_upward): Likewise.
25982 (tanh_test): Likewise.
25983 (tgamma_test): Likewise.
25984 (trunc_test): Likewise.
25985 (y0_test): Likewise.
25986 (y1_test): Likewise.
25987 (yn_test): Likewise.
25988 (significand_test): Likewise.
25989
25990 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25991 individual tests in comment.
25992 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25993 (prev_max_error): New variable.
25994 (prev_real_max_error): Likewise.
25995 (prev_imag_max_error): Likewise.
25996 (compare_ulp_data): Don't refer to test names in comment.
25997 (find_test_ulps): Remove function.
25998 (find_function_ulps): Likewise.
25999 (find_complex_function_ulps): Likewise.
26000 (init_max_error): Take function name as argument. Look up ulps
26001 for that function.
26002 (print_ulps): Remove function.
26003 (print_max_error): Use prev_max_error instead of calling
26004 find_function_ulps.
26005 (print_complex_max_error): Use prev_real_max_error and
26006 prev_imag_max_error instead of calling find_complex_function_ulps.
26007 (check_float_internal): Take max_ulp parameter instead of calling
26008 find_test_ulps. Don't call print_ulps.
26009 (check_float): Update call to check_float_internal.
26010 (check_complex): Update calls to check_float_internal.
26011 (START): Pass argument to init_max_error.
26012 * math/gen-libm-test.pl (%results): Don't include "kind"
26013 information.
26014 (parse_ulps): Don't handle ulps of individual tests.
26015 (print_ulps_file): Likewise.
26016 (output_ulps): Likewise.
26017 * math/README.libm-test: Update.
26018 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26019 individual tests.
26020 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26021 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26022 * sysdeps/arm/libm-test-ulps: Likewise.
26023 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26024 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26025 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26026 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26027 * sysdeps/microblaze/libm-test-ulps: Likewise.
26028 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26029 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26031 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26032 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26033 * sysdeps/sh/libm-test-ulps: Likewise.
26034 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26035 * sysdeps/tile/libm-test-ulps: Likewise.
26036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037
26038 2014-03-04 Joseph Myers <joseph@codesourcery.com>
26039
26040 * math/libm-test.inc (print_complex_max_error): Check separately
26041 whether real and imaginary errors are within allowed range and
26042 pass 0 to print_complex_function_ulps instead of value within
26043 allowed range.
26044
26045 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26046
26047 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26048 formatting.
26049 (get_handles_fopen): Likewise.
26050 (do_write_test): Likewise.
26051
26052 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26053
26054 * libio/fileops.c (do_ftell): Use cached offset when
26055 available.
26056 * libio/iofwide.c (do_ftell_wide): Likewise.
26057 * libio/iofdopen.c (_IO_new_fdopen): Don't use
26058 _IO_file_attach.
26059 * libio/wfileops.c (_IO_fwide): Don't cache offset.
26060
26061 [BZ #16532]
26062 * libio/libioP.h (get_file_offset): New function.
26063 * libio/fileops.c (get_file_offset): Likewise.
26064 (do_ftell): Likewise.
26065 (_IO_new_file_seekoff): Split out ftell logic.
26066 * libio/wfileops.c (do_ftell_wide): Likewise.
26067 (_IO_wfile_seekoff): Split out ftell logic.
26068 * libio/tst-ftell-active-handler.c: New test case.
26069 * libio/Makefile (tests): Add it.
26070
26071 2014-03-03 Roland McGrath <roland@hack.frob.com>
26072
26073 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26074 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26075
26076 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26077
26078 [BZ #16639]
26079 * nscd/connections.c (nscd_init): Call do_exit.
26080 (start_threads): Call do_exit and notify_parent.
26081 (begin_drop_privileges): Call do_exit.
26082 (finish_drop_privileges): Likewise.
26083 * nscd/selinux.c (preserve_capabilities): Likewise.
26084 (install_real_capabilities): Likewise.
26085 (nscd_selinux_enabled): Likewise.
26086 (avc_create_thread): Likewise.
26087 (avc_alloc_lock): Likewise.
26088 (nscd_avc_init): Likewise.
26089 * nscd/nscd.c (parent_fd): New static variable.
26090 (main): Create a pipe between parent and child processes.
26091 Skip closing parent_fd.
26092 (monitor_child): New function.
26093 (do_exit): Likewise.
26094 (notify_parent): Likewise.
26095 * nscd/nscd.h (notify_parent): Likewise.
26096 (do_exit): Likewise.
26097
26098 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26099
26100 * malloc/malloc.c (__libc_calloc): Revert last change.
26101
26102 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26103
26104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26105
26106 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26107
26108 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26110 implementation.
26111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26112 (__libc_ifunc_impl_list): Likewise.
26113 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26114 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26115 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26116 * string/strrchr.c: Define STRRCHR.
26117
26118 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26119
26120 * benchtest/bench-strtok.c (simple_strtok): Delete.
26121 (strtok_string): Use as benchmark.
26122 * string/strtok (STRTOK): New macro.
26123
26124 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26125
26126 * manual/threads.texi: Add header and standard comments to all
26127 functions.
26128
26129 * elf/dl-lookup.c (check_match): New function.
26130 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26131 (do_lookup_x): Remove nested function check_match. Use non-nested
26132 function check_match.
26133
26134 2014-02-28 Roland McGrath <roland@hack.frob.com>
26135
26136 * csu/Makefile (generated, before-compile): Use += rather than =.
26137 * catgets/Makefile (generated, generated-dirs): Likewise.
26138 * debug/Makefile (generated): Likewise.
26139 * dlfcn/Makefile (generated): Likewise.
26140 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26141 * iconvdata/Makefile (before-compile, generated): Likewise.
26142 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26143 * libio/Makefile (generated): Likewise.
26144 * malloc/Makefile (generated): Likewise.
26145 * manual/Makefile (generated, generated-dirs): Likewise.
26146 * misc/Makefile (generated): Likewise.
26147 * posix/Makefile (generated): Likewise.
26148 * resolv/Makefile (generated): Likewise.
26149 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26150 * timezone/Makefile (generated, generated-dirs): Likewise.
26151
26152 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26153
26154 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26155
26156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26157 power8 implementation.
26158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26159 file: POWER8 llround ifunc implementation.
26160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26161 (__lllround): Add POWER8 implementation.
26162 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26163 POWER8 llround implementation.
26164
26165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26166 power8 implementation.
26167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26168 file: POWER8 llrint ifunc implementation.
26169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26170 Add POWER8 implementation.
26171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26172 POWER8 llrint implementation.
26173
26174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26175 power8 implementation.
26176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26177 file: POWER8 finite ifunc implementation.
26178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26179 Add POWER8 implementation.
26180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26181 Likewise.
26182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26183 POWER8 finite implementation.
26184 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26185
26186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26187 power8 implementation.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26189 file: POWER8 isinf ifunc implementation.
26190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26191 POWER8 implementation.
26192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26193 Likewise.
26194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26195 isinf implementation.
26196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26197
26198 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26199 (INIT_ARCH): Add hwcap2 initialization.
26200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26201 power8 implementation.
26202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26203 file: POWER8 isnan ifunc implementation.
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26205 POWER8 implementation.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26207 Likewise.
26208 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26209 isnan implementation.
26210 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26211
26212 2014-02-27 Joey Ye <joey.ye@arm.com>
26213
26214 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26215 (_FP_NANFRAC_Q): Set to zero.
26216
26217 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26218
26219 [BZ #16623]
26220 * math/auto-libm-test-in: New test inputs.
26221 * math/auto-libm-test-out: Regenerate.
26222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26223 and DA.
26224 (__cos): Likewise.
26225 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26226
26227 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26228
26229 * scripts/evaluate-test.sh: Take new argument indicating whether
26230 failure is expected.
26231 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26232 indicating whether failure is expected.
26233 * conform/Makefile (test-xfail-run-conformtest): New variable.
26234 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26235 level.
26236 * posix/Makefile (test-xfail-annexc): New variable.
26237 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26238
26239 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26240
26241 * argp/Makefile: Include Makeconfig immediately after defining
26242 subdir.
26243 * assert/Makefile: Likewise.
26244 * benchtests/Makefile: Likewise.
26245 * catgets/Makefile: Likewise.
26246 * conform/Makefile: Likewise.
26247 * crypt/Makefile: Likewise.
26248 * csu/Makefile: Likewise.
26249 (all): Remove target.
26250 * ctype/Makefile: Include Makeconfig immediately after defining
26251 subdir.
26252 * debug/Makefile: Likewise.
26253 * dirent/Makefile: Likewise.
26254 * dlfcn/Makefile: Likewise.
26255 * gmon/Makefile: Likewise.
26256 * gnulib/Makefile: Likewise.
26257 * grp/Makefile: Likewise.
26258 * gshadow/Makefile: Likewise.
26259 * hesiod/Makefile: Likewise.
26260 * hurd/Makefile: Likewise.
26261 (all): Remove target.
26262 * iconvdata/Makefile: Include Makeconfig immediately after
26263 defining subdir.
26264 * inet/Makefile: Likewise.
26265 * intl/Makefile: Likewise.
26266 * io/Makefile: Likewise.
26267 * libio/Makefile: Likewise.
26268 (all): Remove target.
26269 * locale/Makefile: Include Makeconfig immediately after defining
26270 subdir.
26271 * login/Makefile: Likewise.
26272 * mach/Makefile: Likewise.
26273 (all): Remove target.
26274 * malloc/Makefile: Include Makeconfig immediately after defining
26275 subdir.
26276 (all): Remove target.
26277 * manual/Makefile: Include Makeconfig immediately after defining
26278 subdir.
26279 * math/Makefile: Likewise.
26280 * misc/Makefile: Likewise.
26281 * nis/Makefile: Likewise.
26282 * nss/Makefile: Likewise.
26283 * po/Makefile: Likewise.
26284 (all): Remove target.
26285 * posix/Makefile: Include Makeconfig immediately after defining
26286 subdir.
26287 * pwd/Makefile: Likewise.
26288 * resolv/Makefile: Likewise.
26289 * resource/Makefile: Likewise.
26290 * rt/Makefile: Likewise.
26291 * setjmp/Makefile: Likewise.
26292 * shadow/Makefile: Likewise.
26293 * signal/Makefile: Likewise.
26294 * socket/Makefile: Likewise.
26295 * soft-fp/Makefile: Likewise.
26296 * stdio-common/Makefile: Likewise.
26297 * stdlib/Makefile: Likewise.
26298 * streams/Makefile: Likewise.
26299 * string/Makefile: Likewise.
26300 * sunrpc/Makefile: Likewise.
26301 (all): Remove target.
26302 * sysvipc/Makefile: Include Makeconfig immediately after defining
26303 subdir.
26304 * termios/Makefile: Likewise.
26305 * time/Makefile: Likewise.
26306 * timezone/Makefile: Likewise.
26307 (all): Remove target.
26308 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26309 subdir.
26310 * wctype/Makefile: Likewise.
26311
26312 2014-02-26 Steve Ellcey <sellcey@mips.com>
26313
26314 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26315 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26316 (libc_feholdexcept_setround_mips): Ditto.
26317 (libc_feholdsetround): New.
26318 (libc_feholdsetroundf): New.
26319 (libc_feholdsetroundl): New.
26320 (libc_feupdateenv_test_mips): New.
26321 (libc_feupdateenv_test): New.
26322 (libc_feupdateenv_testf): New.
26323 (libc_feupdateenv_testl): New.
26324 (libc_feresetround): New.
26325 (libc_feresetroundf): New.
26326 (libc_feresetroundl): New.
26327 (libc_fetestexcept_mips): New.
26328 (libc_fetestexcept): New.
26329 (libc_fetestexceptf): New.
26330 (libc_fetestexceptl): New.
26331 (HAVE_RM_CTX): New.
26332 (libc_feholdexcept_setround_mips_ctx): New.
26333 (libc_feholdexcept_setround_ctx): New.
26334 (libc_feholdexcept_setroundf_ctx): New.
26335 (libc_feholdexcept_setroundl_ctx): New.
26336 (libc_fesetenv_mips_ctx): New.
26337 (libc_fesetenv_ctx): New.
26338 (libc_fesetenv_ctxf): New.
26339 (libc_fesetenv_ctxl): New.
26340 (libc_feupdateenv_mips_ctx): New.
26341 (libc_feupdateenv_ctx): New.
26342 (libc_feupdateenvf_ctx): New.
26343 (libc_feupdateenvl_ctx): New.
26344 (libc_feholdsetround_mips_ctx): New.
26345 (libc_feholdsetround_ctx): New.
26346 (libc_feholdsetroundf_ctx): New.
26347 (libc_feholdsetroundl_ctx): New.
26348 (libc_feresetround_mips_ctx): New.
26349 (libc_feresetround_ctx): New.
26350 (libc_feresetroundf_ctx): New.
26351 (libc_feresetroundl_ctx): New.
26352
26353 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26354
26355 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26356
26357 * manual/ipc.texi: New file.
26358 * manual/Makefile (chapters): Add ipc.
26359 * manual/job.texi: Add "Inter-Process Communication" to next.
26360 * manual/process.texi: Add "Inter-Process Communication" to prev.
26361
26362 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26363
26364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26365
26366 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26367
26368 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26369
26370 * manual/arith.texi: Fix spaces after sentences.
26371 * manual/charset.texi: Likewise.
26372 * manual/errno.texi: Likewise.
26373 * manual/install.texi: Likewise.
26374 * manual/llio.texi: Likewise.
26375 * manual/locale.texi: Likewise.
26376 * manual/maint.texi: Likewise.
26377 * manual/math.texi: Likewise.
26378 * manual/memory.texi: Likewise.
26379 * manual/message.texi: Likewise.
26380 * manual/probes.texi: Likewise.
26381 * manual/resource.texi: Likewise.
26382 * manual/signal.texi: Likewise.
26383 * manual/socket.texi: Likewise.
26384 * manual/stdio.texi: Likewise.
26385 * manual/string.texi: Likewise.
26386 * manual/time.texi: Likewise.
26387 * manual/users.texi: Likewise.
26388
26389 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26390
26391 [BZ #16632]
26392 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26393 _DEFAULT_SOURCE is defined.
26394
26395 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26396 Carlos O'Donell <carlos@redhat.com>
26397
26398 [BZ #16613]
26399 * elf/dl-tls.c (_dl_count_modids): New function.
26400 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26401 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26402 audit library and increment generation counter.
26403 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26404 * elf/tst-audit9.c: New file.
26405 * elf/tst-auditmod9a.c: New file.
26406 * elf/tst-auditmod9b.c: New file.
26407 * elf/Makefile: Add rules to build and run tst-audit9.
26408
26409 2014-02-25 Florian Weimer <fweimer@redhat.com>
26410
26411 [BZ #15347]
26412 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26413
26414 2014-02-25 Will Newton <will.newton@linaro.org>
26415
26416 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26417 (__longjmp): Restore sp and lr before restoring callee
26418 saved registers. Add longjmp and longjmp_target
26419 SystemTap probe point.
26420 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26421 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26422 Define to zero to match jmpbuf layout.
26423 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26424 (__sigsetjmp): Save sp and lr before saving callee
26425 saved registers. Add setjmp SystemTap probe point.
26426
26427 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26428
26429 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26430
26431 2014-02-24 Andreas Schwab <schwab@suse.de>
26432
26433 [BZ #15804]
26434 * elf/pldd.c (wait_for_ptrace_stop): New function.
26435 (main): Call it after attaching.
26436
26437 2014-02-22 Roland McGrath <roland@hack.frob.com>
26438
26439 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26440 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26441 Versions files is now verboten.
26442 * hurd/Versions (libc: GLIBC_2.0):
26443 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26444 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26445 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26446 * mach/Versions: Likewise.
26447
26448 * csu/Versions: Remove unused %include.
26449 * resolv/Versions: Likewise.
26450
26451 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26452
26453 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26454 ($(objpfx)check-local-headers.out): Likewise.
26455 ($(objpfx)begin-end-check.out): Likewise.
26456 * Makerules (check-abi-%.out): Likewise.
26457 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26458 ($(objpfx)test2.cat): Likewise.
26459 ($(objpfx)de/libc.cat): Likewise.
26460 ($(objpfx)test-gencat.out): Likewise.
26461 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26462 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26463 ($(objpfx)noload-mem): Likewise.
26464 ($(objpfx)tst-pathopt.out): Likewise.
26465 ($(objpfx)tst-rtld-load-self.out): Likewise.
26466 ($(objpfx)tst-array1-cmp.out): Likewise.
26467 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26468 ($(objpfx)tst-array2-cmp.out): Likewise.
26469 ($(objpfx)tst-array3-cmp.out): Likewise.
26470 ($(objpfx)tst-array4-cmp.out): Likewise.
26471 ($(objpfx)tst-array5-cmp.out): Likewise.
26472 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26473 ($(objpfx)check-textrel.out): Likewise.
26474 ($(objpfx)check-execstack.out): Likewise.
26475 ($(objpfx)check-localplt.out): Likewise.
26476 ($(objpfx)order2-cmp.out): Likewise.
26477 ($(objpfx)tst-leaks1-mem): Likewise.
26478 ($(objpfx)tst-leaks1-static-mem): Likewise.
26479 ($(objpfx)tst-initorder-cmp.out): Likewise.
26480 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26481 ($(objpfx)tst-unused-dep.out): Likewise.
26482 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26483 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26484 * iconv/Makefile (test-iconvconfig): Likewise.
26485 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26486 ($(objpfx)iconv-test.out): Likewise.
26487 ($(objpfx)tst-tables.out): Likewise.
26488 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26489 ($(objpfx)tst-gettext.out): Likewise.
26490 ($(objpfx)tst-translit.out): Likewise.
26491 ($(objpfx)tst-gettext2.out): Likewise.
26492 ($(objpfx)tst-gettext4.out): Likewise.
26493 ($(objpfx)tst-gettext6.out): Likewise.
26494 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26495 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26496 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26497 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26498 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26499 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26500 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26501 ($(objpfx)wordexp-tst.out): Likewise.
26502 ($(objpfx)annexc.out): Likewise.
26503 ($(objpfx)tst-fnmatch-mem): Likewise.
26504 ($(objpfx)bug-regex2-mem): Likewise.
26505 ($(objpfx)bug-regex14-mem): Likewise.
26506 ($(objpfx)bug-regex21-mem): Likewise.
26507 ($(objpfx)bug-regex31-mem): Likewise.
26508 ($(objpfx)tst-vfork3-mem): Likewise.
26509 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26510 ($(objpfx)tst-pcre-mem): Likewise.
26511 ($(objpfx)tst-boost-mem): Likewise.
26512 ($(objpfx)tst-getconf.out): Likewise.
26513 ($(objpfx)bug-ga2-mem): Likewise.
26514 ($(objpfx)bug-glob2-mem): Likewise.
26515 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26516 ($(objpfx)mtrace-tst-leaks2): Likewise.
26517 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26518 ($(objpfx)tst-printf.out): Likewise.
26519 ($(objpfx)tst-setvbuf1.out): Likewise.
26520 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26521 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26522 ($(objpfx)tst-fmtmsg.out): Likewise.
26523 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26524 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26525
26526 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26527 * bits/sigaction.h [__USE_MISC]: Likewise.
26528 * bits/waitstatus.h: Update #endif comments.
26529 * ctype/ctype.h: Likewise.
26530 * dirent/dirent.h: Likewise.
26531 [__USE_MISC]: Remove redundant conditionals.
26532 * grp/grp.h: Update #endif comments.
26533 [__USE_GNU]: Remove redundant conditionals.
26534 [__USE_MISC]: Likewise.
26535 * inet/netinet/in.h [__USE_GNU]: Likewise.
26536 * io/sys/stat.h [__USE_MISC]: Likewise.
26537 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26538 * libio/bits/stdio.h: Update #endif comments.
26539 [__USE_MISC]: Remove redundant conditionals.
26540 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26541 * libio/stdio.h: Update #endif comments.
26542 [__USE_MISC]: Remove redundant conditionals.
26543 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26544 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26545 * math/math.h: Update #else and #endif comments.
26546 [__USE_MISC]: Remove redundant conditionals.
26547 * misc/sys/uio.h: Update #endif comments.
26548 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26549 * posix/glob.h [__USE_MISC]: Likewise.
26550 * posix/sys/types.h: Update #endif comments.
26551 [__USE_MISC]: Remove redundant conditionals.
26552 * posix/sys/wait.h: Update #endif comments.
26553 [__USE_MISC]: Remove redundant conditionals.
26554 * posix/unistd.h: Update #endif comments.
26555 [__USE_MISC]: Remove redundant conditionals.
26556 * pwd/pwd.h [__USE_GNU]: Likewise.
26557 [__USE_MISC]: Likewise.
26558 * resolv/netdb.h [__USE_GNU]: Likewise.
26559 * signal/signal.h: Update #endif comments.
26560 [__USE_MISC]: Remove redundant conditionals.
26561 * stdlib/stdlib.h: Update #else and #endif comments.
26562 [__USE_MISC]: Remove redundant conditionals.
26563 [__USE_GNU]: Likewise.
26564 * string/bits/string2.h [__USE_MISC]: Likewise.
26565 * string/string.h: Update #endif comments.
26566 [__USE_MISC]: Remove redundant conditionals.
26567 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26568 Likewise.
26569 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26570 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26571 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26572 Likewise.
26573 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26574 Likewise.
26575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26576 comments.
26577 [__USE_MISC]: Remove redundant conditionals.
26578 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26579 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26580 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26581 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26582 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26583 Likewise.
26584 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26585 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26586 Likewise.
26587 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26588 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26589 Likewise.
26590 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26591 Likewise.
26592 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26593 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26594 Likewise.
26595 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26596 Likewise.
26597 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26598 * sysdeps/x86/bits/string.h: Update #endif comments.
26599 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26600 conditionals.
26601 * time/sys/time.h: Update #endif comments.
26602 * time/time.h: Likewise.
26603 [__USE_MISC]: Remove redundant conditionals.
26604
26605 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26606
26607 [BZ #16600]
26608 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26609
26610 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26611
26612 * Versions.def (librt): Add GLIBC_2.17.
26613
26614 2014-02-21 Adam Conrad <adconrad@0c3.net>
26615
26616 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26617 synonym for _SYS_AUXV_H to allow direct inclusion.
26618 * sysdeps/sparc/bits/hwcap.h: Likewise.
26619 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26620 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26621 * sysdeps/sparc/sysdep.h: Likewise.
26622
26623 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26624
26625 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26626
26627 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26628
26629 * benchtests/bench-strrchr.c: Print length instead of position.
26630
26631 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26632
26633 [BZ #16611]
26634 * sysdeps/unix/sysv/linux/kernel-features.h
26635 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26636 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26637 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26638 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26639 Likewise.
26640 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26641 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26642 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26643 (__ASSUME_SENDMMSG): Define instead of using previous
26644 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26645 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26646 (__ASSUME_SENDMMSG_SYSCALL): Define.
26647 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26648 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26649 Likewise.
26650 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26651 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26652 Likewise.
26653 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26654 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26655 Likewise.
26656 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26657 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26658 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26659 [__ASSUME_SENDMMSG]: Change conditionals to
26660 [__ASSUME_SENDMMSG_SOCKETCALL].
26661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26662 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26663 Define.
26664 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26665 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26666 Likewise.
26667 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26668 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26669 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26670 [!__ASSUME_SENDMMSG]: Change conditional to
26671 [!__ASSUME_SENDMMSG_SOCKETCALL].
26672 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26673 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26674 Define.
26675
26676 [BZ #16610]
26677 * sysdeps/unix/sysv/linux/kernel-features.h
26678 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26679 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26680 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26681 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26682 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26683 [__i386__ || __sparc__]
26684 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26685 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26686 (__ASSUME_RECVMMSG): Define instead of using previous
26687 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26688 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26689 (__ASSUME_RECVMMSG_SYSCALL): Define.
26690 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26691 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26692 Likewise.
26693 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26695 Likewise.
26696 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26698 Likewise.
26699 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26700 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26701 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26702 [__ASSUME_RECVMMSG]: Change condition to
26703 [__ASSUME_RECVMMSG_SOCKETCALL].
26704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26705 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26706 Define.
26707 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26708 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26710 Likewise.
26711 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26712 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26713 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26714 [!__ASSUME_RECVMMSG]: Change condition to
26715 [!__ASSUME_RECVMMSG_SOCKETCALL].
26716 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26717 (__ASSUME_RECVMMSG_SYSCALL): Define.
26718
26719 [BZ #16609]
26720 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26721 __powerpc__ || __s390__ || __sh__ || __sparc__]
26722 (__ASSUME_SOCKETCALL): Define.
26723 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26724 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26725 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26726 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26727 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26728 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26729 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26730 (__ASSUME_ACCEPT4): Define instead of using previous
26731 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26732 __powerpc__ || __sparc__ || __s390__)] condition.
26733 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26734 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26735 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26736 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26737 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26738 [!__ASSUME_ACCEPT4]: Change condition to
26739 [!__ASSUME_ACCEPT4_SOCKETCALL].
26740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26741 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26742 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26743 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26744 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26745 __ASSUME_ACCEPT4_SYSCALL.
26746 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26747 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26749 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26750 __ASSUME_ACCEPT4_SYSCALL.
26751 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26752 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26753 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26754 [__ASSUME_ACCEPT4]: Change condition to
26755 [__ASSUME_ACCEPT4_SOCKETCALL].
26756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26757 (__ASSUME_SOCKETCALL): Define.
26758 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26760 (__ASSUME_SOCKETCALL): Define.
26761 (__ASSUME_ACCEPT4): Remove.
26762 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26763 Define.
26764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26765 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26766 Likewise.
26767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26768 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26769
26770 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26771 macro.
26772 (HWCAP_ARM_LPAE): Likewise.
26773 (HWCAP_ARM_EVTSTRM): Likewise.
26774 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26775 Add vpfd32, lpae and evtstrm.
26776 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26777 Increase to 22.
26778
26779 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26780
26781 * math/auto-libm-test-in: Add tests of clog10.
26782 * math/auto-libm-test-out: Regenerated.
26783 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26784 * sysdeps/i386/fpu/libm-test-ulps: Update.
26785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26786
26787 2014-02-18 Andreas Schwab <schwab@suse.de>
26788
26789 [BZ #16574]
26790 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26791 Store non-zero if the second buffer was newly allocated.
26792 (send_dg): Likewise.
26793 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26794 to send_vc and send_dg.
26795 (res_nsend): Pass NULL for ansp2_malloced.
26796 * resolv/res_query.c (__libc_res_nquery): Add parameter
26797 answerp2_malloced and pass it down to __libc_res_nsend.
26798 (res_nquery): Pass additional NULL to __libc_res_nquery.
26799 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26800 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26801 second answer buffer if answerp2_malloced was set.
26802 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26803 (__libc_res_nquerydomain): Add parameter
26804 answerp2_malloced and pass it down to __libc_res_nquery.
26805 (res_nquerydomain): Pass additional NULL to
26806 __libc_res_nquerydomain.
26807 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26808 additional NULL to __libc_res_nsend and __libc_res_nquery.
26809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26810 additional NULL to __libc_res_nsearch.
26811 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26812 parameter of __libc_res_nsearch to check for separately allocated
26813 second buffer.
26814 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26815 __libc_res_nquery.
26816 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26817 additional NULL to __libc_res_nquery.
26818 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26819 __libc_res_nsearch.
26820 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26821 * include/resolv.h: Update prototypes of __libc_res_nquery,
26822 __libc_res_nsearch, __libc_res_nsend.
26823
26824 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26825
26826 * math/auto-libm-test-in: Add tests of fma.
26827 * math/auto-libm-test-out: Regenerated.
26828 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26829 (fma_towardzero_test_data): Likewise.
26830 (fma_downward_test_data): Likewise.
26831 (fma_upward_test_data): Likewise.
26832 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26833 mpc_mode.
26834 (rounding_modes): Add values for new field.
26835 (func_calc_method): Add value mpfr_fff_f.
26836 (func_calc_desc): Add mpfr_fff_f union field.
26837 (test_function): Add field exact_args.
26838 (FUNC): Add macro argument EXACT_ARGS.
26839 (FUNC_mpfr_f_f): Update call to FUNC.
26840 (FUNC_mpfr_f_f): Likewise.
26841 (FUNC_mpfr_ff_f): Likewise.
26842 (FUNC_mpfr_if_f): Likewise.
26843 (FUNC_mpc_c_f): Likewise.
26844 (FUNC_mpc_c_c): Likewise.
26845 (test_functions): Add fma. Update calls to FUNC.
26846 (handle_input_arg): Add argument exact_args.
26847 (add_test): Update call to handle_input_arg.
26848 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26849 (output_for_one_input_case): Update call to calc_generic_results.
26850 Recalculate exact zero results in each rounding mode.
26851
26852 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26853 non-negative before setting low bit.
26854 * math/auto-libm-test-in: Mark one asin test possibly having
26855 spurious underflow.
26856 * math/auto-libm-test-out: Regenerated.
26857 * sysdeps/i386/fpu/libm-test-ulps: Update.
26858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859
26860 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26861
26862 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26863 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26864 ports/sysdeps/unix/sysv/linux/microblaze.
26865 * README: Add missing listing for microblaze*-*-linux-gnu.
26866
26867 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26868
26869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26870 duplicate code
26871
26872 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26873
26874 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26875 * sysdeps/unix/sysv/linux/ia64: Move directory from
26876 ports/sysdeps/unix/sysv/linux/ia64.
26877 * README: Update listing for ia64-*-linux-gnu.
26878
26879 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26880 Joseph Myers <joseph@codesourcery.com>
26881
26882 * Makeconfig (test-name): New variable.
26883 (evaluate-test): Likewise.
26884 * Makerules (do-test-clean): Remove .test-result files.
26885 (common-mostlyclean): Likewise.
26886 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26887 * scripts/evaluate-test.sh: New file.
26888
26889 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26890
26891 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26892 separate $(objpfx)tst-fopenloc-cmp.out and
26893 $(objpfx)tst-fopenloc-mem.out targets.
26894 (tests): Update dependencies.
26895 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26896 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26897 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26898 (tst-rxspencer-no-utf8-ARGS): New variable.
26899 (tst-rxspencer-no-utf8-ENV): Likewise.
26900 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26901 instead of $(objpfx)tst-rxspencer-mem.
26902 ($(objpfx)tst-rxspencer-mem): Change target to
26903 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26904 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26905 * posix/tst-rxspencer-no-utf8.c: New file.
26906
26907 * elf/Makefile ($(objpfx)order.out): Remove rule.
26908 [$(run-built-tests) = yes] (tests): Depend on
26909 $(objpfx)order-cmp.out.
26910 ($(objpfx)order-cmp.out): New rule.
26911 [$(run-built-tests) = yes] (tests): Depend on
26912 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26913 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26914 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26915 $(objpfx)tst-array5-static-cmp.out.
26916 ($(objpfx)tst-array1.out): Remove rule.
26917 ($(objpfx)tst-array1-cmp.out): New rule.
26918 ($(objpfx)tst-array1-static.out): Remove rule.
26919 ($(objpfx)tst-array1-static-cmp.out): New rule.
26920 ($(objpfx)tst-array2.out): Remove rule.
26921 ($(objpfx)tst-array2-cmp.out): New rule.
26922 ($(objpfx)tst-array3.out): Remove rule.
26923 ($(objpfx)tst-array3-cmp.out): New rule.
26924 ($(objpfx)tst-array4.out): Remove rule.
26925 ($(objpfx)tst-array4-cmp.out): New rule.
26926 ($(objpfx)tst-array5.out): Remove rule.
26927 ($(objpfx)tst-array5-cmp.out): New rule.
26928 ($(objpfx)tst-array5-static.out): Remove rule.
26929 ($(objpfx)tst-array5-static-cmp.out): New rule.
26930 [$(run-built-tests) = yes] (tests): Depend on
26931 $(objpfx)order2-cmp.out.
26932 ($(objpfx)order2.out): Remove rule.
26933 ($(objpfx)order2-cmp.out): New rule.
26934 ($(objpfx)tst-initorder.out): Remove rule.
26935 [$(run-built-tests) = yes] (tests): Depend on
26936 $(objpfx)tst-initorder-cmp.out.
26937 ($(objpfx)tst-initorder-cmp.out): New rule.
26938 ($(objpfx)tst-initorder2.out): Remove rule.
26939 [$(run-built-tests) = yes] (tests): Depend on
26940 $(objpfx)tst-initorder2-cmp.out.
26941 ($(objpfx)tst-initorder2-cmp.out): New rule.
26942 [$(run-built-tests) = yes] (tests): Depend on
26943 $(objpfx)tst-unused-dep-cmp.out.
26944 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26945 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26946 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26947 on $(objpfx)tst-setvbuf1-cmp.out.
26948 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26949 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26950 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26951 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26952 ($(objpfx)tst-svc.out): Remove rule.
26953 ($(objpfx)tst-svc-cmp.out): New rule.
26954
26955 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26956
26957 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26958 * ctype/ctype.h [__USE_MISC]: Likewise.
26959 * dirent/dirent.h [__USE_MISC]: Likewise.
26960 * grp/grp.h [__USE_MISC]: Likewise.
26961 * io/fcntl.h [__USE_MISC]: Likewise.
26962 * io/sys/stat.h [__USE_MISC]: Likewise.
26963 * libio/stdio.h [__USE_MISC]: Likewise.
26964 * posix/unistd.h [__USE_MISC]: Likewise.
26965 * pwd/pwd.h [__USE_MISC]: Likewise.
26966 * stdlib.h [__USE_MISC]: Likewise.
26967 * string/bits/string2.h [__USE_MISC]: Likewise.
26968 * string/string.h [__USE_MISC]: Likewise.
26969 * time/time.h [__USE_MISC]: Likewise.
26970
26971 2014-02-13 Andreas Schwab <schwab@suse.de>
26972
26973 [BZ #16574]
26974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26975 second answer buffer if it was separately allocated.
26976
26977 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26978
26979 * sysdeps/mips/math-tests.h: Include <features.h>.
26980 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26981 (ROUNDING_TESTS_long_double): Do not define.
26982 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26983 (EXCEPTION_TESTS_long_double): Likewise.
26984 * sysdeps/mips/mips64/libm-test-ulps: Update.
26985
26986 * include/features.h (__USE_BSD): Remove macro definitions.
26987 (__USE_SVID): Likewise.
26988 (_BSD_SOURCE): Likewise.
26989 (_SVID_SOURCE): Likewise.
26990 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26991 from definition of _DEFAULT_SOURCE.
26992 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26993 [_DEFAULT_SOURCE].
26994 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26995 * bits/mman.h [__USE_BSD]: Likewise.
26996 * bits/termios.h [__USE_BSD]: Likewise.
26997 * bits/waitstatus.h [__USE_BSD]: Likewise.
26998 * ctype/ctype.h [__USE_SVID]: Likewise.
26999 * dirent/dirent.h [__USE_BSD]: Likewise.
27000 * grp/grp.h [__USE_SVID]: Likewise.
27001 [__USE_BSD]: Likewise.
27002 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27003 * io/fcntl.h [__USE_BSD]: Likewise.
27004 * io/ftw.h [__USE_BSD]: Likewise.
27005 * io/sys/stat.h [__USE_BSD]: Likewise.
27006 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27007 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27008 * libio/stdio.h [__USE_SVID]: Likewise.
27009 [__USE_BSD]: Likewise.
27010 * math/math.h [__USE_SVID]: Likewise.
27011 [__USE_BSD]: Likewise.
27012 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27013 * misc/bits/syslog.h [__USE_BSD]: Likewise.
27014 * misc/search.h [__USE_SVID]: Likewise.
27015 * misc/sys/mman.h [__USE_BSD]: Likewise.
27016 * misc/sys/syslog.h [__USE_BSD]: Likewise.
27017 * misc/sys/uio.h [__USE_BSD]: Likewise.
27018 * posix/bits/unistd.h [__USE_BSD]: Likewise.
27019 * posix/glob.h [__USE_BSD]: Likewise.
27020 * posix/regex.h [__USE_BSD]: Likewise.
27021 * posix/sys/types.h [__USE_BSD]: Likewise.
27022 [__USE_SVID]: Likewise.
27023 * posix/sys/utsname.h [__USE_SVID]: Likewise.
27024 * posix/sys/wait.h [__USE_BSD]: Likewise.
27025 [__USE_SVID]: Likewise.
27026 * posix/unistd.h [__USE_BSD]: Likewise.
27027 [__USE_SVID]: Likewise.
27028 * pwd/pwd.h [__USE_SVID]: Likewise.
27029 * resolv/netdb.h [__USE_BSD]: Likewise.
27030 * setjmp/setjmp.h [__USE_BSD]: Likewise.
27031 * signal/signal.h [__USE_BSD]: Likewise.
27032 [__USE_SVID]: Likewise.
27033 * socket/sys/socket.h [__USE_BSD]: Likewise.
27034 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27035 * stdlib/stdlib.h [__USE_BSD]: Likewise.
27036 [__USE_SVID]: Likewise.
27037 * string/bits/string2.h [__USE_BSD]: Likewise.
27038 [__USE_SVID]: Likewise.
27039 * string/bits/string3.h [__USE_BSD]: Likewise.
27040 * string/endian.h [__USE_BSD]: Likewise.
27041 * string/string.h [__USE_SVID]: Likewise.
27042 [__USE_BSD]: Likewise.
27043 * string/strings.h [__USE_BSD]: Likewise.
27044 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27045 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27046 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27047 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27048 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27049 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27050 Likewise.
27051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27052 Likewise.
27053 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27055 Likewise.
27056 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27057 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27058 Likewise.
27059 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27060 Likewise.
27061 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27062 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27063 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27064 Likewise.
27065 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27066 Likewise.
27067 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27068 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27069 * termios/termios.h [__USE_BSD]: Likewise.
27070 * time/sys/time.h [__USE_BSD]: Likewise.
27071 * time/time.h [__USE_BSD]: Likewise.
27072 [__USE_SVID]: Likewise.
27073
27074 * Makefile (subdir_targets): Remove subdir_lint.out.
27075
27076 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27077 (do-tst-printf): Likewise.
27078 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27079 $(objpfx)tst-printf.out.
27080
27081 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27082
27083 * Makerules (check-abi-%): Change target to
27084 $(objpfx)check-abi-%.out.
27085 (check-abi target): Update dependencies.
27086 (check-abi-pattern variable): Redirect output of diff to $@.
27087 (check-abi variable): Likewise.
27088 * elf/Makefile (check-abi): Update dependencies.
27089
27090 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27091 unused.
27092 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27093 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27094 subnormal range.
27095 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27096 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27097 value has largest subnormal exponent.
27098 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27099 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27100 * sysdeps/aarch64/soft-fp/sfp-machine.h
27101 (_FP_TININESS_AFTER_ROUNDING): New macro.
27102 * sysdeps/alpha/soft-fp/sfp-machine.h
27103 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27104 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27105 Likewise.
27106 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27108 * sysdeps/mips/soft-fp/sfp-machine.h
27109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27110 * sysdeps/powerpc/soft-fp/sfp-machine.h
27111 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27112 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27113 Likewise.
27114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27116 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27117 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27118 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27119 Likewise.
27120
27121 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27122
27123 [BZ #16545]
27124 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27125 model 1.
27126
27127 2014-02-12 Richard Henderson <rth@redhat.com>
27128
27129 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27130 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27131 * sysdeps/unix/sysv/linux/alpha: Move directory from
27132 ports/sysdeps/unix/sysv/linux/alpha.
27133 * README: Update listing for alpha-*-linux-gnu.
27134
27135 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27136
27137 * include/features.h: Update comment documenting feature test
27138 macros.
27139 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27140 _DEFAULT_SOURCE.
27141 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27142 (_SVID_SOURCE): Likewise.
27143 (_DEFAULT_SOURCE): Update description of default features.
27144 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27145 with _GNU_SOURCE.
27146 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27147 (S_ISVTX): Likewise.
27148 * manual/math.texi (Mathematical Constants): Likewise.
27149 * manual/signal.texi (Interrupted Primitives): Likewise.
27150 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27151 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27152 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27153 Don't refer to _SVID_SOURCE in warning text.
27154
27155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27156
27157 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27158 already defined.
27159 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27160 * sysdeps/mips/dl-lookup.c: Remove.
27161 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27162
27163 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27164
27165 [BZ #16447]
27166 * math/auto-libm-test-in: Add testcase for expl.
27167 * math/auto-libm-test-out: Regenerate.
27168 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27169 calculation of unsafe.
27170 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27171
27172 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27173
27174 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27175 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27176 ports/sysdeps/unix/sysv/linux/aarch64.
27177 * README: Update listing for aarch64*-*-linux-gnu.
27178
27179 2014-02-11 Will Newton <will.newton@linaro.org>
27180
27181 * manual/probes.texi (Mathematical Function Probes): Use
27182 "triggered" instead of "hit".
27183
27184 * manual/probes.texi (Internal Probes): Add documentation
27185 of setjmp, longjmp and longjmp_target probes.
27186
27187 * include/stap-probe.h: Add comment about probe argument
27188 format.
27189
27190 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27191 definition. (tr_where, tr_freehook, tr_mallochook,
27192 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27193
27194 2014-02-11 David S. Miller <davem@davemloft.net>
27195
27196 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27197 processing int_tests.
27198
27199 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27200
27201 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27202 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27203 * sysdeps/unix/sysv/linux/mips: Move directory from
27204 ports/sysdeps/unix/sysv/linux/mips.
27205 * README: Update listing for mips-*-linux-gnu and
27206 mips64-*-linux-gnu.
27207
27208 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27209
27210 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27211 * sysdeps/unix/sysv/linux/m68k: Move directory from
27212 ports/sysdeps/unix/sysv/linux/m68k.
27213 * README: Update listing for m68k-*-linux-gnu.
27214
27215 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27216
27217 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27218 * sysdeps/unix/sysv/linux/generic: Move directory from
27219 ports/sysdeps/unix/sysv/linux/generic.
27220 * sysdeps/unix/sysv/linux/tile: Move directory from
27221 ports/sysdeps/unix/sysv/linux/tile.
27222 * README: Update listing for tile*-*-linux-gnu.
27223
27224 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27225
27226 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27227 __builtin_expect.
27228 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27229 * catgets/open_catalog.c (__open_catalog): Likewise.
27230 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27231 * debug/confstr_chk.c: Likewise.
27232 * debug/fread_chk.c (__fread_chk): Likewise.
27233 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27234 * debug/getgroups_chk.c: Likewise.
27235 * debug/mbsnrtowcs_chk.c: Likewise.
27236 * debug/mbsrtowcs_chk.c: Likewise.
27237 * debug/mbstowcs_chk.c: Likewise.
27238 * debug/memcpy_chk.c: Likewise.
27239 * debug/memmove_chk.c: Likewise.
27240 * debug/mempcpy_chk.c: Likewise.
27241 * debug/memset_chk.c: Likewise.
27242 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27243 * debug/strcat_chk.c (__strcat_chk): Likewise.
27244 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27245 * debug/strncat_chk.c (__strncat_chk): Likewise.
27246 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27247 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27248 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27249 * debug/wcpncpy_chk.c: Likewise.
27250 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27251 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27252 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27253 * debug/wcsncpy_chk.c: Likewise.
27254 * debug/wcsnrtombs_chk.c: Likewise.
27255 * debug/wcsrtombs_chk.c: Likewise.
27256 * debug/wcstombs_chk.c: Likewise.
27257 * debug/wmemcpy_chk.c: Likewise.
27258 * debug/wmemmove_chk.c: Likewise.
27259 * debug/wmempcpy_chk.c: Likewise.
27260 * debug/wmemset_chk.c: Likewise.
27261 * dirent/scandirat.c (SCANDIRAT): Likewise.
27262 * dlfcn/dladdr1.c (dladdr1): Likewise.
27263 * dlfcn/dladdr.c (dladdr): Likewise.
27264 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27265 * dlfcn/dlerror.c (__dlerror): Likewise.
27266 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27267 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27268 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27269 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27270 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27271 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27272 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27273 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27274 Likewise.
27275 * elf/dl-conflict.c: Likewise.
27276 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27277 * elf/dl-dst.h: Likewise.
27278 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27279 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27281 * elf/dl-init.c (call_init, _dl_init): Likewise.
27282 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27283 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27284 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27285 Likewise.
27286 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27287 Likewise.
27288 * elf/dl-minimal.c (__libc_memalign): Likewise.
27289 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27290 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27291 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27292 * elf/dl-sym.c (do_sym): Likewise.
27293 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27294 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27295 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27296 * elf/dl-writev.h (_dl_writev): Likewise.
27297 * elf/ldconfig.c (search_dir): Likewise.
27298 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27299 (dl_main): Likewise.
27300 * elf/setup-vdso.h (setup_vdso): Likewise.
27301 * grp/compat-initgroups.c (compat_call): Likewise.
27302 * grp/fgetgrent.c (fgetgrent): Likewise.
27303 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27304 * grp/putgrent.c (putgrent): Likewise.
27305 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27306 Likewise.
27307 * hurd/hurdinit.c: Likewise.
27308 * iconvdata/8bit-gap.c (struct): Likewise.
27309 * iconvdata/ansi_x3.110.c : Likewise.
27310 * iconvdata/big5.c : Likewise.
27311 * iconvdata/big5hkscs.c : Likewise.
27312 * iconvdata/cp1255.c: Likewise.
27313 * iconvdata/cp1258.c : Likewise.
27314 * iconvdata/cp932.c : Likewise.
27315 * iconvdata/euc-cn.c: Likewise.
27316 * iconvdata/euc-jisx0213.c : Likewise.
27317 * iconvdata/euc-jp.c: Likewise.
27318 * iconvdata/euc-jp-ms.c : Likewise.
27319 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27320 * iconvdata/gb18030.c : Likewise.
27321 * iconvdata/gbbig5.c (const): Likewise.
27322 * iconvdata/gbgbk.c: Likewise.
27323 * iconvdata/gbk.c : Likewise.
27324 * iconvdata/ibm1364.c : Likewise.
27325 * iconvdata/ibm930.c : Likewise.
27326 * iconvdata/ibm932.c: Likewise.
27327 * iconvdata/ibm933.c : Likewise.
27328 * iconvdata/ibm935.c : Likewise.
27329 * iconvdata/ibm937.c : Likewise.
27330 * iconvdata/ibm939.c : Likewise.
27331 * iconvdata/ibm943.c: Likewise.
27332 * iconvdata/iso_11548-1.c: Likewise.
27333 * iconvdata/iso-2022-cn.c : Likewise.
27334 * iconvdata/iso-2022-cn-ext.c : Likewise.
27335 * iconvdata/iso-2022-jp-3.c: Likewise.
27336 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27337 * iconvdata/iso-2022-kr.c : Likewise.
27338 * iconvdata/iso646.c (gconv_end): Likewise.
27339 * iconvdata/iso_6937-2.c : Likewise.
27340 * iconvdata/iso_6937.c : Likewise.
27341 * iconvdata/iso8859-1.c: Likewise.
27342 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27343 * iconvdata/shift_jisx0213.c : Likewise.
27344 * iconvdata/sjis.c : Likewise.
27345 * iconvdata/t.61.c : Likewise.
27346 * iconvdata/tcvn5712-1.c : Likewise.
27347 * iconvdata/tscii.c: Likewise.
27348 * iconvdata/uhc.c : Likewise.
27349 * iconvdata/unicode.c (gconv_end): Likewise.
27350 * iconvdata/utf-16.c (gconv_end): Likewise.
27351 * iconvdata/utf-32.c (gconv_end): Likewise.
27352 * iconvdata/utf-7.c (base64): Likewise.
27353 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27354 * iconv/gconv_close.c (__gconv_close): Likewise.
27355 * iconv/gconv_open.c (__gconv_open): Likewise.
27356 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27357 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27358 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27359 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27360 (ucs4le_internal_loop_single): Likewise.
27361 * iconv/iconv.c (iconv): Likewise.
27362 * iconv/iconv_close.c: Likewise.
27363 * iconv/loop.c (SINGLE): Likewise.
27364 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27365 * include/atomic.h: Likewise.
27366 * inet/inet6_option.c (option_alloc): Likewise.
27367 * intl/bindtextdom.c (set_binding_values): Likewise.
27368 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27369 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27370 * intl/localealias.c (read_alias_file): Likewise.
27371 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27372 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27373 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27374 * libio/fmemopen.c (fmemopen): Likewise.
27375 * libio/iofgets.c (_IO_fgets): Likewise.
27376 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27377 * libio/iofgetws.c (fgetws): Likewise.
27378 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27379 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27380 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27381 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27382 * locale/findlocale.c (_nl_find_locale): Likewise.
27383 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27384 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27385 Likewise.
27386 * locale/setlocale.c (setlocale): Likewise.
27387 * login/programs/pt_chown.c (main): Likewise.
27388 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27389 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27390 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27391 (mmap, mmap64, mremap, munmap): Likewise.
27392 * math/e_exp2l.c: Likewise.
27393 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27394 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27395 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27396 * math/s_catan.c (__catan): Likewise.
27397 * math/s_catanf.c (__catanf): Likewise.
27398 * math/s_catanh.c (__catanh): Likewise.
27399 * math/s_catanhf.c (__catanhf): Likewise.
27400 * math/s_catanhl.c (__catanhl): Likewise.
27401 * math/s_catanl.c (__catanl): Likewise.
27402 * math/s_ccosh.c (__ccosh): Likewise.
27403 * math/s_ccoshf.c (__ccoshf): Likewise.
27404 * math/s_ccoshl.c (__ccoshl): Likewise.
27405 * math/s_cexp.c (__cexp): Likewise.
27406 * math/s_cexpf.c (__cexpf): Likewise.
27407 * math/s_cexpl.c (__cexpl): Likewise.
27408 * math/s_clog10.c (__clog10): Likewise.
27409 * math/s_clog10f.c (__clog10f): Likewise.
27410 * math/s_clog10l.c (__clog10l): Likewise.
27411 * math/s_clog.c (__clog): Likewise.
27412 * math/s_clogf.c (__clogf): Likewise.
27413 * math/s_clogl.c (__clogl): Likewise.
27414 * math/s_csin.c (__csin): Likewise.
27415 * math/s_csinf.c (__csinf): Likewise.
27416 * math/s_csinh.c (__csinh): Likewise.
27417 * math/s_csinhf.c (__csinhf): Likewise.
27418 * math/s_csinhl.c (__csinhl): Likewise.
27419 * math/s_csinl.c (__csinl): Likewise.
27420 * math/s_csqrt.c (__csqrt): Likewise.
27421 * math/s_csqrtf.c (__csqrtf): Likewise.
27422 * math/s_csqrtl.c (__csqrtl): Likewise.
27423 * math/s_ctan.c (__ctan): Likewise.
27424 * math/s_ctanf.c (__ctanf): Likewise.
27425 * math/s_ctanh.c (__ctanh): Likewise.
27426 * math/s_ctanhf.c (__ctanhf): Likewise.
27427 * math/s_ctanhl.c (__ctanhl): Likewise.
27428 * math/s_ctanl.c (__ctanl): Likewise.
27429 * math/w_pow.c: Likewise.
27430 * math/w_powf.c: Likewise.
27431 * math/w_powl.c: Likewise.
27432 * math/w_scalb.c (sysv_scalb): Likewise.
27433 * math/w_scalbf.c (sysv_scalbf): Likewise.
27434 * math/w_scalbl.c (sysv_scalbl): Likewise.
27435 * misc/error.c (error_tail): Likewise.
27436 * misc/pselect.c (__pselect): Likewise.
27437 * nis/nis_callback.c (__nis_create_callback): Likewise.
27438 * nis/nis_call.c (__nisfind_server): Likewise.
27439 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27440 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27442 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27443 * nis/nis_lookup.c (nis_lookup): Likewise.
27444 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27445 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27446 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27447 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27448 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27449 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27450 * nis/nss_compat/compat-initgroups.c (add_group)
27451 (internal_getgrent_r): Likewise.
27452 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27453 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27454 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27455 (internal_getspnam_r): Likewise.
27456 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27457 (_nss_nis_getaliasbyname_r): Likewise.
27458 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27459 (_nss_nis_getntohost_r): Likewise.
27460 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27461 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27462 (_nss_nis_getgrgid_r): Likewise.
27463 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27464 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27465 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27466 (_nss_nis_gethostbyname4_r): Likewise.
27467 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27468 (initgroups_netid): Likewise.
27469 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27470 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27471 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27472 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27473 (_nss_nis_getprotobynumber_r): Likewise.
27474 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27475 (_nss_nis_getsecretkey): Likewise.
27476 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27477 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27478 (_nss_nis_getpwuid_r): Likewise.
27479 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27480 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27481 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27482 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27483 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27484 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27485 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27486 Likewise.
27487 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27488 (_nss_nisplus_getntohost_r): Likewise.
27489 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27490 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27491 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27492 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27493 Likewise.
27494 * nis/nss_nisplus/nisplus-initgroups.c
27495 (_nss_nisplus_initgroups_dyn): Likewise.
27496 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27497 (_nss_nisplus_getnetbyaddr_r): Likewise.
27498 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27499 (_nss_nisplus_getprotobynumber_r): Likewise.
27500 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27501 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27502 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27503 Likewise.
27504 * nis/nss_nisplus/nisplus-service.c
27505 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27506 (_nss_nisplus_getservbyport_r): Likewise.
27507 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27508 (_nss_nisplus_getspnam_r): Likewise.
27509 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27510 Likewise.
27511 * nscd/aicache.c (addhstaiX): Likewise.
27512 * nscd/cache.c (cache_search, prune_cache): Likewise.
27513 * nscd/connections.c (register_traced_file, send_ro_fd)
27514 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27515 (main_loop_epoll): Likewise.
27516 * nscd/grpcache.c (addgrbyX): Likewise.
27517 * nscd/hstcache.c (addhstbyX): Likewise.
27518 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27519 * nscd/mem.c (gc, mempool_alloc): Likewise.
27520 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27521 (addinnetgrX): Likewise.
27522 * nscd/nscd-client.h (__nscd_acquire_maplock)
27523 (__nscd_drop_map_ref): Likewise.
27524 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27525 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27527 Likewise.
27528 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27530 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27531 (__nscd_get_map_ref): Likewise.
27532 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27533 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27534 Likewise.
27535 * nscd/pwdcache.c (addpwbyX): Likewise.
27536 * nscd/selinux.c (preserve_capabilities): Likewise.
27537 * nscd/servicescache.c (addservbyX): Likewise.
27538 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27539 * posix/fnmatch.c (fnmatch): Likewise.
27540 * posix/getopt.c (_getopt_internal_r): Likewise.
27541 * posix/glob.c (glob, glob_in_dir): Likewise.
27542 * posix/wordexp.c (exec_comm_child): Likewise.
27543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27544 (getanswer_r, gaih_getanswer_slice): Likewise.
27545 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27546 * resolv/res_init.c: Likewise.
27547 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27548 * resolv/res_query.c (__libc_res_nquery): Likewise.
27549 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27550 Likewise.
27551 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27552 * stdio-common/perror.c (perror): Likewise.
27553 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27554 * stdio-common/tmpnam.c (tmpnam): Likewise.
27555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27556 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27557 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27558 Likewise.
27559 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27560 * stdlib/putenv.c (putenv): Likewise.
27561 * stdlib/setenv.c (__add_to_environ): Likewise.
27562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27563 * stdlib/strtol_l.c (INTERNAL): Likewise.
27564 * string/memmem.c (memmem): Likewise.
27565 * string/strerror.c (strerror): Likewise.
27566 * string/strnlen.c (__strnlen): Likewise.
27567 * string/test-memmem.c (simple_memmem): Likewise.
27568 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27569 * sunrpc/pm_getport.c (__get_socket): Likewise.
27570 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27571 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27572 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27573 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27574 Likewise.
27575 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27576 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27577 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27578 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27580 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27581 Likewise.
27582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27583 Likewise.
27584 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27585 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27587 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27588 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27590 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27591 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27592 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27593 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27594 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27595 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27596 Likewise.
27597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27598 Likewise.
27599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27600 Likewise.
27601 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27603 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27605 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27606 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27607 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27610 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27611 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27616 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27617 Likewise.
27618 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27619 Likewise.
27620 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27621 Likewise.
27622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27623 Likewise.
27624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27626 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27627 Likewise.
27628 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27629 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27630 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27631 * sysdeps/posix/sleep.c: Likewise.
27632 * sysdeps/posix/tempname.c: Likewise.
27633 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27634 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27635 Likewise.
27636 * sysdeps/powerpc/powerpc32/dl-machine.h
27637 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27638 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27640 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27641 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27642 Likewise.
27643 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27645 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27647 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27648 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27649 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27650 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27651 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27652 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27654 (elf_machine_lazy_rel): Likewise.
27655 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27657 (elf_machine_lazy_rel): Likewise.
27658 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27659 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27660 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27661 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27662 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27663 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27664 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27666 Likewise.
27667 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27668 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27669 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27670 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27671 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27672 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27673 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27674 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27677 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27678 Likewise.
27679 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27680 (__posix_fallocate64_l64): Likewise.
27681 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27682 (posix_fallocate): Likewise.
27683 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27684 Likewise.
27685 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27686 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27687 (getifaddrs_internal): Likewise.
27688 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27690 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27691 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27692 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27693 (__posix_fallocate64_l64): Likewise.
27694 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27695 Likewise.
27696 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27697 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27698 (__get_clockfreq): Likewise.
27699 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27700 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27701 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27705 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27706 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27707 Likewise.
27708 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27709 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27710 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27713 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27714 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27715 Likewise.
27716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27717 (posix_fallocate): Likewise.
27718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27719 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27720 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27721 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27722 (elf_machine_rela, elf_machine_rela_relative)
27723 (elf_machine_lazy_rel): Likewise.
27724 * time/asctime.c (asctime_internal): Likewise.
27725 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27726 * time/tzset.c (__tzset_parse_tz): Likewise.
27727 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27728 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27729 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27730 * wcsmbs/wcsmbsload.h: Likewise.
27731
27732 [BZ #15894]
27733 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27734
27735 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27736 (arena_get2): Remove THREAD_STATS conditionals.
27737 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27738 (__malloc_stats, int): Likewise.
27739
27740 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27741
27742 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27743 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27744
27745 * manual/setjmp.texi: Fix typos/grammar errors.
27746
27747 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27748 Only return early when n is <= 0. Delete unused return statement.
27749
27750 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27751 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27752 * debug/tst-longjmp_chk3.c: New file.
27753
27754 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27755 (test_main): Replace code with set_fortify_handler call.
27756 * debug/test-strcpy_chk.c: Likewise.
27757 * debug/tst-chk1.c: Likewise.
27758 * debug/tst-longjmp_chk.c: Likewise.
27759 * test-skeleton.c: Include fcntl.h & paths.h
27760 (set_fortify_handler): Define.
27761
27762 * debug/tst-longjmp_chk.c: Add header comment and include
27763 ../test-skeleton.c.
27764 (do_test): Mark static.
27765 (TEST_FUNCTION): Define.
27766
27767 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27768 (IP_PMTUDISC_INTERFACE): Likewise.
27769 (IP_MULTICAST_IF): Likewise.
27770 (IP_MULTICAST_TTL): Likewise.
27771 (IP_MULTICAST_LOOP): Likewise.
27772 (IP_ADD_MEMBERSHIP): Likewise.
27773 (IP_DROP_MEMBERSHIP): Likewise.
27774 (IP_UNBLOCK_SOURCE): Likewise.
27775 (IP_BLOCK_SOURCE): Likewise.
27776 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27777 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27778 (IP_MSFILTER): Likewise.
27779 (MCAST_JOIN_GROUP): Likewise.
27780 (MCAST_BLOCK_SOURCE): Likewise.
27781 (MCAST_UNBLOCK_SOURCE): Likewise.
27782 (MCAST_LEAVE_GROUP): Likewise.
27783 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27784 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27785 (MCAST_MSFILTER): Likewise.
27786 (IP_MULTICAST_ALL): Likewise.
27787 (IP_UNICAST_IF): Likewise.
27788
27789 * timezone/Makefile: Delete $(have-ksh) check.
27790 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27791 * timezone/tzselect.ksh: Add +x mode bits.
27792
27793 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27794 (ANON_INODE_FS_MAGIC): Likewise.
27795 (BDEVFS_MAGIC): Likewise.
27796 (BINFMTFS_MAGIC): Likewise.
27797 (BTRFS_TEST_MAGIC): Likewise.
27798 (CRAMFS_MAGIC_WEND): Likewise.
27799 (DEBUGFS_MAGIC): Likewise.
27800 (ECRYPTFS_SUPER_MAGIC): Likewise.
27801 (EXT3_SUPER_MAGIC): Likewise.
27802 (EXT4_SUPER_MAGIC): Likewise.
27803 (FUTEXFS_SUPER_MAGIC): Likewise.
27804 (HOSTFS_SUPER_MAGIC): Likewise.
27805 (HUGETLBFS_MAGIC): Likewise.
27806 (MINIX3_SUPER_MAGIC): Likewise.
27807 (MTD_INODE_FS_MAGIC): Likewise.
27808 (NILFS_SUPER_MAGIC): Likewise.
27809 (OPENPROM_SUPER_MAGIC): Likewise.
27810 (PIPEFS_MAGIC): Likewise.
27811 (PSTOREFS_MAGIC): Likewise.
27812 (QNX6_SUPER_MAGIC): Likewise.
27813 (RAMFS_MAGIC): Likewise.
27814 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27815 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27816 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27817 (SECURITYFS_MAGIC): Likewise.
27818 (SELINUX_MAGIC): Likewise.
27819 (SMACK_MAGIC): Likewise.
27820 (SOCKFS_MAGIC): Likewise.
27821 (SQUASHFS_MAGIC): Likewise.
27822 (STACK_END_MAGIC): Likewise.
27823 (TMPFS_MAGIC): Likewise.
27824 (USBDEVICE_SUPER_MAGIC): Likewise.
27825 (V9FS_MAGIC): Likewise.
27826 (XENFS_SUPER_MAGIC): Likewise.
27827 (CRAMFS_MAGIC): Fix typo in comment.
27828 (EXT2_SUPER_MAGIC): Update comment.
27829 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27830
27831 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27832
27833 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27834 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27835 * sysdeps/unix/sysv/linux/arm: Move directory from
27836 ports/sysdeps/unix/sysv/linux/arm.
27837 * README: Update listing for arm-*-linux-gnueabi.
27838
27839 * README: Remove mention of am33.
27840
27841 2014-02-07 Roland McGrath <roland@hack.frob.com>
27842
27843 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27844 than the comma operator, to avoid "rhs of comma has no effect"
27845 compiler warnings.
27846 (__sigfillset, __sigandset, __sigorset): Likewise.
27847 * include/signal.h (__sigemptyset): Likewise.
27848 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27849
27850 2014-02-07 Allan McRae <allan@archlinux.org>
27851
27852 * version.h (RELEASE): Set to "development".
27853 (VERSION): Set to "2.19.90"
27854 * NEWS: Add 2.20 section.
27855
27856 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27857
27858 [BZ #16529]
27859 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27860
27861 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27862
27863 * manual/contrib.texi: Update entry for Carlos O'Donell,
27864 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27865
27866 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27867
27868 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27869
27870 * sysdeps/unix/sysv/linux/kernel-features.h
27871 [__LINUX_KERNEL_VERSION >= 0x020621]
27872 (__ASSUME_PROC_PID_TASK_COMM): Define.
27873
27874 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27875
27876 [BZ #16398]
27877 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27878 conversion when destination buffer does not have enough space.
27879 * libio/tst-ftell-partial-wide.c: New test case.
27880 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27881
27882 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27883 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27884 Leonard and Allan McRae.
27885
27886 2014-02-04 David S. Miller <davem@davemloft.net>
27887
27888 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27889 32-bit.
27890
27891 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27892
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27894 New file
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27896 New file
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27898 New file.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27900 New file.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27902 New file.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27904 New file.
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27906 New file.
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27908 New file.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27910 New file.
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27912 New file.
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27914 New file.
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27916 New file.
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27918 New file.
27919
27920 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27921
27922 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27923 * shlib-versions: Likewise.
27924
27925 2014-02-04 Roland McGrath <roland@hack.frob.com>
27926 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27927
27928 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27929 (abilist-pattern): New variable, set to %-le.abilist.
27930
27931 * Makerules (abilist-pattern): New variable.
27932 (vpath): Use $(abilist-pattern) in place of %.abilist.
27933 (check-abi-% pattern rule): Likewise.
27934 (check-abi, update-abi): Likewise.
27935
27936 2014-02-04 Eric Wong <normalperson@yhbt.net>
27937
27938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27939
27940 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27941
27942 * manual/startup.texi: Add next, previous, and top entries for
27943 the `Program Arguments' and `Environment Variables' nodes.
27944
27945 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27946
27947 * manual/macros.texi: Add comments before MTASC-safety macros.
27948
27949 * manual/users.texi: Document MTASC-safety properties.
27950
27951 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27952 (pthread_getspecific, pthread_setspecific): Format with
27953 @deftypefun, and add @safety note.
27954 * manual/signal.texi: Move comments that analyze the above
27955 functions to their home place.
27956
27957 2014-02-03 Allan McRae <allan@archlinux.org>
27958
27959 * po/sl.po: Update Slovenian translation from translation project.
27960
27961 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27962
27963 * manual/time.texi (timegm): Add missing blank after @c.
27964 Reported by Joseph Myers <joseph@codesourcery.com>.
27965
27966 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27967
27968 * manual/check-safety.sh: New.
27969 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27970
27971 * manual/terminal.texi: Document MTASC-safety properties.
27972
27973 * manual/filesys.texi: Document MTASC-safety properties.
27974
27975 * manual/errno.texi: Document MTASC-safety properties.
27976
27977 * manual/intro.texi: Document safety identifiers and
27978 conditionals.
27979
27980 * manual/string.texi (wcstok): Fix prototype.
27981 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27982
27983 * manual/time.texi: Document MTASC-safety properties.
27984
27985 * manual/string.texi: Document MTASC-safety properties.
27986
27987 * manual/threads.texi: Document MTASC-safety properties.
27988
27989 * manual/stdio.texi: Document MTASC-safety properties.
27990
27991 * manual/syslog.texi: Document MTASC-safety properties.
27992
27993 * manual/sysinfo.texi: Document MTASC-safety properties.
27994
27995 * manual/startup.texi: Document MTASC-safety properties.
27996
27997 * manual/socket.texi: Document MTASC-safety properties.
27998
27999 * manual/signal.texi: Document MTASC-safety properties.
28000
28001 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28002
28003 * manual/setjmp.texi: Document MTASC-safety properties.
28004
28005 * manual/search.texi: Document MTASC-safety properties.
28006
28007 * manual/resource.texi: Document MTASC-safety properties.
28008
28009 * manual/process.texi: Document MTASC-safety properties.
28010
28011 * manual/platform.texi: Document MTASC-safety properties.
28012
28013 * manual/pipe.texi: Document MTASC-safety properties.
28014
28015 * manual/pattern.texi: Document MTASC-safety properties.
28016
28017 * manual/message.texi: Document MTASC-safety properties.
28018
28019 [BZ #12751]
28020 * manual/memory.texi: Document MTASC-safety properties.
28021
28022 * manual/math.texi: Document MTASC-safety properties.
28023
28024 * manual/locale.texi: Document MTASC-safety properties.
28025
28026 * manual/llio.texi: Document MTASC-safety properties.
28027
28028 * manual/libdl.texi: New.
28029
28030 * manual/lang.texi: Document MTASC-safety properties.
28031
28032 * manual/job.texi: Document MTASC-safety properties.
28033
28034 * manual/getopt.texi: Document MTASC-safety properties.
28035
28036 * manual/ctype.texi: Document MTASC-safety properties.
28037
28038 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28039
28040 [BZ #16046]
28041 * csu/libc-tls.c (static_map): Remove variable.
28042 (__libc_setup_tls): Use main executable's link map for TLS data.
28043 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28044 casing for LM_ID_BASE and GL(dl_nns).
28045 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28046 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
28047 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28048 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28049 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28050 member.
28051 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28052 l_phnum members.
28053
28054 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
28055
28056 * manual/debug.texi: Document MTASC-safety properties.
28057
28058 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 [BZ #16510]
28061 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28062 of __x86_64__ when disabling x87 inline functions.
28063
28064 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
28065
28066 * manual/charset.texi: Document MTASC-safety properties.
28067
28068 * manual/crypt.texi: Document MTASC-safety properties.
28069
28070 * manual/conf.texi: Document MTASC-safety properties.
28071
28072 * manual/arith.texi: Document MTASC-safety properties.
28073
28074 * manual/argp.texi: Document MTASC-safety properties.
28075
28076 * manual/macros.texi: Introduce macros to document multi
28077 thread, asynchronous signal and asynchronous cancellation
28078 safety properties.
28079 * manual/intro.texi: Introduce the properties themselves.
28080
28081 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28082
28083 * sysdeps/sh/sh4/Makefile: New file.
28084
28085 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28086
28087 * math/gen-libm-test.pl ($srcdir): New variable.
28088 ($auto_input): Use it.
28089
28090 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28091
28092 [BZ #16506]
28093 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28094 access beyond array bounds when parsing netgroups file.
28095
28096 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28097 the old buffer before realloc.
28098
28099 2014-01-27 Allan McRae <allan@archlinux.org>
28100
28101 * po/fr.po: Update French translation from translation project.
28102
28103 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28104
28105 * sysdeps/sh/libm-test-ulps: Regenerate.
28106
28107 2014-01-24 David S. Miller <davem@davemloft.net>
28108
28109 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28110
28111 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28112
28113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28114 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28115
28116 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28117
28118 [BZ #16474]
28119 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28120 string pointers after reallocation.
28121
28122 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28123
28124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28125 __SH4A__ instead of __SH_FPU_ANY__.
28126
28127 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28128
28129 * sysdeps/sh/fpu_control.h: New file.
28130 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28131 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28132 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28133 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28134 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28135 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28136 * sysdeps/sh/sys/ucontext.h: Remove.
28137 * sysdeps/sh/sys: Remove directory.
28138
28139 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28140
28141 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28142 s390/sys/ucontext.h.
28143 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28145
28146 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28147
28148 [BZ #15605]
28149 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28150
28151 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28152
28153 [BZ#16431]
28154 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28155 Adjust the vDSO correctly for internal calls.
28156 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28157
28158 2014-01-20 Allan McRae <allan@archlinux.org>
28159
28160 * po/ca.po: Update Catalan translation from translation project.
28161
28162 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28163
28164 * sysdeps/s390/sotruss-lib.c: New file.
28165
28166 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28167
28168 [BZ#16430]
28169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28170 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28171 local calls issues by not having a PLT stub required for IFUNC calls.
28172 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28173
28174 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28175
28176 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28177 * math/test-fpucw-static.c: Likewise.
28178
28179 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28180
28181 [BZ #16453]
28182 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28183
28184 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28185
28186 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28187 implementation for powerpc.
28188
28189 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28190
28191 [BZ #14782]
28192 * sysdeps/posix/system.c (__libc_system): Do not enable
28193 asynchronous cancellation.
28194
28195 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28196
28197 [BZ #16427]
28198 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28199 handling only for numbers special also in the IEEE case.
28200
28201 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28202
28203 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28204
28205 2014-01-11 Allan McRae <allan@archlinux.org>
28206
28207 * po/bg.po: Update Bulgarian translation from translation project.
28208
28209 * po/de.po: Update German translation from translation project.
28210
28211 2014-01-10 Roland McGrath <roland@hack.frob.com>
28212
28213 * sysdeps/generic/gcc-compat.h: New file.
28214
28215 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28216
28217 * benchtests/asin-inputs: Correct slow inputs.
28218 * benchtests/acos-inputs: Likewise.
28219
28220 2014-01-10 Allan McRae <allan@archlinux.org>
28221
28222 * po:sv.po: Update Swedish translation from translation project.
28223
28224 * po/vi.po: Update Vietnamese translation from translation project.
28225
28226 * po/eo.po: Update Esperanto translation from translation project.
28227
28228 * po/cs.po: Update Czech translation from translation project.
28229
28230 * po/nl.po: Update Dutch translation from translation project.
28231
28232 * po/pl.po: Update Polish translation from translation project.
28233
28234 * po/ru.po: Update Russian translation from translation project.
28235
28236 * po/uk.po: Update Ukrainian translation from translation project.
28237
28238 2014-01-08 Brooks Moses <bmoses@google.com>
28239
28240 * elf/dl-load.c: Fix comment typo.
28241
28242 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28243
28244 * po/header.pot: Rename to...
28245 * po/pot.header: ... this.
28246 * po/Makefile: Use pot.header.
28247
28248 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28249 Maxim Kuvyrkov <maxim@kugelworks.com>
28250
28251 [BZ #16394]
28252 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28253 SRC and DEST against LEN.
28254
28255 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28256
28257 [BZ #16414]
28258 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28259 implementation.
28260 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28261
28262 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28263
28264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28265
28266 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28267
28268 [BZ #16408]
28269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28270 for large positive arguments.
28271
28272 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28273
28274 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28275
28276 * math/auto-libm-test-in: Mark various tests with
28277 xfail-rounding:ldbl-128ibm.
28278 * math/auto-libm-test-out: Regenerated.
28279
28280 [BZ #16407]
28281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28282 Increase overflow threshold.
28283
28284 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28285
28286 [BZ #14286]
28287 * stdio-common/vfprintf.c: Check for integer overflow.
28288
28289 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28290
28291 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28292 the first argument and return value of __tls_get_addr_internal.
28293
28294 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28295
28296 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28297 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28298
28299 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28300
28301 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28302 * sysdeps/s390/rtld-global-offsets.sym: New file.
28303 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28304 GLIBC_2.19 symbol.
28305 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28306 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28308 ... this.
28309 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28310 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28311 ... this.
28312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28313 Regenerate.
28314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28315 Regenerate.
28316 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28317 halfs of GPRs for high_gprs contexts.
28318 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28319 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28320 field.
28321 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28322 uc_flags field.
28323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28324 64 bit versions:
28325 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28326 for high GPRs (uc_high_gprs) and for future extensions
28327 (__reserved).
28328 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28329 for future extensions (__reserved).
28330 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28331 64 bit versions:
28332 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28333 SC_HIGHGPRS offset definition.
28334 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28335 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28336
28337 * Versions.def: Add GLIBC_2.19 for libpthread.
28338 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28339 siglongjmp for libpthread with GLIBC_2.19 symver.
28340 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28341 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28342 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28343 * sysdeps/s390/__longjmp.c: New file.
28344 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28345 * sysdeps/s390/longjmp.c: New file.
28346 * sysdeps/s390/setjmp.S: New file.
28347 * sysdeps/s390/sigjmp.S: New file.
28348 * sysdeps/s390/v1-longjmp.c: New file.
28349 * sysdeps/s390/v1-setjmp.h: New file.
28350 * sysdeps/s390/v1-sigjmp.c: New file.
28351 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28352 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28353 GLIBC_2.19 version.
28354 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28355 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28356 versioned symbols for ____longjmp_chk.
28357 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28360 Regenerate.
28361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28362 Regenerate.
28363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28364 Regenerate.
28365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28366 Regenerate.
28367 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28368 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28369 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28370 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28371 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28372 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28373 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28374 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28375 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28376 * sysdeps/s390/rtld-__longjmp.c: New file.
28377 * sysdeps/s390/rtld-setjmp.S: New file.
28378
28379 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28380
28381 [BZ #16400]
28382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28383 Return -__logl (x) for small positive arguments without evaluating
28384 a polynomial.
28385
28386 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28387
28388 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28389 Rename to ...
28390 (__ptrace_peeksiginfo_args): ... this.
28391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28394
28395 2014-01-06 Allan McRae <allan@archlinux.org>
28396
28397 * inet/netinet/in.h: Fix typo in comment.
28398
28399 2014-01-05 Andreas Jaeger <aj@suse.de>
28400
28401 * sysdeps/i386/fpu/libm-test-ulps: Update.
28402
28403 2014-01-05 Allan McRae <allan@archlinux.org>
28404
28405 * po/libc.pot: Regenerated.
28406
28407 * malloc/memusagestat.c: Fix gettext call formatting.
28408
28409 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28410
28411 * nscd/nscd.c: Improve usage() output.
28412
28413 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28414
28415 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28416 * sysdeps/unix/sysv/linux/configure: Regenerated.
28417 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28418 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28419
28420 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28421
28422 [BZ #16390]
28423 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28424 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28425
28426 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28427
28428 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28429 extra tokens at end of #undef directive.
28430 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28431 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28432 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28433
28434 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28435
28436 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28437
28438 * math/auto-libm-test-in: Mark various tests with
28439 xfail-rounding:ldbl-128ibm.
28440 * math/auto-libm-test-out: Regenerated.
28441
28442 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28443
28444 [BZ #16386]
28445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28446 numbers with subnormal high part when calculating exponent.
28447
28448 [BZ #16385]
28449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28450 fabs.
28451
28452 [BZ #16384]
28453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28454 M_LN2l.
28455 (__ieee754_acoshl): Use __log1pl not __log1p.
28456
28457 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28458
28459 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28460 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28461 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28462 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28463 (reused_arena, arena_get2): Convert to GNU style.
28464 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28465 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28466 (memalign_check, __malloc_set_state): Likewise.
28467 * malloc/mallocbug.c (main): Likewise.
28468 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28469 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28470 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28471 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28472 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28473 (__posix_memalign, malloc_info): Likewise.
28474 * malloc/malloc.h: Likewise.
28475 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28476 (mallochook, memalignhook, reallochook, mabort): Likewise.
28477 * malloc/mcheck.h: Likewise.
28478 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28479 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28480 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28481 * malloc/morecore.c (__default_morecore): Likewise.
28482 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28483 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28484 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28485 (print_and_abort): Likewise.
28486 * malloc/obstack.h: Likewise.
28487 * malloc/set-freeres.c (__libc_freeres): Likewise.
28488 * malloc/tst-mallocstate.c (main): Likewise.
28489 * malloc/tst-mtrace.c (main): Likewise.
28490 * malloc/tst-realloc.c (do_test): Likewise.
28491
28492 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
28494 [BZ #16366]
28495 * nscd/netgroupcache.c (do_notfound): New function.
28496 (addgetnetgrentX): Use it.
28497
28498 [BZ # 16365]
28499 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28500 NSS_STATUS_NOTFOUND.
28501
28502 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28503
28504 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28506
28507 2014-01-01 Allan McRae <allan@archlinux.org>
28508
28509 * scripts/update-copyrights: Update configure input file suffix.
28510
28511 * NEWS: Update copyright year.
28512 * catgets/gencat.c: Likewise.
28513 * csu/version.c: Likewise.
28514 * debug/catchsegv.sh: Likewise.
28515 * debug/pcprofiledump.c: Likewise.
28516 * debug/xtrace.sh: Likewise.
28517 * elf/ldconfig.c: Likewise.
28518 * elf/ldd.bash.in: Likewise.
28519 * elf/pldd.c: Likewise.
28520 * elf/sotruss.ksh: Likewise.
28521 * elf/sprof.c: Likewise.
28522 * iconv/iconv_prog.c: Likewise.
28523 * iconv/iconvconfig.c: Likewise.
28524 * locale/programs/locale.c: Likewise.
28525 * locale/programs/localedef.c: Likewise.
28526 * login/programs/pt_chown.c: Likewise.
28527 * malloc/memusage.sh: Likewise.
28528 * malloc/memusagestat.c: Likewise.
28529 * malloc/mtrace.pl: Likewise.
28530 * manual/libc.texinfo: Likewise.
28531 * nscd/nscd.c: Likewise.
28532 * nss/getent.c: Likewise.
28533 * nss/makedb.c: Likewise.
28534 * posix/getconf.c: Likewise.
28535 * scripts/test-installation.pl: Likewise.
28536
28537 * All files with FSF copyright notices: Update copyright dates
28538 using scripts/update-copyrights.
28539 * intl/plural.c: Regenerated.
28540 * locale/programs/charmap-kw.h: Likewise.
28541 * locale/programs/locfile-kw.h: Likewise.
28542
28543 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28544
28545 * sysdeps/unix/sysv/linux/configure: Regenerated.
28546 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28547 the linux/fanotify.h header.
28548 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28549 HAVE_LINUX_FANOTIFY_H is defined.
28550
28551 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28552
28553 * benchtests/cos-inputs: New inputs.
28554 * benchtests/sin-inputs: Likewise.
28555
28556 * benchtests/atan-inputs: New inputs. Fix name of multiple
28557 precision fallback inputs.
28558
28559 * benchtests/atanh-inputs: New inputs.
28560 * benchtests/tanh-inputs: Likewise.
28561
28562 * benchtests/acosh-inputs: New inputs.
28563 * benchtests/asinh-inputs: Likewise.
28564
28565 * benchtests/cosh-inputs: New inputs.
28566 * benchtests/sinh-inputs: Likewise.
28567
28568 * benchtests/acos-inputs: Add more inputs.
28569 * benchtests/asin-inputs: Likewise.
28570
28571 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28572
28573 [BZ #16375]
28574 * manual/arith.texi: Fix spelling.
28575 * manual/charset.texi: Likewise.
28576 * manual/errno.texi: Likewise.
28577 * manual/filesys.texi: Likewise.
28578 * manual/lang.texi: Likewise.
28579 * manual/llio.texi: Likewise.
28580 * manual/locale.texi: Likewise.
28581 * manual/message.texi: Likewise.
28582 * manual/resource.texi: Likewise.
28583 * manual/search.texi: Likewise.
28584 * manual/setjmp.texi: Likewise.
28585 * manual/stdio.texi: Likewise.
28586 * manual/string.texi: Likewise.
28587 * manual/sysinfo.texi: Likewise.
28588 * manual/time.texi: Likewise.
28589
28590 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28591
28592 * po/sl.po: New file.
28593
28594 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28595
28596 * .gitignore: Add core/.gdbinit/.gdb_history.
28597
28598 2013-12-27 Allan McRae <allan@archlinux.org>
28599
28600 [BZ #16369]
28601 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28602 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28603
28604 2013-12-24 Brooks Moses <bmoses@google.com>
28605
28606 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28607 all compilers that claim C++98 compliance, not just GCC.
28608 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28609 Likewise.
28610
28611 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28612
28613 * NEWS: Restore accidentally deleted bug-fix entries.
28614
28615 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28616 Ondřej Bílka <neleai@seznam.cz>
28617
28618 [BZ #15073]
28619 * malloc/malloc.c (_int_free): Perform sanity check only if we
28620 have_lock.
28621
28622 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28623
28624 [BZ #12986]
28625 * manual/stdio.texi (String Input Conversions): Clarify that character
28626 classes are not supported.
28627
28628 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28629
28630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28631
28632 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28633
28634 [BZ #16337]
28635 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28636 Calculate results for small negative arguments directly rather
28637 than using reflection formula with special underflow handling.
28638
28639 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28640 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28641 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28642 (fchflags): Likewise.
28643 (revoke): Likewise.
28644 (setlogin): Likewise.
28645 (sigaltstack): Likewise.
28646 (wait4): Likewise.
28647 (sigblock): Remove.
28648 (sigsetmask): Likewise.
28649 (wait3): Likewise.
28650 (waitpid): Likewise.
28651 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28652 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28653 file.
28654 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28655 * sysdeps/unix/bsd/Makefile: ... here.
28656 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28657 * sysdeps/unix/bsd/Versions: ... here.
28658 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28659 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28660 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28661 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28662 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28663 * sysdeps/unix/bsd/sigblock.c: ... here.
28664 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28665 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28666 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28667 * sysdeps/unix/bsd/sigvec.c: ... here.
28668 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28669 * sysdeps/unix/bsd/tcdrain.c: ... here.
28670 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28671 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28672 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28673 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28674 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28675 * sysdeps/unix/bsd/wait.c: ... here.
28676 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28677 * sysdeps/unix/bsd/wait3.c: ... here.
28678 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28679 * sysdeps/unix/bsd/waitpid.c: ... here.
28680
28681 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28682
28683 [BZ #16356]
28684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28685 round-to-nearest for [!USE_AS_EXPM1L].
28686 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28687 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28688 more tests of exp and exp10. Expect some exp10 tests to miss
28689 exceptions or fail in directed rounding modes.
28690 * math/auto-libm-test-out: Regenerated.
28691 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28692 (exp10_test_tonearest): New function.
28693 (exp10_towardzero_test_data): New array.
28694 (exp10_test_towardzero): New function.
28695 (exp10_downward_test_data): New array.
28696 (exp10_test_downward): New function.
28697 (exp10_upward_test_data): New array.
28698 (exp10_test_upward): New function.
28699 (main): Call the new functions.
28700 * sysdeps/i386/fpu/libm-test-ulps: Update.
28701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28702
28703 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28704
28705 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28706 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28707 * math/auto-libm-test-out: Regenerated.
28708 * math/libm-test.inc (acosh_test_data): Add more tests.
28709 (atanh_test_data): Likewise.
28710 (ceil_test_data): Likewise.
28711 (copysign_test_data): Likewise.
28712 * sysdeps/i386/fpu/libm-test-ulps: Update.
28713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28714
28715 * timezone/checktab.awk: Update from tzcode 2013i.
28716 * timezone/private.h: Likewise.
28717 * timezone/scheck.c: Likewise.
28718 * timezone/tzfile.h: Likewise.
28719 * timezone/tzselect.ksh: Likewise.
28720 * timezone/zdump.c: Likewise.
28721 * timezone/zic.c: Likewise.
28722
28723 * math/auto-libm-test-in: Add tests of cpow.
28724 * math/auto-libm-test-out: Regenerated.
28725 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28726 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28727 mpc_cc_c.
28728 (func_calc_desc): Add mpc_cc_c union field.
28729 (test_functions): Add cpow.
28730 (special_fill_2pi): New function.
28731 (special_real_inputs): Add 2pi.
28732 (calc_generic_results): Handle mpc_cc_c.
28733 * sysdeps/i386/fpu/libm-test-ulps: Update.
28734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28735
28736 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28737 csqrt, ctan and ctanh.
28738 * math/auto-libm-test-out: Regenerated.
28739 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28740 (TEST_COND_x86): Likewise.
28741 (ccos_test_data): Use AUTO_TESTS_c_c.
28742 (ccosh_test_data): Likewise.
28743 (cexp_test_data): Likewise.
28744 (clog_test_data): Likewise.
28745 (csqrt_test_data): Likewise.
28746 (ctan_test_data): Likewise.
28747 (ctan_tonearest_test_data): Likewise.
28748 (ctan_towardzero_test_data): Likewise.
28749 (ctan_downward_test_data): Likewise.
28750 (ctan_upward_test_data): Likewise.
28751 (ctanh_test_data): Likewise.
28752 (ctanh_tonearest_test_data): Likewise.
28753 (ctanh_towardzero_test_data): Likewise.
28754 (ctanh_downward_test_data): Likewise.
28755 (ctanh_upward_test_data): Likewise.
28756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28757 mpc_c_c.
28758 (func_calc_desc): Add mpc_c_c union field.
28759 (FUNC_mpc_c_c): New macro.
28760 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28761 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28762 ctanh.
28763 (special_fill_min_subnorm_p120): New function.
28764 (special_real_inputs): Add min_subnorm_p120.
28765 (calc_generic_results): Handle mpc_c_c.
28766 * sysdeps/i386/fpu/libm-test-ulps: Update.
28767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28768
28769 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28770
28771 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28772 (do_sin_slow): New functions.
28773 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28774 (cslow2, csloww1, csloww2): Use the new functions.
28775
28776 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28777 Use M to change sign of result instead of X. Assume X is
28778 positive.
28779 (csloww1): Likewise.
28780 (__sin): Adjust.
28781 (__cos): Adjust.
28782
28783 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28784 arguments A and DA.
28785 (__sin): Adjust.
28786 (__cos): Likewise.
28787
28788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28789 (__cos): Likewise.
28790 (sloww1): Don't adjust sign of DX.
28791 (csloww1): Likewise.
28792 (sloww2): Use X directly and don't adjust sign of DX.
28793 (csloww2): Likewise.
28794
28795 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28796
28797 * math/auto-libm-test-in: Add tests of cabs and carg.
28798 * math/auto-libm-test-out: Regenerated.
28799 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28800 (carg_test_data): Likewise.
28801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28802 mpc_c_f.
28803 (func_calc_desc): Add mpc_c_f union field.
28804 (test_functions): Add cabs and carg.
28805 (calc_generic_results): Handle mpc_c_f.
28806
28807 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28808 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28809 as a macro and a compat symbol.
28810 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28811 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28812 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28813 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28814 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28816 not use .hidden.
28817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28818 Likewise.
28819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28820 Likewise.
28821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28822 Likewise.
28823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28824 Likewise.
28825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28826 Likewise.
28827 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28828 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28829 from GLIBC_2.3.2.
28830
28831 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832
28833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28834
28835 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28836
28837 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28838 trailing whitespace removed.
28839 * scripts/config.guess: Update to version 2013-11-29.
28840 * scripts/config.sub: Update to version 2013-10-01.
28841
28842 * math/auto-libm-test-in: Add tests of sincos.
28843 * math/auto-libm-test-out: Regenerated.
28844 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28846 mpfr_f_11.
28847 (func_calc_desc): Add mpfr_f_11 union field.
28848 (test_functions): Add sincos.
28849 (calc_generic_results): Handle mpfr_f_11.
28850 * sysdeps/i386/fpu/libm-test-ulps: Update.
28851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28852
28853 2013-12-19 Andreas Schwab <schwab@suse.de>
28854
28855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28856 CALL_MCOUNT.
28857 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28859 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28860
28861 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28862
28863 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28864 * sysdeps/i386/fpu/libm-test-ulps: Update.
28865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28866
28867 [BZ #16293]
28868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28869 round-to-nearest mode when using frndint.
28870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28871 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28872 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28873 Likewise.
28874 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28875 sinh test to fail.
28876 * math/auto-libm-test-out: Regenerated.
28877 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28878 (TEST_COND_x86): Likewise.
28879 (expm1_tonearest_test_data): New array.
28880 (expm1_test_tonearest): New function.
28881 (expm1_towardzero_test_data): New array.
28882 (expm1_test_towardzero): New function.
28883 (expm1_downward_test_data): New array.
28884 (expm1_test_downward): New function.
28885 (expm1_upward_test_data): New array.
28886 (expm1_test_upward): New function.
28887 (main): Run the new test functions.
28888 * sysdeps/i386/fpu/libm-test-ulps: Update.
28889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28890
28891 * include/features.h: Update comment documenting feature test
28892 macros. Mention _DEFAULT_SOURCE in comment.
28893 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28894 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28895 _BSD_SOURCE and _SVID_SOURCE.
28896 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28897 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28898 !_SVID_SOURCE]: Likewise.
28899 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28900 (__USE_POSIX_IMPLICITLY): Define.
28901 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28902 (_POSIX_SOURCE): Undefine and redefine.
28903 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28904 (_POSIX_C_SOURCE): Likewise.
28905 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28906 (Feature Test Macros): Update documentation of default features.
28907
28908 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28909
28910 * benchtests/Makefile: Add bench-strtok.
28911 * benchtests/bench-strtok.c: New file: strtok benchtest.
28912
28913 2013-12-19 Allan McRae <allan@archlinux.org>
28914
28915 * manual/install.texi: Suppress menu for plain text output.
28916 * INSTALL: Regenerated.
28917
28918 2013-12-18 Brooks Moses <bmoses@google.com>
28919
28920 [BZ #15846]
28921 * misc/getauxval.c: Include errno.h.
28922 (__getauxval): Set errno to ENOENT if the requested type is not
28923 found.
28924 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28925 don't declare with __attribute_const__.
28926 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28927 * manual/startup.texi: Document that getauxval sets errno.
28928
28929 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28930
28931 * math/auto-libm-test-in: Add tests of jn and yn.
28932 * math/auto-libm-test-out: Regenerated.
28933 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28934 (yn_test_data): Likewise.
28935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28936 mpfr_if_f.
28937 (func_calc_desc): Add mpfr_if_f union field.
28938 (FUNC_mpfr_if_f): New macro.
28939 (test_functions): Add jn and yn.
28940 (calc_generic_results): Assert type of second input for
28941 mpfr_ff_f. Handle mpfr_if_f.
28942 (output_for_one_input_case): Disable all checking for arguments
28943 fitting floating-point types in case of an integer argument.
28944 * sysdeps/i386/fpu/libm-test-ulps: Update.
28945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28946
28947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28948 Don't expect fegetround reference in libm.so.
28949
28950 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28951
28952 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28953 $(config-cflags-nofma).
28954
28955 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28956
28957 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28958 * math/auto-libm-test-out: Regenerated.
28959
28960 [BZ #16338]
28961 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28962 to determine exponent and adjust argument to have exponent of -1.
28963 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28964 log2.
28965 * math/auto-libm-test-out: Regenerated.
28966 * sysdeps/i386/fpu/libm-test-ulps: Update.
28967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28968
28969 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28970
28971 * manual/probes.texi: Remove cases when per-thread arenas are
28972 disabled.
28973
28974 2013-12-18 Andreas Schwab <schwab@suse.de>
28975
28976 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28977 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28978 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28979 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28980 * sysdeps/i386/i686/multiarch/Makefile: Update.
28981 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28982
28983 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28984
28985 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28986 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28987
28988 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28989
28990 [BZ #15968]
28991 Support TZ transition times < 00:00:00.
28992 This is needed for version-3 tz-format files; it supports time
28993 stamps past 2037 for America/Godthab (the only entry in the tz
28994 database for which this change is relevant).
28995 * manual/time.texi (TZ Variable): Document transition times
28996 from -167:59:59 through -00:00:01.
28997 * time/tzset.c (tz_rule): Time of day is now signed.
28998 (__tzset_parse_tz): Parse negative time of day.
28999
29000 Document TZ transition times >= 25:00:00.
29001 * manual/time.texi (TZ Variable): Document transition times from
29002 25:00:00 through 167:59:59. These are already supported, and this
29003 support will help with version-3 tz-format files.
29004
29005 * manual/time.texi (TZ Variable): Modernize North America example
29006 to reflect current (i.e., 2007-and-later) daylight saving rules.
29007
29008 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29009
29010 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29011
29012 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29013 * sysdeps/unix/bsd/bits/stat.h: Likewise.
29014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29016 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29017 * sysdeps/unix/bsd/bsdstat.h: Likewise.
29018 * sysdeps/unix/bsd/clock.c: Likewise.
29019 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29020 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29021 * sysdeps/unix/bsd/init-posix.c: Likewise.
29022 * sysdeps/unix/bsd/poll.c: Likewise.
29023 * sysdeps/unix/bsd/ptsname.c: Likewise.
29024 * sysdeps/unix/bsd/seekdir.c: Likewise.
29025 * sysdeps/unix/bsd/setegid.c: Likewise.
29026 * sysdeps/unix/bsd/seteuid.c: Likewise.
29027 * sysdeps/unix/bsd/setgid.c: Likewise.
29028 * sysdeps/unix/bsd/setrgid.c: Likewise.
29029 * sysdeps/unix/bsd/setruid.c: Likewise.
29030 * sysdeps/unix/bsd/setsid.c: Likewise.
29031 * sysdeps/unix/bsd/setuid.c: Likewise.
29032 * sysdeps/unix/bsd/sigaction.c: Likewise.
29033 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29034 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29035 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29036 * sysdeps/unix/bsd/telldir.c: Likewise.
29037 * sysdeps/unix/bsd/times.c: Likewise.
29038 * sysdeps/unix/bsd/usleep.c: Likewise.
29039
29040 * misc/Makefile (install-lib): Remove libbsd-compat.a.
29041 ($(objpfx)libbsd-compat.a): Remove rule.
29042
29043 * include/features.h (__FAVOR_BSD): Do not define.
29044 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29045 features conflicting with POSIX.
29046 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29047 (_BSD_SOURCE): Remove description of not being a subset of other
29048 feature test macros.
29049 * manual/job.texi (getpgrp): Do not document BSD version.
29050 (getpgid): Do not document by reference to BSD getpgrp.
29051 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29052 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29053 * signal/signal.h [__FAVOR_BSD]: Likewise.
29054 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29055 instead of making contents conditional on [__FAVOR_BSD].
29056 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29057
29058 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29059
29060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29061
29062 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29063
29064 [BZ #16314]
29065 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29066 values below 2**-450, not 2**-500.
29067 * math/auto-libm-test-in: Don't allow spurious underflow from
29068 hypot.
29069 * math/auto-libm-test-out: Regenerated.
29070
29071 [BZ #16316]
29072 [BZ #16330]
29073 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29074 values of ha and hb and sort them after adjusting subnormal
29075 arguments.
29076 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29077 Likewise.
29078 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29079 values of ea and eb and sort them after adjusting subnormal
29080 arguments.
29081 * math/auto-libm-test-in: Do not expect some hypot tests of
29082 subnormals to fail. Add more hypot tests.
29083 * math/auto-libm-test-out: Regenerated.
29084
29085 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29086
29087 [BZ #13304]
29088 * sysdeps/sh/s_fma.c: New file.
29089 * sysdeps/sh/s_fmaf.c: New file.
29090 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29091 version.
29092 * sysdeps/sh/Implies: Add sh/soft-fp.
29093
29094 2013-12-16 Roland McGrath <roland@hack.frob.com>
29095
29096 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29097 level of indirection to members `objname', `errstring', `malloced'.
29098 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29099 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29100 it as the __longjmp argument (just pass 1 instead).
29101 (_dl_catch_error): Initialize C with argument pointers and address of
29102 volatile local ERRCODE rather than copying values out of C at return.
29103
29104 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29105
29106 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29107 * math/auto-libm-test-out: Regenerated.
29108 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29109 (hypot_test_data): Likewise.
29110 (pow_test_data): Likewise.
29111 (pow_tonearest_test_data): Likewise.
29112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29113 mpfr_ff_f.
29114 (func_calc_desc): Add mpfr_ff_f union field.
29115 (FUNC_mpfr_ff_f): New macro.
29116 (test_functions): Add atan2, hypot and pow.
29117 (special_fill_min): New function.
29118 (special_fill_minus_min): Likewise.
29119 (special_fill_min_subnorm): Likewise.
29120 (special_fill_minus_min_subnorm): Likewise.
29121 (special_real_inputs): Add min, -min, min_subnorm and
29122 -min_subnorm.
29123 (calc_generic_results): Handle mpfr_ff_f.
29124 * sysdeps/i386/fpu/libm-test-ulps: Update.
29125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29126
29127 2013-12-16 Will Newton <will.newton@linaro.org>
29128
29129 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29130 (Aligned Memory Blocks): Add documentation for aligned_alloc
29131 and suggest it as an alternative to posix_memalign.
29132 (Hooks for Malloc): Document __memalign_hook is also called
29133 for aligned_alloc. (Summary of Malloc): Add summary for
29134 aligned alloc. Document __memalign_hook is also called
29135 for aligned_alloc.
29136
29137 2013-12-16 Will Newton <will.newton@linaro.org>
29138
29139 * manual/memory.texi (Malloc Examples): Clarify default
29140 alignment documentation. Suggest posix_memalign rather
29141 than memalign or valloc.
29142 (Aligned Memory Blocks): Remove suggestion to use memalign
29143 or valloc. Remove obsolete comment about BSD.
29144 Document memalign errno values and mark the function obsolete.
29145 Document posix_memalign returned error codes. Mark valloc
29146 as obsolete. (Hooks for Malloc): __memalign_hook is also
29147 called for posix_memalign and valloc.
29148 (Summary of Malloc): Add posix_memalign to function summary.
29149 __memalign_hook is also called for posix_memalign and valloc.
29150
29151 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29152
29153 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29154 TAYLOR_SIN.
29155 (__sin): Adjust.
29156 (__cos): Likewise.
29157 (sloww): Use mynumber union. Expand ternary operator into
29158 if-else statements.
29159 (cslow): use mynumber union.
29160
29161 2013-12-16 Allan McRae <allan@archlinux.org>
29162
29163 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29164 * configure: Regenerated.
29165
29166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29167
29168 [BZ #14120]
29169 * configure.ac: Added --enable-maintainer-mode. Check for
29170 autoconf when enabled.
29171 * configure: Regenerated.
29172
29173 * nscd/nscd.service: New file.
29174 * nscd/nscd.tmpfiles: New file.
29175
29176 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29177
29178 [BZ #12100]
29179 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29180 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29181 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29182 (strstr): Add __strstr_sse2_unaligned ifunc.
29183 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29184 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29185 (strcasestr): Remove __strcasestr_sse42 ifunc.
29186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29189
29190 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29191
29192 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29193 * sysdeps/sh/bits/fenv.h: ... here.
29194 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29195
29196 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29197
29198 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29199
29200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29201 hypotf multiarch implementations.
29202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29205 multiarch hypot for PPC64.
29206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29209 multiarch hypotf for PPC64.
29210
29211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29212 modff multiarch implementations.
29213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29216 multiarch modf for PPC64.
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29220 multiarch modff for PPC64.
29221
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29223 and logl multiarch implementations.
29224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29227 multiarch logb for PPC64.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29231 multiarch logb for PPC64.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29235 multiarch logb for PPC64.
29236
29237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29238 isinff multiarch implementation.
29239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29240 file.
29241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29243 multiarch isinf for PPC64.
29244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29245 file.
29246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29247 multiarch isinff for PPC64.
29248
29249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29250 finitef multiarch implementation.
29251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29252 file.
29253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29255 multiarch finite for PPC64.
29256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29257 file.
29258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29259 multiarch finitef for PPC64.
29260
29261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29262 lrint multiarch implementation.
29263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29264 file.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29267 multiarch llrint for PPC64.
29268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29269 multiarch lrint for PPC64.
29270
29271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29272 copysignf multiarch implementation.
29273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29274 file.
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29276 file.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29278 multiarch copysign for PPC64.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29280 multiarch copysignf for PPC64.
29281
29282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29283 multiarch implementation.
29284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29285 file.
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29287 file.
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29289 file.
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29291 file.
29292 multiarch llround for PPC64.
29293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29294 multiarch trunc for PPC64.
29295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29296 multiarch truncf for PPC64.
29297
29298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29299 multiarch implementation.
29300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29301 file.
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29303 file.
29304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29305 file.
29306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29307 file.
29308 multiarch llround for PPC64.
29309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29310 multiarch round for PPC64.
29311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29312 multiarch roundf for PPC64.
29313
29314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29315 multiarch implementation.
29316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29317 file.
29318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29319 file.
29320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29321 file.
29322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29323 file.
29324 multiarch llround for PPC64.
29325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29326 multiarch floor for PPC64.
29327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29328 multiarch floorf for PPC64.
29329
29330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29331 multiarch implementation.
29332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29333 file.
29334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29335 file.
29336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29337 file.
29338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29339 file.
29340 multiarch llround for PPC64.
29341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29342 multiarch ceil for PPC64.
29343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29344 multiarch ceilf for PPC64.
29345
29346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29347 multiarch implementation.
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29349 file.
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29351 file.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29353 file.
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29355 multiarch llround for PPC64.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29357 multiarch lround for PPC64.
29358
29359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29360 multiarch implementation.
29361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29364 file.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29368 multiarch isnan for PPC64.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29370 multiarch isnanf for PPC64.
29371
29372 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29373 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29374 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29375 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29376 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29378
29379 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29383
29384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29385 multiarch implementations.
29386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29387 (__libc_ifunc_impl_list): Likewise.
29388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29389 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29390 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29391 multiarch stpcpy for PPC64.
29392
29393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29394 multiarch implementations.
29395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29396 (__libc_ifunc_impl_list): Likewise.
29397 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29398 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29399 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29400 multiarch strcpy for PPC64.
29401
29402 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29403 redefine function name.
29404 (_wordcopy_fwd_dest_aligned): Likewise.
29405 (_wordcopy_bwd_aligned): Likewise.
29406 (_wordcopy_bwd_dest_aligned): Likewise.
29407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29408 multiarch implementations.
29409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29410 (__libc_ifunc_impl_list): Likewise.
29411 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29413 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29414 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29415 multiarch wcscpy for PPC64.
29416
29417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29418 multiarch implementations.
29419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29420 (__libc_ifunc_impl_list): Likewise.
29421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29423 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29424 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29425 multiarch wcscpy for PPC64.
29426
29427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29428 multiarch implementations.
29429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29430 (__libc_ifunc_impl_list): Likewise.
29431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29433 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29435 multiarch wcsrchr for PPC64.
29436
29437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29438 multiarch implementations.
29439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29440 (__libc_ifunc_impl_list): Likewise.
29441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29442 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29443 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29444 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29445 multiarch wcschr for PPC64.
29446
29447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29448 multiarch implementations.
29449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29450 (__libc_ifunc_impl_list): Likewise.
29451 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29452 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29453 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29454 multiarch strchrnul for PPC64.
29455
29456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29457 implementations.
29458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29459 (__libc_ifunc_impl_list): Likewise.
29460 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29461 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29462 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29463 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29464 strchr for PPC64.
29465
29466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29467 implementations.
29468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29469 (__libc_ifunc_impl_list): Likewise.
29470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29473 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29474 strncmp for PPC64.
29475
29476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29477 multiarch implementations.
29478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29479 (__libc_ifunc_impl_list): Likewise.
29480 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29481 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29482 strncasecmp for PPC64.
29483 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29484 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29485 multiarch strncasecmp_l for PPC64.
29486
29487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29488 multiarch implementations.
29489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29490 (__libc_ifunc_impl_list): Likewise.
29491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29493 multiarch strcasecmp for PPC64.
29494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29495 file.
29496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29497 multiarch strcasecmp_l for PPC64.
29498
29499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29500 implementations.
29501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29502 (__libc_ifunc_impl_list): Likewise.
29503 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29504 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29505 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29506 strnlen for PPC64.
29507
29508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29509 implementations.
29510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29511 (__libc_ifunc_impl_list): Likewise.
29512 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29513 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29514 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29515 strlen for PPC64.
29516
29517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29518 implementations.
29519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29520 (__libc_ifunc_impl_list): Likewise.
29521 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29522 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29523 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29524 rawmemrchr for PPC64.
29525
29526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29527 implementation.
29528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29529 (__libc_ifunc_impl_list): Likewise.
29530 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29531 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29532 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29533 memrchr for PPC64.
29534
29535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29536 implementation.
29537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29538 (__libc_ifunc_impl_list): Likewise.
29539 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29540 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29541 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29542 memchr for PPC64.
29543
29544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29545 implementation.
29546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29547 (__libc_ifunc_impl_list): Likewise.
29548 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29549 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29550 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29551 mempcpy for PPC64.
29552
29553 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29554 avoid cretion of __bzero symbol.
29555 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29556 Likewise.
29557 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29558 Likewise.
29559 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29560 Likewise.
29561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29562 multiarch implementations.
29563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29564 (__libc_ifunc_impl_list): Likewise.
29565 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29566 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29567 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29568 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29569 bzero for PPC32.
29570 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29571 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29572 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29573 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29574 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29575 memset for PPC64.
29576 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29577
29578 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29580 implementations.
29581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29582 (__libc_ifunc_impl_list): Likewise.
29583 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29584 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29585 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29586 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29587 memcmp for PPC64.
29588
29589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29590 multiarch for POWER/PPC64.
29591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29592 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29599 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29600 memcpy for PPC64.
29601
29602 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29603 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29604 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29606 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29607 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29608 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29609 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29610 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29611 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29612 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29613 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29614 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29615 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29616 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29624
29625 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29626
29627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29628
29629 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29630
29631 * benchtests/Makefile (bench): Add exp2 and log2.
29632 (LDLIBS-bench-exp2): Add -lm.
29633 (LDLIBS-bench-log2): Likewise.
29634 * benchtests/exp2-inputs: New inputs file.
29635 * benchtests/log2-inputs: New inputs file.
29636 * benchtests/log-inputs: Add new inputs.
29637 * benchtests/tan-inputs: Likewise.
29638
29639 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29640
29641 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29642 definition...
29643 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29644 (csloww2): ... from here.
29645
29646 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29647 instead of structures.
29648 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29649 (POLYNOMIAL): Likewise.
29650 (TAYLOR_SLOW): Likewise.
29651 (__sin): Likewise.
29652 (__cos): Likewise.
29653 (slow1): Likewise.
29654 (slow2): Likewise.
29655 (sloww): Likewise.
29656 (sloww1); Likewise.
29657 (sloww2): Likewise.
29658 (bsloww1): Likewise.
29659 (bsloww2): Likewise.
29660 (cslow2): Likewise.
29661 (csloww): Likewise.
29662 (csloww1): Likewise.
29663 (csloww2): Likewise.
29664
29665 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29666
29667 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29668 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29669 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29670 * malloc/hooks.c (realloc_check): Likewise.
29671
29672 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29673 * malloc/arena.c: Remove PER_THREAD conditional.
29674 [!PER_THREAD]: Remove code.
29675 (ptmalloc_unlock_all2): Likewise.
29676 (ptmalloc_init): Likewise.
29677 (_int_new_arena): Likewise.
29678 (arena_get2): Likewise.
29679 * malloc/hooks.c (__malloc_get_state): Likewise.
29680 (__malloc_set_state): Likewise.
29681 * malloc/malloc.c: Likewise.
29682 (struct malloc_state): Likewise.
29683 (struct malloc_par): Likewise.
29684 (__libc_realloc): Likewise.
29685 (__libc_mallopt): Likewise.
29686
29687 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29688
29689 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29690
29691 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29692
29693 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29694 macro to a function. Check for zero perturb_byte.
29695 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29696
29697 * malloc/malloc.c: (force_reg): Remove.
29698 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29699 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29700 force_reg by atomic_forced_read.
29701 * malloc/arena.c (ptmalloc_init): Likewise.
29702 * malloc/hooks.c (top_check): Likewise.
29703
29704 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29705
29706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29707
29708 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29709
29710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29711
29712 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29713
29714 * math/auto-libm-test-in: Add tests of lgamma.
29715 * math/auto-libm-test-out: Regenerated.
29716 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29717 (M_LOG_2_SQRT_PIl): Likewise.
29718 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29720 mpfr_f_f1.
29721 (func_calc_desc): Add mpfr_f_f1 union field.
29722 (ARGS1): New macro.
29723 (ARGS2): Likewise.
29724 (ARGS3): Likewise.
29725 (ARGS4): Likewise.
29726 (RET1): Likewise.
29727 (RET2): Likewise.
29728 (CALC): Likewise.
29729 (FUNC): Likewise.
29730 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29731 (test_functions): Add lgamma.
29732 (calc_generic_results): Handle mpfr_f_f1.
29733 * sysdeps/i386/fpu/libm-test-ulps: Update.
29734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29735
29736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29737
29738 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29739 __mpn_add_n for PowerPC64/POWER7.
29740 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29741 __mpn_sub_n for PowerPC64/POWER7.
29742
29743 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29744 __mpn_addmul_1 for PowerPC64.
29745 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29746 __mpn_submul_1 for PowerPC64.
29747 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29748 for PowerPC64.
29749 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29750 for PowerPC64.
29751
29752 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29753
29754 [BZ #15089]
29755 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29756
29757 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29758
29759 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29760
29761 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29762 add multiarch folders.
29763 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29764 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29765 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29766 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29767 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29768 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29769 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29770 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29771 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29772 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29773 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29780
29781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29782 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29784 New file.
29785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29786 New file.
29787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29788 multiarch __ieee754_hypot for PowerPC32.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29790 New file.
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29792 New file.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29794 multiarch __ieee754_hypotf for PowerPC32.
29795
29796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29797 long_double_symbol only if __logbl is defined.
29798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29799 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29801 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29803 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29805 path for implementation.
29806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29809 logb, and logbl multiarch implementations for PowerPC32.
29810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29811 file.
29812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29813 file.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29815 multiarch logb for PowerPC32.
29816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29817 file.
29818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29819 file.
29820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29821 multiarch logbf for PowerPC32.
29822 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29824 file.
29825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29826 multiarch logbl implementation for PowerPC32.
29827
29828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29829 and modff multiarch implementations.
29830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29831 New file.
29832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29833 New file.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29835 multiarch modf for PowerPC32.
29836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29837 New file.
29838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29839 New file.
29840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29841 multiarch modff for PowerPC32.
29842
29843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29844 and lrintf multiarch implementations.
29845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29846 New file.
29847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29848 New file.
29849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29850 multiarch lrint for PowerPC32.
29851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29852 file: multiarch lrintf for PowerPC32.
29853
29854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29855 and lroundf multiarch implementations.
29856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29857 New file.
29858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29859 New file.
29860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29861 New file.
29862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29863 multiarch lround for PowerPC32.
29864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29865 file: multiarch lroundf for PowerPC32.
29866
29867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29868 copysign and copysignf multiarch implementations.
29869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29870 New file.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29872 New file.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29874 file: multiarch copysign for PowerPC32.
29875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29876 file: multiarch copysignf for PowerPC32.
29877
29878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29879 and truncf multiarch implementations.
29880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29881 New file.
29882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29883 file.
29884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29885 multiarch trunc for PowerPC32.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29887 New file.
29888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29889 New file.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29891 multiarch truncf for PowerPC32.
29892
29893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29894 and roundf multiarch implementations.
29895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29896 New file.
29897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29898 file.
29899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29900 multiarch round for PowerPC32.
29901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29902 New file.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29904 New file.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29906 multiarch roundf for PowerPC32.
29907
29908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29909 and floorf multiarch implementations.
29910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29911 New file.
29912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29913 file.
29914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29915 multiarch floor for PowerPC32.
29916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29917 New file.
29918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29919 New file.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29921 multiarch floorf for PowerPC32.
29922
29923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29924 and ceilf multiarch implementations.
29925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29926 New file.
29927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29928 file.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29930 multiarch ceil for PowerPC32.
29931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29932 New file.
29933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29934 file.
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29936 multiarch ceilf for PowerPC32.
29937
29938 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29939 is defined.
29940 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29941 FINITEF is defined.
29942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29943 and finitef multiarch implementations.
29944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29945 New file.
29946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29947 file.
29948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29949 multiarch finite for PowerPC32.
29950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29951 New file.
29952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29953 file: multiarch finitef for PowerPC32.
29954
29955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29956 and isinff multiarch implementations.
29957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29958 file.
29959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29960 file.
29961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29962 multiarch isinf for PowerPC32.
29963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29964 New file.
29965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29966 multiarch isinff for PowerPC32.
29967
29968 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29969 alias when __isnan is defined.
29970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29971 and isnanf multiarch implementations.
29972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29973 file.
29974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29975 file.
29976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29977 file.
29978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29979 file.
29980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29981 multiarch isnan for PowerPC32.
29982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29983 New file.
29984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29985 New file.
29986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29987 multiarch isnanf for PowerPC32.
29988
29989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29990 and sqrtf multiarch implementations.
29991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29992 file.
29993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29994 file.
29995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29996 multiarch sqrt for PowerPC32.
29997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29998 file.
29999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30000 file.
30001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30002 multiarch sqrtf for PowerPC32.
30003
30004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30005 and llroundf multiarch implementations.
30006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30007 New file.
30008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30009 New file.
30010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30011 New file.
30012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30013 file: multiarch llround for PowerPC32.
30014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30015 file: multiarch llroundf for PowerPC32.
30016
30017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30018 multiarch PowerPC32 fpu implementations.
30019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30020 New file.
30021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30022 New file.
30023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30024 multiarch llrint for PowerPC32.
30025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30026 New file.
30027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30028 New file.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30030 file.
30031
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30033
30034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30035 file.
30036 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30037 file.
30038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30039 file.
30040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30041 multiarch wordcopy for PPC32.
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30043 wordcopy objects.
30044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30045 (__libc_ifunc_impl_list): Likewise.
30046 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30047 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30049 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30050 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30051 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30052
30053 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30055 file.
30056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30057 file.
30058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30059 file.
30060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30061 multiarch wcscpy for PPC32.
30062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30063 multiarch objects.
30064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30065 (__libc_ifunc_impl_list): Likewise.
30066 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30067 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30068 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30069 sysdeps/powerpc/power6/wcscpy.c.
30070
30071 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30073 file.
30074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30075 file.
30076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30077 file.
30078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30079 multiarch wcsrchr for PPC32.
30080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30081 multiarch objects.
30082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30083 (__libc_ifunc_impl_list): Likewise.
30084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30085 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30086 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30087 sysdeps/powerpc/power6/wcsrchr.c.
30088
30089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30090 file.
30091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30092 file.
30093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30095 multiarch wcschr for PPc32.
30096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30097 multiarch objects.
30098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30099 (__libc_ifunc_impl_list): Likewise.
30100 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30101 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30102 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30103 sysdeps/powerpc/power6/wcschr.c.
30104
30105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30107 file.
30108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30109 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30110 file: multiarch strchr for PPC32.
30111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30112 multiarch objects.
30113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30114 (__libc_ifunc_impl_list): Likewise.
30115
30116 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30117 name.
30118 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30119 file.
30120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30121 file.
30122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30123 multiarch strchrnul for PPC32.
30124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30125 multiarch objects.
30126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30127 (__libc_ifunc_impl_list): Likewise.
30128
30129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30130 file.
30131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30132 multiarch strncasecmp for PPC32.
30133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30134 file.
30135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30136 multiarch strncasecmp_l for PPC32.
30137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30138 strncasecmp multiarch objects.
30139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30140 (__libc_ifunc_impl_list): Likewise.
30141
30142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30143 file.
30144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30145 multiarch strncasecmp for PPC32.
30146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30147 New file.
30148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30149 multiarch strcasecmp_l for PPC32.
30150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30151 multiarch objects.
30152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30153 (__libc_ifunc_impl_list): Likewise.
30154
30155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30156 file.
30157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30158 file.
30159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30160 multiarch strncmp for PPC32.
30161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30162 multiarch objects.
30163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30164 (__libc_ifunc_impl_list): Likewise.
30165
30166 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30167 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30168 file.
30169 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30170 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30172 multiarch objects.
30173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30174 (__libc_ifunc_impl_list): Likewise.
30175
30176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30177 file.
30178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30179 file.
30180 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30182 multiarch objects.
30183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30184 (__libc_ifunc_impl_list): Likewise.
30185
30186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30187 file.
30188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30189 file.
30190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30191 multiarch rawmemchr for PPC32.
30192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30193 multiarch objects.
30194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30195 (__libc_ifunc_impl_list): Likewise.
30196
30197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30198 file.
30199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30200 file.
30201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30202 file: memrchr multiarch for PPC32.
30203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30204 multiarch objects.
30205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30206 (__libc_ifunc_impl_list): Likewise.
30207
30208 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30210 file.
30211 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30212 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30213 multiarch memchr for PPC32.
30214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30215 multiarch objects.
30216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30217 (__libc_ifunc_impl_list): Likewise.
30218
30219 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30220 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30221 file.
30222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30223 file.
30224 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30225 file: multiarch mempcpy for PPC32.
30226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30227 multiarch objects.
30228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30229 (__libc_ifunc_impl_list): Likewise.
30230
30231 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30233 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30235 multiarch bzero for PPC32.
30236 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30237 file.
30238 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30239 file.
30240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30241 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30242 file: multiarch memset for PPC32.
30243 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30245 memset multiarch objects.
30246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30247 (__libc_ifunc_impl_list): Likewise.
30248
30249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30250 file.
30251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30253 memcmp for PPC32.
30254 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30256 multiarch objects.
30257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30258 (__libc_ifunc_impl_list): Likewise.
30259
30260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30263 file.
30264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30265 file.
30266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30267 file.
30268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30269 multiarch memcpy for PPC32.
30270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30271 multiarch objects.
30272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30273 (__libc_ifunc_impl_list): Likewise.
30274
30275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30276 support multiarch for POWER/PPC32.
30277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30278 Likewise.
30279 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30281 Implies file to make multiarch folder appers before the fpu and
30282 default folder for power4 configuration.
30283
30284 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30285
30286 * scripts/bench.pl: Append volatile keyword to type.
30287
30288 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30289
30290 * sysdeps/sh/sotruss-lib.c: New file.
30291 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30292
30293 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30294
30295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30296
30297 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30298
30299 [BZ #6810]
30300 * math/w_tgamma.c: Include <errno.h>.
30301 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30302 * math/w_tgammaf.c: Include <errno.h>.
30303 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30304 * math/w_tgammal.c: Include <errno.h>.
30305 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30306 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30307 underflow. Add more tgamma tests.
30308 * math/auto-libm-test-out: Regenerated.
30309 * sysdeps/i386/fpu/libm-test-ulps: Update.
30310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30311
30312 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30313 sin, sinh, tan, tanh, tgamma, y0 and y1.
30314 * math/auto-libm-test-out: Regenerated.
30315 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30316 (TEST_COND_x86): Likewise.
30317 (M_E2l): Remove macro.
30318 (M_E3l): Likewise.
30319 (M_2_SQRT_PIl): Likewise.
30320 (M_SQRT_PIl): Likewise.
30321 (M_1_DIV_El): Likewise.
30322 (log_test_data): Use AUTO_TESTS_f_f.
30323 (log10_test_data): Likewise.
30324 (log1p_test_data): Likewise.
30325 (log2_test_data): Likewise.
30326 (sin_test_data): Likewise.
30327 (sin_tonearest_test_data): Likewise.
30328 (sin_towardzero_test_data): Likewise.
30329 (sin_downward_test_data): Likewise.
30330 (sin_upward_test_data): Likewise.
30331 (sinh_test_data): Likewise.
30332 (sinh_tonearest_test_data): Likewise.
30333 (sinh_towardzero_test_data): Likewise.
30334 (sinh_downward_test_data): Likewise.
30335 (sinh_upward_test_data): Likewise.
30336 (tan_test_data): Likewise.
30337 (tan_tonearest_test_data): Likewise.
30338 (tan_towardzero_test_data): Likewise.
30339 (tan_downward_test_data): Likewise.
30340 (tan_upward_test_data): Likewise.
30341 (tanh_test_data): Likewise.
30342 (tgamma_test_data): Likewise.
30343 (y0_test_data): Likewise.
30344 (y1_test_data): Likewise.
30345 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30346 (special_real_inputs): Add pi/4.
30347 * sysdeps/i386/fpu/libm-test-ulps: Update.
30348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30349
30350 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30351
30352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30353 "longjmp_target" static probes.
30354 (__longjmp): Rename to __longjmp_symbol.
30355 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30356 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30357 on which longjmp to generate.
30358 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30360 probe.
30361 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30362 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30363 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30364 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30365 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30366 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30368 __longjmp_symbol based on which __longjmp to generate.
30369 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30370 probe.
30371 (setjmp): Rename to setjmp_symbol.
30372 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30373 (_setjmp): Rename to _setjmp_symbol.
30374 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30375 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30376 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30377 which setjmp to generate.
30378 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30379 "longjmp_target" static probes.
30380
30381 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30382
30383 * benchtests/README: Add note about output arguments.
30384 * benchtests/bench-sincos.c: Remove file.
30385 * benchtests/sincos-inputs: New file.
30386 * scripts/bench.pl: Identify output arguments and define
30387 static variables for them.
30388
30389 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30390
30391 [BZ #15941]
30392 * Makefile (INSTALL): Add install-plain.texi as the primary
30393 dependency.
30394 * manual/install-plain.texi: New file.
30395 * manual/install.texi: Include node directive only for
30396 non-plaintext output.
30397
30398 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30399
30400 * stdlib/longlong.h: Update from GCC.
30401
30402 [BZ #6807]
30403 [BZ #15901]
30404 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30405 * math/w_j0f.c (y0f): Likewise.
30406 * math/w_j0l.c (__y0l): Likewise.
30407 * math/w_j1.c (y1): Likewise.
30408 * math/w_j1f.c (y1f): Likewise.
30409 * math/w_j1l.c (__y1l): Likewise
30410 * math/w_jn.c (yn): Likewise.
30411 * math/w_jnf.c (ynf): Likewise.
30412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30413 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30414 value for Bessel function domain errors outside _SVID_ mode.
30415 Adjust sign of return value for yn (negative integer, 0).
30416 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30417 by zero in return for negative x and set sign appropriately for
30418 negative n.
30419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30421 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30422 expectations in error cases.
30423 (y1_test_data): Likewise.
30424 (yn_test_data): Likewise.
30425 * sysdeps/i386/fpu/libm-test-ulps: Update.
30426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30427
30428 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30429
30430 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30431 "64" to "64-v1". Add "64-v2".
30432 (abi-64-options): Rename to ...
30433 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30434 (abi-64-condition): Rename to ...
30435 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30436 (abi-64-ld-soname): Rename to ...
30437 (abi-64-v1-ld-soname): ... this.
30438 (abi-64-v2-options): Define.
30439 (abi-64-v2-condition): Likewise.
30440 (abi-64-v2-ld-soname): Likewise.
30441 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30442 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30446
30447 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30448 Alan Modra <amodra@gmail.com>
30449
30450 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30451 New versions for use with the ELFv2 ABI.
30452 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30453 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30454 declaration.
30455 (struct La_ppc64v2_retval): Likewise.
30456 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30457 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30458 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30459 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30460 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30462 Do not save or restore CR.
30463 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30464 (_dl_profile_resolve): Do no save or restore CR. Support extended
30465 return values for ELFv2 ABI. Fix location of FPR return registers.
30466 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30467 updated values for _CALL_ELF == 2.
30468 (La_regs, La_retval, int_retval): Likewise.
30469
30470 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30471
30472 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30473 (FRAME_MIN_SIZE_PARM): Likewise.
30474 (FRAME_BACKCHAIN): Likewise.
30475 (FRAME_CR_SAVE): Likewise.
30476 (FRAME_LR_SAVE): Likewise.
30477 (FRAME_TOC_SAVE): Likewise.
30478 (FRAME_PARM_SAVE): Likewise.
30479 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30480 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30481 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30482 (call_mcount_parm_offset): New macro.
30483 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30484 (PROF): Use symbolic stack frame offsets.
30485 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30487 Redefine in terms of FRAME_MIN_SIZE.
30488 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30489 (_dl_profile_resolve): Likewise. Update comment.
30490 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30491 symbols stack frame offsets.
30492 (__sigsetjmp): Likewise.
30493 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30494 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30495 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30496 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30497
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30499 (FRAME_BACKCHAIN): Remove.
30500 (FRAME_CR_SAVE): Likewise.
30501 (FRAME_LR_SAVE): Likewise.
30502 (FRAME_COMPILER_DW): Likewise.
30503 (FRAME_LINKER_DW): Likewise.
30504 (FRAME_TOC_SAVE): Likewise.
30505 (FRAME_PARM_SAVE): Likewise.
30506 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30507 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30508 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30510 (CHECK_SP): Use symbolic stack frame offsets.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30512 zone" instead of caller's parameter save area for temp storage.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30514 Likewise. Also, use symbolic stack frame offsets.
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30516 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30517 our own stack frame instead of the caller's.
30518 (__socket): Use symbolic stack frame offsets.
30519
30520 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30521 Alan Modra <amodra@gmail.com>
30522
30523 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30524 Define.
30525 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30526 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30527 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30528 New function.
30529 (elf_machine_fixup_plt): Call it.
30530 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30531 reloc arguments.
30532 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30534 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30535 r2 before calling target.
30536
30537 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30538 Alan Modra <amodra@gmail.com>
30539
30540 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30541 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30542 versions of macros to support ELFv2 ABI.
30543 (LOCALENTRY): New macro.
30544 (ENTRY, EALIGN): Use it.
30545 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30546 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30547 fall through into ENTRY entry point.
30548 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30549 Only define if _CALL_ELF != 2.
30550
30551 (elf_machine_matches_host): Verify ABI version matches.
30552 (RTLD_START): Use LOCALENTRY.
30553 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30554 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30555 (PLT_ENTRY_WORDS): New macro.
30556 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30557 (elf_machine_runtime_setup): Support ELFv2 ABI.
30558 (elf_machine_fixup_plt): Likewise.
30559 (elf_machine_plt_conflict): Likewise.
30560 (resolve_ifunc): Likewise.
30561 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30563 Likewise.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30565 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30567 (makecontext): Support ELFv2 ABI.
30568 * elf/elf.h (EF_PPC64_ABI): Define.
30569
30570 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30571
30572 * sysdeps/powerpc/powerpc64/sysdep.h
30573 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30574 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30575 (ENTRY) [ASSEMBLER]: ... but instead here ...
30576 (EALIGN) [ASSEMBLER]: ... and here.
30577 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30578 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30579 (ENTRY_2) [!ASSEMBLER]: Use it.
30580 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30581 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30583 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30584 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30586 Use PPC64_LOAD_FUNCPTR.
30587
30588 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30589
30590 2013-12-04 Alan Modra <amodra@gmail.com>
30591
30592 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30593 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30594 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30595 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30596
30597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30598 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30599 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30600 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30601 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30602 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30603
30604 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30605
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30607 (__makecontext): Fix incorrect CFI when backtracing out of
30608 context created via makecontext.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30610 (__setcontext): Fix incorrect CFI during switch to new context.
30611 (__novec_setcontext): Likewise.
30612
30613 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30614
30615 [BZ #4772]
30616 * time/strptime_l.c (__strptime_internal): Allow modifiers
30617 in strptime.
30618 * time/tst-strptime.c (day_tests): Add testcase.
30619
30620 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30621
30622 * scripts/bench.pl: Skip over blank lines.
30623
30624 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30625
30626 [BZ #926]
30627 * manual/time.texi (Calendar Time): Clarify what timezone functions
30628 use.
30629
30630 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30631
30632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30633
30634 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30635
30636 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30637 implementation.
30638 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30639 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30640 * debug/memset_chk.c (__memset_chk): Likewise.
30641 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30642 * debug/strncpy_chk.c: Likewise.
30643
30644 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #15268]
30647 [BZ #15425]
30648 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30649 (__ieee754_exp): For possibly underflowing results, check size of
30650 result and force underflow exception if required.
30651 * math/auto-libm-test-in: Add more tests of exp.
30652 * math/auto-libm-test-out: Regenerated.
30653 * sysdeps/i386/fpu/libm-test-ulps: Update.
30654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30655
30656 [BZ #16283]
30657 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30658 * math/w_exp2f.c (__exp2f): Likewise.
30659 * math/w_exp2l.c (__exp2l): Likewise.
30660 * math/auto-libm-test-in: Do not allow missing errno on exp2
30661 underflow.
30662 * math/auto-libm-test-out: Regenerated.
30663
30664 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30665
30666 [BZ #16274]
30667 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30668 handle filename validation.
30669 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30670 (do_open): Delete.
30671
30672 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30673
30674 [BZ #6786]
30675 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30676 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30677 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30678 <float.h>.
30679 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30683 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30684 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30685 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30686 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30687 Add more erfc tests.
30688 * math/auto-libm-test-out: Regenerated.
30689 * sysdeps/i386/fpu/libm-test-ulps: Update.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691
30692 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30693 exp2, expm1, j0 and j1.
30694 * math/auto-libm-test-out: Regenerated.
30695 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30696 (erfc_test_data): Likewise.
30697 (exp_test_data): Likewise.
30698 (exp_tonearest_test_data): Likewise.
30699 (exp_towardzero_test_data): Likewise.
30700 (exp_downward_test_data): Likewise.
30701 (exp_upward_test_data): Likewise.
30702 (exp10_test_data): Likewise.
30703 (exp2_test_data): Likewise.
30704 (expm1_test_data): Likewise.
30705 (j0_test_data): Likewise.
30706 (j1_test_data): Likewise.
30707 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30708 (input_flag_type): Add flag_xfail_rounding.
30709 (input_flags): Add xfail-rounding.
30710 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30711 (output_for_one_input_case): Handle flag_xfail_rounding.
30712 * sysdeps/i386/fpu/libm-test-ulps: Update.
30713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30714
30715 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30716
30717 [BZ #16289]
30718 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30719 division by 0.
30720
30721 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30722
30723 [BZ #16195]
30724 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30725 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30726 (STAP_PROBE0): New macro.
30727 (STAP_PROBE1): Likewise.
30728 (STAP_PROBE2): Likewise.
30729 (STAP_PROBE3): Likewise.
30730 (STAP_PROBE4): Likewise.
30731
30732 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30733
30734 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30735
30736 2013-12-02 Steve Ellcey <sellcey@mips.com>
30737
30738 * benchtests/Makefile (bench): Add sqrt.
30739 (LDLIBS-bench-sqrt): New.
30740 * benchtests/sqrt-input: New.
30741
30742 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30743
30744 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30745 (GAIH_EAI): Likewise.
30746 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30747 (gaih_inet): Likewise.
30748 (getaddrinfo): Don't use GAIH_EAI.
30749
30750 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30751 (struct gaih): Remove definition.
30752
30753 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30754
30755 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30756 Use HERRNOP directly.
30757
30758 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30759
30760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30761
30762 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30763
30764 * math/gen-auto-libm-tests.c (test_functions): Add more
30765 single-argument functions.
30766 (special_fill_pi_2): New function.
30767 (special_fill_minus_pi_2): Likewise.
30768 (special_fill_pi_6): Likewise.
30769 (special_fill_minus_pi_6): Likewise.
30770 (special_fill_pi_3): Likewise.
30771 (special_fill_2pi_3): Likewise.
30772 (special_fill_e): Likewise.
30773 (special_fill_1_e): Likewise.
30774 (special_fill_e_minus_1): Likewise.
30775 (special_real_inputs): Add more special inputs.
30776 (output_for_one_input_case): Do not require ERANGE on underflow to
30777 zero if round-to-nearest result does not underflow to zero, unless
30778 exact results required.
30779 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30780 atan, atanh, cbrt, cos and cosh.
30781 * math/auto-libm-test-out: Regenerated.
30782 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30783 (acos_tonearest_test_data): Likewise.
30784 (acos_towardzero_test_data): Likewise.
30785 (acos_downward_test_data): Likewise.
30786 (acos_upward_test_data): Likewise.
30787 (acosh_test_data): Likewise.
30788 (asin_test_data): Likewise.
30789 (asin_tonearest_test_data): Likewise.
30790 (asin_towardzero_test_data): Likewise.
30791 (asin_upward_test_data): Likewise.
30792 (asinh_test_data): Likewise.
30793 (atan_test_data): Likewise.
30794 (atanh_test_data): Likewise.
30795 (cbrt_test_data): Likewise.
30796 (cos_test_data): Likewise.
30797 (cos_tonearest_test_data): Likewise.
30798 (cos_towardzero_test_data): Likewise.
30799 (cos_downward_test_data): Likewise.
30800 (cos_upward_test_data): Likewise.
30801 (cosh_test_data): Likewise.
30802 (cosh_tonearest_test_data): Likewise.
30803 (cosh_towardzero_test_data): Likewise.
30804 (cosh_downward_test_data): Likewise.
30805 (cosh_upward_test_data): Likewise.
30806 * sysdeps/i386/fpu/libm-test-ulps: Update.
30807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30808
30809 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30810
30811 [BZ #6787]
30812 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30813 * math/w_exp10f.c (__exp10f): Likewise.
30814 * math/w_exp10l.c (__exp10l): Likewise.
30815 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30816 errno settings in existing tests.
30817
30818 [BZ #14032]
30819 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30820 precision control set to double precision.
30821 * sysdeps/i386/fpu/w_sqrt.c: New file.
30822 * math/auto-libm-test-in: Add more tests.
30823 * math/auto-libm-test-out: Update.
30824
30825 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30826 (sqrt_test_tonearest): New function.
30827 (sqrt_towardzero_test_data): New variable.
30828 (sqrt_test_towardzero): New function.
30829 (sqrt_downward_test_data): New variable.
30830 (sqrt_test_downward): New function.
30831 (sqrt_upward_test_data): New variable.
30832 (sqrt_test_upward): New function.
30833 (main): Call the new functions.
30834
30835 * math/gen-auto-libm-tests.c: New file.
30836 * math/auto-libm-test-in: Likewise.
30837 * math/auto-libm-test-out: New generated file.
30838 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30839 variables.
30840 (%beautify): Add generated representations of zero.
30841 (top level): Set $auto_input and call parse_auto_input.
30842 (beautify): Remove trailing "f" from hex float constants.
30843 (parse_args): Handle XFAIL_TEST.
30844 (convert_condition): New function.
30845 (or_value): Likewise.
30846 (or_cond_value): Likewise.
30847 (generate_testfile): Handle AUTO_TESTS_* lines.
30848 (parse_auto_input): New function.
30849 * math/libm-test.inc (XFAIL_TEST): New macro.
30850 (ERRNO_UNCHANGED): Update value.
30851 (ERRNO_EDOM): Likewise.
30852 (ERRNO_ERANGE): Likewise.
30853 (IGNORE_RESULT): Likewise.
30854 (TEST_COND_flt_32): New macro.
30855 (TEST_COND_dbl_64): Likewise.
30856 (TEST_COND_ldbl_96_intel): Likewise.
30857 (TEST_COND_ldbl_96_m68k): Likewise.
30858 (TEST_COND_ldbl_128): Likewise.
30859 (TEST_COND_ldbl_128ibm): Likewise.
30860 (TEST_COND_long32): Likewise.
30861 (TEST_COND_long64): Likewise.
30862 (TEST_COND_before_rounding): Likewise.
30863 (TEST_COND_after_rounding): Likewise.
30864 (enable_test): Handle XFAIL_TEST flag.
30865 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30866 with finite results.
30867 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30868 auto-libm-test-out.
30869
30870 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30871 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30872
30873 [BZ #16214]
30874 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30875 __tls_get_addr_internal instead of __tls_get_offset in order to
30876 avoid GOT pointer dependency. Make rtld export
30877 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30878 __tls_get_addr since we are a __tls_get_offset platform.
30879 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30880 GOT pointer being set up before.
30881 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30882
30883 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30884
30885 * manual/math.texi (Errors in Math Functions): Document accuracy
30886 goals.
30887
30888 [BZ #15004]
30889 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30892 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30899 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30905
30906 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30907 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30908 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30909 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30911 Likewise.
30912 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30913 Likewise.
30914 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30915 Likewise.
30916 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30917 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30918 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30919 atomic-feupdateenv and flt-rounds.
30920 * sysdeps/powerpc/nofpu/Versions (libc): Add
30921 __atomic_feholdexcept, __atomic_feclearexcept,
30922 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30923 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30924 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30925 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30926 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30927 here.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30929 Update.
30930
30931 * manual/arith.texi (FP Exceptions): Document that exceptions may
30932 not be raised when matherr is used.
30933 (Math Error Reporting): Document overflow in directed rounding
30934 modes. Document that errno may not be set when finite values are
30935 returned on overflow. Document intent to set errno on underflow
30936 only for underflow to zero.
30937
30938 [BZ #16271]
30939 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30940 round-to-nearest then adjust result for other rounding modes.
30941 * include/fenv.h (fegetround): Use libm_hidden_proto.
30942 * math/fegetround.c (fegetround): Use libm_hidden_def.
30943 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30944 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30945 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30947 Likewise.
30948 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30949 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30950 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30951 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30952
30953 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30954
30955 [BZ #16077]
30956 * nss/Versions (libnss_files): Add
30957 _nss_files_gethostbyname3_r.
30958 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30959 New function.
30960 (HOST_DB_LOOKUP): Remove macro.
30961 (_nss_files_gethostbyname_r): Implement function without the
30962 HOST_DB_LOOKUP macro.
30963 (_nss_files_gethostbyname2_r): Likewise.
30964
30965 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30966
30967 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30968
30969 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30970
30971 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30972 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30973 warning.
30974
30975 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30976
30977 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30978 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30979 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30980 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30981 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30982 __fe_nomask_env_priv and attribute_hidden.
30983 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30984 (libc_feupdateenv_test_ppc): Likewise.
30985 (libc_feresetround_ppc): Likewise.
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30987 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30988 compat_symbol macro.
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30990 (__fe_nomask_env): Likewise.
30991 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30992
30993 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30994
30995 * string/Makefile: Remove ifunc tests.
30996 * string/test-string.h: Define TEST_IFUNC.
30997 * string/test-bcopy-ifunc.c: Remove.
30998 * string/test-bzero-ifunc.c: Likewise.
30999 * string/test-memccpy-ifunc.c: Likewise.
31000 * string/test-memchr-ifunc.c: Likewise.
31001 * string/test-memcmp-ifunc.c: Likewise.
31002 * string/test-memcpy-ifunc.c: Likewise.
31003 * string/test-memmem-ifunc.c: Likewise.
31004 * string/test-memmove-ifunc.c: Likewise.
31005 * string/test-mempcpy-ifunc.c: Likewise.
31006 * string/test-memrchr-ifunc.c: Likewise.
31007 * string/test-memset-ifunc.c: Likewise.
31008 * string/test-rawmemchr-ifunc.c: Likewise.
31009 * string/test-stpcpy-ifunc.c: Likewise.
31010 * string/test-stpncpy-ifunc.c: Likewise.
31011 * string/test-strcasecmp-ifunc.c: Likewise.
31012 * string/test-strcasestr-ifunc.c: Likewise.
31013 * string/test-strcat-ifunc.c: Likewise.
31014 * string/test-strchr-ifunc.c: Likewise.
31015 * string/test-strchrnul-ifunc.c: Likewise.
31016 * string/test-strcmp-ifunc.c: Likewise.
31017 * string/test-strcpy-ifunc.c: Likewise.
31018 * string/test-strcspn-ifunc.c: Likewise.
31019 * string/test-strlen-ifunc.c: Likewise.
31020 * string/test-strncasecmp-ifunc.c: Likewise.
31021 * string/test-strncat-ifunc.c: Likewise.
31022 * string/test-strncmp-ifunc.c: Likewise.
31023 * string/test-strncpy-ifunc.c: Likewise.
31024 * string/test-strnlen-ifunc.c: Likewise.
31025 * string/test-strpbrk-ifunc.c: Likewise.
31026 * string/test-strrchr-ifunc.c: Likewise.
31027 * string/test-strspn-ifunc.c: Likewise.
31028 * string/test-strstr-ifunc.c: Likewise.
31029
31030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31031
31032 * benchtests/Makefile: Remove ifunc tests.
31033 * benchtests/bench-string.h: Define TEST_IFUNC.
31034 * benchtests/bench-bcopy-ifunc.c: Remove.
31035 * benchtests/bench-bzero-ifunc.c: Likewise.
31036 * benchtests/bench-memccpy-ifunc.c: Likewise.
31037 * benchtests/bench-memchr-ifunc.c: Likewise.
31038 * benchtests/bench-memcmp-ifunc.c: Likewise.
31039 * benchtests/bench-memcpy-ifunc.c: Likewise.
31040 * benchtests/bench-memmem-ifunc.c: Likewise.
31041 * benchtests/bench-memmove-ifunc.c: Likewise.
31042 * benchtests/bench-mempcpy-ifunc.c: Likewise.
31043 * benchtests/bench-memrchr-ifunc.c: Likewise.
31044 * benchtests/bench-memset-ifunc.c: Likewise.
31045 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31046 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31047 * benchtests/bench-stpcpy-ifunc.c: Likewise.
31048 * benchtests/bench-stpncpy-ifunc.c: Likewise.
31049 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31050 * benchtests/bench-strcasestr-ifunc.c: Likewise.
31051 * benchtests/bench-strcat-ifunc.c: Likewise.
31052 * benchtests/bench-strchr-ifunc.c: Likewise.
31053 * benchtests/bench-strchrnul-ifunc.c: Likewise.
31054 * benchtests/bench-strcmp-ifunc.c: Likewise.
31055 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31056 * benchtests/bench-strcpy-ifunc.c: Likewise.
31057 * benchtests/bench-strcspn-ifunc.c: Likewise.
31058 * benchtests/bench-strlen-ifunc.c: Likewise.
31059 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31060 * benchtests/bench-strncat-ifunc.c: Likewise.
31061 * benchtests/bench-strncmp-ifunc.c: Likewise.
31062 * benchtests/bench-strncpy-ifunc.c: Likewise.
31063 * benchtests/bench-strnlen-ifunc.c: Likewise.
31064 * benchtests/bench-strpbrk-ifunc.c: Likewise.
31065 * benchtests/bench-strrchr-ifunc.c: Likewise.
31066 * benchtests/bench-strsep-ifunc.c: Likewise.
31067 * benchtests/bench-strspn-ifunc.c: Likewise.
31068 * benchtests/bench-strstr-ifunc.c: Likewise.
31069
31070 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31071
31072 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31073
31074 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31075
31076 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31077 * rt/aio.h: Likewise.
31078 * sysdeps/gnu/bits/utmp.h: Likewise.
31079 * sysdeps/gnu/bits/utmpx.h: Likewise.
31080 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31081 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31082 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31083 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31084 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31085 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31086 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31087 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31088 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31089 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31090 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31091 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31092 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31094 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31095 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31096 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31097 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31098 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31099 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31100 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31102 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31103 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31104 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31106 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31107 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31108 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31109 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31110 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31111 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31112 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31113 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31114 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31115 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31116 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31117 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31118 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31119 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31120 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31121 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31122
31123 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31124
31125 [BZ #16245]
31126 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31127 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31128
31129 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31130
31131 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31132 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31133 Likewise.
31134
31135 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31136
31137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31138 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31139 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31140 (__fesetround): Remove define.
31141 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31142 rounding and exceptions handling.
31143 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31144 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31145 (__fe_nomask_env): Likewise.
31146 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31147 __fegetround instead of fegetround.
31148 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31149 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31150
31151 2013-11-21 Roland McGrath <roland@hack.frob.com>
31152
31153 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31154 it's there.
31155
31156 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31157
31158 2013-11-21 Meador Inge <meadori@codesourcery.com>
31159
31160 [BZ #11157]
31161 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31162 (encrypt_r): Likewise.
31163 * malloc/obstack.h (obstack_free): Likewise.
31164 * posix/unistd.h (encrypt): Likewise.
31165
31166 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31167
31168 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31169 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31170 DL_CALL_DT_FINI() that call the functions directly.
31171 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31172 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31173 * elf/dl-fini.c: Likewise.
31174
31175 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31176
31177 * malloc/hooks.c (memalign_check): Add alignment rounding.
31178 * malloc/malloc.c (_mid_memalign): New function.
31179 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31180 Implement by calling _mid_memalign.
31181 * manual/probes.texi (Memory Allocation Probes): Remove
31182 memory_valloc_retry and memory_pvalloc_retry.
31183
31184 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31185
31186 * locale/programs/locarchive.c (open_archive): Add const
31187 qualifier to ARCHIVEFNAME and copy default fname to
31188 DEFAULT_FNAME.
31189
31190 [BZ #15601]
31191 * libio/tst-widetext.input: Rename Oriya to Odia.
31192 * locale/iso-639.def: Likewise.
31193
31194 * manual/probes.texi (Mathematical Function Probes): Add
31195 documentation for sin, cos, asin and acos probes.
31196 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31197 (__sin32): Add slowasin probe.
31198 (__cos32): Add slowacos probe.
31199 (__mpsin): Add slowsin probe.
31200 (__mpcos): Add slowcos probe.
31201
31202 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31203
31204 [BZ #15483]
31205 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31206 thread-local __sim_exceptions_thread and global
31207 __sim_exceptions_global.
31208 (__sim_disabled_exceptions): Change to thread-local
31209 __sim_disabled_exceptions_thread and global
31210 __sim_disabled_exceptions_global.
31211 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31212 and global __sim_round_mode_global.
31213 (__simulate_exceptions): Use thread-local floating-point state and
31214 set global state from it as needed.
31215 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31216 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31217 __sim_round_mode_thread.
31218 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31219 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31220 and global __sim_exceptions_global.
31221 (__sim_disabled_exceptions): Change to thread-local
31222 __sim_disabled_exceptions_thread and global
31223 __sim_disabled_exceptions_global.
31224 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31225 and global __sim_round_mode_global.
31226 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31227 (SIM_SET_GLOBAL): Likewise.
31228 * sysdeps/powerpc/soft-fp/sfp-machine.h
31229 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31230 __sim_round_mode_thread.
31231 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31232 __sim_disabled_exceptions_thread.
31233 (__sim_exceptions): Change to __sim_exceptions_thread.
31234 (__sim_disabled_exceptions): Change to
31235 __sim_disabled_exceptions_thread.
31236 (__sim_round_mode): Change to __sim_round_mode_thread.
31237 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31238 thread-local floating-point state and set global state from it as
31239 needed.
31240 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31241 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31242 (__sim_disabled_exceptions): Remove extern declaration.
31243 (feenableexcept): Use thread-local floating-point state and set
31244 global state from it as needed.
31245 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31246 extern declaration.
31247 (__sim_disabled_exceptions): Likewise.
31248 (__sim_round_mode): Likewise.
31249 (__fegetenv): Use thread-local floating-point state.
31250 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31251 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31252 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31253 floating-point state and set global state from it as needed.
31254 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31255 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31256 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31257 Likewise.
31258 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31259 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31260 Likewise.
31261 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31262 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31263 Use __sim_round_mode_thread.
31264 * math/test-fenv-tls.c: New file.
31265 * math/Makefile (tests): Add test-fenv-tls.
31266 ($(objpfx)test-fenv-tls): Depend on
31267 $(common-objpfx)nptl/libpthread.so.
31268
31269 2013-11-19 Andreas Schwab <schwab@suse.de>
31270
31271 * locale/programs/locale.c (show_info): Decode wordarray elements.
31272 * locale/categories.def (LC_MONETARY): Add element for
31273 _NL_MONETARY_CRNCYSTR.
31274 * locale/C-monetary.c (conversion_rate): New variable.
31275 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31276 element.
31277
31278 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31279
31280 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31281 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31282
31283 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31284
31285 * elf/Makefile (tst-auxv): New test.
31286 * elf/tst-auxv.c: New
31287 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31288
31289 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31290
31291 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31292 (hidden_proto): Caller changed.
31293 (hidden_tls_proto): New macro.
31294 (libc_hidden_tls_proto): Likewise.
31295 (rtld_hidden_tls_proto): Likewise.
31296 (libm_hidden_tls_proto): Likewise.
31297 (libresolv_hidden_tls_proto): Likewise.
31298 (librt_hidden_tls_proto): Likewise.
31299 (libdl_hidden_tls_proto): Likewise.
31300 (libnss_files_hidden_tls_proto): Likewise.
31301 (libnsl_hidden_tls_proto): Likewise.
31302 (libnss_nisplus_hidden_tls_proto): Likewise.
31303 (libutil_hidden_tls_proto): Likewise.
31304
31305 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31306
31307 [BZ #10253]
31308 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31309 (decompose_rpath): Defer expansion to fillin_rpath.
31310 (_dl_init_paths): Pass linkmap to fillin_rpath.
31311
31312 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31313
31314 * benchtests/Makefile: Add strsep.
31315 * benchtests/bench-strsep.c: New file: strsep benchtest.
31316 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31317
31318 2013-11-18 Andreas Schwab <schwab@suse.de>
31319
31320 * locale/programs/locale.c (show_info) [case byte]: Check for
31321 '\377' instead of '\177'.
31322 * locale/C-monetary.c (not_available): Always use "\377".
31323 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31324 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31325 detect unavailable sign_posn locale elements.
31326 * locale/localeconv.c (__localeconv): For grouping and
31327 mon_grouping handle "\177" and "\377" like no grouping.
31328 (INT_ELEM): New macro. Use it to set all numeric members.
31329 * locale/programs/ld-monetary.c (monetary_read)
31330 <tok_mon_grouping>: Normalize single -1 to the empty string.
31331 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31332 Likewise.
31333
31334 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31335
31336 [BZ #16055]
31337 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31338 when we match (nil).
31339 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31340
31341 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31342
31343 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31344 (NO_TEST_INLINE): Update value.
31345 (ERRNO_UNCHANGED): Likewise.
31346 (ERRNO_EDOM): Likewise.
31347 (ERRNO_ERANGE): Likewise.
31348 (IGNORE_RESULT): Likewise.
31349 (check_float_internal): Check signs of NaN results if
31350 TEST_NAN_SIGN used.
31351 (check_complex): Pass TEST_NAN_SIGN flag through to second
31352 check_float_internal call.
31353 (copysign_test_data): Add tests with quiet NaNs as second
31354 argument. Use TEST_NAN_SIGN.
31355 (fabs_test_data): Add test of negative quiet NaN argument. Use
31356 TEST_NAN_SIGN.
31357 (signbit_test_data): Add tests of quiet NaN argument.
31358 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31359
31360 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31361 $ignore_result.
31362 (parse_args): Handle function results specified as IGNORE.
31363 * math/libm-test.inc (IGNORE_RESULT): New macro.
31364 (check_float_internal): Do not check numerical result if flag
31365 IGNORE_RESULT set.
31366 (check_complex): Pass through IGNORE_RESULT to second
31367 check_float_internal call.
31368 (check_int): Do not check numerical result if flag IGNORE_RESULT
31369 set.
31370 (check_long): Likewise.
31371 (check_bool): Likewise.
31372 (check_longlong): Likewise.
31373 (lrint_test_data): Add tests of infinite and NaN arguments.
31374 (lrint_tonearest_test_data): Likewise.
31375 (lrint_towardzero_test_data): Likewise.
31376 (lrint_downward_test_data): Likewise.
31377 (lrint_upward_test_data): Likewise.
31378 (llrint_test_data): Likewise.
31379 (llrint_tonearest_test_data): Likewise.
31380 (llrint_towardzero_test_data): Likewise.
31381 (llrint_downward_test_data): Likewise.
31382 (llrint_upward_test_data): Likewise.
31383 (lround_test_data): Likewise.
31384 (llround_test_data): Likewise.
31385
31386 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31387 (ERRNO_UNCHANGED): Update value.
31388 (ERRNO_EDOM): Likewise.
31389 (ERRNO_ERANGE): Likewise.
31390 (NO_TEST_INLINE_FLOAT): New macro.
31391 (NO_TEST_INLINE_DOUBLE): Likewise.
31392 (enable_test): New function.
31393 (RUN_TEST_f_f): Check enable_test before running test.
31394 (RUN_TEST_2_f): Likewise.
31395 (RUN_TEST_fff_f): Likewise.
31396 (RUN_TEST_c_f): Likewise.
31397 (RUN_TEST_f_f1): Likewise.
31398 (RUN_TEST_fF_f1): Likewise.
31399 (RUN_TEST_fI_f1): Likewise.
31400 (RUN_TEST_ffI_f1): Likewise.
31401 (RUN_TEST_c_c): Likewise.
31402 (RUN_TEST_cc_c): Likewise.
31403 (RUN_TEST_f_i): Likewise.
31404 (RUN_TEST_f_i_tg): Likewise.
31405 (RUN_TEST_ff_i_tg): Likewise.
31406 (RUN_TEST_f_b): Likewise.
31407 (RUN_TEST_f_b_tg): Likewise.
31408 (RUN_TEST_f_l): Likewise.
31409 (RUN_TEST_f_L): Likewise.
31410 (RUN_TEST_fFF_11): Likewise.
31411 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31412 conditionals.
31413 (cosh_test_data): Likewise.
31414 (exp_test_data): Likewise.
31415 (expm1_test_data): Likewise.
31416 (hypot_test_data): Likewise.
31417 (pow_test_data): Likewise.
31418 (sinh_test_data): Likewise.
31419 (tanh_test_data): Likewise.
31420 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31421 flags argument.
31422
31423 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31424 tests with quiet NaN input and output.
31425 (acosh_test_data): Likewise.
31426 (asin_test_data): Likewise.
31427 (asinh_test_data): Likewise.
31428 (atan_test_data): Likewise.
31429 (atanh_test_data): Likewise.
31430 (atan2_test_data): Likewise.
31431 (cbrt_test_data): Likewise.
31432 (cos_test_data): Likewise.
31433 (cosh_test_data): Likewise.
31434 (erf_test_data): Likewise.
31435 (erfc_test_data): Likewise.
31436 (exp_test_data): Likewise.
31437 (exp10_test_data): Likewise.
31438 (exp2_test_data): Likewise.
31439 (expm1_test_data): Likewise.
31440 (hypot_test_data): Likewise.
31441 (j0_test_data): Likewise.
31442 (j1_test_data): Likewise.
31443 (jn_test_data): Likewise.
31444 (lgamma_test_data): Likewise.
31445 (log_test_data): Likewise.
31446 (log10_test_data): Likewise.
31447 (log1p_test_data): Likewise.
31448 (log2_test_data): Likewise.
31449 (pow_test_data): Likewise.
31450 (scalb_test_data): Likewise.
31451 (sin_test_data): Likewise.
31452 (sincos_test_data): Likewise.
31453 (sinh_test_data): Likewise.
31454 (tan_test_data): Likewise.
31455 (tanh_test_data): Likewise.
31456 (tgamma_test_data): Likewise.
31457 (y0_test_data): Likewise.
31458 (y1_test_data): Likewise.
31459 (yn_test_data): Likewise.
31460
31461 [BZ #16167]
31462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31463 argument being NaN and avoid computations with second argument in
31464 that case.
31465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31466 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31467 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31468
31469 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31470
31471 * locale/iso-639.def: Add Chitwani Tharu (the).
31472
31473 2013-11-14 Andreas Schwab <schwab@suse.de>
31474
31475 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31476 word instead of empty string.
31477
31478 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31479
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31481 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31483 (__fe_nomask_env): Likewise.
31484
31485 2013-11-13 Steve Ellcey <sellcey@mips.com>
31486
31487 * benchtests/bench-timing.h: Include time.h.
31488
31489 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31490
31491 [BZ #15997]
31492 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31493 to 3.4.0 for x32.
31494 * sysdeps/unix/sysv/linux/configure: Regenerated.
31495
31496 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31497
31498 [BZ #16151]
31499 * stdlib/strtod_l.c (round_and_return): Do not consider
31500 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31501 exponent one less than half the least subnormal exponent.
31502 * stdlib/test-strtod-round-data: Add more tests.
31503 * stdlib/tst-strtod-round.c (tests): Regenerated.
31504
31505 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31506
31507 [BZ #14143]
31508 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31509 (__fe_mask_env): Likewise.
31510 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31511 libm_hidden_proto and add function prototype.
31512 (__fe_mask_env): Add function prototype.
31513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31514 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31516 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31518 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31519
31520 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31521
31522 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31523 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31524
31525 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31526
31527 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31528 of htab_find_slot().
31529
31530 2013-11-11 David S. Miller <davem@davemloft.net>
31531
31532 [BZ #16150]
31533 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31534 symbol in the non-vis3 case in static builds.
31535 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31536 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31537 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31538 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31539
31540 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31541
31542 [BZ #387]
31543 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31544 it is empty.
31545
31546 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31547
31548 * benchtests/Makefile: Add bench-strtod.
31549 * benchtests/bench-strtod.c: New file: strtod benchtest
31550
31551 2013-11-11 Andreas Schwab <schwab@suse.de>
31552
31553 [BZ #16153]
31554 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31555 terminating NUL in key length.
31556
31557 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31558
31559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31560 Add artificial ODP entry for vDSO symbol for PPC64.
31561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31562 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31563
31564 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31565
31566 [BZ #15374]
31567 * nss/getent.c (services_keys): Recognize services starting with digit.
31568
31569 2013-11-06 David S. Miller <davem@davemloft.net>
31570
31571 [BZ #15985]
31572 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31573 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31574
31575 2013-11-06 Will Newton <will.newton@linaro.org>
31576
31577 * manual/memory.texi (Malloc Examples): Remove register
31578 keyword from examples.
31579
31580 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31581
31582 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31583
31584 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31585
31586 [BZ #6981]
31587 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31588 depending on [__GCC_IEC_559 > 0].
31589 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31590 depending on [__GCC_IEC_559_COMPLEX > 0].
31591
31592 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31593
31594 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31595 to iso-639.def.
31596
31597 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31598
31599 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31600
31601 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31602
31603 [BZ #16112]
31604 * malloc/malloc (malloc_info): Do not handle first bin as
31605 special case.
31606
31607 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31608
31609 * locale/iso-639.def: Add Central Nahuatl (nhn).
31610
31611 2013-11-01 Bruno Haible <bruno@clisp.org>
31612
31613 [BZ #7003]
31614 * manual/math.texi (BSD Random): Specify range upper bound as
31615 in POSIX.
31616
31617 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31618
31619 * locale/iso-639.def: Add Meadow Mari (mhr).
31620
31621 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31622
31623 [BZ #14752], [BZ #15763]
31624 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31625 Validate name.
31626 * rt/tst_shm.c: Add test for escaping directory.
31627
31628 2013-10-31 Andreas Schwab <schwab@suse.de>
31629
31630 [BZ #15917]
31631 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31632 followed by 'x' as part of digit sequence.
31633 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31634
31635 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31636
31637 [BZ #16037]
31638 * configure.ac: allow GNU Make 4.0 and greater.
31639 * configure: Regenerated.
31640
31641 2013-10-30 Will Newton <will.newton@linaro.org>
31642
31643 [BZ #16038]
31644 * malloc/hooks.c (memalign_check): Limit alignment to the
31645 maximum representable power of two.
31646 * malloc/malloc.c (__libc_memalign): Likewise.
31647 * malloc/tst-memalign.c (do_test): Add test for very
31648 large alignment values.
31649 * malloc/tst-posix_memalign.c (do_test): Likewise.
31650
31651 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31652
31653 [BZ #11087]
31654 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31655 (munmap_chunk): Likewise.
31656 (mremap_chunk): Likewise.
31657
31658 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31659
31660 [BZ #15799]
31661 * stdlib/div.c (div): Remove obsolete code.
31662 * stdlib/ldiv.c (ldiv): Likewise.
31663 * stdlib/lldiv.c (lldiv): Likewise.
31664
31665 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31666
31667 [BZ #16071]
31668 * nss/nss_files/files-XXX.c (get_contents_ret): New
31669 enumerator.
31670 (get_contents): New function.
31671 (internal_getent): Use it. Expand size of LINEBUFLEN.
31672
31673 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31674
31675 * configure.in: Moved to ...
31676 * configure.ac: ... here. Change reference to configure.in
31677 to configure.ac.
31678 * sysdeps/arm/preconfigure.ac: ... here.
31679 configure.in to configure.ac.
31680 * sysdeps/gnu/configure.in: Moved to ...
31681 * sysdeps/gnu/configure.ac: ... here.
31682 * sysdeps/i386/configure.in: Moved to ...
31683 * sysdeps/i386/configure.ac: ... here.
31684 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31685 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31686 * sysdeps/mach/configure.in: Moved to ...
31687 * sysdeps/mach/configure.ac: ... here.
31688 * sysdeps/mach/hurd/configure.in: Moved to ...
31689 * sysdeps/mach/hurd/configure.ac: ... here.
31690 * sysdeps/powerpc/configure.in: Moved to ...
31691 * sysdeps/powerpc/configure.ac: ... here.
31692 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31693 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31694 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31695 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31696 * sysdeps/s390/s390-32/configure.in: Moved to ...
31697 * sysdeps/s390/s390-32/configure.ac: ... here.
31698 * sysdeps/s390/s390-64/configure.in: Moved to ...
31699 * sysdeps/s390/s390-64/configure.ac: ... here.
31700 * sysdeps/sh/configure.in: Moved to ...
31701 * sysdeps/sh/configure.ac: ... here.
31702 * sysdeps/sparc/configure.in: Moved to ...
31703 * sysdeps/sparc/configure.ac: ... here.
31704 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31705 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31706 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31707 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31708 * sysdeps/x86_64/configure.in: Moved to ...
31709 * sysdeps/x86_64/configure.ac: ... here.
31710 * sysdeps/x86_64/preconfigure.in: Moved to ...
31711 * sysdeps/x86_64/preconfigure.ac: ... here.
31712 * aclocal.m4: Change reference to configure.in to configure.ac.
31713 * config.h.in: Likewise.
31714 * manual/install.texi: Likewise.
31715 * manual/maint.texi: Likewise.
31716 * Makefile: Likewise.
31717 * malloc/Makefile: Likewise.
31718 * nscd/Makefile: Likewise.
31719 * Makeconfig: Change reference to configure.in and
31720 preconfigure.in to configure.ac and preconfigure.ac
31721 respectively.
31722 * INSTALL: Regenerated.
31723 * configure: Likewise.
31724 * sysdeps/gnu/configure: Likewise.
31725 * sysdeps/i386/configure: Likewise.
31726 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31727 * sysdeps/mach/configure: Likewise.
31728 * sysdeps/mach/hurd/configure: Likewise.
31729 * sysdeps/powerpc/configure: Likewise.
31730 * sysdeps/powerpc/powerpc32/configure: Likewise.
31731 * sysdeps/powerpc/powerpc64/configure: Likewise.
31732 * sysdeps/s390/s390-32/configure: Likewise.
31733 * sysdeps/s390/s390-64/configure: Likewise.
31734 * sysdeps/sh/configure: Likewise.
31735 * sysdeps/sparc/configure: Likewise.
31736 * sysdeps/unix/sysv/linux/configure: Likewise.
31737 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31738 * sysdeps/x86_64/configure: Likewise.
31739 * sysdeps/x86_64/preconfigure: Likewise.
31740
31741 2013-10-29 Andreas Schwab <schwab@suse.de>
31742
31743 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31744
31745 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31746
31747 * benchtests/pow-inputs: Add new inputs.
31748
31749 * benchtests/exp-inputs: Add new inputs.
31750
31751 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31752 conditional check for return value.
31753 (__cos32): Likewise.
31754
31755 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31756
31757 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31758 to provide a boost for large inputs with word alignment.
31759 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31760 implementation based on optimized PPC64 strcpy.
31761 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31762 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31763 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31764 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31765
31766 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31767
31768 [BZ #2801]
31769 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31770
31771 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31772
31773 [BZ #14876]
31774 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31775 * time/tst-strptime.c (day_tests): Add testcase.
31776
31777 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31778
31779 [BZ #14029]
31780 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31781
31782 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31783
31784 [BZ #16074]
31785 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31786 MAP_FAILED on error.
31787
31788 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31789
31790 [BZ #16072]
31791 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31792 heap for large requests.
31793
31794 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31795
31796 [BZ #9954]
31797 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31798 result if the result has no associated interface.
31799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31800 interface for all 127.X.Y.Z addresses.
31801
31802 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31803
31804 * locale/iso-639.def: Add Ligurian (lij)
31805
31806 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31807
31808 [BZ #15825]
31809 * sunrpc/rpc_main.c: Document rpcgen -5.
31810
31811 2013-10-19 Michael Stahl <mstahl@redhat.com>
31812
31813 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31814
31815 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31816
31817 [BZ #10278]
31818 * posix/glob.c: Match only directories when trailing slash is present.
31819 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31820 (main): Add testcase.
31821
31822 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31823
31824 [BZ #15670]
31825 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31826
31827 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31828
31829 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31830 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31831 AUTH_DES and cindex for FIPS 140-2.
31832 (DES Encryption): Add cindex FIPS 46-3.
31833
31834 * locale/locarchive.h (struct locarhandle): Add fname.
31835 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31836 if an optional argument was specified to --list-archive,
31837 otherwise NULL.
31838 * locale/programs/locarchive.c (show_archive_content): Take new
31839 argument fname and pass it via ah.fname to open_archive.
31840 * locale/programs/localedef.h: Update decl.
31841 (open_archive): If AH->fname is non-null, open that file
31842 rather than the default file name, and don't ignore ENOENT.
31843 (create_archive): Set AH.fname to NULL.
31844 (delete_locales_from_archive): Likewise.
31845 (add_locales_to_archive): Likewise.
31846 * locale/programs/locfile.c (write_all_categories): Likewise.
31847
31848 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31849 Aldy Hernandez <aldyh@redhat.com>
31850
31851 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31852 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31853 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31854 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31855 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31857 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31858 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31859 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31861 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31862 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31863 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31864 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31866 Likewise.
31867 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31868 Likewise.
31869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31870 Likewise.
31871 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31872 Likewise.
31873 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31875 Likewise.
31876 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31877 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31878 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31879 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31880 Likewise.
31881 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31882 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31883 * sysdeps/powerpc/preconfigure: Likewise.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31885 Likewise.
31886 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31887 Replace contents of file by #include of <fenv_libc.h>.
31888 * sysdeps/powerpc/soft-fp/sfp-machine.h
31889 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31890 and <sys/prctl.h>.
31891 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31904 Allow copysignl PLT reference to be missing.
31905
31906 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31907 Joseph Myers <joseph@codesourcery.com
31908
31909 [BZ #15948]
31910 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31911 single character.
31912 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31913
31914 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31915
31916 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31917 * elf/tst-tls1.c: Likewise.
31918 * elf/tst-tls10.h: Likewise.
31919 * elf/tst-tls14.c: Likewise.
31920 * elf/tst-tls2.c: Likewise.
31921 * elf/tst-tls3.c: Likewise.
31922 * elf/tst-tls4.c: Likewise.
31923 * elf/tst-tls5.c: Likewise.
31924 * elf/tst-tls6.c: Likewise.
31925 * elf/tst-tls7.c: Likewise.
31926 * elf/tst-tls8.c: Likewise.
31927 * elf/tst-tls9.c: Likewise.
31928 * elf/tst-tlsmod1.c: Likewise.
31929 * elf/tst-tlsmod13.c: Likewise.
31930 * elf/tst-tlsmod13a.c: Likewise.
31931 * elf/tst-tlsmod14a.c: Likewise.
31932 * elf/tst-tlsmod16a.c: Likewise.
31933 * elf/tst-tlsmod16b.c: Likewise.
31934 * elf/tst-tlsmod2.c: Likewise.
31935 * elf/tst-tlsmod3.c: Likewise.
31936 * elf/tst-tlsmod4.c: Likewise.
31937 * elf/tst-tlsmod5.c: Likewise.
31938 * elf/tst-tlsmod6.c: Likewise.
31939
31940 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31941
31942 [BZ #12486]
31943 * malloc/malloc.c: remove checks for statistics.
31944
31945 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31946
31947 [BZ #15277]
31948 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31949 * inet/tst-network.c: Add testcase.
31950
31951 2013-10-17 Andreas Schwab <schwab@suse.de>
31952
31953 [BZ #15218]
31954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31955 to determine canonical name.
31956
31957 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31958
31959 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31960 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31962 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31983 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31984 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31989 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32007 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32009 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32010 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32017
32018 2013-10-17 Joseph Myers <joseph@codesourcery.com>
32019
32020 [BZ #16041]
32021 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32022 make result into a quiet NaN.
32023
32024 2013-10-16 Joseph Myers <joseph@codesourcery.com>
32025
32026 * soft-fp/adddf3.c: Fix horizontal whitespace.
32027 * soft-fp/addsf3.c: Likewise.
32028 * soft-fp/addtf3.c: Likewise.
32029 * soft-fp/divdf3.c: Likewise.
32030 * soft-fp/divsf3.c: Likewise.
32031 * soft-fp/divtf3.c: Likewise.
32032 * soft-fp/double.h: Likewise.
32033 * soft-fp/eqdf2.c: Likewise.
32034 * soft-fp/eqsf2.c: Likewise.
32035 * soft-fp/eqtf2.c: Likewise.
32036 * soft-fp/extenddftf2.c: Likewise.
32037 * soft-fp/extended.h: Likewise.
32038 * soft-fp/extendsfdf2.c: Likewise.
32039 * soft-fp/extendsftf2.c: Likewise.
32040 * soft-fp/extendxftf2.c: Likewise.
32041 * soft-fp/fixdfdi.c: Likewise.
32042 * soft-fp/fixdfsi.c: Likewise.
32043 * soft-fp/fixdfti.c: Likewise.
32044 * soft-fp/fixsfdi.c: Likewise.
32045 * soft-fp/fixsfsi.c: Likewise.
32046 * soft-fp/fixsfti.c: Likewise.
32047 * soft-fp/fixtfdi.c: Likewise.
32048 * soft-fp/fixtfsi.c: Likewise.
32049 * soft-fp/fixtfti.c: Likewise.
32050 * soft-fp/fixunsdfdi.c: Likewise.
32051 * soft-fp/fixunsdfsi.c: Likewise.
32052 * soft-fp/fixunsdfti.c: Likewise.
32053 * soft-fp/fixunssfdi.c: Likewise.
32054 * soft-fp/fixunssfsi.c: Likewise.
32055 * soft-fp/fixunssfti.c: Likewise.
32056 * soft-fp/fixunstfdi.c: Likewise.
32057 * soft-fp/fixunstfsi.c: Likewise.
32058 * soft-fp/fixunstfti.c: Likewise.
32059 * soft-fp/floatdidf.c: Likewise.
32060 * soft-fp/floatdisf.c: Likewise.
32061 * soft-fp/floatditf.c: Likewise.
32062 * soft-fp/floatsidf.c: Likewise.
32063 * soft-fp/floatsisf.c: Likewise.
32064 * soft-fp/floatsitf.c: Likewise.
32065 * soft-fp/floattidf.c: Likewise.
32066 * soft-fp/floattisf.c: Likewise.
32067 * soft-fp/floattitf.c: Likewise.
32068 * soft-fp/floatundidf.c: Likewise.
32069 * soft-fp/floatundisf.c: Likewise.
32070 * soft-fp/floatunditf.c: Likewise.
32071 * soft-fp/floatunsidf.c: Likewise.
32072 * soft-fp/floatunsisf.c: Likewise.
32073 * soft-fp/floatunsitf.c: Likewise.
32074 * soft-fp/floatuntidf.c: Likewise.
32075 * soft-fp/floatuntisf.c: Likewise.
32076 * soft-fp/floatuntitf.c: Likewise.
32077 * soft-fp/fmadf4.c: Likewise.
32078 * soft-fp/fmasf4.c: Likewise.
32079 * soft-fp/fmatf4.c: Likewise.
32080 * soft-fp/gedf2.c: Likewise.
32081 * soft-fp/gesf2.c: Likewise.
32082 * soft-fp/getf2.c: Likewise.
32083 * soft-fp/ledf2.c: Likewise.
32084 * soft-fp/lesf2.c: Likewise.
32085 * soft-fp/letf2.c: Likewise.
32086 * soft-fp/muldf3.c: Likewise.
32087 * soft-fp/mulsf3.c: Likewise.
32088 * soft-fp/multf3.c: Likewise.
32089 * soft-fp/negdf2.c: Likewise.
32090 * soft-fp/negsf2.c: Likewise.
32091 * soft-fp/negtf2.c: Likewise.
32092 * soft-fp/op-1.h: Likewise.
32093 * soft-fp/op-2.h: Likewise.
32094 * soft-fp/op-4.h: Likewise.
32095 * soft-fp/op-8.h: Likewise.
32096 * soft-fp/op-common.h: Likewise.
32097 * soft-fp/quad.h: Likewise.
32098 * soft-fp/single.h: Likewise.
32099 * soft-fp/soft-fp.h: Likewise.
32100 * soft-fp/sqrtdf2.c: Likewise.
32101 * soft-fp/sqrtsf2.c: Likewise.
32102 * soft-fp/sqrttf2.c: Likewise.
32103 * soft-fp/subdf3.c: Likewise.
32104 * soft-fp/subsf3.c: Likewise.
32105 * soft-fp/subtf3.c: Likewise.
32106 * soft-fp/truncdfsf2.c: Likewise.
32107 * soft-fp/trunctfdf2.c: Likewise.
32108 * soft-fp/trunctfsf2.c: Likewise.
32109 * soft-fp/trunctfxf2.c: Likewise.
32110 * soft-fp/unorddf2.c: Likewise.
32111 * soft-fp/unordsf2.c: Likewise.
32112 * soft-fp/unordtf2.c: Likewise.
32113
32114 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32115
32116 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32117 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32118
32119 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32120
32121 * elf/dl-libc.c: Clear initfini list after freeing.
32122
32123 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32124
32125 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32126 * soft-fp/addsf3.c: Likewise.
32127 * soft-fp/addtf3.c: Likewise.
32128 * soft-fp/divdf3.c: Likewise.
32129 * soft-fp/divsf3.c: Likewise.
32130 * soft-fp/divtf3.c: Likewise.
32131 * soft-fp/double.h: Likewise.
32132 * soft-fp/eqdf2.c: Likewise.
32133 * soft-fp/eqsf2.c: Likewise.
32134 * soft-fp/eqtf2.c: Likewise.
32135 * soft-fp/extenddftf2.c: Likewise.
32136 * soft-fp/extended.h: Likewise.
32137 * soft-fp/extendsfdf2.c: Likewise.
32138 * soft-fp/extendsftf2.c: Likewise.
32139 * soft-fp/extendxftf2.c: Likewise.
32140 * soft-fp/fixdfdi.c: Likewise.
32141 * soft-fp/fixdfsi.c: Likewise.
32142 * soft-fp/fixdfti.c: Likewise.
32143 * soft-fp/fixsfdi.c: Likewise.
32144 * soft-fp/fixsfsi.c: Likewise.
32145 * soft-fp/fixsfti.c: Likewise.
32146 * soft-fp/fixtfdi.c: Likewise.
32147 * soft-fp/fixtfsi.c: Likewise.
32148 * soft-fp/fixtfti.c: Likewise.
32149 * soft-fp/fixunsdfdi.c: Likewise.
32150 * soft-fp/fixunsdfsi.c: Likewise.
32151 * soft-fp/fixunsdfti.c: Likewise.
32152 * soft-fp/fixunssfdi.c: Likewise.
32153 * soft-fp/fixunssfsi.c: Likewise.
32154 * soft-fp/fixunssfti.c: Likewise.
32155 * soft-fp/fixunstfdi.c: Likewise.
32156 * soft-fp/fixunstfsi.c: Likewise.
32157 * soft-fp/fixunstfti.c: Likewise.
32158 * soft-fp/floatdidf.c: Likewise.
32159 * soft-fp/floatdisf.c: Likewise.
32160 * soft-fp/floatditf.c: Likewise.
32161 * soft-fp/floatsidf.c: Likewise.
32162 * soft-fp/floatsisf.c: Likewise.
32163 * soft-fp/floatsitf.c: Likewise.
32164 * soft-fp/floattidf.c: Likewise.
32165 * soft-fp/floattisf.c: Likewise.
32166 * soft-fp/floattitf.c: Likewise.
32167 * soft-fp/floatundidf.c: Likewise.
32168 * soft-fp/floatundisf.c: Likewise.
32169 * soft-fp/floatunsidf.c: Likewise.
32170 * soft-fp/floatunsisf.c: Likewise.
32171 * soft-fp/floatuntidf.c: Likewise.
32172 * soft-fp/floatuntisf.c: Likewise.
32173 * soft-fp/floatuntitf.c: Likewise.
32174 * soft-fp/fmadf4.c: Likewise.
32175 * soft-fp/fmasf4.c: Likewise.
32176 * soft-fp/fmatf4.c: Likewise.
32177 * soft-fp/gedf2.c: Likewise.
32178 * soft-fp/gesf2.c: Likewise.
32179 * soft-fp/getf2.c: Likewise.
32180 * soft-fp/ledf2.c: Likewise.
32181 * soft-fp/lesf2.c: Likewise.
32182 * soft-fp/letf2.c: Likewise.
32183 * soft-fp/muldf3.c: Likewise.
32184 * soft-fp/mulsf3.c: Likewise.
32185 * soft-fp/multf3.c: Likewise.
32186 * soft-fp/negdf2.c: Likewise.
32187 * soft-fp/negsf2.c: Likewise.
32188 * soft-fp/negtf2.c: Likewise.
32189 * soft-fp/op-1.h: Likewise.
32190 * soft-fp/op-2.h: Likewise.
32191 * soft-fp/op-4.h: Likewise.
32192 * soft-fp/op-8.h: Likewise.
32193 * soft-fp/op-common.h: Likewise.
32194 * soft-fp/quad.h: Likewise.
32195 * soft-fp/single.h: Likewise.
32196 * soft-fp/soft-fp.h: Likewise.
32197 * soft-fp/sqrtdf2.c: Likewise.
32198 * soft-fp/sqrtsf2.c: Likewise.
32199 * soft-fp/sqrttf2.c: Likewise.
32200 * soft-fp/subdf3.c: Likewise.
32201 * soft-fp/subsf3.c: Likewise.
32202 * soft-fp/subtf3.c: Likewise.
32203 * soft-fp/truncdfsf2.c: Likewise.
32204 * soft-fp/trunctfdf2.c: Likewise.
32205 * soft-fp/trunctfsf2.c: Likewise.
32206 * soft-fp/trunctfxf2.c: Likewise.
32207 * soft-fp/unorddf2.c: Likewise.
32208 * soft-fp/unordsf2.c: Likewise.
32209 * soft-fp/unordtf2.c: Likewise.
32210
32211 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32212
32213 [BZ #15672]
32214 * misc/error.c (error_tail): Fix possible buffer overflow.
32215
32216 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32217
32218 [BZ #13028]
32219 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32220 address.
32221
32222 2013-10-14 P. J. McDermott <pj@pehjota.net>
32223
32224 [BZ #832]
32225 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32226 testing pipefail option.
32227
32228 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32229
32230 * soft-fp/double.h: Indent preprocessor directives inside #if.
32231 * soft-fp/extended.h: Likewise.
32232 * soft-fp/op-2.h: Likewise.
32233 * soft-fp/op-4.h: Likewise.
32234 * soft-fp/op-common.h: Likewise.
32235 * soft-fp/quad.h: Likewise.
32236 * soft-fp/single.h: Likewise.
32237 * soft-fp/soft-fp.h: Likewise.
32238
32239 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32240
32241 * iconv/iconv_prog.c: Fix typos.
32242 * stdio-common/psiginfo-data.h: Likewise.
32243
32244 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32245
32246 [BZ #15764]
32247 * locale/setlocale.c: Fix typo.
32248
32249 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32250
32251 [BZ #16036]
32252 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32253 signaling NaN arguments.
32254 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32255 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32256
32257 [BZ #14910]
32258 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32259 unordered operands.
32260 * soft-fp/gesf2.c (__gesf2): Likewise.
32261 * soft-fp/getf2.c (__getf2): Likewise.
32262 * soft-fp/ledf2.c (__ledf2): Likewise.
32263 * soft-fp/lesf2.c (__lesf2): Likewise.
32264 * soft-fp/letf2.c (__letf2): Likewise.
32265
32266 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32267 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32268 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32269 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32270 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32271 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32272 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32273 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32274 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32275 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32276 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32277 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32278 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32279 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32280 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32281 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32282 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32283 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32284 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32285 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32286 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32287 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32288 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32289 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32290 * soft-fp/floattidf.c (__floattidf): Likewise.
32291 * soft-fp/floattisf.c (__floattisf): Likewise.
32292 * soft-fp/floattitf.c (__floattitf): Likewise.
32293 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32294 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32295 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32296 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32297 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32298 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32299 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32300 * soft-fp/gesf2.c (__gesf2): Likewise.
32301 * soft-fp/getf2.c (__getf2): Likewise.
32302 * soft-fp/ledf2.c (__ledf2): Likewise.
32303 * soft-fp/lesf2.c (__lesf2): Likewise.
32304 * soft-fp/letf2.c (__letf2): Likewise.
32305
32306 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32307 Undefine and redefine.
32308 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32309 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32310 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32311 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32312 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32313 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32314 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32315 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32316 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32317 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32318 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32319 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32320 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32321 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32322 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32323
32324 [BZ #16032]
32325 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32326 without decrementing exponent if mantissa >= that for the
32327 denominator, not >.
32328 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32329 denominator, not >. Decrement exponent in < case instead of
32330 incrementing in >= case.
32331 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32332 without decrementing exponent if mantissa >= that for the
32333 denominator, not >.
32334
32335 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32336 computing saturated result for unsigned overflow.
32337
32338 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32339 Jeff Law <law@redhat.com>
32340
32341 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32342 (atan2Mp): Add systemtap probe marker.
32343 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32344 (__ieee754_log): Add systemtap probe marker.
32345 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32346 (atanMp): Add systemtap probe marker.
32347 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32348 (tanMp): Add systemtap probe marker.
32349 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32350 (__slowexp): Add systemtap probe marker.
32351 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32352 (__slowpow): Add systemtap probe marker.
32353 * manual/probes.texi: Document probes.
32354
32355 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32356
32357 [BZ #15362]
32358 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32359 written.
32360 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32361 written.
32362 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32363 written to buffer but not flushed.
32364 * libio/iofwrite_u.c: Likewise.
32365 * libio/iopadn.c: Return bytes returned even if EOF was
32366 encountered.
32367 * libio/iowpadn.c: Likewise.
32368 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32369 if _IO_padn does not write the whole buffer.
32370 [!COMPILE_WPRINTF] (PAD): Likewise.
32371
32372 2013-10-10 David S. Miller <davem@davemloft.net>
32373
32374 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32375 directory block.
32376
32377 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32378
32379 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32380 instead of FSF address.
32381 * soft-fp/fixdfti.c: Likewise.
32382 * soft-fp/fixsfti.c: Likewise.
32383 * soft-fp/fixtfti.c: Likewise.
32384 * soft-fp/fixunsdfti.c: Likewise.
32385 * soft-fp/fixunssfti.c: Likewise.
32386 * soft-fp/fixunstfti.c: Likewise.
32387 * soft-fp/floattidf.c: Likewise.
32388 * soft-fp/floattisf.c: Likewise.
32389 * soft-fp/floattitf.c: Likewise.
32390 * soft-fp/floatuntidf.c: Likewise.
32391 * soft-fp/floatuntisf.c: Likewise.
32392 * soft-fp/floatuntitf.c: Likewise.
32393 * soft-fp/trunctfxf2.c: Likewise.
32394
32395 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32396 * soft-fp/fixdfti.c: Likewise.
32397 * soft-fp/fixsfti.c: Likewise.
32398 * soft-fp/fixtfti.c: Likewise.
32399 * soft-fp/fixunsdfti.c: Likewise.
32400 * soft-fp/fixunssfti.c: Likewise.
32401 * soft-fp/fixunstfti.c: Likewise.
32402 * soft-fp/floattidf.c: Likewise.
32403 * soft-fp/floattisf.c: Likewise.
32404 * soft-fp/floattitf.c: Likewise.
32405 * soft-fp/floatuntidf.c: Likewise.
32406 * soft-fp/floatuntisf.c: Likewise.
32407 * soft-fp/floatuntitf.c: Likewise.
32408 * soft-fp/trunctfxf2.c: Likewise.
32409
32410 2013-10-10 David S. Miller <davem@davemloft.net>
32411
32412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32413
32414 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32415
32416 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32417 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32418 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32419 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32420 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32421 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32422 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32423
32424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32425 for NaNs before doing comparisons on argument.
32426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32427 Likewise.
32428
32429 2013-10-10 Will Newton <will.newton@linaro.org>
32430
32431 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32432 passed to _int_memalign does not overflow.
32433
32434 2013-10-10 Torvald Riegel <triegel@redhat.com>
32435
32436 * scripts/bench.pl: Add include-sources directive.
32437 * benchtests/README: Update documentation.
32438
32439 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32440
32441 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32442 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32443 instead of FP_INIT_ROUNDMODE.
32444 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32445 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32446
32447 [BZ #16034]
32448 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32449 copy class of input value.
32450 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32451 not handle exceptions.
32452 * soft-fp/negsf2.c (__negsf2): Likewise.
32453 * soft-fp/negtf2.c (__negtf2): Likewise.
32454 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32455
32456 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32457
32458 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32459 semicolon. From Linux kernel.
32460
32461 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32462
32463 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32464
32465 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32466
32467 [BZ #156]
32468 * manual/socket.texi: Added statement about buffer
32469 for gethostbyname2_r.
32470
32471 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32472
32473 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32474 Use .p2align directive instead, throughout.
32475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32476 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32477 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32480 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32481 * sysdeps/x86_64/strchr.S: Likewise.
32482 * sysdeps/x86_64/strrchr.S: Likewise.
32483
32484 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32485
32486 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32487
32488 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32489
32490 * sysdeps/generic/math_private.h (__mpsin1): Remove
32491 declaration.
32492 (__mpcos1): Likewise.
32493 (__mpsin): New argument __range_reduce.
32494 (__mpcos): Likewise.
32495 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32496 (slow): Use __mpsin and __mpcos.
32497 (slow1): Likewise.
32498 (slow2): Likewise.
32499 (sloww): Likewise.
32500 (sloww1): Likewise.
32501 (sloww2): Likewise.
32502 (bsloww): Likewise.
32503 (bsloww1): Likewise.
32504 (bsloww2): Likewise.
32505 (cslow2): Likewise.
32506 (csloww): Likewise.
32507 (csloww1): Likewise.
32508 (csloww2): Likewise.
32509 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32510 range_reduce. Merge in __mpsin1.
32511 (__mpcos): Likewise.
32512 (__mpsin1): Remove.
32513 (__mpcos1): Likewise.
32514
32515 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32516
32517 * locale/loadlocale.c (_nl_intern_locale_data): Use
32518 LOCFILE_ALIGNED_P.
32519 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32520 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32521 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32522 obstack data is appropriately aligned.
32523 (obstack_int32_grow_fast): Likewise.
32524 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32525 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32526 (add_locale_uint32_array): Likewise.
32527
32528 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32529
32530 * benchtests/Makefile: Remove ARGLIST and RET variables.
32531 ($(objpfx)bench-%.c): Pass only function name to the script.
32532 * benchtests/README: Update documentation.
32533 * benchtests/acos-inputs: Add new directives.
32534 * benchtests/acosh-inputs: Likewise.
32535 * benchtests/asin-inputs: Likewise.
32536 * benchtests/asinh-inputs: Likewise.
32537 * benchtests/atan-inputs: Likewise.
32538 * benchtests/atanh-inputs: Likewise.
32539 * benchtests/cos-inputs: Likewise.
32540 * benchtests/cosh-inputs: Likewise.
32541 * benchtests/exp-inputs: Likewise.
32542 * benchtests/log-inputs: Likewise.
32543 * benchtests/pow-inputs: Likewise.
32544 * benchtests/rint-inputs: Likewise.
32545 * benchtests/sin-inputs: Likewise.
32546 * benchtests/sinh-inputs: Likewise.
32547 * benchtests/tan-inputs: Likewise.
32548 * benchtests/tanh-inputs: Likewise.
32549 * scripts/bench.pl: Add support for new directives.
32550
32551 2013-10-07 Alan Modra <amodra@gmail.com>
32552
32553 * README: Fix careless merge.
32554
32555 2013-10-05 Alan Modra <amodra@gmail.com>
32556
32557 * NEWS: Mention powerpc64le support and bugs fixed.
32558 * README: Both big-endian and little-endian powerpc64 supported.
32559
32560 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32561
32562 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32563 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32564 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32565 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32566
32567 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32568
32569 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32570 match prototype.
32571
32572 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32573
32574 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32575 Move -mhard-float appending from
32576 ports/sysdeps/powerpc/powerpc32/Makefile.
32577 [$(with-fp) = yes] (ASFLAGS): Likewise.
32578 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32579 * sysdeps/powerpc/nofpu: Move directory from
32580 ports/sysdeps/powerpc/nofpu.
32581 * sysdeps/powerpc/soft-fp: Move directory from
32582 ports/sysdeps/powerpc/soft-fp.
32583 * sysdeps/powerpc/powerpc32/405: Move directory from
32584 ports/sysdeps/powerpc/powerpc32/405.
32585 * sysdeps/powerpc/powerpc32/440: Move directory from
32586 ports/sysdeps/powerpc/powerpc32/440.
32587 * sysdeps/powerpc/powerpc32/464: Move directory from
32588 ports/sysdeps/powerpc/powerpc32/464.
32589 * sysdeps/powerpc/powerpc32/476: Move directory from
32590 ports/sysdeps/powerpc/powerpc32/476.
32591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32600 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32601 * README: Update for powerpc-*-linux-gnu software floating point
32602 support in libc.
32603
32604 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32605 case to powerpc/powerpc32*.
32606 * sysdeps/unix/sysv/linux/configure: Regenerated.
32607
32608 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32609 (_FPU_MASK_OM): Define as 0x04.
32610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32612 0x00c10080.
32613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32614 0x0000003c.
32615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32616
32617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32618 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32619 getcontext_e500.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32621 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32622 setcontext_e500.
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32624 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32625 and setcontext_e500.
32626
32627 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32628
32629 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32630
32631 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32632
32633 * manual/threads.texi (Default Thread Attributes): Fix typo.
32634
32635 2013-10-04 Will Newton <will.newton@linaro.org>
32636
32637 * malloc/Makefile: Add tst-memalign.
32638 * malloc/tst-memalign.c: New file.
32639
32640 * malloc/tst-posix_memalign.c: Add comments.
32641 (do_test): Add comments and call free on all potentially
32642 allocated pointers. Add space after cast.
32643
32644 * malloc/tst-pvalloc.c: Add comments.
32645 (do_test): Add comments and call free on all potentially
32646 allocated pointers. Remove duplicate check for NULL pointer.
32647 Add space after cast.
32648
32649 * malloc/tst-valloc.c: Add comments.
32650 (do_test): Add comments and call free on all potentially
32651 allocated pointers. Remove duplicate check for NULL pointer.
32652 Add space after cast.
32653
32654 2013-10-04 Alan Modra <amodra@gmail.com>
32655
32656 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32657 Use stdint types in rather than __attribute__((mode())).
32658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32659
32660 2013-10-04 Alan Modra <amodra@gmail.com>
32661
32662 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32663 Correct handling of unaligned relocs for little-endian.
32664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32665
32666 2013-10-04 Alan Modra <amodra@gmail.com>
32667
32668 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32669 * configure: Regenerate.
32670 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32671 * shlib-versions: Likewise.
32672
32673 2013-10-04 Alan Modra <amodra@gmail.com>
32674
32675 * string/tester.c (test_memrchr): Increment reported test cycle.
32676
32677 2013-10-04 Alan Modra <amodra@gmail.com>
32678
32679 * string/test-memcpy.c (do_one_test): When reporting errors, print
32680 string address and don't overrun end of string.
32681
32682 2013-10-04 Alan Modra <amodra@gmail.com>
32683
32684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32685 insrdi. Make better use of reg selection to speed exit slightly.
32686 Schedule entry path a little better. Remove useless "are we done"
32687 checks on entry to main loop. Handle wrapping around zero address.
32688 Correct main loop count. Handle single left-over word from main
32689 loop inline rather than by using loop_small. Remove extra word
32690 case in loop_small caused by wrong loop count. Add little-endian
32691 support.
32692 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32693 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32694 cache hint.
32695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32696 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32697 support. Avoid rlwimi.
32698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32699
32700 2013-10-04 Alan Modra <amodra@gmail.com>
32701
32702 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32703 insrdi. Formatting.
32704 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32705 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32706 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32707 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32708 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32709 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32710
32711 2013-10-04 Alan Modra <amodra@gmail.com>
32712
32713 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32714 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32715 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32716 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32717 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32720 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32721 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32722 use of regs. Use power7 mtocrf. Tidy function tails.
32723
32724 2013-10-04 Alan Modra <amodra@gmail.com>
32725
32726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32727 Formatting. Consistently use rXXX register defines or rN defines.
32728 Use early exit labels that avoid restoring unused non-volatile regs.
32729 Make cr field use more consistent with rWORDn compares. Rename
32730 regs used as shift registers for unaligned loop, using rN defines
32731 for short lifetime/multiple use regs.
32732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32734 addi 1,1,64 to pop stack frame. Simplify return value code.
32735 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32736
32737 2013-10-04 Alan Modra <amodra@gmail.com>
32738
32739 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32740 support. Correct typos, formatting. Optimize tail. Use insrdi
32741 rather than rlwimi.
32742 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32743 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32744 little-endian support. Correct typos.
32745 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32746 rather than rlwimi.
32747 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32748 in loop and entry code to keep "and." results.
32749 (strchr): Add little-endian support. Comment. Move cntlzd
32750 earlier in tail.
32751 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32752
32753 2013-10-04 Alan Modra <amodra@gmail.com>
32754
32755 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32756 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32757 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32758 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32759
32760 2013-10-04 Alan Modra <amodra@gmail.com>
32761
32762 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32763 (rTMP): Define as r11.
32764 (strcmp): Add little-endian support. Optimise tail.
32765 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32766 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32767 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32772
32773 2013-10-04 Alan Modra <amodra@gmail.com>
32774
32775 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32776 little-endian support. Remove unnecessary "are we done" tests.
32777 Handle "s" wrapping around zero and extremely large "size".
32778 Correct main loop count. Handle single left-over word from main
32779 loop inline rather than by using small_loop. Correct comments.
32780 Delete "zero" tail, use "end_max" instead.
32781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32782
32783 2013-10-04 Alan Modra <amodra@gmail.com>
32784
32785 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32786 support. Don't branch over align.
32787 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32788 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32789 support. Rearrange tmp reg use to suit. Comment.
32790 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32791
32792 2013-10-04 Alan Modra <amodra@gmail.com>
32793
32794 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32795
32796 2013-10-04 Alan Modra <amodra@gmail.com>
32797
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32799 conditional form of branch and link when obtaining pc.
32800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32801
32802 2013-10-04 Alan Modra <amodra@gmail.com>
32803
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32805 HIWORD/LOWORD.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32808
32809 2013-10-04 Alan Modra <amodra@gmail.com>
32810
32811 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32812 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32813 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32814 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32815 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32816 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32817 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32818 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32819 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32820 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32821
32822 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32823 Alistair Popple <alistair@ozlabs.au.ibm.com>
32824 Alan Modra <amodra@gmail.com>
32825
32826 [BZ #15723]
32827 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32829 _dl_hwcap access for little-endian.
32830 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32831 destroy vmx regs when saving unaligned.
32832 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32833 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32834 destroy vmx regs when saving unaligned.
32835
32836 2013-10-04 Alan Modra <amodra@gmail.com>
32837
32838 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32839 Don't use a union to pack hi/low value.
32840
32841 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32842
32843 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32844 for little-endian.
32845 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32847 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32848 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32849 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32850
32851 2013-10-04 Alan Modra <amodra@gmail.com>
32852
32853 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32854 constants to usual value for .cst8 section, and remove redundant
32855 high address load.
32856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32857 constant for 0x1p52. Load little-endian words of double from
32858 correct stack offsets.
32859
32860 2013-10-04 Alan Modra <amodra@gmail.com>
32861
32862 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32863 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32864 words of double from correct stack offsets.
32865 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32866 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32867 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32868 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32869 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32871 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32876 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32877 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32878 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32879 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32880 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32881 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32882
32883 2013-10-04 Alan Modra <amodra@gmail.com>
32884
32885 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32886 64-bit int/double union.
32887 (_FPU_SETCW): Likewise.
32888 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32889 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32890
32891 2013-10-04 Alan Modra <amodra@gmail.com>
32892
32893 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32894 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32895
32896 2013-10-04 Alan Modra <amodra@gmail.com>
32897
32898 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32899 use vector int constants.
32900 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32901
32902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32903
32904 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32905 array with long long.
32906 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32907 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32908 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32909 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32910 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32911 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32912 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32914 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32915 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32916 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32917 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32918 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32919
32920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32921
32922 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32923 (__signbit): Likewise. Correct for little-endian.
32924 (__signbitl): Call __signbit.
32925 (lrint): Correct for little-endian.
32926 (lrintf): Call lrint.
32927
32928 2013-10-04 Alan Modra <amodra@gmail.com>
32929
32930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32931 union 32-bit int array member with 64-bit int array.
32932 (t515, tm256): Double rather than long double.
32933 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32934
32935 2013-10-04 Alan Modra <amodra@gmail.com>
32936
32937 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32938 Delete.
32939 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32941 version of math_ldbl.h.
32942
32943 2013-10-04 Alan Modra <amodra@gmail.com>
32944
32945 [BZ #15734], [BZ #15735]
32946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32947 all uses of ieee875 long double macros and unions. Simplify test
32948 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32949 ldbl_extract_mantissa value for ix,iy exponents. Properly
32950 normalize after ldbl_extract_mantissa, and don't add hidden bit
32951 already handled. Don't treat low word of ieee854 mantissa like
32952 low word of IBM long double and mask off bit when testing for
32953 zero.
32954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32955 all uses of ieee875 long double macros and unions. Simplify tests
32956 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32957 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32958 two1022, instead use their values. Recognise that tests for large
32959 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32960 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32961 Rewrite all uses of ieee875 long double macros and unions. Simplify
32962 test for 0.0L and nan. Correct negation.
32963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32964 ieee875 long double macros and unions. Correct output for large
32965 magnitude x. Correct absolute value calculation.
32966 (__erfcl): Likewise.
32967 * math/libm-test.inc: Add tests for errors discovered in IBM long
32968 double versions of fmodl, remainderl, erfl and erfcl.
32969
32970 2013-10-04 Alan Modra <amodra@gmail.com>
32971
32972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32973 all uses of ieee854 long double macros and unions. Simplify tests
32974 for long doubles that are fully specified by the high double.
32975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32976 Likewise.
32977 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32978 Remove dead code too.
32979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32980 (__ieee754_ynl): Likewise.
32981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32984 Remove dead code too.
32985 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32986 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32988 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32989 Simplify.
32990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32991 Simplify.
32992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32993 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32995 Comment on variable precision.
32996 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32997 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32998 Likewise.
32999 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33002 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33004
33005 2013-10-04 Alan Modra <amodra@gmail.com>
33006
33007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33008 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33009 all uses of ieee854 long double macros and unions.
33010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33015 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33016 Likewise.
33017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33020 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33023 Simplify sign and nan test too.
33024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33028 Likewise.
33029 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33030 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33031 Likewise.
33032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33033 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33034 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33036 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33038
33039 2013-10-04 Alan Modra <amodra@gmail.com>
33040
33041 * stdio-common/printf_size.c (__printf_size): Don't use
33042 union ieee854_long_double in fpnum union.
33043 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
33044 signbit macro to retrieve sign from long double.
33045 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33046 retrieve sign from long double.
33047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33048 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33049 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33050 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33051 * math/test-misc.c (main): Don't use union ieee854_long_double.
33052
33053 2013-10-04 Alan Modra <amodra@gmail.com>
33054
33055 [BZ #15680]
33056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33058 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33059 calculation. Remove unnecessary test for denormal exponent.
33060 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33061 Correct handling of denormals. Avoid undefined shift behaviour.
33062 Correct normalisation of low mantissa when low double is denormal.
33063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33064 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
33065 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33066 Correct normalisation of low mantissa. Test for overflow of high
33067 mantissa and normalise.
33068 (ldbl_nearbyint): Use more readable constant for two52.
33069 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33070 (__mpn_construct_long_double): Fix test for overflow of high
33071 mantissa and correct normalisation. Avoid undefined shift.
33072
33073 2013-10-04 Alan Modra <amodra@gmail.com>
33074
33075 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33076 (union ibm_extended_long_double): Define as an array of ieee754_double.
33077 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33079 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33080 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33088
33089 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33090
33091 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33092 page size instead of calling getpagesize.
33093
33094 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33095 (LOCFILE_ALIGN_MASK): Likewise.
33096 (LOCFILE_ALIGN_UP): Likewise.
33097 (LOCFILE_ALIGNED_P): Likewise.
33098 * locale/programs/ld-collate.c (collate_output): Use the new
33099 macros instead of __alignof__ (int32_t).
33100 * locale/weight.h (findidx): Likewise.
33101
33102 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33103
33104 [BZ #431]
33105 * manual/string.texi: Fix strncat and wcsncat.
33106
33107 2013-10-03 Brooks Moses <bmoses@google.com>
33108
33109 [BZ #15915]
33110 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33111 * Makerules: ...here, and adjust associated comments.
33112
33113 2013-10-02 Will Newton <will.newton@linaro.org>
33114
33115 * malloc/Makefile: Add tst-pvalloc.
33116 * malloc/tst-pvalloc.c: New file.
33117
33118 2013-10-02 Will Newton <will.newton@linaro.org>
33119
33120 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33121 improve test coverage.
33122
33123 2013-10-02 Will Newton <will.newton@linaro.org>
33124
33125 * malloc/Makefile: Add tst-posix_memalign.
33126 * malloc/tst-posix_memalign.c: New file.
33127
33128 2013-10-01 Eric Blake <eblake@redhat.com>
33129
33130 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33131 Use __THROWNL rather than __THROW on static functions.
33132
33133 2013-09-30 Petr Machata <pmachata@redhat.com>
33134
33135 * elf/elf.h (R_AARCH64_ABS16): New macro.
33136 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33137 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33138 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33139 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33140 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33141 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33142 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33143 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33144 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33145 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33146 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33147 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33148 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33149 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33150 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33151 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33152 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33153 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33154 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33155 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33156 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33157 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33158 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33159 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33160 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33161 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33162 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33163 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33164 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33165 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33166 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33167 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33168 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33169 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33170 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33171 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33172 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33173 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33174 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33175 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33176 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33177 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33178 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33179 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33180 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33181 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33182 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33183 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33184 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33185 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33186 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33187 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33188 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33189 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33190 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33191 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33192 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33193 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33194 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33195 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33196 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33197 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33198 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33199 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33200 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33201 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33202 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33203 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33204 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33205 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33206 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33207 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33208 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33209 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33210 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33211 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33212 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33213 (R_AARCH64_TLSDESC_LDR): Likewise.
33214 (R_AARCH64_TLSDESC_ADD): Likewise.
33215 (R_AARCH64_TLSDESC_CALL): Likewise.
33216
33217 2013-09-30 Andreas Schwab <schwab@suse.de>
33218
33219 [BZ #15048]
33220 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33221 the nss database lookup.
33222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33224
33225 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33226
33227 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33228
33229 2013-09-28 P. J. McDermott <pj@pehjota.net>
33230
33231 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33232 ${Bash-specific parameter/pattern/string} parameter expansion.
33233 * sysdeps/unix/make-syscalls.sh: Likewise.
33234
33235 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33236
33237 * sysdeps/sh/stackguard-macros.h: New file.
33238
33239 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33240
33241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33243 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33245 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33246 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33247
33248 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33249
33250 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33251 Fix thread ID register.
33252
33253 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33254
33255 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33256 [POSIX || UNIX98]: Require rather than permitting all symbols from
33257 <time.h>.
33258 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33259 element of struct sched_param.
33260 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33261 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33262 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33263 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33264 constant.
33265
33266 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33267
33268 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33269 argument calculation.
33270
33271 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33272
33273 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33274 Expect macro.
33275 [POSIX] (pthread_attr_t): Do not require type.
33276 [POSIX] (pthread_cond_t): Likewise.
33277 [POSIX] (pthread_condattr_t): Likewise.
33278 [POSIX] (pthread_key_t): Likewise.
33279 [POSIX] (pthread_mutex_t): Likewise.
33280 [POSIX] (pthread_mutexattr_t): Likewise.
33281 [POSIX] (pthread_once_t): Likewise.
33282 [POSIX] (pthread_t): Likewise.
33283 [POSIX-based standards] (pthread_atfork): Expect function.
33284
33285 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33286 Richard Sandiford <richard@codesourcery.com>
33287
33288 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33289 (swap_endianness_p): New extern variable.
33290 (set_big_endian): New inline function.
33291 (maybe_swap_uint32): Likewise.
33292 (maybe_swap_uint32_array): Likewise.
33293 (maybe_swap_uint32_obstack): Likewise.
33294 * locale/programs/locfile.c: Include <stdbool.h>.
33295 (swap_endianness_p): New variable.
33296 (add_locale_uint32): Call maybe_swap_uint32.
33297 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33298 (write_locale_data): Call maybe_swap_uint32_array.
33299 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33300 maybe_swap_uint32.
33301 (obstack_int32_grow_fast): Likewise.
33302 (output_weightwc): Call maybe_swap_uint32_obstack.
33303 (collate_output): Likewise.
33304 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33305 (OPT_LITTLE_ENDIAN): Likewise.
33306 (options): Add --little-endian and --big-endian options.
33307 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33308 * locale/programs/locarchive.c: Include "locfile.h".
33309 (GET): New macro.
33310 (SET): Likewise.
33311 (INC): Likewise.
33312 (create_archive): Use the new macros to access fields of
33313 structures directly mapped from or written to locale archives.
33314 (oldlocrecentcmp): Likewise.
33315 (enlarge_archive): Likewise.
33316 (insert_name): Likewise.
33317 (add_alias): Likewise.
33318 (add_locale): Likewise.
33319 (delete_locales_from_archive): Likewise.
33320 (show_archive_content): Likewise.
33321 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33322 locale data.
33323
33324 2013-09-24 Roland McGrath <roland@hack.frob.com>
33325
33326 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33327 http://www.gnu.org/doc/freemanuals.texi.
33328 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33329
33330 2013-09-24 Will Newton <will.newton@linaro.org>
33331
33332 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33333 macro.
33334
33335 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33336
33337 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33338 unsigned char.
33339
33340 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33341
33342 * manual/threads.texi (POSIX Threads): Fix a typo.
33343
33344 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33345
33346 [BZ #14547]
33347 * string/tst-strcoll-overflow.c: New test case.
33348 * string/Makefile (xtests): Add tst-strcoll-overflow.
33349 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33350 cache if string sizes may cause integer overflow.
33351
33352 [BZ #14547]
33353 * string/strcoll_l.c (coll_seq): New members rule, idx,
33354 save_idx and back_us.
33355 (get_next_seq_nocache): New function.
33356 (do_compare_nocache): New function.
33357 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33358 when malloc fails.
33359
33360 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33361
33362 [BZ #15754]
33363 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33364 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33365 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33366
33367 [BZ #15754]
33368 * elf/Makefile (tests): Add tst-ptrguard1.
33369 (tests-static): Add tst-ptrguard1-static.
33370 (tst-ptrguard1-ARGS): Define.
33371 (tst-ptrguard1-static-ARGS): Define.
33372 * elf/tst-ptrguard1.c: New file.
33373 * elf/tst-ptrguard1-static.c: New file.
33374 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33375 * sysdeps/i386/stackguard-macros.h: Likewise.
33376 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33377 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33378 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33379 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33380 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33381 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33382
33383 2013-09-23 Hector Marco <hecmargi@upv.es>
33384 Ismael Ripoll <iripoll@disca.upv.es>
33385 Carlos O'Donell <carlos@redhat.com>
33386
33387 [BZ #15754]
33388 * sysdeps/generic/stackguard-macros.h: Define
33389 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33390 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33391 Define __pointer_chk_guard_local.
33392 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33393 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33394
33395 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33396
33397 [BZ #15859]
33398 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33399
33400 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33401
33402 * include/string.h (__ffs): Declare as hidden.
33403 * string/ffs.c (__ffs): Define as hidden.
33404 * sysdeps/i386/ffs.c (__ffs): Likewise.
33405 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33406 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33407 * sysdeps/s390/ffs.c (__ffs): Likewise.
33408 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33409
33410 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33411
33412 * NEWS: Mention malloc probes.
33413
33414 * malloc/arena.c (new_heap): New memory_heap_new probe.
33415 (grow_heap): New memory_heap_more probe.
33416 (shrink_heap): New memory_heap_less probe.
33417 (heap_trim): New memory_heap_free probe.
33418 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33419 (systrim): New memory_sbrk_less probe.
33420 * manual/probes.texi: Document them.
33421
33422 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33423 * manual/probes.texi: Document it.
33424
33425 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33426 (__libc_realloc): Add memory_realloc_retry probe.
33427 (__libc_memalign): Add memory_memalign_retry probe.
33428 (__libc_valloc): Add memory_valloc_retry probe.
33429 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33430 (__libc_calloc): Add memory_calloc_retry probe.
33431 * manual/probes.texi: Document them.
33432
33433 * malloc/arena.c (get_free_list): Add probe
33434 memory_arena_reuse_free_list.
33435 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33436 and memory_arena_reuse.
33437 (arena_get2) [!PER_THREAD]: Likewise.
33438 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33439 memory_arena_reuse_realloc.
33440 * manual/probes.texi: Document them.
33441
33442 * malloc/malloc.c (__libc_free): Add
33443 memory_mallopt_free_dyn_thresholds probe.
33444 (__libc_mallopt): Add multiple memory_mallopt probes.
33445 * manual/probes.texi: Document them.
33446
33447 * malloc/malloc.c: Include stap-probe.h.
33448 (__libc_mallopt): Add memory_mallopt probe.
33449 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33450 * manual/probes.texi: New.
33451 * manual/Makefile (chapters): Add probes.
33452 * manual/threads.texi: Set next node.
33453
33454 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33455
33456 [BZ #15963, #13985]
33457 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33458 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33459 Add `Chinese' to `nan' entry name.
33460
33461 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33462
33463 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33464 (POLYNOMIAL): Likewise.
33465 (TAYLOR_SINCOS): Likewise.
33466 (TAYLOR_SLOW): Likewise.
33467 (__sin): Use TAYLOR_SINCOS.
33468 (__cos): Likewise.
33469 (slow): Use TAYLOR_SLOW.
33470 (sloww): Likewise.
33471 (bsloww): Likewise.
33472 (csloww): Likewise.
33473
33474 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33475
33476 * stdlib/strtod_l.c: Fix buffer overrun.
33477
33478 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33479
33480 * benchtests/Makefile (bench): Add sincos.
33481 * benchtests/bench-sincos.c: New file.
33482
33483 * math/libm-test.inc (cos_test_data): New test inputs.
33484 (sin_test_data): Likewise.
33485
33486 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33487 macro.
33488 (__sin): Use it.
33489 (__cos): Likewise.
33490 (slow1): Likewise.
33491 (slow2): Likewise.
33492 (sloww1): Likewise.
33493 (sloww2): Likewise.
33494 (bsloww1): Likewise.
33495 (bsloww2): Likewise.
33496 (cslow2): Likewise.
33497 (csloww1): Likewise.
33498 (csloww2): Likewise.
33499
33500 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33501 function.
33502 (__sin): Use it.
33503 (__cos): Likewise.
33504
33505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33506 gotos.
33507 (__cos): Likewise.
33508
33509 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33510
33511 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33512 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33513 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33514 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33515 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33516 * elf/cache.c (print_entry): Handle the new cache flags.
33517
33518 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33519 Aldy Hernandez <aldyh@redhat.com>
33520
33521 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33522 Change condition to [_SOFT_FLOAT].
33523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33535 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33538 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33539 declaration.
33540
33541 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33542
33543 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33544 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33545 (__longjmp): Use LOAD_GP to load saved GPRs.
33546 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33547 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33548 (__sigsetjmp): Use SAVE_GP to save GPRs.
33549
33550 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33551 Do not append -msoft-float.
33552 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33553
33554 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33555
33556 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33557
33558 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33559
33560 [BZ #15966]
33561 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33562 (_FPU_GETCW): Use initial "__" on variable and field names but not
33563 on macro parameter name.
33564 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33565 parentheses around reference to macro parameter.
33566
33567 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33568
33569 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33570 prototype.
33571 (ctype_startup): Use uint32_t in cast and sizeof for
33572 ctype->charnames.
33573
33574 2013-09-11 Jia Liu <proljc@gmail.com>
33575
33576 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33577 __daddr_t_defined.
33578 [__FreeBSD__]: Likewise.
33579
33580 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33581
33582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33583 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33584 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33585 (strchr): Remove __strchr_sse42 ifunc selection.
33586 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33587 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33588
33589 2013-09-11 Will Newton <will.newton@linaro.org>
33590
33591 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33592 parameter to RES. Remove hardcoded 1000 value.
33593 * benchtests/bench-skeleton.c (main): Pass RES parameter
33594 to TIMING_INIT and multiply result by 1000.
33595
33596 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33597
33598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33599
33600 2013-09-11 Andreas Schwab <schwab@suse.de>
33601
33602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33603 if not defined.
33604 (O_TMPFILE) [__USE_GNU]: Define.
33605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33606 Define.
33607
33608 2013-09-11 Will Newton <will.newton@linaro.org>
33609
33610 [BZ #15857]
33611 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33612 does not overflow.
33613
33614 2013-09-11 Will Newton <will.newton@linaro.org>
33615
33616 [BZ #15856]
33617 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33618 does not overflow.
33619
33620 2013-09-11 Will Newton <will.newton@linaro.org>
33621
33622 [BZ #15855]
33623 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33624 does not overflow.
33625
33626 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33627
33628 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33629 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33633
33634 2013-09-10 Allan McRae <allan@archlinux.org>
33635
33636 [BZ #15748]
33637 * manual/arith.texi (Parsing of Floats): Clarify
33638 cross-reference.
33639
33640 [BZ #15849]
33641 * manual/install.texi (Running make install): Mention
33642 --enable-pt-chown.
33643 * INSTALL: Regenerated.
33644
33645 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33646
33647 * csu/init-first.c (_init): Remove the !SHARED condition around
33648 FPU control word initialization.
33649 * elf/dl-support.c (_dl_fpu_control): New variable.
33650 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33651 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33652 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33653 * math/test-fpucw-static.c: New file.
33654 * math/test-fpucw-ieee.c: New file.
33655 * math/test-fpucw-ieee-static.c: New file.
33656 * math/Makefile (tests): Add `test-fpucw-ieee' and
33657 `$(tests-static)'.
33658 (tests-static): New variable.
33659 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33660 dependency to...
33661 [($(build-shared),yes)]
33662 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33663 ... this.
33664 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33665 New dependency.
33666
33667 2013-09-09 Allan McRae <allan@archlinux.org>
33668
33669 [BZ #15939]
33670 * manual/string.texi (Collation Functions): Fix typo in
33671 strcoll example.
33672 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33673
33674 [BZ #15893]
33675 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33676
33677 [BZ #15892]
33678 * libio/memstream.c (open_memstream): Fix memory leak.
33679 * libio/wmemstream.c (open_wmemstream): Likewise.
33680
33681 [BZ #15895]
33682 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33683
33684 2013-09-09 Will Newton <will.newton@linaro.org>
33685
33686 * malloc/Makefile: Add tst-realloc to tests.
33687 * malloc/tst-realloc.c: New file.
33688
33689 2013-09-09 Allan McRae <allan@archlinux.org>
33690
33691 [BZ #15844]
33692 * COPYING: Update from GNU website to fix FSF address.
33693 * COPYING.LIB: Likewise.
33694
33695 2013-09-06 David S. Miller <davem@davemloft.net>
33696
33697 * po/zh_TW.po: Update Chinese (traditional) translation from
33698 translation project.
33699
33700 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33701 Joseph Myers <joseph@codesourcery.com>
33702
33703 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33704 "localeinfo.h".
33705 (obstack_chunk_alloc): New macro.
33706 (obstack_chunk_free): Likewise.
33707 (record_offset): New function.
33708 (init_locale_data): Likewise.
33709 (align_locale_data): Likewise.
33710 (add_locale_empty): Likewise.
33711 (add_locale_raw_data): Likewise.
33712 (add_locale_raw_obstack): Likewise.
33713 (add_locale_string): Likewise.
33714 (add_locale_wstring): Likewise.
33715 (add_locale_uint32): Likewise.
33716 (add_locale_uint32_array): Likewise.
33717 (add_locale_char): Likewise.
33718 (start_locale_structure): Likewise.
33719 (end_locale_structure): Likewise.
33720 (start_locale_prelude): Likewise.
33721 (end_locale_prelude): Likewise.
33722 (write_locale_data): Take locale_file structure rather than an
33723 iovec.
33724 * locale/programs/locfile.h: Include "obstack.h".
33725 (struct locale_file): Change to store locale file contents instead
33726 of header.
33727 (init_locale_data): New prototype.
33728 (align_locale_data): Likewise.
33729 (add_locale_empty): Likewise.
33730 (add_locale_raw_data): Likewise.
33731 (add_locale_raw_obstack): Likewise.
33732 (add_locale_string): Likewise.
33733 (add_locale_wstring): Likewise.
33734 (add_locale_uint32): Likewise.
33735 (add_locale_uint32_array): Likewise.
33736 (add_locale_char): Likewise.
33737 (start_locale_structure): Likewise.
33738 (end_locale_structure): Likewise.
33739 (start_locale_prelude): Likewise.
33740 (end_locale_prelude): Likewise.
33741 (write_locale_data): Update prototype.
33742 * locale/programs/3level.h (struct TABLE): Remove result field.
33743 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33744 Use new locale_file interface.
33745 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33746 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33747 * locale/programs/ld-address.c (address_output): Use new
33748 locale_file interface.
33749 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33750 NO_ADD_LOCALE.
33751 (collate_finish): Don't call collseq_table_finalize.
33752 (collate_output): Use new locale_file interface.
33753 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33754 in file.
33755 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33756 (TABLE): Move defines earlier in file.
33757 (ELEMENT): Likewise.
33758 (DEFAULT): Likewise.
33759 (wctrans_table_add): Move macro and inline function earlier in
33760 file.
33761 (struct wctype_table): Move type earlier in file.
33762 (add_locale_wctype_table): New static prototype.
33763 (struct locale_ctype_t): Use logical types instead of struct iovec
33764 pointers for members.
33765 (ctype_output): Use new locale_file interface.
33766 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33767 new locale_file interface.
33768 (allocate_arrays): Update for use of new locale_file interface.
33769 * locale/programs/ld-identification.c (identification_output): Use
33770 new locale_file interface.
33771 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33772 * locale/programs/ld-messages.c (messages_output): Likewise.
33773 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33774 * locale/programs/ld-name.c (name_output): Likewise.
33775 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33776 * locale/programs/ld-paper.c (paper_output): Likewise.
33777 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33778 * locale/programs/ld-time.c (time_output): Likewise.
33779
33780 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33781
33782 * benchtests/Makefile: Add memrchr benchmark.
33783 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33784 benchmark as memrchr.
33785 * benchtests/bench-memrchr-ifunc.c: New file.
33786 * benchtests/bench-memrchr.c: New file.
33787
33788 2013-09-06 Will Newton <will.newton@linaro.org>
33789
33790 * benchtests/Makefile (string-bench): Add memcpy.
33791
33792 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33793 Cong Wang <amwang@redhat.com>
33794
33795 [BZ #15850]
33796 * sysdeps/unix/sysv/linux/bits/in.h
33797 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33798 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33799 before __USE_KERNEL_IPV6_DEFS uses.
33800 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33801 IPPROTO_BEETPH.
33802 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33803 sockaddr_in6, or ipv6_mreq.
33804
33805 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33806
33807 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33808 memory access for final bytes in some large inputs.
33809 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33810
33811 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33812
33813 * string/test-memrchr.c: New file.
33814 * string/test-memrchr-ifunc.c: New file.
33815 * string/Makefile: Add new memrchr testcase.
33816
33817 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33818
33819 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33820 fanotify_init returns EPERM.
33821
33822 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33823
33824 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33825 errors.
33826 (top level): Treat second token from macro or constant entries for
33827 allowed headers as allowed.
33828 * include/complex.h: Condition internal declarations on
33829 [!_ISOMAC].
33830 * include/fenv.h: Condition include of <stdbool.h> and internal
33831 declarations on [!_ISOMAC].
33832
33833 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33834
33835 [BZ #15923]
33836 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33837
33838 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33839
33840 * configure.in (--enable-versioning): Remove configure option.
33841 (libc_cv_asm_symver_directive): Remove configure test.
33842 (libc_cv_ld_version_script_option): Likewise.
33843 (VERSIONING): Remove variable and AC_SUBST.
33844 (DO_VERSIONING): Remove AC_DEFINE.
33845 * configure: Regenerated.
33846 * config.h.in (DO_VERSIONING): Remove macro.
33847 * Makerules [$(versioning) = yes]: Change conditionals to
33848 [$(build-shared) = yes].
33849 * config.make.in (versioning): Remove variable.
33850 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33851 [$(build-shared) = yes].
33852 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33853 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33854 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33855 [$(build-shared) = yes].
33856 * extra-lib.mk [$(versioning) = yes]: Likewise.
33857 * hurd/Makefile [$(versioning) = yes]: Likewise.
33858 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33859 [SHARED].
33860 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33861 [SHARED].
33862 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33863 [SHARED && !NO_HIDDEN].
33864 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33865 [SHARED].
33866 [SHARED && DO_VERSIONING]: Likewise..
33867 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33868 [$(build-shared) = yes].
33869 * manual/install.texi (--disable-versioning): Remove
33870 documentation.
33871 * INSTALL: Regenerated.
33872 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33873 to [SHARED].
33874 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33875 [$(build-shared) = yes].
33876 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33877 * sysdeps/i386/i686/multiarch/strstr-c.c
33878 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33879 [SHARED && !NO_HIDDEN].
33880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33881 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33882 * sysdeps/powerpc/powerpc32/dl-machine.c
33883 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33884 * sysdeps/powerpc/powerpc32/sysdep.h
33885 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33886 to [SHARED && PIC && !NO_HIDDEN].
33887 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33888 conditional to [SHARED].
33889
33890 2013-09-04 Will Newton <will.newton@linaro.org>
33891
33892 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33893 * benchtests/bench-string.h: Include bench-timing.h instead
33894 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33895 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33896 call to HP_TIMING_DIFF_INIT.
33897 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33898 instead of hp-timing.h macros.
33899 * benchtests/bench-memchr.c: Likewise.
33900 * benchtests/bench-memcmp.c: Likewise.
33901 * benchtests/bench-memcpy.c: Likewise.
33902 * benchtests/bench-memmem.c: Likewise.
33903 * benchtests/bench-memmove.c: Likewise.
33904 * benchtests/bench-memset.c: Likewise.
33905 * benchtests/bench-rawmemchr.c: Likewise.
33906 * benchtests/bench-strcasecmp.c: Likewise.
33907 * benchtests/bench-strcasestr.c: Likewise.
33908 * benchtests/bench-strcat.c: Likewise.
33909 * benchtests/bench-strchr.c: Likewise.
33910 * benchtests/bench-strcmp.c: Likewise.
33911 * benchtests/bench-strcpy.c: Likewise.
33912 * benchtests/bench-strcpy_chk.c: Likewise.
33913 * benchtests/bench-strlen.c: Likewise.
33914 * benchtests/bench-strncasecmp.c: Likewise.
33915 * benchtests/bench-strncat.c: Likewise.
33916 * benchtests/bench-strncmp.c: Likewise.
33917 * benchtests/bench-strncpy.c: Likewise.
33918 * benchtests/bench-strnlen.c: Likewise.
33919 * benchtests/bench-strpbrk.c: Likewise.
33920 * benchtests/bench-strrchr.c: Likewise.
33921 * benchtests/bench-strspn.c: Likewise.
33922 * benchtests/bench-strstr.c: Likewise.
33923
33924 2013-09-04 Will Newton <will.newton@linaro.org>
33925
33926 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33927
33928 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33929
33930 [BZ #15427]
33931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33932 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33933 * math/libm-test.inc (lgamma_test_data): Add more tests.
33934 * sysdeps/i386/fpu/libm-test-ulps: Update.
33935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33936
33937 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33938
33939 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33941 Add ifunc.
33942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33943 Add strcmp-sse2-unaligned
33944 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33945
33946 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33947
33948 * Versions.def (libc): Add GLIBC_2.19.
33949
33950 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33951
33952 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33953 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33954
33955 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33956
33957 [BZ #14155]
33958 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33959 intermediate calculations in recurrence.
33960 (__ieee754_ynf): Likewise.
33961 * math/libm-test.inc (jn_test_data): Do not allow spurious
33962 underflow exception. Add more tests.
33963 (yn_test_data): Add more tests.
33964 * sysdeps/i386/fpu/libm-test-ulps: Update.
33965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33966
33967 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33968
33969 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33970
33971 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33972
33973 * csu/init-first.c: Fix then/than typos.
33974 * locale/programs/ld-collate.c: Likewise.
33975 * locale/programs/linereader.h: Likewise.
33976 * manual/charset.texi: Likewise.
33977 * manual/filesys.texi: Likewise.
33978 * manual/stdio.texi: Likewise.
33979 * manual/string.texi: Likewise.
33980 * stdlib/fmtmsg.c: Likewise.
33981 * sysdeps/i386/stpncpy.S: Likewise.
33982 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33983 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33985 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33986
33987 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33988
33989 * elf/dl-open.c: Fix typos.
33990 * iconvdata/gbbig5.c: Likewise.
33991 * iconvdata/iso-2022-jp.c: Likewise.
33992 * iconv/gconv_int.h: Likewise.
33993 * iconv/loop.c: Likewise.
33994 * nis/rpcsvc/nis.h: Likewise.
33995 * resolv/ns_name.c: Likewise.
33996 * stdio-common/vfscanf.c: Likewise.
33997 * streams/stropts.h: Likewise.
33998 * sunrpc/rpc_thread.c: Likewise.
33999 * sysdeps/i386/strpbrk.S: Likewise.
34000 * sysdeps/ieee754/k_standard.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34003 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34004 * sysdeps/mach/hurd/profil.c: Likewise.
34005 * sysdeps/s390/dl-procinfo.h: Likewise.
34006 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34007 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34008 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34009 * sysdeps/x86_64/dl-trampoline.S: Likewise.
34010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34011
34012 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34013
34014 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34016
34017 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34018
34019 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34020 aix specific files.
34021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34022 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34023 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34024 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34025 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34026 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34027 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34028 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34029
34030 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34031 Roland McGrath <roland@hack.frob.com>
34032
34033 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34034 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34035
34036 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
34037
34038 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34039 __executable_start symbol instead of _start.
34040
34041 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34042
34043 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34044 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34045 Move macros to...
34046 * sysdeps/gnu/ldsodefs.h: ... this new file.
34047
34048 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34049 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34050 instead of ELFOSABI_LINUX.
34051
34052 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34053 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34054 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34055 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34056 Likewise.
34057 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34058 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34059 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34060 Likewise.
34061 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34062 (ibm_extended_long_double): Add ieee_nan member.
34063 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34064 (do_test): New function.
34065
34066 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34067 TEST_TRUNC.
34068 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34069 functions, renamed from truncdfsf_test, trunctfsf_test,
34070 trunctfdf_test.
34071 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34072 functions.
34073 (do_test): Run all these.
34074
34075 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34076
34077 * argp/argp-help.c: Fix typos.
34078 * argp/argp-parse.c: Likewise.
34079 * debug/backtracesyms.c: Likewise.
34080 * elf/elf.h: Likewise.
34081 * malloc/malloc.c: Likewise.
34082 * nis/nis_print.c: Likewise.
34083 * resolv/res_comp.c: Likewise.
34084 * stdlib/stdlib.h: Likewise.
34085 * sunrpc/clnt_tcp.c: Likewise.
34086 * sunrpc/clnt_udp.c: Likewise.
34087 * sunrpc/clnt_unix.c: Likewise.
34088 * sysdeps/unix/bsd/ptsname.c: Likewise.
34089 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34090 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34092 Likewise.
34093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34094 Likewise.
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34096 Likewise.
34097 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34098
34099 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34100
34101 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34103
34104 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34105
34106 [BZ #15897]
34107 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34108 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34109 ($(objpfx)bug-dl-leaf): New rule.
34110 ($(objpfx)bug-dl-leaf.so): Likewise.
34111 ($(objpfx)bug-dl-leaf.out): Likewise.
34112 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34113 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34114 * dlfcn/bug-dl-leaf.c: New test.
34115 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34116 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34117 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34118 (dlclose): Likewise.
34119 (dlmopen): Likewise.
34120
34121 2013-08-27 Roland McGrath <roland@hack.frob.com>
34122
34123 * include/netdb.h [!_ISOMAC]:
34124 Don't include <tls.h>.
34125 (h_errno, __libc_h_errno): Move declaration and macros out of
34126 [_LIBC_REENTRANT].
34127
34128 * include/resolv.h [_RESOLV_H_]:
34129 Don't include <tls.h>.
34130 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34131 * resolv/res_libc.c: Don't include <tls.h>.
34132 (_res): Use __attribute__ ((nocommon)) in place of
34133 __attribute__ ((section (".bss"))).
34134
34135 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34136 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34137
34138 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34139
34140 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34141 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34142
34143 * resolv/res_mkquery.c: Include <sys/time.h>.
34144
34145 * inet/ifreq.c: Moved to ...
34146 * sysdeps/unix/ifreq.c: ... here.
34147 * inet/ifreq.c: New file, true stub version.
34148
34149 * socket/sa_len.c: New file.
34150 * socket/Makefile (aux): Add it.
34151 * sysdeps/unix/sysv/linux/Makefile
34152 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34153 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34154 and #include <socket/sa_len.c>.
34155 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34156 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34157
34158 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34159 * bits/socket.h: ... here.
34160
34161 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34162 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34163 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34164
34165 2013-08-27 Andreas Schwab <schwab@suse.de>
34166
34167 [BZ #15736]
34168 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34169 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34170 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34171 * string/test-strcasecmp.c (test_main): Run tests in several
34172 locales.
34173 * string/test-strncasecmp.c (test_main): Likewise.
34174
34175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34176 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34177 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34179 (__strncasecmp_ssse3) [PIC]: Likewise.
34180
34181 2013-08-26 Roland McGrath <roland@hack.frob.com>
34182
34183 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34184
34185 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34186 instead of explicitly declaring xdecrypt.
34187 * nis/nss_nis/nis-publickey.c: Likewise.
34188
34189 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34190
34191 [BZ #15890]
34192 * nscd/aicache.c: Include res_hconf.h.
34193 (addhstaiX): Initialize res_hconf.
34194
34195 2013-08-26 Andreas Schwab <schwab@suse.de>
34196
34197 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34198 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34199
34200 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34201
34202 * nscd/aicache.c (addhstaiX): Fix indentation.
34203
34204 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34205
34206 * configure.ac: Quote $build_pt_chown test.
34207 * configure: Regenerated.
34208
34209 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34210
34211 [BZ #15532]
34212 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34213 * math/s_cexpf.c (__cexpf): Likewise.
34214 * math/s_cexpl.c (__cexpl): Likewise.
34215 * math/libm-test.inc (cexp_test_data): Correct expected return
34216 value for NaN + i0. Add another test.
34217
34218 2013-08-22 David S. Miller <davem@davemloft.net>
34219
34220 * po/ca.po: Update Catalan translation from translation project.
34221 * po/uk.po: Add Ukrainian translations from translation project.
34222
34223 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34224
34225 [BZ #15797]
34226 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34227 is infinite, not alongside NaN test.
34228 * math/s_fdimf.c (__fdimf): Likewise.
34229 * math/s_fdiml.c (__fdiml): Likewise.
34230 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34231 errno is unchanged.
34232
34233 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34234
34235 * argp/argp-help.c: Fix typos.
34236 * crypt/speeds.c: Likewise.
34237 * csu/check_fds.c: Likewise.
34238 * elf/dl-load.c: Likewise.
34239 * elf/dl-open.c: Likewise.
34240 * elf/reldep3.c: Likewise.
34241 * elf/reldep.c: Likewise.
34242 * elf/sprof.c: Likewise.
34243 * iconv/iconv_charmap.c: Likewise.
34244 * iconv/skeleton.c: Likewise.
34245 * iconv/strtab.c: Likewise.
34246 * io/lockf64.c: Likewise.
34247 * libio/libioP.h: Likewise.
34248 * resolv/gai_notify.c: Likewise.
34249 * resolv/ns_name.c: Likewise.
34250 * resolv/ns_samedomain.c: Likewise.
34251 * resolv/res_send.c: Likewise.
34252 * stdlib/random.c: Likewise.
34253 * sunrpc/rpc/xdr.h: Likewise.
34254 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34255 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34256 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34257 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34262 * sysdeps/mach/hurd/check_fds.c: Likewise.
34263 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34264 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34266 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34267 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34268 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34269 * sysdeps/pthread/aio_notify.c: Likewise.
34270 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34271 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34274 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34275
34276 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34277
34278 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34279 version if bit_Slow_SSE4_2 is set.
34280 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34281 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34282
34283 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34284
34285 [BZ #15867]
34286 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34287 trampoline stack frame information.
34288 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34290 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34291 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34292 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34293 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34294 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34295 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34296 sa_flags value.
34297 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34298 interrupting a syscall and set with option SA_SIGINFO.
34299
34300 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34301
34302 [BZ #15531]
34303 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34304 argument is infinite.
34305 * math/s_cprojf.c (__cprojf): Likewise.
34306 * math/s_cprojl.c (__cprojl): Likewise.
34307 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34308 * math/libm-test.inc (cproj_test_data): Add more tests.
34309
34310 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34311
34312 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34313 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34314 size. Use __ffs to determine corresponding shift.
34315
34316 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34317 Roland McGrath <roland@hack.frob.com>
34318
34319 * Makefile (INSTALL): Remove trailing blank lines from output of
34320 makeinfo.
34321
34322 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34323
34324 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34325 Align 32 bit compat elf_greg to 8 bytes.
34326
34327 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34328
34329 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34330
34331 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34332
34333 * string/strcoll_l.c (coll_seq): New structure.
34334 (get_next_seq_cached): New function.
34335 (get_next_seq): New function.
34336 (do_compare): New function.
34337 (STRCOLL): Use GNU style definition. Simplify implementation
34338 by using get_next_seq, get_next_seq_cached and do_compare.
34339
34340 2013-08-16 Florian Weimer <fweimer@redhat.com>
34341
34342 [BZ #14699]
34343 CVE-2013-4237
34344 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34345 member.
34346 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34347 member.
34348 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34349 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34350 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34351 conditional.
34352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34353 GETDENTS_64BIT_ALIGNED.
34354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34355 * manual/filesys.texi (Reading/Closing Directory): Document
34356 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34357 strongly.
34358 * manual/conf.texi (Limits for Files): Add portability note to
34359 NAME_MAX, PATH_MAX.
34360 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34361
34362 2013-08-13 Andreas Schwab <schwab@suse.de>
34363
34364 [BZ #15749]
34365 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34366 of fabs.
34367 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34368 LDBL_MAX_EXP >= 16384]: Add tests for it.
34369
34370 2013-08-12 David S. Miller <davem@davemloft.net>
34371
34372 * version.h (RELEASE): Set to "development".
34373 (VERSION): Set to "2.18.90".
34374 * NEWS: Add 2.19 section.
34375
34376 2013-08-03 David S. Miller <davem@davemloft.net>
34377
34378 * po/ko.po: Update Korean translation from translation project.
34379
34380 2013-08-01 David S. Miller <davem@davemloft.net>
34381
34382 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34383 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34384 Bilka.
34385
34386 2013-07-30 David S. Miller <davem@davemloft.net>
34387
34388 * po/fr.po: Update French translation from translation project.
34389
34390 2013-07-28 David S. Miller <davem@davemloft.net>
34391
34392 * po/cs.po: Update Czech translation from translation project.
34393
34394 * po/sv.po: Update Swedish translation from translation project.
34395
34396 2013-07-27 David S. Miller <davem@davemloft.net>
34397
34398 * po/eo.po: Update Esperanto translation from translation project.
34399
34400 * po/vi.po: Update Vietnamese translation from translation project.
34401
34402 * po/de.po: Update German translation from translation project.
34403
34404 2013-07-26 David S. Miller <davem@davemloft.net>
34405
34406 * po/bg.po: Update Bulgarian translation from translation project.
34407
34408 * po/nl.po: Update Dutch translation from translation project.
34409 * po/pl.po: Update Polish translation from translation project.
34410 * po/ru.po: Update Russian translation from translation project.
34411
34412 2013-07-24 David S. Miller <davem@davemloft.net>
34413
34414 * po/libc.pot: Update.
34415
34416 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34417
34418 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34419 variable page size.
34420 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34421 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34423
34424 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34425
34426 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34427
34428 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34429 Andreas Schwab <schwab@suse.de>
34430 Roland McGrath <roland@hack.frob.com>
34431 Joseph Myers <joseph@codesourcery.com>
34432 Carlos O'Donell <carlos@redhat.com>
34433
34434 [BZ #15755]
34435 * config.h.in: Define HAVE_PT_CHOWN.
34436 * config.make.in (build-pt-chown): New variable.
34437 * configure.in (--enable-pt_chown): New configure option.
34438 * configure: Regenerate.
34439 * login/Makefile: Include Makeconfig. Build pt_chown only if
34440 build-pt-chown is enabled.
34441 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34442 pt_chown to fix pty ownership.
34443 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34444 CLOSE_ALL_FDS.
34445 * manual/install.texi (Configuring and compiling): Mention
34446 --enable-pt_chown. Add @findex for grantpt.
34447 * INSTALL: Regenerate.
34448
34449 2013-07-20 David S. Miller <davem@davemloft.net>
34450
34451 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34452 difference between 32-bit and 64-bit.
34453
34454 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34455
34456 [BZ #15711]
34457 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34458 Avoid system header dependency with -ffreestanding.
34459 ($(objpfx)bits/syscall%d): Likewise.
34460
34461 2013-07-13 David S. Miller <davem@davemloft.net>
34462
34463 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34464 underflows from atanl/atan2l due to bug 15319.
34465 (casinh_test_data): Likewise.
34466
34467 2013-07-07 David S. Miller <davem@davemloft.net>
34468
34469 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34470
34471 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34472
34473 * sysdeps/i386/fpu/libm-test-ulps: Update.
34474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475
34476 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34477
34478 * configure.in (--enable-lock-elision): Fix message text.
34479 * INSTALL: Regenerate.
34480 * configure: Regenerate.
34481
34482 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34483
34484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34485
34486 2013-07-03 Andreas Jaeger <aj@suse.de>
34487
34488 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34489 define.
34490 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34491 (ptrace_peeksiginfo_args): Add.
34492 (__ptrace_peeksiginfo_flags): Add.
34493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34496
34497 2013-07-03 Allan McRae <allan@archlinux.org>
34498
34499 * sysdeps/i386/fpu/libm-test-ulps: Update.
34500
34501 2013-07-02 David S. Miller <davem@davemloft.net>
34502
34503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34504
34505 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34506
34507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34508
34509 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34510
34511 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34513
34514 2013-07-02 Andi Kleen <ak@linux.intel.com>
34515
34516 * config.h.in (ENABLE_LOCK_ELISION): Add.
34517 * configure.in (--enable-lock-elision): Add option.
34518 * manual/install.texi: Document --enable lock elision.
34519 * configure: Regenerate
34520 * INSTALL: Regenerate.
34521
34522 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34523
34524 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34525 SSE4.2 strcasecmp for libc.a.
34526 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34527
34528 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34529
34530 [BZ #13304]
34531 * soft-fp/op-common.h (_FP_FMA): New macro.
34532 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34533 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34534 (_FP_MUL_MEAT_1_imm): ... here.
34535 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34536 (_FP_MUL_MEAT_1_wide): ... here.
34537 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34538 (_FP_MUL_MEAT_1_hard): ... here.
34539 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34540 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34541 (_FP_MUL_MEAT_2_wide): ... here.
34542 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34543 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34544 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34545 (_FP_MUL_MEAT_2_gmp): ... here.
34546 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34547 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34548 (_FP_MUL_MEAT_4_wide): ... here.
34549 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34550 (_FP_MUL_MEAT_4_gmp): ... here.
34551 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34552 (_FP_WFRACBITS_DW_S): Likewise.
34553 (_FP_WFRACXBITS_DW_S): Likewise.
34554 (_FP_HIGHBIT_DW_S): Likewise.
34555 (FP_FMA_S): Likewise.
34556 (_FP_FRAC_HIGH_DW_S): Likewise.
34557 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34558 (_FP_WFRACBITS_DW_D): Likewise.
34559 (_FP_WFRACXBITS_DW_D): Likewise.
34560 (_FP_HIGHBIT_DW_D): Likewise.
34561 (FP_FMA_D): Likewise.
34562 (_FP_FRAC_HIGH_DW_D): Likewise.
34563 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34564 (_FP_WFRACBITS_DW_E): Likewise.
34565 (_FP_WFRACXBITS_DW_E): Likewise.
34566 (_FP_HIGHBIT_DW_E): Likewise.
34567 (FP_FMA_E): Likewise.
34568 (_FP_FRAC_HIGH_DW_E): Likewise.
34569 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34570 (_FP_WFRACBITS_DW_Q): Likewise.
34571 (_FP_WFRACXBITS_DW_Q): Likewise.
34572 (_FP_HIGHBIT_DW_Q): Likewise.
34573 (FP_FMA_Q): Likewise.
34574 (_FP_FRAC_HIGH_DW_Q): Likewise.
34575 * soft-fp/fmasf4.c: New file.
34576 * soft-fp/fmadf4.c: Likewise.
34577 * soft-fp/fmatf4.c: Likewise.
34578
34579 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34580
34581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34582 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34583 Silvermont.
34584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34585 macro.
34586 (index_Slow_SSE4_2): Likewise.
34587 (index_Prefer_PMINUB_for_stringop): Likewise.
34588 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34589 bit_Slow_SSE4_2 is set.
34590 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34592
34593 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34594
34595 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34596 rtld_global._dl_hwcap2.
34597 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34598 POWER8.
34599 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34600 POWER8 feature descriptions defined in _dl_hwcap2.
34601 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34602 string handling for POWER8 feature bits.
34603 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34604 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34605 _dl_powerpc_cap_flags.
34606 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34607 * sysdeps/powerpc/rtld-global-offsets.sym
34608 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34609 _dl_hwcap2 in the rtld_global_ro structure.
34610
34611 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34612
34613 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34614 hardware capabilities in support of AT_HWCAP2.
34615 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34616 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34617 GLRO(dl_hwcap2).
34618 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34619 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34620 explicitly the unknown a_type display mechanism is used.
34621 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34622 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34623 struct member.
34624 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34625 to macro prototype for AT_HWCAP2 support.
34626 * sysdeps/i386/dl-procinfo.h: Likewise.
34627 * sysdeps/s390/dl-procinfo.h: Likewise.
34628 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34629 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34630 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34631 return -1 for unknown a_type display fallback.
34632 * sysdeps/sparc/dl-procinfo.h: Likewise.
34633 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34634 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34635
34636 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34637
34638 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34639 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34640
34641 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34642
34643 [BZ #12492]
34644 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34645 mprotect making __stack_prot writable.
34646
34647 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34648 Joseph Myers <joseph@codesourcery.com>
34649
34650 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34651 as being properly aligned.
34652
34653 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34654
34655 * dlfcn/modstatic5.c: New file.
34656 * dlfcn/tststatic5.c: New file.
34657 * dlfcn/Makefile (tests): Add tststatic5.
34658 (tests-static): Likewise.
34659 (modules-names): Add modstatic5.
34660 (tststatic5-ENV): New variable.
34661 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34662
34663 [BZ #15022]
34664 * elf/dl-support.c (_dl_main_map): New variable.
34665 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34666 (_dl_nns, _dl_load_adds): Set to 1.
34667 (_dl_initial_searchlist): Refer to _dl_main_map.
34668 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34669 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34670 call to _dl_get_origin.
34671 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34672 around call_map.
34673 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34674 * dlfcn/modstatic3.c: New file.
34675 * dlfcn/tststatic3.c: New file.
34676 * dlfcn/tststatic4.c: New file.
34677 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34678 (tests-static): Likewise.
34679 (modules-names): Add modstatic3.
34680 (tststatic3-ENV, tststatic4-ENV): New variables.
34681 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34682 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34683
34684 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34685
34686 * configure.in (CC): Require GCC version 4.4 or later.
34687 * configure: Regenerated.
34688 * manual/install.texi (Tools for Compilation): Update GCC version
34689 requirement.
34690 * INSTALL: Regenerated.
34691
34692 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34693
34694 [BZ #15674]
34695 * string/test-memcmp.c (check2): New.
34696 (main): Call check2.
34697
34698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34699
34700 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34701
34702 [BZ #15022]
34703 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34704 over to...
34705 (dl_open_worker) [!SHARED]: ... here.
34706
34707 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34708
34709 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34710
34711 2013-06-25 Richard Henderson <rth@redhat.com>
34712
34713 * locale/programs/locarchive.c: Include <libc-internal.h>
34714
34715 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34716
34717 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34718 trailing whitespace removed.
34719
34720 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34721
34722 [BZ #10283]
34723 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34724 * locale/programs/locarchive.c: Include libc-mmap.h.
34725 (prepare_address_space): Take two new outputs (the mmap base and len).
34726 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34727 values.
34728 (create_archive): Declare new mmap base and len values for
34729 prepare_address_space, and store the result in ah.
34730 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34731 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34732 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34733 Declare new mmap base and len values for
34734 prepare_address_space, and store the result in new_ah.
34735 (open_archive): Declare new mmap base and len values for
34736 prepare_address_space, and store the result in ah.
34737 (close_archive): If ah->mmap_base is not NULL, use that and
34738 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34739 * sysdeps/generic/libc-mmap.h: New file.
34740
34741 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34742
34743 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34744 (ALIGN_UP): Likewise.
34745 (PTR_ALIGN_DOWN): Likewise.
34746 (PTR_ALIGN_UP): Likewise.
34747
34748 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34749
34750 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34751 entry mapped to PPC_PLATFORM_POWER8.
34752 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34753 POWER8.
34754 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34755 (_dl_string_platform): Add case for exporting platform position for
34756 POWER8.
34757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34758 search path to sysdeps/powerpc/powerpc32/power8 directory.
34759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34760 search path to sysdeps/powerpc/powerpc64/power8 directory.
34761 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34762 power7 directories.
34763 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34764 power7 directories.
34765
34766 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34767
34768 * INSTALL: Regenerate.
34769
34770 * nscd/connections.c (nscd_init): Fix comment.
34771
34772 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34773
34774 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34775
34776 [BZ #15667]
34777 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34778 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34779
34780 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34781
34782 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34783 DL_DST_REQ_STATIC.
34784 (DL_DST_REQ_STATIC): Remove macro.
34785
34786 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34787
34788 [BZ #7006]
34789 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34790 with a shift of 0 bits.
34791
34792 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34793
34794 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34795 $(tststatic-ENV).
34796
34797 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34798
34799 [BZ #15655]
34800 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34801
34802 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34803
34804 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34805 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34806 accepts -fno-tree-loop-distribute-patterns.
34807 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34808 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34809 recursive call.
34810 * string/memset.c (memset): Likewise.
34811 * string/test-memmove.c (simple_memmove): Disable loop transformation
34812 to library calls.
34813 * string/test-memset.c (simple_memset): Likewise.
34814 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34815 * benchtests/bench-memset.c (simple_memset): Likewise.
34816 * configure: Regenerated.
34817
34818 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34819
34820 * math/test-misc.c (main): Ignore fesetround failure when failures
34821 of subsequent rounding tests would be ignored.
34822
34823 [BZ #15654]
34824 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34825 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34826 * math/fegetenv.c (__fegetenv): Return 0.
34827 * math/fegetexcept.c (fegetexcept): Return 0.
34828 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34829 FE_TONEAREST.
34830 * math/feholdexcpt.c (feholdexcept): Return 0.
34831 * math/fesetenv.c (__fesetenv): Return 0.
34832 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34833 argument FE_TONEAREST.
34834 * math/feupdateenv.c (__feupdateenv): Return 0.
34835 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34836
34837 2013-06-18 Roland McGrath <roland@hack.frob.com>
34838
34839 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34840 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34841 ($(objpfx)rtld-%.os rules): Use them.
34842
34843 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34844
34845 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34846 fields.
34847
34848 2013-06-17 Roland McGrath <roland@hack.frob.com>
34849
34850 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34851 length of target pattern, then descending length of dependency pattern.
34852 * configure.in (AWK): Require gawk 3.1.2 or newer.
34853 * manual/install.texi (Tools for Compilation): Say that we do.
34854 * configure: Regenerated.
34855
34856 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34857 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34858 * scripts/sysd-rules.awk: ... this new script.
34859 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34860 than a glob-style pattern.
34861
34862 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34863
34864 * math/test-misc.c (main): Do not treat incorrectly rounded
34865 conversions as failure unless ROUNDING_TESTS passes.
34866
34867 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #15631]
34870 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34871 restore exception state around main square root computation, then
34872 check for inexactness explicitly.
34873
34874 * math/libm-test.inc (fma_test_data): Add another test.
34875
34876 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34877
34878 * manual/threads.texi (Non-POSIX Extensions): New document
34879 node. Document pthread_getattr_default_np and
34880 pthread_setattr_default_np.
34881
34882 * Versions.def (libpthread): Add GLIBC_2.18.
34883 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34885 Likewise.
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34887 Likewise.
34888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34889 Likewise.
34890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34891 Likewise.
34892 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34893 Likewise.
34894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34895 Likewise.
34896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34897 Likewise.
34898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34899 Likewise.
34900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34901 Likewise.
34902
34903 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34904
34905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34906 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34907
34908 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34909 H.J. Lu <hjl.tools@gmail.com>
34910
34911 [BZ #15627]
34912 * sysdeps/x86_64/rtld-memset.c: Remove file.
34913 * sysdeps/x86_64/rtld-memset.S: New file.
34914
34915 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34916
34917 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34918 (test_in_one_mode): Take arguments for whether the rounding mode
34919 is supported for each floating-point type.
34920 (do_test): Pass new arguments to test_in_one_mode using
34921 ROUNDING_TESTS.
34922
34923 2013-06-13 Roland McGrath <roland@hack.frob.com>
34924
34925 * posix/tst-waitid.c (do_test): Distinguish different instances of
34926 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34927 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34928 before entering the kernel for waitpid.
34929
34930 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34931
34932 * NEWS: Fix note on clock function precision. Text by Roland
34933 McGrath.
34934
34935 2013-06-13 Roland McGrath <roland@hack.frob.com>
34936
34937 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34938 it into place only when and if the sanity check passes.
34939
34940 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34941
34942 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34943 output for whether conversion result is exact. Take argument
34944 indicating whether type is IBM long double.
34945 (round_for_all): Change need_exact field to ibm_ld.
34946 * stdlib/tst-strtod-round.c (struct exactness): New type.
34947 (struct test): Change bool ld_ok field to struct exactness exact.
34948 (TEST): Update all definitions for change to field.
34949 (tests): Regenerate array contents.
34950 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34951 field value. Check for IBM long double here.
34952 (do_test): Update calls to test_in_one_mode.
34953
34954 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34955
34956 [BZ #12515]
34957 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34958 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34959
34960 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34961
34962 [BZ #15605]
34963 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34964 generated by the compiler on loop optimizations.
34965 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34966 general definitions.
34967
34968 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34969
34970 * math/bug-nextafter.c: Include <math-tests.h>.
34971 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34972 the relevant type.
34973 * math/bug-nexttoward.c: Include <math-tests.h>.
34974 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34975 the relevant type.
34976 * math/test-misc.c: Include <math-tests.h>.
34977 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34978 the relevant type.
34979
34980 2013-06-12 Andreas Jaeger <aj@suse.de>
34981
34982 * po/ia.po: Update Interlingua translation from translation
34983 project.
34984
34985 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34986
34987 * include/fenv.h: Include stdbool.h.
34988 (struct rm_ctx): New structure.
34989 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34990 Define macro.
34991 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34992 (SET_RESTORE_ROUNDF): Likewise.
34993 (SET_RESTORE_ROUNDL): Likewise.
34994 (SET_RESTORE_ROUND_NOEX): Likewise.
34995 (SET_RESTORE_ROUND_NOEXF): Likewise.
34996 (SET_RESTORE_ROUND_NOEXL): Likewise.
34997 (SET_RESTORE_ROUND_53BIT): Likewise.
34998 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34999 (libc_feresetround_noexf_ctx): Likewise.
35000 (libc_feresetround_noexl_ctx): Likewise.
35001 (libc_feholdsetround_53bit_ctx): Likewise.
35002 (libc_feresetround_53bit_ctx): Likewise.
35003 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35004 (libc_feholdexcept_setround_sse_ctx): New function.
35005 (libc_fesetenv_sse_ctx): Likewise.
35006 (libc_feupdateenv_sse_ctx): Likewise.
35007 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35008 (libc_feholdexcept_setround_387_ctx): Likewise.
35009 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35010 (libc_feholdsetround_387_prec_ctx): Likewise.
35011 (libc_feholdsetround_387_ctx): Likewise.
35012 (libc_feholdsetround_387_53bit_ctx): Likewise.
35013 (libc_feholdsetround_sse_ctx): Likewise.
35014 (libc_feresetround_sse_ctx): Likewise.
35015 (libc_feresetround_387_ctx): Likewise.
35016 (libc_feupdateenv_387_ctx): Likewise.
35017 (libc_feholdexcept_setroundf_ctx): Define macro.
35018 (libc_fesetenvf_ctx): Likewise.
35019 (libc_feupdateenvf_ctx): Likewise.
35020 (libc_feholdsetroundf_ctx): Likewise.
35021 (libc_feresetroundf_ctx): Likewise.
35022 (libc_feholdexcept_setround_ctx): Likewise.
35023 (libc_fesetenv_ctx): Likewise.
35024 (libc_feupdateenv_ctx): Likewise.
35025 (libc_feholdsetround_ctx): Likewise.
35026 (libc_feresetround_ctx): Likewise.
35027 (libc_feholdexcept_setroundl_ctx): Likewise.
35028 (libc_feupdateenvl_ctx): Likewise.
35029 (libc_feholdsetroundl_ctx): Likewise.
35030 (libc_feresetroundl_ctx): Likewise.
35031 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35032 (libc_feresetround_53bit_ctx): Likewise.
35033
35034 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35035
35036 * locale/iso-639.def: Convert to UTF-8.
35037
35038 2013-06-11 Joseph Myers <joseph@codesourcery.com>
35039
35040 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35041 (EXCEPTION_TESTS_double): Likewise.
35042 (EXCEPTION_TESTS_long_double): Likewise.
35043 (EXCEPTION_TESTS): Likewise.
35044 * math/libm-test.inc (test_exceptions): Only test exceptions if
35045 EXCEPTION_TESTS (FLOAT).
35046
35047 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35048
35049 * benchtests/Makefile (string-bench): Add strcpy_chk and
35050 stpcpy_chk.
35051 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35052 * benchtests/bench-stpcpy_chk.c: New file.
35053 * benchtests/bench-strcpy_chk-ifunc.c: New file.
35054 * benchtests/bench-strcpy_chk.c: New file.
35055 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35056 code.
35057 (do_test): Likewise.
35058
35059 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35060
35061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35062 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35063 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35064 with tabs where appropriate.
35065 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35066 dl-procinfo.h.
35067 [PPC_PLATFORM_PPC440]: Likewise.
35068 [PPC_PLATFORM_PPC464]: Likewise.
35069 [PPC_PLATFORM_PPC476]: Likewise.
35070 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35071 ppc464, and ppc476 platform strings merging from ports/
35072 dl-procinfo.h.
35073
35074 2013-06-11 Andreas Schwab <schwab@suse.de>
35075
35076 [BZ #14991]
35077 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35078 (from_ucs4_idx): Regenerate.
35079 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35080 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35081 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35082 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35083 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35084 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35085 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35086 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35087 from FROM_LOOP and TO_LOOP specific macros.
35088 (BODY): Handle combining characters.
35089 * iconvdata/BIG5HKSCS.irreversible: Update.
35090 * iconvdata/BIG5HKSCS.precomposed: New file.
35091 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35092 characters.
35093 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35094
35095 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35096
35097 * include/sys/time.h: Fix indentation and add copyright header.
35098
35099 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35100 (do_test): Likewise.
35101 * string/test-memchr.c (do_one_test): Likewise.
35102 (do_test): Likewise.
35103 * string/test-memcmp.c (do_one_test): Likewise.
35104 (do_test): Likewise.
35105 * string/test-memcpy.c (do_one_test): Likewise.
35106 (do_test): Likewise.
35107 * string/test-memmem.c (do_one_test): Likewise.
35108 (do_test): Likewise.
35109 (do_random_tests): Likewise.
35110 * string/test-memmove.c (do_one_test): Likewise.
35111 (do_test): Likewise.
35112 * string/test-memset.c (do_one_test): Likewise.
35113 (do_test): Likewise.
35114 * string/test-rawmemchr.c (do_one_test): Likewise.
35115 (do_test): Likewise.
35116 * string/test-strcasecmp.c (do_one_test): Likewise.
35117 (do_test): Likewise.
35118 * string/test-strcasestr.c (do_one_test): Likewise.
35119 (do_test): Likewise.
35120 * string/test-strcat.c (do_one_test): Likewise.
35121 (do_test): Likewise.
35122 * string/test-strchr.c (do_one_test): Likewise.
35123 (do_test): Likewise.
35124 * string/test-strcmp.c (do_one_test): Likewise.
35125 (do_test): Likewise.
35126 * string/test-strcpy.c (do_one_test): Likewise.
35127 (do_test): Likewise.
35128 * string/test-string.h: Likewise.
35129 (test_init): Likewise.
35130 * string/test-strlen.c (do_one_test): Likewise.
35131 (do_test): Likewise.
35132 * string/test-strncasecmp.c (do_one_test): Likewise.
35133 (do_test): Likewise.
35134 * string/test-strncat.c (do_one_test): Likewise.
35135 (do_test): Likewise.
35136 * string/test-strncmp.c (do_one_test): Likewise.
35137 (do_test_limit): Likewise.
35138 (do_test): Likewise.
35139 * string/test-strncpy.c (do_one_test): Likewise.
35140 (do_test): Likewise.
35141 * string/test-strnlen.c (do_one_test): Likewise.
35142 (do_test): Likewise.
35143 * string/test-strpbrk.c (do_one_test): Likewise.
35144 (do_test): Likewise.
35145 * string/test-strrchr.c (do_one_test): Likewise.
35146 (do_test): Likewise.
35147 * string/test-strspn.c (do_one_test): Likewise.
35148 (do_test): Likewise.
35149 * string/test-strstr.c (do_one_test): Likewise.
35150 (do_test): Likewise.
35151
35152 * benchtests/Makefile (string-bench): Add string benchmarks.
35153 * benchtests/bench-bcopy-ifunc.c: New file.
35154 * benchtests/bench-bcopy.c: New file.
35155 * benchtests/bench-bzero-ifunc.c: New file.
35156 * benchtests/bench-bzero.c: New file.
35157 * benchtests/bench-memccpy-ifunc.c: New file.
35158 * benchtests/bench-memccpy.c: New file.
35159 * benchtests/bench-memchr-ifunc.c: New file.
35160 * benchtests/bench-memchr.c: New file.
35161 * benchtests/bench-memcmp-ifunc.c: New file.
35162 * benchtests/bench-memcmp.c: New file.
35163 * benchtests/bench-memmem-ifunc.c: New file.
35164 * benchtests/bench-memmem.c: New file.
35165 * benchtests/bench-memmove-ifunc.c: New file.
35166 * benchtests/bench-memmove.c: New file.
35167 * benchtests/bench-mempcpy-ifunc.c: New file.
35168 * benchtests/bench-mempcpy.c: New file.
35169 * benchtests/bench-memset-ifunc.c: New file.
35170 * benchtests/bench-memset.c: New file.
35171 * benchtests/bench-rawmemchr-ifunc.c: New file.
35172 * benchtests/bench-rawmemchr.c: New file.
35173 * benchtests/bench-stpcpy-ifunc.c: New file.
35174 * benchtests/bench-stpcpy.c: New file.
35175 * benchtests/bench-stpncpy-ifunc.c: New file.
35176 * benchtests/bench-stpncpy.c: New file.
35177 * benchtests/bench-strcasecmp-ifunc.c: New file.
35178 * benchtests/bench-strcasecmp.c: New file.
35179 * benchtests/bench-strcasestr-ifunc.c: New file.
35180 * benchtests/bench-strcasestr.c: New file.
35181 * benchtests/bench-strcat-ifunc.c: New file.
35182 * benchtests/bench-strcat.c: New file.
35183 * benchtests/bench-strchr-ifunc.c: New file.
35184 * benchtests/bench-strchr.c: New file.
35185 * benchtests/bench-strchrnul-ifunc.c: New file.
35186 * benchtests/bench-strchrnul.c: New file.
35187 * benchtests/bench-strcmp-ifunc.c: New file.
35188 * benchtests/bench-strcmp.c: New file.
35189 * benchtests/bench-strcpy-ifunc.c: New file.
35190 * benchtests/bench-strcpy.c: New file.
35191 * benchtests/bench-strcspn-ifunc.c: New file.
35192 * benchtests/bench-strcspn.c: New file.
35193 * benchtests/bench-strlen-ifunc.c: New file.
35194 * benchtests/bench-strlen.c: New file.
35195 * benchtests/bench-strncasecmp-ifunc.c: New file.
35196 * benchtests/bench-strncasecmp.c: New file.
35197 * benchtests/bench-strncat-ifunc.c: New file.
35198 * benchtests/bench-strncat.c: New file.
35199 * benchtests/bench-strncmp-ifunc.c: New file.
35200 * benchtests/bench-strncmp.c: New file.
35201 * benchtests/bench-strncpy-ifunc.c: New file.
35202 * benchtests/bench-strncpy.c: New file.
35203 * benchtests/bench-strnlen-ifunc.c: New file.
35204 * benchtests/bench-strnlen.c: New file.
35205 * benchtests/bench-strpbrk-ifunc.c: New file.
35206 * benchtests/bench-strpbrk.c: New file.
35207 * benchtests/bench-strrchr-ifunc.c: New file.
35208 * benchtests/bench-strrchr.c: New file.
35209 * benchtests/bench-strspn-ifunc.c: New file.
35210 * benchtests/bench-strspn.c: New file.
35211 * benchtests/bench-strstr-ifunc.c: New file.
35212 * benchtests/bench-strstr.c: New file.
35213
35214 * benchtests/Makefile: Disable parallel execution of targets.
35215 (string-bench): Add memcpy.
35216 (benchset): New variable to store a list of benchmark sets.
35217 (bench-func): Renamed from bench.
35218 (bench-set): New target.
35219 (bench): Depend on bench-func and bench-set.
35220 * benchtests/README: Add section on benchmark sets.
35221 * benchtests/bench-memcpy-ifunc.c: New file.
35222 * benchtests/bench-memcpy.c: New file.
35223 * benchtests/bench-string.h: New file.
35224
35225 2013-06-11 Andreas Schwab <schwab@suse.de>
35226
35227 [BZ #15577]
35228 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35229 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35230 values in the triple.
35231 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35232 terminator in the group key.
35233
35234 2013-06-11 Andreas Jaeger <aj@suse.de>
35235
35236 * po/zh_TW.po: Update Chinese (traditional) translation from
35237 translation project.
35238
35239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35240
35241 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35242 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35243 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35245 (clock_getcpuclockid): Likewise.
35246 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35247 Add weak_alias and libc_hidden_def.
35248 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35249 * rt/clock_gettime.c (clock_gettime): Rename to
35250 __clock_gettime. Add weak_alias and libc_hidden_def.
35251 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35252 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35253 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35254 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35255 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35256 Likewise.
35257 * rt/clock_settime.c (clock_settime): Rename to
35258 __clock_settime. Add weak_alias and libc_hidden_def.
35259 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35260
35261 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35262
35263 * mach/err_boot.sub: Remove trailing whitespace.
35264 * mach/err_ipc.sub: Likewise.
35265 * mach/err_mach.sub: Likewise.
35266
35267 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35268 (ROUNDING_TESTS_double): Likewise.
35269 (ROUNDING_TESTS_long_double): Likewise.
35270 (ROUNDING_TESTS): Likewise.
35271 * math/libm-test.inc: Include <math-tests.h>.
35272 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35273 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35274 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35275 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35276
35277 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35278
35279 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35280 of assigning.
35281
35282 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35283
35284 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35285 otherwise empty TRANS lines.
35286 * sysdeps/gnu/errlist.c: Regenerated.
35287
35288 * catgets/gencat.c (error_print): Use (void) in function
35289 definition.
35290 * crypt/crypt_util.c (__init_des): Likewise.
35291 * crypt/speeds.c (Stop): Likewise.
35292 (main): Likewise.
35293 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35294 * inet/ruserpass.c (token): Likewise.
35295 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35296 * intl/localealias.c (extend_alias_table): Likewise.
35297 * intl/plural-exp.c (init_germanic_plural): Likewise.
35298 * libio/fcloseall.c (__fcloseall): Likewise.
35299 * libio/genops.c (_IO_flush_all): Likewise.
35300 (_IO_flush_all_linebuffered): Likewise.
35301 (_IO_cleanup): Likewise.
35302 (_IO_iter_begin): Likewise.
35303 (_IO_iter_end): Likewise.
35304 (_IO_list_lock): Likewise.
35305 (_IO_list_unlock): Likewise.
35306 (_IO_list_resetlock): Likewise.
35307 * libio/getchar.c (getchar): Likewise.
35308 * libio/getchar_u.c (getchar_unlocked): Likewise.
35309 * libio/getwchar.c (getwchar): Likewise.
35310 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35311 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35312 * login/getpt.c (__getpt): Likewise.
35313 * login/tst-utmp.c (main): Likewise.
35314 * malloc/hooks.c (__malloc_check_init): Likewise.
35315 * malloc/malloc.c (__malloc_stats): Likewise.
35316 * malloc/mtrace.c (tr_break): Likewise.
35317 (mtrace): Likewise.
35318 (muntrace): Likewise.
35319 * misc/fstab.c (endfsent): Likewise.
35320 * misc/getclktck.c (__getclktck): Likewise.
35321 * misc/getdtsz.c (__getdtablesize): Likewise.
35322 * misc/gethostid.c (gethostid): Likewise.
35323 * misc/getpagesize.c (__getpagesize): Likewise.
35324 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35325 (__get_nprocs): Likewise.
35326 (__get_phys_pages): Likewise.
35327 (__get_avphys_pages): Likewise.
35328 * misc/getttyent.c (getttyent): Likewise.
35329 (setttyent): Likewise.
35330 (endttyent): Likewise.
35331 * misc/getusershell.c (getusershell): Likewise.
35332 (endusershell): Likewise.
35333 (setusershell): Likewise.
35334 (initshells): Likewise.
35335 * misc/hsearch.c (__hdestroy): Likewise.
35336 * misc/sync.c (sync): Likewise.
35337 * misc/syslog.c (closelog_internal): Likewise.
35338 (closelog): Likewise.
35339 * misc/ttyslot.c (ttyslot): Likewise.
35340 * misc/vhangup.c (vhangup): Likewise.
35341 * posix/fork.c (__fork): Likewise.
35342 * posix/getegid.c (__getegid): Likewise.
35343 * posix/geteuid.c (__geteuid): Likewise.
35344 * posix/getgid.c (__getgid): Likewise.
35345 * posix/getpid.c (__getpid): Likewise.
35346 * posix/getppid.c (__getppid): Likewise.
35347 * posix/getuid.c (__getuid): Likewise.
35348 * posix/pause.c (pause): Likewise.
35349 * posix/setpgrp.c (setpgrp): Likewise.
35350 * posix/setsid.c (__setsid): Likewise.
35351 * posix/test-vfork.c (noop): Likewise.
35352 * resolv/gethnamaddr.c (_endhtent): Likewise.
35353 (_gethtent): Likewise.
35354 (ht_endhostent): Likewise.
35355 (gethostent): Likewise.
35356 (dns_service): Likewise.
35357 * stdlib/drand48.c (drand48): Likewise.
35358 * stdlib/lrand48.c (lrand48): Likewise.
35359 * stdlib/mrand48.c (mrand48): Likewise.
35360 * stdlib/rand.c (rand): Likewise.
35361 * stdlib/random.c (__random): Likewise.
35362 * stdlib/setenv.c (clearenv): Likewise.
35363 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35364 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35365 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35366 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35367 (__get_nprocs): Likewise.
35368 (__get_phys_pages): Likewise.
35369 (__get_avphys_pages): Likewise.
35370 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35371 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35372 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35373 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35374 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35375 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35376 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35377 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35378 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35379 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35380 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35381 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35382 * sysdeps/posix/clock.c (clock): Likewise.
35383 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35384 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35385 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35386 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35387 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35389 (__get_nprocs_conf): Likewise.
35390 (__get_phys_pages): Likewise.
35391 (__get_avphys_pages): Likewise.
35392 * time/clock.c (clock): Likewise.
35393 * time/tzset.c (__tzname_max): Likewise.
35394
35395 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35396
35397 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35398 (__bswap_32): Do not use "register".
35399 * crypt/crypt.c (_ufc_doit_r): Likewise.
35400 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35401 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35402 * gmon/gmon.c (__monstartup): Likewise.
35403 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35404 * hurd/hurdmalloc.c (more_memory): Likewise.
35405 (malloc): Likewise.
35406 (free): Likewise.
35407 (realloc): Likewise.
35408 (malloc_fork_prepare): Likewise.
35409 (malloc_fork_parent): Likewise.
35410 (malloc_fork_child): Likewise.
35411 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35412 (_svcauth_des): Likewise.
35413 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35414 * inet/inet_net.c (inet_network): Likewise.
35415 * inet/inet_netof.c (inet_netof): Likewise.
35416 * inet/rcmd.c (__validuser2_sa): Likewise.
35417 * io/fts.c (fts_open): Likewise.
35418 (fts_load): Likewise.
35419 (fts_close): Likewise.
35420 (fts_read): Likewise.
35421 (fts_children): Likewise.
35422 (fts_build): Likewise.
35423 (fts_stat): Likewise.
35424 (fts_sort): Likewise.
35425 (fts_alloc): Likewise.
35426 (fts_lfree): Likewise.
35427 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35428 (_IO_file_xsgetn): Likewise.
35429 (_IO_file_xsgetn_mmap): Likewise.
35430 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35431 (_IO_cookie_write): Likewise.
35432 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35433 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35434 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35435 * malloc/obstack.c (_obstack_begin): Likewise.
35436 (_obstack_begin_1): Likewise.
35437 (_obstack_newchunk): Likewise.
35438 (_obstack_allocated_p): Likewise.
35439 (obstack_free): Likewise.
35440 (_obstack_memory_used): Likewise.
35441 * misc/getttyent.c (getttynam): Likewise.
35442 (getttyent): Likewise.
35443 (skip): Likewise.
35444 (value): Likewise.
35445 * misc/getusershell.c (initshells): Likewise.
35446 * misc/syslog.c (__vsyslog_chk): Likewise.
35447 * misc/ttyslot.c (ttyslot): Likewise.
35448 * nis/nis_hash.c (__nis_hash): Likewise.
35449 * posix/fnmatch_loop.c (FCT): Likewise.
35450 * posix/getconf.c (print_all): Likewise.
35451 (main): Likewise.
35452 * posix/getopt.c (exchange): Likewise.
35453 * posix/glob.c (globfree): Likewise.
35454 (prefix_array): Likewise.
35455 (__glob_pattern_type): Likewise.
35456 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35457 (NS_GET32): Likewise.
35458 (NS_PUT16): Likewise.
35459 (NS_PUT32): Likewise.
35460 * resolv/gethnamaddr.c (getanswer): Likewise.
35461 (gethostbyname2): Likewise.
35462 (gethostbyaddr): Likewise.
35463 (_gethtent): Likewise.
35464 (_gethtbyname2): Likewise.
35465 (_gethtbyaddr): Likewise.
35466 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35467 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35468 * resolv/res_init.c (__res_vinit): Likewise.
35469 (net_mask): Likewise.
35470 * resolv/res_mkquery.c (outchar): Likewise.
35471 (PRINT): Likewise.
35472 * stdio-common/printf_fp.c (outchar): Likewise.
35473 (PRINT): Likewise.
35474 * stdio-common/printf_fphex.c (outchar): Likewise.
35475 (PRINT): Likewise.
35476 * stdio-common/printf_size.c (outchar): Likewise.
35477 (PRINT): Likewise.
35478 * stdio-common/test_rdwr.c (main): Likewise.
35479 * stdio-common/tfformat.c (matches): Likewise.
35480 * stdio-common/vfprintf.c (outchar): Likewise.
35481 (printf_unknown): Likewise.
35482 (buffered_vfprintf): Likewise.
35483 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35484 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35485 (ReadFile): Likewise.
35486 * stdlib/qsort.c (SWAP): Likewise.
35487 (_quicksort): Likewise.
35488 * stdlib/setenv.c (__add_to_environ): Likewise.
35489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35490 * stdlib/strtol_l.c (__strtol_l): Likewise.
35491 * stdlib/tst-strtod.c (main): Likewise.
35492 * stdlib/tst-strtol.c (main): Likewise.
35493 * stdlib/tst-strtoll.c (main): Likewise.
35494 * string/bits/string2.h (__strcmp_cc): Likewise.
35495 (__strcmp_cg): Likewise.
35496 (__strcspn_c1): Likewise.
35497 (__strcspn_c2): Likewise.
35498 (__strcspn_c3): Likewise.
35499 (__strspn_c1): Likewise.
35500 (__strspn_c2): Likewise.
35501 (__strspn_c3): Likewise.
35502 (__strsep_1c): Likewise.
35503 (__strsep_2c): Likewise.
35504 (__strsep_3c): Likewise.
35505 * string/memccpy.c (__memccpy): Likewise.
35506 * string/stpcpy.c (__stpcpy): Likewise.
35507 * string/strcmp.c (strcmp): Likewise.
35508 * string/strrchr.c (strrchr): Likewise.
35509 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35510 Likewise.
35511 * sysdeps/mach/hurd/getcwd.c
35512 (_hurd_canonicalize_directory_name_internal): Likewise.
35513 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35514 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35515 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35516 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35517 Likewise, in both definitions.
35518 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35519 definitions.
35520 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35521 64] (__bswap_64): Likewise.
35522 * time/test_time.c (main): Likewise.
35523 * time/tzfile.c (__tzfile_read): Likewise.
35524 (__tzfile_compute): Likewise.
35525 * time/tzset.c (__tzset_parse_tz): Likewise.
35526 (tzset_internal): Likewise.
35527 (compute_change): Likewise.
35528 * wcsmbs/wcscat.c (__wcscat): Likewise.
35529 * wcsmbs/wcschr.c (wcschr): Likewise.
35530 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35531 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35532 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35533 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35534 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35535 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35536 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35537 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35538 * wcsmbs/wmemset.c (wmemset): Likewise.
35539
35540 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35541
35542 * scripts/config.guess: Update to version 2013-05-16.
35543 * scripts/config.sub: Update to version 2013-04-24.
35544 * scripts/install-sh: Update to version 2011-11-20.07.
35545 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35546 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35547
35548 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35549
35550 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35551 * elf/sln.c: Likewise.
35552 * hurd/hurd/ioctl.h: Likewise.
35553 * hurd/hurdmalloc.c: Likewise.
35554 * hurd/xattr.c: Likewise.
35555 * include/shlib-compat.h: Likewise.
35556 * inet/ruserpass.c: Likewise.
35557 * libio/iofgets_u.c: Likewise.
35558 * libio/iofgetws_u.c: Likewise.
35559 * locale/programs/ld-identification.c: Likewise.
35560 * locale/programs/ld-time.c: Likewise.
35561 * mach/msg-destroy.c: Likewise.
35562 * nss/nss_files/files-netgrp.c: Likewise.
35563 * resolv/res_data.c: Likewise.
35564 * soft-fp/op-1.h: Likewise.
35565 * soft-fp/op-2.h: Likewise.
35566 * soft-fp/op-4.h: Likewise.
35567 * soft-fp/op-common.h: Likewise.
35568 * stdio-common/printf_fphex.c: Likewise.
35569 * stdlib/strtod_l.c: Likewise.
35570 * sunrpc/rpc/clnt.h: Likewise.
35571 * sysdeps/generic/framestate.c: Likewise.
35572 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35573 * sysdeps/i386/bsd-setjmp.S: Likewise.
35574 * sysdeps/i386/__longjmp.S: Likewise.
35575 * sysdeps/i386/setjmp.S: Likewise.
35576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35577 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35594 * sysdeps/ieee754/support.c: Likewise.
35595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35596 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35597 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35598 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35599 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35600 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35601 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35602 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35603 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35604 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35605 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35606 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35608 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35609 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35610 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35611 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35613
35614 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35615
35616 * posix/transbug.c: Remove executable mode.
35617
35618 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35619
35620 * crypt/speeds.c: Remove trailing whitespace.
35621 * dlfcn/default.c: Likewise.
35622 * elf/ifuncdep2.c: Likewise.
35623 * elf/ifuncmain1.c: Likewise.
35624 * elf/ifuncmain1vis.c: Likewise.
35625 * elf/testobj.h: Likewise.
35626 * elf/tst-stackguard1.c: Likewise.
35627 * gmon/sys/gmon.h: Likewise.
35628 * hurd/hurdmsg.c: Likewise.
35629 * hurd/new-fd.c: Likewise.
35630 * hurd/ports-get.c: Likewise.
35631 * iconvdata/ibm1008_420.c: Likewise.
35632 * inet/tst-getni1.c: Likewise.
35633 * inet/tst-getni2.c: Likewise.
35634 * libio/ioungetc.c: Likewise.
35635 * libio/wfiledoalloc.c: Likewise.
35636 * manual/libm-err-tab.pl: Likewise.
35637 * math/w_dremf.c: Likewise.
35638 * misc/ftruncate.c: Likewise.
35639 * posix/bug-glob2.c: Likewise.
35640 * posix/tst-pcre.c: Likewise.
35641 * posix/wait4.c: Likewise.
35642 * resolv/README: Likewise.
35643 * resolv/res_debug.h: Likewise.
35644 * resolv/tst-inet_ntop.c: Likewise.
35645 * setjmp/bug269-setjmp.c: Likewise.
35646 * soft-fp/extended.h: Likewise.
35647 * soft-fp/op-1.h: Likewise.
35648 * soft-fp/op-2.h: Likewise.
35649 * soft-fp/op-4.h: Likewise.
35650 * soft-fp/op-8.h: Likewise.
35651 * soft-fp/testit.c: Likewise.
35652 * stdio-common/bug16.c: Likewise.
35653 * stdlib/random.c: Likewise.
35654 * sunrpc/rpcsvc/rquota.x: Likewise.
35655 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35662 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35684 * sysdeps/ieee754/s_lib_version.c: Likewise.
35685 * sysdeps/mach/hurd/check_fds.c: Likewise.
35686 * sysdeps/mach/hurd/getsockname.c: Likewise.
35687 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35688 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35689 * sysdeps/powerpc/bits/link.h: Likewise.
35690 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35691 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35692 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35693 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35694 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35695 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35696 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35697 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35698 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35699 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35700 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35701 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35702 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35703 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35704 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35705 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35709 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35711 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35713 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35714 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35722 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35723 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35724 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35725 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35726 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35727 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35728 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35729 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35730 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35731 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35732 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35733 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35734 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35735 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35736 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35737 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35738 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35739 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35744 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35745 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35746 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35748 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35750 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35751 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35752 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35753 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35754 * sysdeps/powerpc/sysdep.h: Likewise.
35755 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35756 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35757 * sysdeps/sh/dl-trampoline.S: Likewise.
35758 * sysdeps/sh/memset.S: Likewise.
35759 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35760 * sysdeps/sh/strlen.S: Likewise.
35761 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35762 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35763 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35764 * sysdeps/sparc/sparc32/rem.S: Likewise.
35765 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35766 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35767 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35768 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35769 * sysdeps/sparc/sparc32/urem.S: Likewise.
35770 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35771 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35772 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35773 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35775 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35776 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35777 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35778 * sysdeps/unix/bsd/times.c: Likewise.
35779 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35780 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35784 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35785 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35786 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35787 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35788 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35789 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35790 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35791 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35792 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35793 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35794 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35795 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35796 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35797 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35798 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35799 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35800 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35801 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35802 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35803 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35804 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35805 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35807 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35808 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35809 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35810 * sysdeps/x86_64/strcspn.S: Likewise.
35811
35812 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35813
35814 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35815 generated file. Regenerate properly from gen-translit.pl.
35816 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35817 locale/C-translit.h.
35818
35819 2013-06-05 Andreas Schwab <schwab@suse.de>
35820
35821 [BZ #15100]
35822 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35823 week as 6 instead of -1.
35824 * time/tst-strptime.c (day_tests): Add test case.
35825
35826 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35827
35828 * sysdeps/generic/math_private.h
35829 (libc_feholdexcept_setround_53bit): Replace with
35830 libc_feholdsetround_53bit.
35831 (libc_feupdateenv_53bit): Replace with
35832 libc_feresetround_53bit.
35833 (SET_RESTORE_ROUND_53BIT): Adjust.
35834
35835 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35836
35837 * string/test-strchrnul.c: Add copyright header.
35838
35839 * posix/tst-getaddrinfo4.c: Increase test timeout.
35840
35841 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35842
35843 [BZ #15536]
35844 * math/libm-test.inc (MAX_EXP): Remove
35845 (MIN_EXP): Define.
35846 (ulp): Use MIN_EXP - MANT_DIG.
35847 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35848
35849 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35850
35851 * po/be.po: Revert last change.
35852 * po/zh_CN.po: Likewise.
35853 * po/header.pot: Likewise.
35854
35855 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35856
35857 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35858 link-libc-deps to empty as target-specific variable.
35859 * Makerules (link-libc-args): New variable.
35860 (libc-for-link): Likewise.
35861 (link-libc-deps): Likewise.
35862 (lib%.so): Depend on $(link-libc-deps). Link with
35863 $(link-libc-args).
35864 (build-module): Link with $(link-libc-args).
35865 (build-module-asneeded): Likewise.
35866 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35867 list of objects.
35868 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35869 target-specific variable.
35870 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35871 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35872 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35873 libc.
35874 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35875 libc and ld.so.
35876 ($(objpfx)libpcprofile.so): Likewise.
35877 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35878 libc_nonshared.a.
35879 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35880 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35881 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35882 $(link-libc-deps).
35883 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35884 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35885 * login/Makefile ($(objpfx)libutil.so): Likewise.
35886 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35887 * math/Makefile ($(objpfx)libm.so): Likewise.
35888 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35889 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35890 variable instead of depending directly on libc.
35891 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35892 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35893 $(link-libc-deps).
35894 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35895 libc.
35896 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35897 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35898 ($(objpfx)libanl.so): Likewise.
35899 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35900 ld.so.
35901 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35902 $(link-libc-deps).
35903 * sysdeps/i386/fpu/Makefile: Remove file.
35904 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35905 ($(objpfx)libm.so): Remove dependency on ld.so.
35906
35907 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35908
35909 [BZ # 15553]
35910 * nis/yp_xdr.c (XDRMAXNAME): Define.
35911 (XDRMAXRECORD): Define.
35912 (xdr_domainname): Use XDRMAXNAME.
35913 (xdr_mapname): Likewise.
35914 (xdr_peername): Likewise.
35915 (xdr_keydat): Use XDRMAXRECORD.
35916 (xdr_valdat): Likewise.
35917
35918 2013-05-30 Jeff Law <law@redhat.com>
35919
35920 [BZ #14256]
35921 * manual/errno.texi (ESTALE): Update to account for more than
35922 just NFS file systems.
35923 * sysdeps/gnu/errlist.c: Regenerated.
35924
35925 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35926
35927 [BZ #15465]
35928 * elf/Makefile (tests): Add tst-null-argv.
35929 (modules-names): Add tst-null-argv-lib.
35930 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35931 (tst-null-argv-ENV): Set environment for tst-null-argv.
35932 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35933 (RTLD_PROGNAME): New macro.
35934 * elf/tst-null-argv.c: New test case.
35935 * elf/tst-null-argv-lib.c: Library for test case.
35936 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35937 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35938 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35939 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35940 * elf/dl-init.c (call_init): Likewise.
35941 (_dl_init): Likewise.
35942 * elf/dl-load.c (print_search_path): Likewise.
35943 (_dl_map_object): Likewise.
35944 * elf/dl-lookup.c (do_lookup_x): Likewise.
35945 (add_dependency): Likewise.
35946 (_dl_lookup_symbol_x): Likewise.
35947 (_dl_debug_bindings): Likewise.
35948 * elf/dl-open.c (_dl_show_scope): Likewise.
35949 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35950 * elf/dl-version.c (match_symbol): Likewise.
35951 (_dl_check_map_versions): Likewise.
35952 * elf/rtld.c (dl_main): Likewise.
35953 (print_unresolved): Use RTLD_PROGNAME.
35954 (print_missing_version): Likewise.
35955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35956 (elf_machine_rela): Likewise.
35957 * sysdeps/powerpc/powerpc32/dl-machine.c
35958 (__process_machine_rela): Likewise.
35959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35960 Likewise.
35961 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35962 Likewise.
35963 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35964 Likewise.
35965 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35967 Likewise.
35968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35969 Likewise.
35970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35971
35972 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35973
35974 * po/be.po: Add descriptive title.
35975 * po/zh_CN.po: Likewise.
35976 * po/header.pot: Likewise.
35977
35978 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35979
35980 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35981 error message.
35982 (enlarge_archive): Likewise.
35983
35984 2013-05-28 Ben North <ben@redfrontdoor.org>
35985
35986 * manual/arith.texi (frexp): It is the magnitude of the return
35987 value which lies in [0.5, 1), not the return value itself.
35988
35989 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35990
35991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35992
35993 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35994
35995 * stdio-common/bug26.c (main): Correct fscanf template.
35996
35997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35998 declare _dl_skip_args.
35999
36000 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36001 Don't declare.
36002
36003 * manual/platform.texi: Add missing @end deftypefun.
36004
36005 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36006
36007 [BZ #15529]
36008 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36009 bit of mantissa of 2^16382.
36010 * math/libm-test.inc (hypot_test_data): Add more tests.
36011
36012 * math/libm-test.inc: Add drem and pow10 to list of tested
36013 functions.
36014 (pow10_test): New function.
36015 (drem_test): Likewise.
36016 (drem_test_tonearest): Likewise.
36017 (drem_test_towardzero): Likewise.
36018 (drem_test_downward): Likewise.
36019 (drem_test_upward): Likewise.
36020 (main): Call the new functions.
36021
36022 * math/libm-test.inc (finite_test_data): Remove.
36023 (finite_test): Run tests from isfinite_test_data.
36024 (gamma_test_data): Remove.
36025 (gamma_test): Run tests from lgamma_test_data.
36026 * sysdeps/i386/fpu/libm-test-ulps: Update.
36027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36028
36029 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36030
36031 * manual/platform.texi: Add PowerPC PPR function set documentation.
36032 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36033 implementation.
36034
36035 2013-05-24 Carlos O'Donell <carlos@redhat.com>
36036
36037 * math/libm-test.inc (MAX_EXP): Define.
36038 (ULPDIFF): Define.
36039 (ulp): New function.
36040 (check_float_internal): Use ULPDIFF.
36041 (cpow_test): Disable failing test.
36042 (check_ulp): Test ulp() implemetnation.
36043 (main): Call check_ulp before starting tests.
36044
36045 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36046
36047 * math/gen-libm-test.pl (generate_testfile): Do not handle
36048 START_DATA and END_DATA.
36049 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36050 END_DATA.
36051 (acos_tonearest_test_data): Likewise.
36052 (acos_towardzero_test_data): Likewise.
36053 (acos_downward_test_data): Likewise.
36054 (acos_upward_test_data): Likewise.
36055 (acosh_test_data): Likewise.
36056 (asin_test_data): Likewise.
36057 (asin_tonearest_test_data): Likewise.
36058 (asin_towardzero_test_data): Likewise.
36059 (asin_downward_test_data): Likewise.
36060 (asin_upward_test_data): Likewise.
36061 (asinh_test_data): Likewise.
36062 (atan_test_data): Likewise.
36063 (atanh_test_data): Likewise.
36064 (atan2_test_data): Likewise.
36065 (cabs_test_data): Likewise.
36066 (cacos_test_data): Likewise.
36067 (cacosh_test_data): Likewise.
36068 (carg_test_data): Likewise.
36069 (casin_test_data): Likewise.
36070 (casinh_test_data): Likewise.
36071 (catan_test_data): Likewise.
36072 (catanh_test_data): Likewise.
36073 (cbrt_test_data): Likewise.
36074 (ccos_test_data): Likewise.
36075 (ccosh_test_data): Likewise.
36076 (ceil_test_data): Likewise.
36077 (cexp_test_data): Likewise.
36078 (cimag_test_data): Likewise.
36079 (clog_test_data): Likewise.
36080 (clog10_test_data): Likewise.
36081 (conj_test_data): Likewise.
36082 (copysign_test_data): Likewise.
36083 (cos_test_data): Likewise.
36084 (cos_tonearest_test_data): Likewise.
36085 (cos_towardzero_test_data): Likewise.
36086 (cos_downward_test_data): Likewise.
36087 (cos_upward_test_data): Likewise.
36088 (cosh_test_data): Likewise.
36089 (cosh_tonearest_test_data): Likewise.
36090 (cosh_towardzero_test_data): Likewise.
36091 (cosh_downward_test_data): Likewise.
36092 (cosh_upward_test_data): Likewise.
36093 (cpow_test_data): Likewise.
36094 (cproj_test_data): Likewise.
36095 (creal_test_data): Likewise.
36096 (csin_test_data): Likewise.
36097 (csinh_test_data): Likewise.
36098 (csqrt_test_data): Likewise.
36099 (ctan_test_data): Likewise.
36100 (ctan_tonearest_test_data): Likewise.
36101 (ctan_towardzero_test_data): Likewise.
36102 (ctan_downward_test_data): Likewise.
36103 (ctan_upward_test_data): Likewise.
36104 (ctanh_test_data): Likewise.
36105 (ctanh_tonearest_test_data): Likewise.
36106 (ctanh_towardzero_test_data): Likewise.
36107 (ctanh_downward_test_data): Likewise.
36108 (ctanh_upward_test_data): Likewise.
36109 (erf_test_data): Likewise.
36110 (erfc_test_data): Likewise.
36111 (exp_test_data): Likewise.
36112 (exp_tonearest_test_data): Likewise.
36113 (exp_towardzero_test_data): Likewise.
36114 (exp_downward_test_data): Likewise.
36115 (exp_upward_test_data): Likewise.
36116 (exp10_test_data): Likewise.
36117 (exp2_test_data): Likewise.
36118 (expm1_test_data): Likewise.
36119 (fabs_test_data): Likewise.
36120 (fdim_test_data): Likewise.
36121 (finite_test_data): Likewise.
36122 (floor_test_data): Likewise.
36123 (fma_test_data): Likewise.
36124 (fma_towardzero_test_data): Likewise.
36125 (fma_downward_test_data): Likewise.
36126 (fma_upward_test_data): Likewise.
36127 (fmax_test_data): Likewise.
36128 (fmin_test_data): Likewise.
36129 (fmod_test_data): Likewise.
36130 (fpclassify_test_data): Likewise.
36131 (frexp_test_data): Likewise.
36132 (gamma_test_data): Likewise.
36133 (hypot_test_data): Likewise.
36134 (ilogb_test_data): Likewise.
36135 (isfinite_test_data): Likewise.
36136 (isgreater_test_data): Likewise.
36137 (isgreaterequal_test_data): Likewise.
36138 (isinf_test_data): Likewise.
36139 (isless_test_data): Likewise.
36140 (islessequal_test_data): Likewise.
36141 (islessgreater_test_data): Likewise.
36142 (isnan_test_data): Likewise.
36143 (isnormal_test_data): Likewise.
36144 (issignaling_test_data): Likewise.
36145 (isunordered_test_data): Likewise.
36146 (j0_test_data): Likewise.
36147 (j1_test_data): Likewise.
36148 (jn_test_data): Likewise.
36149 (ldexp_test_data): Likewise.
36150 (lgamma_test_data): Likewise.
36151 (lrint_test_data): Likewise.
36152 (lrint_tonearest_test_data): Likewise.
36153 (lrint_towardzero_test_data): Likewise.
36154 (lrint_downward_test_data): Likewise.
36155 (lrint_upward_test_data): Likewise.
36156 (llrint_test_data): Likewise.
36157 (llrint_tonearest_test_data): Likewise.
36158 (llrint_towardzero_test_data): Likewise.
36159 (llrint_downward_test_data): Likewise.
36160 (llrint_upward_test_data): Likewise.
36161 (log_test_data): Likewise.
36162 (log10_test_data): Likewise.
36163 (log1p_test_data): Likewise.
36164 (log2_test_data): Likewise.
36165 (logb_test_data): Likewise.
36166 (logb_downward_test_data): Likewise.
36167 (lround_test_data): Likewise.
36168 (llround_test_data): Likewise.
36169 (modf_test_data): Likewise.
36170 (nearbyint_test_data): Likewise.
36171 (nextafter_test_data): Likewise.
36172 (nexttoward_test_data): Likewise.
36173 (pow_test_data): Likewise.
36174 (pow_tonearest_test_data): Likewise.
36175 (pow_towardzero_test_data): Likewise.
36176 (pow_downward_test_data): Likewise.
36177 (pow_upward_test_data): Likewise.
36178 (remainder_test_data): Likewise.
36179 (remainder_tonearest_test_data): Likewise.
36180 (remainder_towardzero_test_data): Likewise.
36181 (remainder_downward_test_data): Likewise.
36182 (remainder_upward_test_data): Likewise.
36183 (remquo_test_data): Likewise.
36184 (rint_test_data): Likewise.
36185 (rint_tonearest_test_data): Likewise.
36186 (rint_towardzero_test_data): Likewise.
36187 (rint_downward_test_data): Likewise.
36188 (rint_upward_test_data): Likewise.
36189 (round_test_data): Likewise.
36190 (scalb_test_data): Likewise.
36191 (scalbn_test_data): Likewise.
36192 (scalbln_test_data): Likewise.
36193 (signbit_test_data): Likewise.
36194 (sin_test_data): Likewise.
36195 (sin_tonearest_test_data): Likewise.
36196 (sin_towardzero_test_data): Likewise.
36197 (sin_downward_test_data): Likewise.
36198 (sin_upward_test_data): Likewise.
36199 (sincos_test_data): Likewise.
36200 (sinh_test_data): Likewise.
36201 (sinh_tonearest_test_data): Likewise.
36202 (sinh_towardzero_test_data): Likewise.
36203 (sinh_downward_test_data): Likewise.
36204 (sinh_upward_test_data): Likewise.
36205 (sqrt_test_data): Likewise.
36206 (tan_test_data): Likewise.
36207 (tan_tonearest_test_data): Likewise.
36208 (tan_towardzero_test_data): Likewise.
36209 (tan_downward_test_data): Likewise.
36210 (tan_upward_test_data): Likewise.
36211 (tanh_test_data): Likewise.
36212 (tgamma_test_data): Likewise.
36213 (trunc_test_data): Likewise.
36214 (y0_test_data): Likewise.
36215 (y1_test_data): Likewise.
36216 (yn_test_data): Likewise.
36217 (significand_test_data): Likewise.
36218
36219 * math/gen-libm-test.pl (@functions): Remove variable.
36220 (generate_testfile): Don't handle START and END lines.
36221 * math/libm-test.inc (START): New macro.
36222 (END): Likewise.
36223 (END_COMPLEX): Likewise.
36224 (acos_test): Use END macro without arguments.
36225 (acos_test_tonearest): Likewise.
36226 (acos_test_towardzero): Likewise.
36227 (acos_test_downward): Likewise.
36228 (acos_test_upward): Likewise.
36229 (acosh_test): Likewise.
36230 (asin_test): Likewise.
36231 (asin_test_tonearest): Likewise.
36232 (asin_test_towardzero): Likewise.
36233 (asin_test_downward): Likewise.
36234 (asin_test_upward): Likewise.
36235 (asinh_test): Likewise.
36236 (atan_test): Likewise.
36237 (atanh_test): Likewise.
36238 (atan2_test): Likewise.
36239 (cabs_test): Likewise.
36240 (cacos_test): Use END_COMPLEX macro without arguments.
36241 (cacosh_test): Likewise.
36242 (carg_test): Use END macro without arguments.
36243 (casin_test): Use END_COMPLEX macro without arguments.
36244 (casinh_test): Likewise.
36245 (catan_test): Likewise.
36246 (catanh_test): Likewise.
36247 (cbrt_test): Use END macro without arguments.
36248 (ccos_test): Use END_COMPLEX macro without arguments.
36249 (ccosh_test): Likewise.
36250 (ceil_test): Use END macro without arguments.
36251 (cexp_test): Use END_COMPLEX macro without arguments.
36252 (cimag_test): Use END macro without arguments.
36253 (clog_test): Use END_COMPLEX macro without arguments.
36254 (clog10_test): Likewise.
36255 (conj_test): Likewise.
36256 (copysign_test): Use END macro without arguments.
36257 (cos_test): Likewise.
36258 (cos_test_tonearest): Likewise.
36259 (cos_test_towardzero): Likewise.
36260 (cos_test_downward): Likewise.
36261 (cos_test_upward): Likewise.
36262 (cosh_test): Likewise.
36263 (cosh_test_tonearest): Likewise.
36264 (cosh_test_towardzero): Likewise.
36265 (cosh_test_downward): Likewise.
36266 (cosh_test_upward): Likewise.
36267 (cpow_test): Use END_COMPLEX macro without arguments.
36268 (cproj_test): Likewise.
36269 (creal_test): Use END macro without arguments.
36270 (csin_test): Use END_COMPLEX macro without arguments.
36271 (csinh_test): Likewise.
36272 (csqrt_test): Likewise.
36273 (ctan_test): Likewise.
36274 (ctan_test_tonearest): Likewise.
36275 (ctan_test_towardzero): Likewise.
36276 (ctan_test_downward): Likewise.
36277 (ctan_test_upward): Likewise.
36278 (ctanh_test): Likewise.
36279 (ctanh_test_tonearest): Likewise.
36280 (ctanh_test_towardzero): Likewise.
36281 (ctanh_test_downward): Likewise.
36282 (ctanh_test_upward): Likewise.
36283 (erf_test): Use END macro without arguments.
36284 (erfc_test): Likewise.
36285 (exp_test): Likewise.
36286 (exp_test_tonearest): Likewise.
36287 (exp_test_towardzero): Likewise.
36288 (exp_test_downward): Likewise.
36289 (exp_test_upward): Likewise.
36290 (exp10_test): Likewise.
36291 (exp2_test): Likewise.
36292 (expm1_test): Likewise.
36293 (fabs_test): Likewise.
36294 (fdim_test): Likewise.
36295 (finite_test): Likewise.
36296 (floor_test): Likewise.
36297 (fma_test): Likewise.
36298 (fma_test_towardzero): Likewise.
36299 (fma_test_downward): Likewise.
36300 (fma_test_upward): Likewise.
36301 (fmax_test): Likewise.
36302 (fmin_test): Likewise.
36303 (fmod_test): Likewise.
36304 (fpclassify_test): Likewise.
36305 (frexp_test): Likewise.
36306 (gamma_test): Likewise.
36307 (hypot_test): Likewise.
36308 (ilogb_test): Likewise.
36309 (isfinite_test): Likewise.
36310 (isgreater_test): Likewise.
36311 (isgreaterequal_test): Likewise.
36312 (isinf_test): Likewise.
36313 (isless_test): Likewise.
36314 (islessequal_test): Likewise.
36315 (islessgreater_test): Likewise.
36316 (isnan_test): Likewise.
36317 (isnormal_test): Likewise.
36318 (issignaling_test): Likewise.
36319 (isunordered_test): Likewise.
36320 (j0_test): Likewise.
36321 (j1_test): Likewise.
36322 (jn_test): Likewise.
36323 (ldexp_test): Likewise.
36324 (lgamma_test): Likewise.
36325 (lrint_test): Likewise.
36326 (lrint_test_tonearest): Likewise.
36327 (lrint_test_towardzero): Likewise.
36328 (lrint_test_downward): Likewise.
36329 (lrint_test_upward): Likewise.
36330 (llrint_test): Likewise.
36331 (llrint_test_tonearest): Likewise.
36332 (llrint_test_towardzero): Likewise.
36333 (llrint_test_downward): Likewise.
36334 (llrint_test_upward): Likewise.
36335 (log_test): Likewise.
36336 (log10_test): Likewise.
36337 (log1p_test): Likewise.
36338 (log2_test): Likewise.
36339 (logb_test): Likewise.
36340 (logb_test_downward): Likewise.
36341 (lround_test): Likewise.
36342 (llround_test): Likewise.
36343 (modf_test): Likewise.
36344 (nearbyint_test): Likewise.
36345 (nextafter_test): Likewise.
36346 (nexttoward_test): Likewise.
36347 (pow_test): Likewise.
36348 (pow_test_tonearest): Likewise.
36349 (pow_test_towardzero): Likewise.
36350 (pow_test_downward): Likewise.
36351 (pow_test_upward): Likewise.
36352 (remainder_test): Likewise.
36353 (remainder_test_tonearest): Likewise.
36354 (remainder_test_towardzero): Likewise.
36355 (remainder_test_downward): Likewise.
36356 (remainder_test_upward): Likewise.
36357 (remquo_test): Likewise.
36358 (rint_test): Likewise.
36359 (rint_test_tonearest): Likewise.
36360 (rint_test_towardzero): Likewise.
36361 (rint_test_downward): Likewise.
36362 (rint_test_upward): Likewise.
36363 (round_test): Likewise.
36364 (scalb_test): Likewise.
36365 (scalbn_test): Likewise.
36366 (scalbln_test): Likewise.
36367 (signbit_test): Likewise.
36368 (sin_test): Likewise.
36369 (sin_test_tonearest): Likewise.
36370 (sin_test_towardzero): Likewise.
36371 (sin_test_downward): Likewise.
36372 (sin_test_upward): Likewise.
36373 (sincos_test): Likewise.
36374 (sinh_test): Likewise.
36375 (sinh_test_tonearest): Likewise.
36376 (sinh_test_towardzero): Likewise.
36377 (sinh_test_downward): Likewise.
36378 (sinh_test_upward): Likewise.
36379 (sqrt_test): Likewise.
36380 (tan_test): Likewise.
36381 (tan_test_tonearest): Likewise.
36382 (tan_test_towardzero): Likewise.
36383 (tan_test_downward): Likewise.
36384 (tan_test_upward): Likewise.
36385 (tanh_test): Likewise.
36386 (tgamma_test): Likewise.
36387 (trunc_test): Likewise.
36388 (y0_test): Likewise.
36389 (y1_test): Likewise.
36390 (yn_test): Likewise.
36391 (significand_test): Likewise.
36392
36393 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36394
36395 [BZ #15381]
36396 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36397
36398 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36399
36400 [BZ #14894]
36401 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36402 __ppc_mdoio and __ppc_mdoom.
36403 * manual/platform.texi: Document new functions __ppc_yield,
36404 __ppc_mdoio and __ppc_mdoom.
36405
36406 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36407
36408 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36409 (main): Mention "tls" pseudo-hwcap is legacy.
36410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36411
36412 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36413
36414 * math/gen-libm-test.pl (parse_args): Output only string of
36415 arguments as text for test name, not full call or descriptions of
36416 tests for extra outputs.
36417 (generate_testfile): Do not pass function name to parse_args.
36418 Generate this_func variable from START.
36419 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36420 field to arg_str.
36421 (struct test_ff_f_data): Likewise.
36422 (test_ff_f_data_nexttoward): Likewise.
36423 (struct test_fi_f_data): Likewise.
36424 (struct test_fl_f_data): Likewise.
36425 (struct test_if_f_data): Likewise.
36426 (struct test_fff_f_data): Likewise.
36427 (struct test_c_f_data): Likewise.
36428 (struct test_f_f1_data): Likewise. Remove field extra_name.
36429 (struct test_fF_f1_data): Likewise.
36430 (struct test_ffI_f1_data): Likewise.
36431 (struct test_c_c_data): Rename test_name field to arg_str.
36432 (struct test_cc_c_data): Likewise.
36433 (struct test_f_i_data): Likewise.
36434 (struct test_ff_i_data): Likewise.
36435 (struct test_f_l_data): Likewise.
36436 (struct test_f_L_data): Likewise.
36437 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36438 and extra2_name.
36439 (COMMON_TEST_SETUP): New macro.
36440 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36441 (COMMON_TEST_CLEANUP): Likewise.
36442 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36443 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36444 macros.
36445 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36446 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36447 macros.
36448 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36449 (RUN_TEST_fff_f): Take argument string. Call new setup and
36450 cleanup macros.
36451 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36452 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36453 macros.
36454 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36455 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36456 macros.
36457 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36458 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36459 cleanup macros.
36460 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36461 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36462 cleanup macros.
36463 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36464 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36465 cleanup macros.
36466 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36467 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36468 macros.
36469 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36470 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36471 macros.
36472 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36473 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36474 macros.
36475 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36476 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36477 cleanup macros.
36478 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36479 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36480 cleanup macros.
36481 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36482 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36483 macros.
36484 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36485 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36486 cleanup macros.
36487 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36488 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36489 macros.
36490 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36491 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36492 macros.
36493 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36494 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36495 cleanup macros.
36496 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36497
36498 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36499
36500 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36501 to _sifields.sigfault.
36502 (si_addr_lsb): Define new macro.
36503 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36505 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36506
36507 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36508
36509 [BZ #15441]
36510 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36511 returns -1.
36512 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36513 null return -1.
36514 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36515 loading the domain.
36516
36517 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36518
36519 * math/gen-libm-test.pl (parse_args): Do not include expected
36520 result in test name.
36521 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36525 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36527
36528 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36529
36530 * benchtests/Makefile: Sort function entries.
36531
36532 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36533 tanh, asinh, acosh, atanh.
36534 * benchtests/acos-inputs: New file.
36535 * benchtests/acosh-inputs: New file.
36536 * benchtests/asin-inputs: New file.
36537 * benchtests/asinh-inputs: New file.
36538 * benchtests/atanh-inputs: New file.
36539 * benchtests/cosh-inputs: New file.
36540 * benchtests/log-inputs: New file.
36541 * benchtests/sinh-inputs: New file.
36542 * benchtests/tanh-inputs: New file.
36543
36544 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36545
36546 [BZ #15339]
36547 * posix/tst-getaddrinfo4.c: New test.
36548 * posix/Makefile (tests): Add it.
36549
36550 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36551
36552 [BZ #15339]
36553 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36554 when no services were used.
36555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36556 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36557
36558 2013-05-21 Andreas Schwab <schwab@suse.de>
36559
36560 [BZ #15014]
36561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36562 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36563 successful.
36564 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36565 redundant variable declarations and reallocation of buffer when
36566 parsing as IPv6 address. Always set NSS status when called from
36567 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36568 buffer too small. Correct computation of needed size.
36569 * nss/Makefile (tests): Add test-digits-dots.
36570 * nss/test-digits-dots.c: New test.
36571
36572 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36573
36574 * benchtests/Makefile: Remove instructions for adding
36575 benchmark tests.
36576 * benchtests/README: New file to explain how to execute and
36577 enhance the benchmark tests.
36578
36579 2013-05-21 Andreas Schwab <schwab@suse.de>
36580
36581 [BZ #15493]
36582 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36583 * setjmp/tst-sigsetjmp.c: New test.
36584
36585 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36586
36587 * sysdeps/x86_64/memset.S (memset): New implementation.
36588 (__bzero): Likewise.
36589 (__memset_tail): New function.
36590
36591 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36592
36593 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36594 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36595 __memcpy_sse2_unaligned ifunc selection.
36596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36597 Add memcpy-sse2-unaligned.S.
36598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36599 Add: __memcpy_sse2_unaligned.
36600
36601 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36602
36603 [BZ #15490]
36604 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36605 math_force_eval before restoring floating-point envrionment.
36606 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36608 Likewise.
36609 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36610 <math_private.h>.
36611 (__nearbyintl): Use math_force_eval before restoring
36612 floating-point environment.
36613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36614
36615 * math/gen-libm-test.pl (special_functions): Remove.
36616 (parse_args): Don't handle TEST_extra. Handle functions with no
36617 return value.
36618 * math/libm-test.inc (struct test_sincos_data): Replace with
36619 struct test_fFF_11_data.
36620 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36621 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36622 (sincos_test_data): Change element type to struct
36623 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36624 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36625 RUN_TEST_LOOP_sincos.
36626 * math/README.libm-test: Don't mention special handling of
36627 individual functions.
36628 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36634
36635 * math/gen-libm-test.pl (get_variable): Remove function.
36636 (parse_args): Don't show pointer parameters to call in test
36637 names. Use "extra output N" in test names for extra outputs
36638 rather than naming variables.
36639
36640 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36641
36642 [BZ #15488]
36643 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36644 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36645 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36646 double tests.
36647 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36648 disable.
36649 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36650 check_long_double.
36651
36652 * math/gen-libm-test.pl (@tests): Remove variable.
36653 ($count): Likewise.
36654 (new_test): Remove function.
36655 (show_exceptions): New function.
36656 (special_functions): Use show_exceptions instead of new_test.
36657 (parse_args): Likewise.
36658 (generate_testfile): Pass only function name in generated call to
36659 print_max_error or print_complex_max_error.
36660 (get_ulps): Do not handle complex tests specially.
36661 (output_test): Rename to ...
36662 (get_all_ulps_for_test): ... this. Return a string rather than
36663 printing to a file. Require ulps to be present.
36664 (output_ulps): Generate arrays rather than #defines.
36665 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36666 (struct ulp_data): New type.
36667 (BUILD_COMPLEX_ULP): Remove macro.
36668 (compare_ulp_data): New function.
36669 (find_ulps): Likewise.
36670 (find_test_ulps): Likewise.
36671 (find_function_ulps): Likewise.
36672 (find_complex_function_ulps): Likewise.
36673 (print_max_error): Determine allowed ulps using
36674 find_function_ulps.
36675 (print_complex_max_error): Determine allowed ulps using
36676 find_complex_function_ulps.
36677 (check_float_internal): Determine max ulps using find_test_ulps.
36678 (check_float): Do not take max_ulp parameter. Update call to
36679 check_float_internal.
36680 (check_complex): Likewise.
36681 (check_int): Do not take max_ulp parameter.
36682 (check_long): Likewise.
36683 (check_bool): Likewise.
36684 (check_longlong): Likewise.
36685 (struct test_f_f_data): Remove max_ulp field.
36686 (struct test_ff_f_data): Likewise.
36687 (struct test_ff_f_data_nexttoward): Likewise.
36688 (struct test_fi_f_data): Likewise.
36689 (struct test_fl_f_data): Likewise.
36690 (struct test_if_f_data): Likewise.
36691 (struct test_fff_f_data): Likewise.
36692 (struct test_c_f_data): Likewise.
36693 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36694 (struct test_fF_f1_data): Likewise.
36695 (struct test_ffI_f1_data): Likewise.
36696 (struct test_c_c_data): Remove max_ulp field.
36697 (struct test_cc_c_data): Likewise.
36698 (struct test_f_i_data): Likewise.
36699 (struct test_ff_i_data): Likewise.
36700 (struct test_f_l_data): Likewise.
36701 (struct test_f_L_data): Likewise.
36702 (struct test_sincos_data): Likewise.
36703 (RUN_TEST_f_f): Do not handle ulps.
36704 (RUN_TEST_LOOP_f_f): Likewise.
36705 (RUN_TEST_2_f): Likewise.
36706 (RUN_TEST_LOOP_2_f): Likewise.
36707 (RUN_TEST_fff_f): Likewise.
36708 (RUN_TEST_LOOP_fff_f): Likewise.
36709 (RUN_TEST_c_f): Likewise.
36710 (RUN_TEST_LOOP_c_f): Likewise.
36711 (RUN_TEST_f_f1): Likewise.
36712 (RUN_TEST_LOOP_f_f1): Likewise.
36713 (RUN_TEST_fF_f1): Likewise.
36714 (RUN_TEST_LOOP_fF_f1): Likewise.
36715 (RUN_TEST_fI_f1): Likewise.
36716 (RUN_TEST_LOOP_fI_f1): Likewise.
36717 (RUN_TEST_ffI_f1): Likewise.
36718 (RUN_TEST_LOOP_ffI_f1): Likewise.
36719 (RUN_TEST_c_c): Likewise.
36720 (RUN_TEST_LOOP_c_c): Likewise.
36721 (RUN_TEST_cc_c): Likewise.
36722 (RUN_TEST_LOOP_cc_c): Likewise.
36723 (RUN_TEST_f_i): Likewise.
36724 (RUN_TEST_LOOP_f_i): Likewise.
36725 (RUN_TEST_f_i_tg): Likewise.
36726 (RUN_TEST_LOOP_f_i_tg): Likewise.
36727 (RUN_TEST_ff_i_tg): Likewise.
36728 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36729 (RUN_TEST_f_b): Likewise.
36730 (RUN_TEST_LOOP_f_b): Likewise.
36731 (RUN_TEST_f_b_tg): Likewise.
36732 (RUN_TEST_LOOP_f_b_tg): Likewise.
36733 (RUN_TEST_f_l): Likewise.
36734 (RUN_TEST_LOOP_f_l): Likewise.
36735 (RUN_TEST_f_L): Likewise.
36736 (RUN_TEST_LOOP_f_L): Likewise.
36737 (RUN_TEST_sincos): Likewise.
36738 (RUN_TEST_LOOP_sincos): Likewise.
36739
36740 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36741
36742 [BZ #15480]
36743 [BZ #15485]
36744 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36745 main case of finite arguments, set rounding mode to FE_TONEAREST
36746 and discard exceptions.
36747 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36748 exceptions.
36749 (remainder_tonearest_test_data): New variable.
36750 (remainder_test_tonearest): New function.
36751 (remainder_towardzero_test_data): New variable.
36752 (remainder_test_towardzero): New function.
36753 (remainder_downward_test_data): New variable.
36754 (remainder_test_downward): New function.
36755 (remainder_upward_test_data): New variable.
36756 (remainder_test_upward): New function.
36757 (main): Call the new test functions.
36758
36759 * math/libm-test.inc (struct test_f_f1_data): Remove field
36760 extra_init.
36761 (struct test_fF_f1_data): Likewise.
36762 (struct test_ffI_f1_data): Likewise.
36763 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36764 based on value of EXTRA_EXPECTED.
36765 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36766 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36767 EXTRA_VAR based on value of EXTRA_EXPECTED.
36768 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36769 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36770 EXTRA_VAR based on value of EXTRA_EXPECTED.
36771 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36772 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36773 EXTRA_VAR based on value of EXTRA_EXPECTED.
36774 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36775 * math/gen-libm-test.pl (parse_args): Don't output initializers
36776 for extra output values.
36777
36778 * math/libm-test.inc (check_int): Expect result to be exactly
36779 equal to expected value and do not handle ulps.
36780 (check_long): Likewise.
36781 (check_longlong): Likewise.
36782
36783 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36784 exceptions.
36785 (cimag_test_data): Likewise.
36786 (conj_test_data): Likewise.
36787 (copysign_test_data): Likewise.
36788 (cproj_test_data): Likewise.
36789 (creal_test_data): Likewise.
36790 (fabs_test_data): Likewise.
36791 (fdim_test_data): Likewise.
36792 (finite_test_data): Likewise.
36793 (floor_test_data): Likewise.
36794 (fmax_test_data): Likewise.
36795 (fmin_test_data): Likewise.
36796 (fmod_test_data): Likewise.
36797 (fpclassify_test_data): Likewise.
36798 (frexp_test_data): Likewise.
36799 (ilogb_test_data): Likewise.
36800 (isfinite_test_data): Likewise.
36801 (isgreater_test_data): Likewise.
36802 (isgreaterequal_test_data): Likewise.
36803 (isinf_test_data): Likewise.
36804 (isless_test_data): Likewise.
36805 (islessequal_test_data): Likewise.
36806 (islessgreater_test_data): Likewise.
36807 (isnan_test_data): Likewise.
36808 (isnormal_test_data): Likewise.
36809 (issignaling_test_data): Likewise.
36810 (isunordered_test_data): Likewise.
36811 (ldexp_test_data): Likewise.
36812 (lrint_test_data): Likewise.
36813 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36814 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36815 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36816 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36817 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36818 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36819 test input.
36820 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36821 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36822 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36823 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36824 that test input.
36825 (lrint_downward_test_data): Test for "inexact" exceptions.
36826 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36827 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36828 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36829 test input.
36830 (lrint_upward_test_data): Test for "inexact" exceptions.
36831 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36832 test input.
36833 (llrint_test_data): Test for "inexact" exceptions.
36834 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36835 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36836 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36837 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36838 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36839 (llrint_downward_test_data): Test for "inexact" exceptions.
36840 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36841 (llrint_upward_test_data): Test for "inexact" exceptions.
36842 (logb_test_data): Likewise.
36843 (logb_downward_test_data): Likewise.
36844 (nextafter_test_data): Likewise.
36845 (nexttoward_test_data): Likewise.
36846 (remainder_test_data): Likewise.
36847 (remquo_test_data): Likewise.
36848 (scalbn_test_data): Likewise.
36849 (scalbln_test_data): Likewise.
36850 (signbit_test_data): Likewise.
36851 (sqrt_test_data): Likewise.
36852 (significand_test_data): Likewise.
36853
36854 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36855
36856 [BZ #15424]
36857 * benchtests/bench-modf.c (struct args): Mark arg0 as
36858 volatile.
36859 * scripts/bench.pl: Mark members of struct args as volatile.
36860
36861 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36862
36863 [BZ # 15497]
36864 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36865 negative infinity on POWER6 or lower.
36866 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36867
36868 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36869
36870 [BZ #15442]
36871 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36872 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36873 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36874 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36875 (_FP_SETQNAN): New macro.
36876 (_FP_SETQNAN_SEMIRAW): Likewise.
36877 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36878 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36879 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36880 (FP_EXTEND): Use _FP_FRAC_SNANP.
36881 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36882 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36883 into account.
36884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36885 New macro.
36886 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36887 Likewise.
36888
36889 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36890
36891 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36892 with DIVIDE_BY_ZERO_EXCEPTION.
36893 (gamma_test_data): Likewise.
36894 (lgamma_test_data): Likewise.
36895 (log_test_data): Likewise.
36896 (log10_test_data): Likewise.
36897 (log2_test_data): Likewise.
36898 (tgamma_test_data): Likewise.
36899
36900 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36901 (acos_test_tonearest): Likewise.
36902 (acos_test_towardzero): Likewise.
36903 (acos_test_downward): Likewise.
36904 (acos_test_upward): Likewise.
36905 (acosh_test): Likewise.
36906 (asin_test): Likewise.
36907 (asin_test_tonearest): Likewise.
36908 (asin_test_towardzero): Likewise.
36909 (asin_test_downward): Likewise.
36910 (asin_test_upward): Likewise.
36911 (asinh_test): Likewise.
36912 (atan_test): Likewise.
36913 (atanh_test): Likewise.
36914 (atan2_test): Likewise.
36915 (cabs_test): Likewise.
36916 (cacos_test): Likewise.
36917 (cacosh_test): Likewise.
36918 (casin_test): Likewise.
36919 (casinh_test): Likewise.
36920 (catan_test): Likewise.
36921 (catanh_test): Likewise.
36922 (cbrt_test): Likewise.
36923 (ccos_test): Likewise.
36924 (ccosh_test): Likewise.
36925 (cexp_test): Likewise.
36926 (clog_test): Likewise.
36927 (clog10_test): Likewise.
36928 (cos_test): Likewise.
36929 (cos_test_tonearest): Likewise.
36930 (cos_test_towardzero): Likewise.
36931 (cos_test_downward): Likewise.
36932 (cos_test_upward): Likewise.
36933 (cosh_test): Likewise.
36934 (cosh_test_tonearest): Likewise.
36935 (cosh_test_towardzero): Likewise.
36936 (cosh_test_downward): Likewise.
36937 (cosh_test_upward): Likewise.
36938 (cpow_test): Likewise.
36939 (csin_test): Likewise.
36940 (csinh_test): Likewise.
36941 (csqrt_test): Likewise.
36942 (ctan_test): Likewise.
36943 (ctan_test_tonearest): Likewise.
36944 (ctan_test_towardzero): Likewise.
36945 (ctan_test_downward): Likewise.
36946 (ctan_test_upward): Likewise.
36947 (ctanh_test): Likewise.
36948 (ctanh_test_tonearest): Likewise.
36949 (ctanh_test_towardzero): Likewise.
36950 (ctanh_test_downward): Likewise.
36951 (ctanh_test_upward): Likewise.
36952 (erf_test): Likewise.
36953 (erfc_test): Likewise.
36954 (exp_test): Likewise.
36955 (exp_test_tonearest): Likewise.
36956 (exp_test_towardzero): Likewise.
36957 (exp_test_downward): Likewise.
36958 (exp_test_upward): Likewise.
36959 (exp10_test): Likewise.
36960 (exp2_test): Likewise.
36961 (expm1_test): Likewise.
36962 (fmod_test): Likewise.
36963 (gamma_test): Likewise.
36964 (hypot_test): Likewise.
36965 (j0_test): Likewise.
36966 (j1_test): Likewise.
36967 (jn_test): Likewise.
36968 (lgamma_test): Likewise.
36969 (log_test): Likewise.
36970 (log10_test): Likewise.
36971 (log1p_test): Likewise.
36972 (log2_test): Likewise.
36973 (logb_test_downward): Likewise.
36974 (pow_test): Likewise.
36975 (pow_test_tonearest): Likewise.
36976 (pow_test_towardzero): Likewise.
36977 (pow_test_downward): Likewise.
36978 (pow_test_upward): Likewise.
36979 (remainder_test): Likewise.
36980 (remquo_test): Likewise.
36981 (sin_test): Likewise.
36982 (sin_test_tonearest): Likewise.
36983 (sin_test_towardzero): Likewise.
36984 (sin_test_downward): Likewise.
36985 (sin_test_upward): Likewise.
36986 (sincos_test): Likewise.
36987 (sinh_test): Likewise.
36988 (sinh_test_tonearest): Likewise.
36989 (sinh_test_towardzero): Likewise.
36990 (sinh_test_downward): Likewise.
36991 (sinh_test_upward): Likewise.
36992 (sqrt_test): Likewise.
36993 (tan_test): Likewise.
36994 (tan_test_tonearest): Likewise.
36995 (tan_test_towardzero): Likewise.
36996 (tan_test_downward): Likewise.
36997 (tan_test_upward): Likewise.
36998 (tanh_test): Likewise.
36999 (tgamma_test): Likewise.
37000 (y0_test): Likewise.
37001 (y1_test): Likewise.
37002 (yn_test): Likewise.
37003
37004 * math/gen-libm-test.pl (adjust_arg): Remove function.
37005 (special_function): Remove argument $in_func. Only handle
37006 generating output for tables of tests, not inside functions.
37007 (parse_args): Likewise.
37008 (generate_testfile): Remove variable $in_func. Update call to
37009 parse_args.
37010 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37011 (MINUS_ZERO_INIT): Rename macro to minus_zero.
37012 (PLUS_INFTY_INIT): Rename macro to plus_infty.
37013 (MINUS_INFTY_INIT): Rename macro to minus_infty.
37014 (QNAN_VALUE_INIT): Rename macro to qnan_value.
37015 (MAX_VALUE_INIT): Rename macro to max_value.
37016 (MIN_VALUE_INIT): Rename macro to min_value.
37017 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37018 (plus_zero): Remove variable.
37019 (minus_zero): Likewise.
37020 (plus_infty): Likewise.
37021 (minus_infty): Likewise.
37022 (qnan_value): Likewise.
37023 (max_value): Likewise.
37024 (min_value): Likewise.
37025 (min_subnorm_value): Likewise.
37026
37027 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37028
37029 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37030 uint64_t or uint32_t usage.
37031 * crypt/sha256-block.c: Likewise.
37032 * crypt/sha256-crypt.c: Likewise.
37033 * crypt/sha256.c: Likewise.
37034 * crypt/sha512-block.c: Likewise.
37035 * crypt/sha512-crypt.c: Likewise.
37036 * crypt/sha512.c: Likewise.
37037 * debug/backtrace-tst.c: Likewise.
37038 * debug/pcprofiledump.c: Likewise.
37039 * elf/cache.c: Likewise.
37040 * elf/dl-cache.c: Likewise.
37041 * elf/dl-misc.c: Likewise.
37042 * elf/dl-profile.c: Likewise.
37043 * elf/dl-support.c: Likewise.
37044 * elf/ldconfig.c: Likewise.
37045 * elf/sprof.c: Likewise.
37046 * iconv/dummy-repertoire.c: Likewise.
37047 * iconv/iconv_charmap.c: Likewise.
37048 * iconv/skeleton.c: Likewise.
37049 * iconvdata/8bit-generic.c: Likewise.
37050 * iconvdata/cp737.h: Likewise.
37051 * iconvdata/cp775.h: Likewise.
37052 * iconvdata/ibm1008.h: Likewise.
37053 * iconvdata/ibm1025.h: Likewise.
37054 * iconvdata/ibm1046.h: Likewise.
37055 * iconvdata/ibm1097.h: Likewise.
37056 * iconvdata/ibm1112.h: Likewise.
37057 * iconvdata/ibm1122.h: Likewise.
37058 * iconvdata/ibm1123.h: Likewise.
37059 * iconvdata/ibm1124.h: Likewise.
37060 * iconvdata/ibm1129.h: Likewise.
37061 * iconvdata/ibm1130.h: Likewise.
37062 * iconvdata/ibm1132.h: Likewise.
37063 * iconvdata/ibm1133.h: Likewise.
37064 * iconvdata/ibm1137.h: Likewise.
37065 * iconvdata/ibm1140.h: Likewise.
37066 * iconvdata/ibm1141.h: Likewise.
37067 * iconvdata/ibm1142.h: Likewise.
37068 * iconvdata/ibm1143.h: Likewise.
37069 * iconvdata/ibm1144.h: Likewise.
37070 * iconvdata/ibm1145.h: Likewise.
37071 * iconvdata/ibm1146.h: Likewise.
37072 * iconvdata/ibm1147.h: Likewise.
37073 * iconvdata/ibm1148.h: Likewise.
37074 * iconvdata/ibm1149.h: Likewise.
37075 * iconvdata/ibm1153.h: Likewise.
37076 * iconvdata/ibm1154.h: Likewise.
37077 * iconvdata/ibm1155.h: Likewise.
37078 * iconvdata/ibm1156.h: Likewise.
37079 * iconvdata/ibm1157.h: Likewise.
37080 * iconvdata/ibm1158.h: Likewise.
37081 * iconvdata/ibm1160.h: Likewise.
37082 * iconvdata/ibm1161.h: Likewise.
37083 * iconvdata/ibm1162.h: Likewise.
37084 * iconvdata/ibm1163.h: Likewise.
37085 * iconvdata/ibm1164.h: Likewise.
37086 * iconvdata/ibm1166.h: Likewise.
37087 * iconvdata/ibm1167.h: Likewise.
37088 * iconvdata/ibm12712.h: Likewise.
37089 * iconvdata/ibm1390.h: Likewise.
37090 * iconvdata/ibm1399.h: Likewise.
37091 * iconvdata/ibm16804.h: Likewise.
37092 * iconvdata/ibm4517.h: Likewise.
37093 * iconvdata/ibm4899.h: Likewise.
37094 * iconvdata/ibm4909.h: Likewise.
37095 * iconvdata/ibm4971.h: Likewise.
37096 * iconvdata/ibm5347.h: Likewise.
37097 * iconvdata/ibm803.h: Likewise.
37098 * iconvdata/ibm856.h: Likewise.
37099 * iconvdata/ibm901.h: Likewise.
37100 * iconvdata/ibm902.h: Likewise.
37101 * iconvdata/ibm9030.h: Likewise.
37102 * iconvdata/ibm9066.h: Likewise.
37103 * iconvdata/ibm921.h: Likewise.
37104 * iconvdata/ibm922.h: Likewise.
37105 * iconvdata/ibm9448.h: Likewise.
37106 * iconvdata/isiri-3342.h: Likewise.
37107 * iconvdata/jis0201.h: Likewise.
37108 * include/link.h: Likewise.
37109 * include/netdb.h: Likewise.
37110 * inet/check_native.c: Likewise.
37111 * inet/check_pf.c: Likewise.
37112 * inet/getipv4sourcefilter.c: Likewise.
37113 * inet/getnameinfo.c: Likewise.
37114 * inet/getsourcefilter.c: Likewise.
37115 * inet/htonl.c: Likewise.
37116 * inet/setipv4sourcefilter.c: Likewise.
37117 * inet/setsourcefilter.c: Likewise.
37118 * inet/test-inet6_opt.c: Likewise.
37119 * inet/tst-network.c: Likewise.
37120 * locale/C-collate.c: Likewise.
37121 * locale/C-ctype.c: Likewise.
37122 * locale/C-time.c: Likewise.
37123 * locale/C-translit.h: Likewise.
37124 * locale/loadarchive.c: Likewise.
37125 * locale/programs/3level.h: Likewise.
37126 * locale/programs/charmap.c: Likewise.
37127 * locale/programs/charmap.h: Likewise.
37128 * locale/programs/ld-address.c: Likewise.
37129 * locale/programs/ld-collate.c: Likewise.
37130 * locale/programs/ld-ctype.c: Likewise.
37131 * locale/programs/ld-identification.c: Likewise.
37132 * locale/programs/ld-measurement.c: Likewise.
37133 * locale/programs/ld-messages.c: Likewise.
37134 * locale/programs/ld-monetary.c: Likewise.
37135 * locale/programs/ld-name.c: Likewise.
37136 * locale/programs/ld-numeric.c: Likewise.
37137 * locale/programs/ld-paper.c: Likewise.
37138 * locale/programs/ld-telephone.c: Likewise.
37139 * locale/programs/ld-time.c: Likewise.
37140 * locale/programs/linereader.c: Likewise.
37141 * locale/programs/locale.c: Likewise.
37142 * locale/programs/locarchive.c: Likewise.
37143 * locale/programs/locfile.h: Likewise.
37144 * locale/programs/repertoire.c: Likewise.
37145 * locale/programs/simple-hash.c: Likewise.
37146 * locale/programs/simple-hash.h: Likewise.
37147 * malloc/memusage.c: Likewise.
37148 * malloc/memusagestat.c: Likewise.
37149 * nis/nis_defaults.c: Likewise.
37150 * nis/nis_hash.c: Likewise.
37151 * nis/nis_print.c: Likewise.
37152 * nis/nis_xdr.c: Likewise.
37153 * nscd/connections.c: Likewise.
37154 * nscd/hstcache.c: Likewise.
37155 * nscd/nscd_gethst_r.c: Likewise.
37156 * nscd/nscd_getserv_r.c: Likewise.
37157 * nscd/nscd_helper.c: Likewise.
37158 * nscd/servicescache.c: Likewise.
37159 * nss/makedb.c: Likewise.
37160 * nss/nss_db/db-XXX.c: Likewise.
37161 * nss/nss_db/db-initgroups.c: Likewise.
37162 * nss/nss_db/db-netgrp.c: Likewise.
37163 * nss/nss_files/files-network.c: Likewise.
37164 * nss/nss_files/files-parse.c: Likewise.
37165 * posix/bug-regex5.c: Likewise.
37166 * posix/fnmatch_loop.c: Likewise.
37167 * posix/regcomp.c: Likewise.
37168 * posix/regexec.c: Likewise.
37169 * posix/tst-rfc3484-2.c: Likewise.
37170 * posix/tst-rfc3484-3.c: Likewise.
37171 * posix/tst-rfc3484.c: Likewise.
37172 * resolv/nss_dns/dns-canon.c: Likewise.
37173 * resolv/nss_dns/dns-network.c: Likewise.
37174 * resolv/res_init.c: Likewise.
37175 * resolv/res_mkquery.c: Likewise.
37176 * resolv/tst-aton.c: Likewise.
37177 * stdlib/cxa_atexit.c: Likewise.
37178 * stdlib/cxa_finalize.c: Likewise.
37179 * stdlib/gen-fpioconst.c: Likewise.
37180 * stdlib/strtol_l.c: Likewise.
37181 * string/tst-endian.c: Likewise.
37182 * sunrpc/auth_des.c: Likewise.
37183 * sunrpc/clnt_udp.c: Likewise.
37184 * sunrpc/rtime.c: Likewise.
37185 * sunrpc/svcauth_des.c: Likewise.
37186 * sunrpc/xdr.c: Likewise.
37187 * sunrpc/xdr_intXX_t.c: Likewise.
37188 * sunrpc/xdr_rec.c: Likewise.
37189 * sysdeps/generic/ldconfig.h: Likewise.
37190 * sysdeps/generic/ldsodefs.h: Likewise.
37191 * sysdeps/generic/memusage.h: Likewise.
37192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37202 * sysdeps/posix/getaddrinfo.c: Likewise.
37203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37205 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37207 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37208 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37209 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37210 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37211 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37212 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37215 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37216 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37217 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37218 * sysdeps/x86_64/dl-tls.h: Likewise.
37219 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37220 * time/alt_digit.c: Likewise.
37221 * time/era.c: Likewise.
37222 * wcsmbs/tst-c16c32-1.c: Likewise.
37223
37224 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37225
37226 * math/libm-test.inc (struct test_sincos_data): New type.
37227 (RUN_TEST_LOOP_sincos): New macro.
37228 (sincos_test_data): New variable.
37229 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37230
37231 2013-05-16 Richard Henderson <rth@redhat.com>
37232
37233 * math/atest-exp2.c (LIMB64): New macro.
37234 (CONSTSZ): New macro.
37235 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37236 (hexdig): Move ...
37237 (print_mpn_fp): ... to function scope.
37238 (read_mpn_hex): Remove.
37239 (get_log2): Remove.
37240 (exp2_mpn): Use mp_log2.
37241 (main): Use mp_exp1.
37242
37243 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37244
37245 * math/libm-test.inc: Remove comment about not testing "inexact"
37246 exceptions.
37247 (INEXACT_EXCEPTION): New macro.
37248 (NO_INEXACT_EXCEPTION): Likewise.
37249 (INVALID_EXCEPTION_OK): Update value.
37250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37251 (OVERFLOW_EXCEPTION_OK): Likewise.
37252 (UNDERFLOW_EXCEPTION_OK): Likewise.
37253 (IGNORE_ZERO_INF_SIGN): Likewise.
37254 (ERRNO_UNCHANGED): Likewise.
37255 (ERRNO_EDOM): Likewise.
37256 (ERRNO_ERANGE): Likewise.
37257 (test_exceptions): Handle testing "inexact" exceptions.
37258 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37259 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37260 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37261 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37262 INEXACT_EXCEPTION.
37263 (rint_towardzero_test_data): Likewise.
37264 (rint_downward_test_data): Likewise.
37265 (rint_upward_test_data): Likewise.
37266
37267 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37268 with OVERFLOW_EXCEPTION.
37269 (exp10_test_data): Likewise.
37270 (exp2_test_data): Likewise.
37271 (expm1_test_data): Likewise.
37272 (lgamma_test_data): Likewise.
37273 (pow_test_data): Likewise.
37274 (tgamma_test_data): Likewise.
37275 (yn_test_data): Remove duplicate test of overflow.
37276
37277 * math/libm-test.inc (struct test_cc_c_data): New type.
37278 (RUN_TEST_LOOP_cc_c): New macro.
37279 (cpow_test_data): New variable.
37280 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37281
37282 * math/libm-test.inc (struct test_f_L_data): New type.
37283 (RUN_TEST_LOOP_f_L): New macro.
37284 (llrint_test_data): New variable.
37285 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37286 (llrint_tonearest_test_data): New variable.
37287 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37288 (llrint_towardzero_test_data): New variable.
37289 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37290 (llrint_downward_test_data): New variable.
37291 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37292 (llrint_upward_test_data): New variable.
37293 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37294 (llround_test_data): New variable.
37295 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37296
37297 2013-05-13 Peter Collingbourne <pcc@google.com>
37298
37299 * math/atest-exp2.c (get_log2): Remove const attribute.
37300
37301 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37302
37303 * math/libm-test.inc (struct test_f_l_data): New type.
37304 (RUN_TEST_LOOP_f_l): New macro.
37305 (lrint_test_data): New variable.
37306 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37307 (lrint_tonearest_test_data): New variable.
37308 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37309 (lrint_towardzero_test_data): New variable.
37310 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37311 (lrint_downward_test_data): New variable.
37312 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37313 (lrint_upward_test_data): New variable.
37314 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37315 (lround_test_data): New variable.
37316 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37317
37318 2013-05-15 Peter Collingbourne <pcc@google.com>
37319
37320 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37321 (EXTRACT_WORDS64) Use where appropriate.
37322 (INSERT_WORDS64) Likewise.
37323
37324 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37325 constraints with x constraints.
37326 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37327
37328 * malloc/obstack.c (_obstack_compat): Add initializer.
37329
37330 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37331
37332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37333 si_trapno and add si_addr_lsb to _sifields.sigfault.
37334 (si_trapno): Remove macro.
37335 (si_addr_lsb): Define new macro.
37336 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37337
37338 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37339
37340 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37341 instead of TEST_f_l.
37342 (llrint_test_tonearest): Likewise.
37343 (llrint_test_towardzero): Likewise.
37344 (llrint_test_downward): Likewise.
37345 (llrint_test_upward): Likewise.
37346 (llround_test): Likewise.
37347
37348 * math/libm-test.inc (struct test_f_i_data): Add comment.
37349 (RUN_TEST_LOOP_f_b): New macro.
37350 (RUN_TEST_LOOP_f_b_tg): Likewise.
37351 (finite_test_data): New variable.
37352 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37353 (isfinite_test_data): New variable.
37354 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37355 (isinf_test_data): New variable.
37356 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37357 (isnan_test_data): New variable.
37358 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37359 (isnormal_test_data): New variable.
37360 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37361 (issignaling_test_data): New variable.
37362 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37363 (signbit_test_data): New variable.
37364 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37365
37366 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37367 with INVALID_EXCEPTION.
37368 (acosh_test_data): Likewise.
37369 (asin_test_data): Likewise.
37370 (atanh_test_data): Likewise.
37371 (fmod_test_data): Likewise.
37372 (log_test_data): Likewise.
37373 (log10_test_data): Likewise.
37374 (log2_test_data): Likewise.
37375 (pow_test_data): Likewise.
37376 (sqrt_test_data): Likewise.
37377 (y0_test_data): Likewise.
37378 (y1_test_data): Likewise.
37379 (yn_test_data): Likewise.
37380
37381 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37382 function contents.
37383
37384 * math/libm-test.inc (struct test_ff_i_data): New type.
37385 (RUN_TEST_LOOP_ff_i_tg): New macro.
37386 (isgreater_test_data): New variable.
37387 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37388 (isgreaterequal_test_data): New variable.
37389 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37390 (isless_test_data): New variable.
37391 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37392 (islessequal_test_data): New variable.
37393 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37394 (islessgreater_test_data): New variable.
37395 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37396 (isunordered_test_data): New variable.
37397 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37398
37399 2013-05-14 David S. Miller <davem@davemloft.net>
37400
37401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37402
37403 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37404
37405 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37406
37407 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37408 extra_test to int.
37409 (struct test_f_i_data): Change type of max_ulp to int.
37410
37411 * math/libm-test.inc (test_ffI_f1_data): New type.
37412 (RUN_TEST_LOOP_ffI_f1): New macro.
37413 (remquo_test_data): New variable.
37414 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37415
37416 * setjmp/tst-setjmp-fp.c: New file.
37417 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37418 (link-libm): New variable.
37419 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37420
37421 * math/libm-test.inc (struct test_f_i_data): New type.
37422 (RUN_TEST_LOOP_f_i): New macro.
37423 (RUN_TEST_LOOP_f_i_tg): Likewise.
37424 (fpclassify_test_data): New variable.
37425 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37426 (ilogb_test_data): New variable.
37427 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37428
37429 * math/libm-test.inc (scalbln_test): Correct function name in END
37430 call.
37431
37432 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37433 (RUN_TEST_LOOP_fI_f1): New macro.
37434 (frexp_test_data): New variable.
37435 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37436
37437 * math/libm-test.inc (struct test_fF_f1_data): New type.
37438 (RUN_TEST_LOOP_fF_f1): New macro.
37439 (modf_test_data): New variable.
37440 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37441
37442 * math/libm-test.inc (struct test_f_f1_data): New type.
37443 (RUN_TEST_LOOP_f_f1): New macro.
37444 (gamma_test_data): New variable.
37445 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37446 (lgamma_test_data): New variable.
37447 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37448
37449 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37450
37451 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37452 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37453 (main): Comment "tls" pseudo-hwcap.
37454
37455 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37456
37457 * math/libm-test.inc (struct test_fl_f_data): New type.
37458 (RUN_TEST_LOOP_fl_f): New variable.
37459 (scalbln_test_data): New variable.
37460 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37461
37462 * math/libm-test.inc (struct test_fi_f_data): New type.
37463 (RUN_TEST_LOOP_fi_f): New macro.
37464 (ldexp_test_data): New variable.
37465 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37466 (scalbn_test_data): New variable.
37467 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37468
37469 * math/libm-test.inc (struct test_c_f_data): New type.
37470 (RUN_TEST_LOOP_c_f): New macro.
37471 (cabs_test_data): New variable.
37472 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37473 (carg_test_data): New variable.
37474 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37475 (cimag_test_data): New variable.
37476 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37477 (creal_test_data): New variable.
37478 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37479
37480 * math/libm-test.inc (struct test_if_f_data): New type.
37481 (RUN_TEST_LOOP_if_f): New macro.
37482 (jn_test_data): New variable.
37483 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37484 (yn_test_data): New variable.
37485 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37486
37487 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37488
37489 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37490
37491 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37492 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37493
37494 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37495
37496 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37497 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37498 (bench-deps): Add bench-timing.h.
37499 * benchtests-bench-skeleton.c: Include bench-timing.h.
37500 (main): Use TIMING_* macros instead of clock_gettime.
37501 * benchtests/bench-timing.h: New file.
37502
37503 [BZ #14582]
37504 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37505 Renamed from _LIB_VERSION.
37506 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37507
37508 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37509
37510 * math/libm-test.inc (struct test_fff_f_data): New type.
37511 (RUN_TEST_LOOP_fff_f): New macro.
37512 (fma_test_data): New variable.
37513 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37514 (fma_towardzero_test_data): New variable.
37515 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37516 (fma_downward_test_data): New variable.
37517 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37518 (fma_upward_test_data): New variable.
37519 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37520
37521 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37522 (struct test_c_c_data): New type.
37523 (RUN_TEST_LOOP_c_c): New macro.
37524 (cacos_test_data): New variable.
37525 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37526 (cacosh_test_data): New variable.
37527 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37528 (casin_test_data): New variable.
37529 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37530 (casinh_test_data): New variable.
37531 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37532 (catan_test_data): New variable.
37533 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37534 (catanh_test_data): New variable.
37535 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37536 (ccos_test_data): New variable.
37537 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37538 (ccosh_test_data): New variable.
37539 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37540 (cexp_test_data): New variable.
37541 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37542 (clog_test_data): New variable.
37543 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37544 (clog10_test_data): New variable.
37545 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37546 (conj_test_data): New variable.
37547 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37548 (cproj_test_data): New variable.
37549 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37550 (csin_test_data): New variable.
37551 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37552 (csinh_test_data): New variable.
37553 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37554 (csqrt_test_data): New variable.
37555 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37556 (ctan_test_data): New variable.
37557 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37558 (ctan_tonearest_test_data): New variable.
37559 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37560 (ctan_towardzero_test_data): New variable.
37561 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37562 (ctan_downward_test_data): New variable.
37563 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37564 (ctan_upward_test_data): New variable.
37565 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37566 (ctanh_test_data): New variable.
37567 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37568 (ctanh_tonearest_test_data): New variable.
37569 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37570 (ctanh_towardzero_test_data): New variable.
37571 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37572 (ctanh_downward_test_data): New variable.
37573 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37574 (ctanh_upward_test_data): New variable.
37575 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37576 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37577 of BUILD_COMPLEX.
37578
37579 * math/libm-test.inc (struct test_ff_f_data): New type.
37580 (struct test_ff_f_data_nexttoward): Likewise.
37581 (RUN_TEST_LOOP_2_f): New macro.
37582 (RUN_TEST_LOOP_ff_f): Likewise.
37583 (atan2_test_data): New variable.
37584 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37585 (copysign_test_data): New variable.
37586 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37587 (fdim_test_data): New variable.
37588 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37589 (fmax_test_data): New variable.
37590 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37591 (fmin_test_data): New variable.
37592 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37593 (fmod_test_data): New variable.
37594 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37595 (hypot_test_data): New variable.
37596 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37597 (nextafter_test_data): New variable.
37598 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37599 (nexttoward_test_data): New variable.
37600 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37601 (pow_test_data): New variable.
37602 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37603 (pow_tonearest_test_data): New variable.
37604 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37605 (pow_towardzero_test_data): New variable.
37606 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37607 (pow_downward_test_data): New variable.
37608 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37609 (pow_upward_test_data): New variable.
37610 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37611 (remainder_test_data): New variable.
37612 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37613 (scalb_test_data): New variable.
37614 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37615 * sysdeps/i386/fpu/libm-test-ulps: Update.
37616
37617 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37618
37619 * math/libm-test.inc (fma_test): Use max_value instead of local
37620 variable fltmax.
37621 (nextafter_test): Likewise.
37622
37623 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37624 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37625 (acos_downward_test_data): New variable.
37626 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37627 (acos_upward_test_data): New variable.
37628 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37629 (acosh_test_data): New variable.
37630 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37631 (asin_test_data): New variable.
37632 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37633 (asin_tonearest_test_data): New variable.
37634 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37635 (asin_towardzero_test_data): New variable.
37636 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37637 (asin_downward_test_data): New variable.
37638 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37639 (asin_upward_test_data): New variable.
37640 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37641 (asinh_test_data): New variable.
37642 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37643 (atan_test_data): New variable.
37644 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37645 (atanh_test_data): New variable.
37646 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37647 (cbrt_test_data): New variable.
37648 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37649 (ceil_test_data): New variable.
37650 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37651 (cos_test_data): New variable.
37652 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37653 (cos_tonearest_test_data): New variable.
37654 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37655 (cos_towardzero_test_data): New variable.
37656 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37657 (cos_downward_test_data): New variable.
37658 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37659 (cos_upward_test_data): New variable.
37660 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37661 (cosh_test_data): New variable.
37662 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37663 (cosh_tonearest_test_data): New variable.
37664 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37665 (cosh_towardzero_test_data): New variable.
37666 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37667 (cosh_downward_test_data): New variable.
37668 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37669 (cosh_upward_test_data): New variable.
37670 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37671 (erf_test_data): New variable.
37672 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37673 (erfc_test_data): New variable.
37674 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37675 (exp_test_data): New variable.
37676 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37677 (exp_tonearest_test_data): New variable.
37678 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37679 (exp_towardzero_test_data): New variable.
37680 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37681 (exp_downward_test_data): New variable.
37682 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37683 (exp_upward_test_data): New variable.
37684 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37685 (exp10_test_data): New variable.
37686 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37687 (exp2_test_data): New variable.
37688 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37689 (expm1_test_data): New variable.
37690 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37691 (fabs_test_data): New variable.
37692 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37693 (floor_test_data): New variable.
37694 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37695 (j0_test_data): New variable.
37696 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37697 (j1_test_data): New variable.
37698 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37699 (log_test_data): New variable.
37700 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37701 (log10_test_data): New variable.
37702 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37703 (log1p_test_data): New variable.
37704 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37705 (log2_test_data): New variable.
37706 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37707 (logb_test_data): New variable.
37708 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37709 (logb_downward_test_data): New variable.
37710 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37711 (nearbyint_test_data): New variable.
37712 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37713 (rint_test_data): New variable.
37714 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37715 (rint_tonearest_test_data): New variable.
37716 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37717 (rint_towardzero_test_data): New variable.
37718 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37719 (rint_downward_test_data): New variable.
37720 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37721 (rint_upward_test_data): New variable.
37722 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37723 (round_test_data): New variable.
37724 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37725 (sin_test_data): New variable.
37726 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37727 (sin_tonearest_test_data): New variable.
37728 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37729 (sin_towardzero_test_data): New variable.
37730 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37731 (sin_downward_test_data): New variable.
37732 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37733 (sin_upward_test_data): New variable.
37734 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37735 (sinh_test_data): New variable.
37736 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37737 (sinh_tonearest_test_data): New variable.
37738 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37739 (sinh_towardzero_test_data): New variable.
37740 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37741 (sinh_downward_test_data): New variable.
37742 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37743 (sinh_upward_test_data): New variable.
37744 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37745 (sqrt_test_data): New variable.
37746 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37747 (tan_test_data): New variable.
37748 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37749 (tan_tonearest_test_data): New variable.
37750 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37751 (tan_towardzero_test_data): New variable.
37752 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37753 (tan_downward_test_data): New variable.
37754 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37755 (tan_upward_test_data): New variable.
37756 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37757 (tanh_test_data): New variable.
37758 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37759 (tgamma_test_data): New variable.
37760 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37761 (trunc_test_data): New variable.
37762 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37763 (y0_test_data): New variable.
37764 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37765 (y1_test_data): New variable.
37766 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37767 (significand_test_data): New variable.
37768 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37769
37770 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37771
37772 [BZ #12387]
37773 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37774
37775 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37776
37777 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37778
37779 2013-05-10 Andreas Jaeger <aj@suse.de>
37780
37781 [BZ #15448]
37782 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37783 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37784
37785 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37786
37787 * math/gen-libm-test.pl (adjust_arg): New function.
37788 (special_functions): Handle generating output in both functions
37789 and arrays.
37790 (parse_args): Likewise.
37791 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37792 $in_func argument to parse_args.
37793 * math/libm-test.inc (struct test_f_f_data): New type.
37794 (IF_ROUND_INIT_): New macro.
37795 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37796 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37797 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37798 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37799 (ROUND_RESTORE_): Likewise.
37800 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37801 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37802 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37803 (ROUND_RESTORE_FE_UPWARD): Likewise.
37804 (RUN_TEST_LOOP_f_f): New macro.
37805 (acos_test_data): New variable.
37806 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37807 (acos_tonearest_test_data): New variable.
37808 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37809
37810 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37811
37812 * benchtests/bench-skeleton.c (startup): Fix coding style.
37813
37814 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37815
37816 [BZ #6809]
37817 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37818 negative infinity argument.
37819 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37820 negative infinity argument.
37821 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37822 negative infinity argument.
37823 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37824 domain errors.
37825
37826 2013-05-10 Florian Weimer <fweimer@redhat.com>
37827
37828 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37829 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37830 * iconv/iconv_prog.c (main): Likewise.
37831 * locale/programs/charmap-dir.c (charmap_readdir)
37832 (fopen_uncompressed): Likewise.
37833 * locale/programs/locfile.c (siblings_uncached)
37834 (write_locale_data): Use lstat64 instead of lstat.
37835 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37836 stat.
37837
37838 2013-05-10 Andreas Jaeger <aj@suse.de>
37839
37840 [BZ #15395]
37841 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37842 localization.
37843 Include <locale.h>.
37844
37845 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37846
37847 * elf/dl-close.c (_dl_close_worker): Add comments.
37848
37849 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37850
37851 [BZ #15359]
37852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37853 high part of pi/2.
37854 (__ieee754_rem_pio2l): Update comments.
37855
37856 [BZ #15429]
37857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37858 high part of pi/2.
37859 (__ieee754_rem_pio2l): Update comments.
37860
37861 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37862 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37863
37864 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37865 M_PI_4l.
37866
37867 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37868 (M_PI_34_LOG10El): Likewise.
37869 (M_PI2_LOG10El): Likewise.
37870 (M_PI4_LOG10El): Likewise.
37871 (M_PI_LOG10El): Likewise.
37872
37873 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37874
37875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37876
37877 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37878
37879 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37880 (MINUS_ZERO_INIT): Likewise.
37881 (PLUS_INFTY_INIT): Likewise.
37882 (MINUS_INFTY_INIT): Likewise.
37883 (QNAN_VALUE_INIT): Likewise.
37884 (MAX_VALUE_INIT): Likewise.
37885 (MIN_VALUE_INIT): Likewise.
37886 (MIN_SUBNORM_VALUE_INIT): Likewise.
37887 (plus_zero): Initialize with PLUS_ZERO_INIT.
37888 (minus_zero): Initialize with MINUS_ZERO_INIT.
37889 (plus_infty): Initialize with PLUS_INFTY_INIT.
37890 (minus_infty): Initialize with MINUS_INFTY_INIT.
37891 (qnan_value): Initialize with QNAN_VALUE_INIT.
37892 (max_value): Initialize with MAX_VALUE_INIT.
37893 (min_value): Initialize with MIN_VALUE_INIT.
37894 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37895
37896 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37897 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37898 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37899 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37900
37901 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37902 (RUN_TEST_2_f): Likewise.
37903 (RUN_TEST_ff_f): Likewise.
37904 (RUN_TEST_fi_f): Likewise.
37905 (RUN_TEST_fl_f): Likewise.
37906 (RUN_TEST_fff_f): Likewise.
37907 (RUN_TEST_c_f): Likewise.
37908 (RUN_TEST_f_f1): Likewise.
37909 (RUN_TEST_fF_f1): Likewise.
37910 (RUN_TEST_fI_f1): Likewise.
37911 (RUN_TEST_ffI_f1): Likewise.
37912 (RUN_TEST_c_c): Likewise.
37913 (RUN_TEST_cc_c): Likewise.
37914 (RUN_TEST_f_i): Likewise.
37915 (RUN_TEST_f_i_tg): Likewise.
37916 (RUN_TEST_ff_i_tg): Likewise.
37917 (RUN_TEST_f_b): Likewise.
37918 (RUN_TEST_f_b_tg): Likewise.
37919 (RUN_TEST_f_l): Likewise.
37920 (RUN_TEST_f_L): Likewise.
37921 (RUN_TEST_sincos): Likewise.
37922 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37923 whether to show exceptions. Do not include ");\n" in return
37924 value.
37925 (special_functions): Output call to RUN_TEST_sincos instead of
37926 check_float calls. Update calls to new_test.
37927 (parse_args): Output call to single RUN_TEST_* macro instead of
37928 check_* calls and other assignments. Update calls to new_test.
37929
37930 [BZ #2546]
37931 [BZ #2560]
37932 [BZ #5159]
37933 [BZ #15426]
37934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37935 input to result for tgamma overflow.
37936 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37937 (gamma_coeff): New variable.
37938 (NCOEFF): New macro.
37939 (gamma_positive): New function.
37940 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37941 underflow here. Use gamma_positive instead of exp (lgamma) for
37942 other arguments.
37943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37944 (gamma_coeff): New variable.
37945 (NCOEFF): New macro.
37946 (gammaf_positive): New function.
37947 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37948 underflow here. Use gamma_positive instead of exp (lgamma) for
37949 other arguments.
37950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37951 (gamma_coeff): New variable.
37952 (NCOEFF): New macro.
37953 (gammal_positive): New function.
37954 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37955 underflow here. Use gamma_positive instead of exp (lgamma) for
37956 other arguments.
37957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37958 (gamma_coeff): New variable.
37959 (NCOEFF): New macro.
37960 (gammal_positive): New function.
37961 (__ieee754_gammal_r): Handle positive infinity, overflow and
37962 underflow here. Handle NaN the same as positive infinity. Remove
37963 check x < 0xffffffff for negative integers. Use gamma_positive
37964 instead of exp (lgamma) for other arguments.
37965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37966 (gamma_coeff): New variable.
37967 (NCOEFF): New macro.
37968 (gammal_positive): New function.
37969 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37970 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37971 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37972 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37974 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37975 * sysdeps/generic/math_private.h (__gamma_productf): New
37976 prototype.
37977 (__gamma_product): Likewise.
37978 (__gamma_productl): Likewise.
37979 * math/Makefile (libm-calls): Add gamma_product.
37980 * math/libm-test.inc (tgamma_test): Add more tests.
37981 * sysdeps/i386/fpu/libm-test-ulps: Update.
37982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37983
37984 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37985
37986 * benchtests/bench-skeleton.c (main): Preheat CPU.
37987
37988 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37989
37990 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37991
37992 2013-05-07 Roland McGrath <roland@hack.frob.com>
37993
37994 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37995 and _dl_skip_args_internal.
37996
37997 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37998
37999 * manual/message.texi (Message Translation): Talk about users.
38000 Message to key mapping impacts design.
38001
38002 2013-05-06 Roland McGrath <roland@hack.frob.com>
38003
38004 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38005
38006 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38007
38008 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38009 * sysdeps/wordsize-64/glob64.c: ... here.
38010
38011 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38012 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38013 New macros.
38014
38015 * debug/getlogin_r_chk.c: Moved to ...
38016 * login/getlogin_r_chk.c: ... here.
38017 * debug/Makefile (routines): Move getlogin_r_chk to ...
38018 * login/Makefile (routines): ... here.
38019 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38020 * login/Versions (libc: GLIBC_2.4): ... here.
38021
38022 * io/poll.c (__poll): Renamed from poll.
38023 Add libc_hidden_def.
38024 (poll): Define as weak alias.
38025
38026 * debug/ptsname_r_chk.c: Moved to ...
38027 * login/ptsname_r_chk.c: ... here.
38028 * debug/Makefile (routines): Move ptsname_r_chk to ...
38029 * login/Makefile (routines): ... here.
38030 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38031 * login/Versions (libc: GLIBC_2.4): ... here.
38032
38033 * posix/getlogin.c: Moved to ...
38034 * login/getlogin.c: ... here.
38035 * posix/getlogin_r.c: Moved to ...
38036 * login/getlogin_r.c: ... here.
38037 * posix/getlogin_r.c: Moved to ...
38038 * login/getlogin_r.c: ... here.
38039 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38040 * login/Makefile (routines): ... here.
38041 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38042 * login/Versions (libc: GLIBC_2.0): ... here.
38043
38044 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38045 (setrlimit): Define as weak alias.
38046
38047 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38048 Call __ names for open, ftruncate, and close.
38049 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38050 (truncate): Define as weak alias.
38051
38052 2013-05-06 Joseph Myers <joseph@codesourcery.com>
38053
38054 * math/gen-libm-test.pl (parse_args): Initialize x before each
38055 test of frexp, modf and remquo.
38056
38057 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38058 test signgam value.
38059
38060 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38061
38062 [BZ #15418]
38063 [BZ #15419]
38064 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38065 internal tests.
38066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38067
38068 2013-05-06 Roland McGrath <roland@hack.frob.com>
38069
38070 * elf/dl-writev.h: New file.
38071 * elf/dl-misc.c: Include it.
38072 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38073 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38074
38075 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38076
38077 * math/libm-test.inc (noXFails): Remove variable.
38078 (noXPasses): Likewise.
38079 (BUILD_COMPLEX_INT): Remove macro.
38080 (print_screen): Remove xfail argument.
38081 (print_screen_max_error): Likewise.
38082 (update_stats): Likewise.
38083 (print_max_error): Likewise. Update calls to other affected
38084 functions.
38085 (print_complex_max_error): Likewise.
38086 (test_single_exception): Update calls to print_screen.
38087 (test_single_errno): Likewise.
38088 (check_float_internal): Remove xfail argument. Update calls to
38089 other affected functions.
38090 (check_float): Likewise.
38091 (check_complex): Likewise.
38092 (check_int): Likewise.
38093 (check_long): Likewise.
38094 (check_bool): Likewise.
38095 (check_longlong): Likewise.
38096 (main): Don't print noXFails and noXPasses.
38097 * math/gen-libm-test.pl (top level): Don't mention expected
38098 failure handling in comment.
38099 (new_test): Don't handle expected failures.
38100 (parse_args): Don't mention expected failure handling in comment.
38101 (generate_testfile): Don't handle expected failures.
38102 (parse_ulps): Likewise.
38103 (print_ulps_file): Likewise.
38104 (get_failure): Remove function.
38105 (output_test): Don't handle expected failures.
38106 * make/README.libm-test: Don't mention expected failure handling.
38107
38108 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38109 (minus_zero): Likewise.
38110 (plus_infty): Likewise.
38111 (minus_infty): Likewise.
38112 (qnan_value): Likewise.
38113 (max_value): Likewise.
38114 (min_value): Likewise.
38115 (min_subnorm_value): Likewise.
38116 (initialize): Do not initialize those variables dynamically.
38117
38118 2013-05-03 Roland McGrath <roland@hack.frob.com>
38119
38120 * io/open.c (__open_2): Moved to ...
38121 * io/open_2.c: ... this new file.
38122 * io/open64.c (__open64_2): Moved to ...
38123 * io/open64_2.c: ... this new file.
38124 * io/openat.c (__openat_2): Moved to ...
38125 * io/openat_2.c: ... this new file.
38126 * io/openat64.c (__openat64_2): Moved to ...
38127 * io/openat64_2.c: ... this new file.
38128 * io/Makefile (routines): Add them.
38129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38130 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38131 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38132 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38133 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38134 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38135 (__openat64): Add hidden_ver.
38136 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38137 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38138
38139 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38140 Separately conditionalize setting of GLRO(dl_sysinfo) so
38141 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38142 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38143
38144 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38145
38146 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38148 definition.
38149 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38150 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38151 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38152 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38153 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38154
38155 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38156
38157 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38158 test signgam value.
38159
38160 * math/libm-test.inc (hypot_test): Do not use
38161 IGNORE_ZERO_INF_SIGN.
38162
38163 2013-05-03 Andreas Jaeger <aj@suse.de>
38164
38165 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38166 Linux 3.9.
38167 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38168 (PF_MAX): Adjust for VSOCK change.
38169
38170 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38171
38172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38173
38174 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38175
38176 [BZ #15264]
38177 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38178 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38179 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38180
38181 2013-05-02 David S. Miller <davem@davemloft.net>
38182
38183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38184
38185 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38186
38187 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38188
38189 2013-05-01 Roland McGrath <roland@hack.frob.com>
38190
38191 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38192
38193 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38194
38195 [BZ #14952]
38196 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38197 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38198 Use __attribute__ ((__gnu_inline__)).
38199 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38200 Don't use __attribute__ ((__gnu_inline__)).
38201
38202 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38203
38204 [BZ #15423]
38205 * math/s_catan.c (__catan): Handle small real or imaginary part of
38206 input specially to avoid spurious underflow.
38207 * math/s_catanf.c (__catanf): Likewise.
38208 * math/s_catanh.c (__catanh): Likewise.
38209 * math/s_catanhf.c (__catanhf): Likewise.
38210 * math/s_catanhl.c (__catanhl): Likewise.
38211 * math/s_catanl.c (__catanl): Likewise.
38212 * math/libm-test.inc (catan_test): Add more tests.
38213 (catanh_test): Likewise.
38214 * sysdeps/i386/fpu/libm-test-ulps: Update.
38215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38216
38217 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38218
38219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38220
38221 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38222
38223 [BZ #15416]
38224 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38225 accurately for denominator in atan2.
38226 * math/s_catanf.c (__catanf): Likewise.
38227 * math/s_catanh.c (__catanh): Likewise.
38228 * math/s_catanhf.c (__catanhf): Likewise.
38229 * math/s_catanhl.c (__catanhl): Likewise.
38230 * math/s_catanl.c (__catanl): Likewise.
38231 * math/libm-test.inc (catan_test): Add more tests.
38232 (catanh_test): Likewise.
38233 * sysdeps/i386/fpu/libm-test-ulps: Update.
38234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38235
38236 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38237
38238 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38239
38240 * benchtests/Makefile (bench): Remove slow benchmarks.
38241 * benchtests/atan-inputs: Add slow benchmark inputs.
38242 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38243 (BENCH_FUNC): Accept variant offset.
38244 (VARIANT): Define.
38245 * benchtests/bench-skeleton.c (main): Run benchmark for each
38246 variant.
38247 * benchtests/cos-inputs: Add slow benchmark inputs.
38248 * benchtests/exp-inputs: Likewise.
38249 * benchtests/pow-inputs: Likewise.
38250 * benchtests/sin-inputs: Likewise.
38251 * benchtests/slowatan-inputs: Remove.
38252 * benchtests/slowatan.c: Remove.
38253 * benchtests/slowcos-inputs: Remove.
38254 * benchtests/slowcos.c: Remove.
38255 * benchtests/slowexp-inputs: Remove.
38256 * benchtests/slowexp.c: Remove.
38257 * benchtests/slowpow-inputs: Remove.
38258 * benchtests/slowpow.c: Remove.
38259 * benchtests/slowsin-inputs: Remove.
38260 * benchtests/slowsin.c: Remove.
38261 * benchtests/slowtan-inputs: Remove.
38262 * benchtests/slowtan.c: Remove.
38263 * benchtests/tan-inputs: Add slow benchmark inputs.
38264 * scripts/bench.pl: Parse comments and directives.
38265
38266 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38267 in CPPFLAGS.
38268 ($(objpfx)bench-%.c): Remove *-ITER.
38269 * benchtests/bench-modf.c: Remove definition of ITER.
38270 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38271 (main): Loop for DURATION seconds instead of fixed number of
38272 iterations.
38273 * scripts/bench.pl: Don't expect iterations in parameters.
38274
38275 2013-04-29 Roland McGrath <roland@hack.frob.com>
38276
38277 * io/fchdir.c (__fchdir): Renamed from fchdir.
38278 (fchdir): Define as weak alias.
38279
38280 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38281
38282 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38283 (ERRNO_EDOM): Likewise.
38284 (ERRNO_ERANGE): Likewise.
38285 (noErrnoTests): New variable.
38286 (init_max_error): Set errno to 0.
38287 (test_single_errno): New function.
38288 (test_errno): Likewise.
38289 (check_float_internal): Call test_errno. Set errno to 0.
38290 (check_complex): Refer to errno tests in comment.
38291 (check_int): Call test_errno. Set errno to 0.
38292 (check_long): Likewise.
38293 (check_bool): Likewise.
38294 (check_longlong): Likewise.
38295 (cos_test): Use ERRNO_* flags for errno tests instead of
38296 check_int.
38297 (expm1_test): Likewise.
38298 (fmod_test): Likewise.
38299 (ilogb_test): Likewise.
38300 (lgamma_test): Likewise.
38301 (pow_test): Likewise.
38302 (remainder_test): Likewise.
38303 (sin_test): Likewise.
38304 (tan_test): Likewise.
38305 (yn_test): Likewise.
38306 (initialize): Set errno to 0.
38307 (main): Print number of errno tests.
38308 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38309
38310 2013-04-29 Andreas Jaeger <aj@suse.de>
38311
38312 [BZ #15084]
38313 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38314 and RES_USEVC.
38315
38316 [BZ #15085]
38317 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38318 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38319 unimplemented.
38320
38321 [BZ #15380]
38322 * stdlib/random.c (__initstate): Return NULL if
38323 __initstate fails.
38324
38325 [BZ #15086]
38326 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38327 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38328 RES_SNGLKUPREOP.
38329
38330 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38331
38332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38333
38334 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38335
38336 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38337 of individual tests.
38338 (casin_test): Likewise.
38339 (casinh_test): Likewise.
38340
38341 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38342
38343 [BZ #15409]
38344 * math/s_catan.c (__catan): Handle arguments with large real or
38345 imaginary part separately without squaring.
38346 * math/s_catanf.c (__catanf): Likewise.
38347 * math/s_catanh.c (__catanh): Likewise.
38348 * math/s_catanhf.c (__catanhf): Likewise.
38349 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38350 and redefine.
38351 (__catanhl): Handle arguments with large real or imaginary part
38352 separately without squaring.
38353 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38354 and redefine.
38355 (__catanl): Handle arguments with large real or imaginary part
38356 separately without squaring.
38357 * math/libm-test.inc (catan_test): Add more tests.
38358 (catanh_test): Likewise.
38359 * sysdeps/i386/fpu/libm-test-ulps: Update.
38360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38361
38362 2013-04-27 Andreas Jaeger <aj@suse.de>
38363
38364 [BZ #15007]
38365 * stdlib/stdlib.h: Update guards for qecvt.
38366 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38367 <stdlib.h>.
38368
38369 2013-04-27 Allan McRae <allan@archlinux.org>
38370
38371 * sysdeps/i386/fpu/libm-test-ulps: Update.
38372
38373 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38374
38375 [BZ #15406]
38376 * math/s_catan.c: Include <float.h>.
38377 (__catan): Ensure underflow exception occurs for underflowed
38378 result.
38379 * math/s_catanf.c: Include <float.h>.
38380 (__catanf): Ensure underflow exception occurs for underflowed
38381 result.
38382 * math/s_catanh.c: Include <float.h>.
38383 (__catanh): Ensure underflow exception occurs for underflowed
38384 result.
38385 * math/s_catanhf.c: Include <float.h>.
38386 (__catanhf): Ensure underflow exception occurs for underflowed
38387 result.
38388 * math/s_catanhl.c: Include <float.h>.
38389 (__catanhl): Ensure underflow exception occurs for underflowed
38390 result.
38391 * math/s_catanl.c: Include <float.h>.
38392 (__catanl): Ensure underflow exception occurs for underflowed
38393 result.
38394 * math/libm-test.inc (catan_test): Add more tests.
38395 (catanh_test): Likewise.
38396
38397 [BZ #15405]
38398 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38399 underflowed result.
38400 * math/s_ccoshf.c (__ccoshf): Likewise.
38401 * math/s_ccoshl.c (__ccoshl): Likewise.
38402 * math/s_csin.c (__csin): Likewise.
38403 * math/s_csinf.c (__csinf): Likewise.
38404 * math/s_csinh.c (__csinh): Likewise.
38405 * math/s_csinhf.c (__csinhf): Likewise.
38406 * math/s_csinhl.c (__csinhl): Likewise.
38407 * math/s_csinl.c (__csinl): Likewise.
38408 * math/libm-test.inc (ccos_test): Add more tests.
38409 (ccosh_test): Likewise.
38410 (csin_test): Likewise.
38411 (csinh_test): Likewise.
38412
38413 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38414
38415 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38416 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38417 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38418 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38419 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38420 powerpc/power5+/fpu folders.
38421 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38422
38423
38424 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38425
38426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38427
38428 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38429
38430 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38431 additions to variable.
38432 [$(config-machine) = x86_64] (modules-names): Likewise.
38433 ($(objpfx)tst-audit3): Remove dependency.
38434 ($(objpfx)tst-audit3.out): Likewise.
38435 ($(objpfx)tst-audit4): Likewise.
38436 ($(objpfx)tst-audit4.out): Likewise.
38437 ($(objpfx)tst-audit5): Likewise.
38438 ($(objpfx)tst-audit5.out): Likewise.
38439 ($(objpfx)tst-audit6): Likewise.
38440 ($(objpfx)tst-audit6.out): Likewise.
38441 ($(objpfx)tst-audit7): Likewise.
38442 ($(objpfx)tst-audit7.out): Likewise.
38443 (tst-audit3-ENV): Remove variable.
38444 (tst-audit4-ENV): Likewise.
38445 (tst-audit5-ENV): Likewise.
38446 (tst-audit6-ENV): Likewise.
38447 (tst-audit7-ENV): Likewise.
38448 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38449 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38450 addition to variable.
38451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38456 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38457 tst-audit3, tst-audit4 and tst-audit5.
38458 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38459 tst-audit6 and tst-audit7.
38460 [$(subdir) = elf] (modules-names): Add audit modules for those
38461 tests.
38462 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38463 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38464 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38465 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38466 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38467 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38468 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38469 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38470 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38471 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38472 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38473 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38474 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38475 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38476 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38477 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38478 Likewise.
38479 [$(subdir) = elf && $(config-cflags-avx) = yes]
38480 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38481 [$(subdir) = elf && $(config-cflags-avx) = yes]
38482 (CFLAGS-tst-auditmod4a.c): Likewise.
38483 [$(subdir) = elf && $(config-cflags-avx) = yes]
38484 (CFLAGS-tst-auditmod4b.c): Likewise.
38485 [$(subdir) = elf && $(config-cflags-avx) = yes]
38486 (CFLAGS-tst-auditmod6b.c): Likewise.
38487 [$(subdir) = elf && $(config-cflags-avx) = yes]
38488 (CFLAGS-tst-auditmod6c.c): Likewise.
38489 [$(subdir) = elf && $(config-cflags-avx) = yes]
38490 (CFLAGS-tst-auditmod7b.c): Likewise.
38491 * elf/tst-audit3.c: Move to ...
38492 * sysdeps/x86_64/tst-audit3.c: ... here.
38493 * elf/tst-audit4.c: Move to ...
38494 * sysdeps/x86_64/tst-audit4.c: ... here.
38495 * elf/tst-audit5.c: Move to ...
38496 * sysdeps/x86_64/tst-audit5.c: ... here.
38497 * elf/tst-audit6.c: Move to ...
38498 * sysdeps/x86_64/tst-audit6.c: ... here.
38499 * elf/tst-audit7.c: Move to ...
38500 * sysdeps/x86_64/tst-audit7.c: ... here.
38501 * elf/tst-auditmod3a.c: Move to ...
38502 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38503 * elf/tst-auditmod3b.c: Move to ...
38504 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38505 * elf/tst-auditmod4a.c: Move to ...
38506 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38507 * elf/tst-auditmod4b.c: Move to ...
38508 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38509 * elf/tst-auditmod5a.c: Move to ...
38510 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38511 * elf/tst-auditmod5b.c: Move to ...
38512 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38513 * elf/tst-auditmod6a.c: Move to ...
38514 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38515 * elf/tst-auditmod6b.c: Move to ...
38516 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38517 * elf/tst-auditmod6c.c: Move to ...
38518 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38519 * elf/tst-auditmod7a.c: Move to ...
38520 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38521 * elf/tst-auditmod7b.c: Move to ...
38522 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38523
38524 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38525
38526 [BZ #15366]
38527 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38528 define unconditionally.
38529 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38530 define unconditionally.
38531 (INT8_C, INT16_C, etc.): Likewise.
38532
38533 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38534
38535 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38536 __ehdr_start with hidden visibility.
38537
38538 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38539
38540 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38541
38542 * math/libm-test.inc (cos_test): Use accurate hex constants.
38543 (sincost_test): Likewise.
38544
38545 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38546
38547 * math/libm-test.inc (catan_test): Add more tests.
38548 (catanh_test): Likewise.
38549
38550 * math/s_catanf.c (__catanf): Use suffixed floating-point
38551 constants.
38552 * math/s_catanhf.c (__catanhf): Likewise.
38553 * math/s_catanhl.c (__catanhl): Likewise.
38554 * math/s_catanl.c (__catanl): Likewise.
38555
38556 [BZ #15394]
38557 * math/s_catan.c (__catan): Calculate imaginary part of result
38558 with log1p not log unless computing log of number close to 0.
38559 * math/s_catanf.c (__catanf): Likewise.
38560 * math/s_catanl.c (__catanl): Likewise.
38561 * math/s_catanh.c (__catanh): Calculate real part of result with
38562 log1p not log unless computing log of number close to 0.
38563 * math/s_catanhf.c (__catanhf): Likewise.
38564 * math/s_catanhl.c (__catanhl): Likewise.
38565 * math/libm-test.inc (catan_test): Add more tests.
38566 (catanh_test): Likewise.
38567 * sysdeps/i386/fpu/libm-test-ulps: Update.
38568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38569
38570 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38571
38572 * benchtests/Makefile: Mention files in which fast and slow
38573 paths of math functions are implemented.
38574
38575 2013-04-23 Roland McGrath <roland@hack.frob.com>
38576
38577 * sysdeps/posix/timespec_get.c: New file.
38578
38579 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38580
38581 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38582 POWER.
38583 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38584 for POWER.
38585 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38586 powerpc/power5/fpu folders.
38587 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38588 * benchtests/Makefile: Add modf testcase.
38589 * benchtests/bench-modf.c: New file: Benchmark test for mo
38590
38591 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38592
38593 [BZ #14888]
38594 * time/Makefile (tests): Add tst-strptime-whitespace.
38595 * time/strptime_l.c (get_number): Use ISSPACE.
38596 (__strptime_internal): Likewise.
38597 * time/tst-strptime-whitespace.c: New test case.
38598
38599 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38600
38601 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38602 member.
38603 (_nss_files_init): Set it here.
38604
38605 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38606
38607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38608 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38609 unsigned.
38610
38611 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38612
38613 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38614
38615 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38616
38617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38618 size just once.
38619
38620 2013-04-21 David S. Miller <davem@davemloft.net>
38621
38622 * po/ru.po: Update Russion translation from translation project.
38623
38624 2013-04-17 Adam Conrad <adconrad@0c3.net>
38625
38626 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38627 and setfsgid.
38628
38629 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38630
38631 * configure.in: Remove i386 configure warning. Remove i386 case.
38632 * configure: Regenerate.
38633 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38634 Add example to error message.
38635 * sysdeps/i386/configure: Regenerate.
38636
38637 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38638
38639 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38640 slowtan.
38641 * benchtests/cos-inputs: New file.
38642 * benchtests/slowcos-inputs: New file.
38643 * benchtests/slowcos.c: New file.
38644 * benchtests/slowtan-inputs: New file.
38645 * benchtests/slowtan.c: New file.
38646 * benchtests/tan-inputs: New file.
38647
38648 2013-04-16 Roland McGrath <roland@hack.frob.com>
38649
38650 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38651 considered kosher.
38652
38653 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38654
38655 * benchtests/Makefile: Include cppflags-iterator.mk to add
38656 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38657
38658 * Makefile.in (bench-clean): New target.
38659 * benchtests/Makefile (bench-clean): Likewise.
38660
38661 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38662
38663 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38664
38665 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38666
38667 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38668
38669 2013-04-15 Andreas Schwab <schwab@suse.de>
38670
38671 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38673 * nscd/pwdcache.c (cache_addpw): Likewise.
38674 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38675 more than recsize.
38676
38677 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38678
38679 * benchtests/Makefile (bench): Write all output to
38680 bench-out.tmp together.
38681
38682 2013-04-15 Andreas Schwab <schwab@suse.de>
38683
38684 * nscd/nscd.c (main): Don't fork again after closing files.
38685
38686 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38687
38688 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38689
38690 * benchtests/Rules (bench-deps): Collect dependencies into a
38691 single variable. Add Makefile to dependencies.
38692 ($(objpfx)bench-%.c): Depend on bench-deps.
38693
38694 2013-04-12 Roland McGrath <roland@hack.frob.com>
38695 Xavier Roche <roche+kml2@exalead.com>
38696
38697 [BZ #15361]
38698 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38699 just that it's a file descriptor.
38700 * manual/llio.texi (Synchronizing AIO Operations): Update description
38701 for EBADF error from aio_fsync.
38702
38703 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38704
38705 * Rules (bench): Move target definition...
38706 * benchtests/Makefile: ... here.
38707
38708 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38709
38710 * math/libm-test.inc (cos_test): Fix PI/2 test.
38711 (sincos_test): Likewise.
38712 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38713 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38714
38715 2013-04-11 Andreas Schwab <schwab@suse.de>
38716
38717 [BZ #13988]
38718 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38719 accept exponent character only when digits were seen.
38720 * stdio-common/Makefile (tests): Add bug26.
38721 * stdio-common/bug26.c: New file.
38722
38723 [BZ #14293]
38724 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38725 non-freeable.
38726
38727 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38728
38729 * Makeconfig (rtld-prefix): Define built linker prefix.
38730 * Rules (run-bench): Use it.
38731 * math/Makefile (run-regen-ulps): Likewise.
38732
38733 * Rules (bench): Remove eval.
38734
38735 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38736 Roland McGrath <roland@hack.frob.com>
38737 Ondrej Bilka <neleai@seznam.cz>
38738
38739 [BZ #15346]
38740 * time/getdate.c: Include ctype.h and alloca.h.
38741 (__getdate_r): Trim leading and trailing spaces of input.
38742 * time/tst-getdate.c (tests): Add tests with leading and
38743 trailing spaces.
38744
38745 2013-04-08 Roland McGrath <roland@hack.frob.com>
38746
38747 [BZ #14280]
38748 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38749 when computing value.
38750
38751 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38752
38753 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38754 Use testrun.sh to run libm tests.
38755
38756 [BZ #15309]
38757 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38758
38759 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38760
38761 [BZ #15264]
38762 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38763
38764 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38765
38766 * Makefile.in (regen-ulps): New target.
38767 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38768 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38769 [ifneq (no,$(PERL)] (regen-ulps): New target.
38770 [ifeq (no,$(PERL)] (regen-ulps): New target.
38771 * math/libm-test.inc (ulps_file_name): Define.
38772 (output_dir): New variable.
38773 (options): Add "output-dir" option.
38774 (parse_opt): Handle 'o' case.
38775 (main): If output_dir is non-NULL use it as a prefix
38776 otherwise use "".
38777 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38778
38779 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38780
38781 [BZ #10060, #10062]
38782 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38783 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38784 fail configure if __sync_val_compare_and_swap is not inlined.
38785 * sysdeps/i386/configure: Regenerate.
38786 * configure.in: Build for i686 when configured for i386.
38787 * configure: Regenerate.
38788 * README: Remove i386 reference.
38789
38790 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38791
38792 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38794
38795 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38796
38797 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38798 (lmsnanval): New variables.
38799 (F): Add conversion tests.
38800 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38801 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38802
38803 * stdio-common/tstdiomisc.c (F): Properly collect individual
38804 tests' results.
38805
38806 [BZ #14686, #15336]
38807 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38808 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38809 Instead, use input NaN values or generate a qNaN by arithmetic
38810 operation. Also fix bugs to comply with the standard.
38811 * math/libm-test.inc (remainder_test): Add more tests.
38812
38813 [BZ #15335, #15342]
38814 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38816 input NaN values or generate a qNaN by arithmetic operation.
38817
38818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38819 unreachable code.
38820
38821 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38822 definitions.
38823
38824 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38825
38826 [BZ #14478]
38827 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38828 underflowed result.
38829 * math/s_cexpf.c (__cexpf): Likewise.
38830 * math/s_cexpl.c (__cexpl): Likewise.
38831 * math/libm-test.inc (cexp_test): Add more tests.
38832
38833 2013-04-03 Andreas Schwab <schwab@suse.de>
38834
38835 [BZ #15330]
38836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38837 order arrays from heap if bigger than alloca cutoff.
38838
38839 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38840
38841 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38842 (SNAN_TESTS_double): Refer to GCC PR56831.
38843 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38844 GCC PR56828.
38845
38846 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38847
38848 * Rules (bench): Move bench.out after the run is complete.
38849
38850 * Rules (bench): Echo currently running benchmark.
38851
38852 * benchtests/Makefile (bench): Add atan and slowatan.
38853 * benchtests/atan-inputs: New file.
38854 * benchtests/slowatan-inputs: New file.
38855 * benchtests/slowatan.c: New file.
38856
38857 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38859 its value.
38860
38861 [BZ #15305]
38862 * sysdeps/unix/sysv/linux/kernel-features.h
38863 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38864 __ASSUME_XFS_RESTRICTED_CHOWN.
38865 * sysdeps/unix/sysv/linux/pathconf.c
38866 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38867 Save and restore errno.
38868
38869 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38870
38871 [BZ #15327]
38872 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38873 arguments using __kernel_casinh.
38874 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38875 arguments using __kernel_casinhf.
38876 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38877 arguments using __kernel_casinhl.
38878 * math/libm-test.inc (cacosh_test): Add more tests.
38879 * sysdeps/i386/fpu/libm-test-ulps: Update.
38880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38881
38882 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38883
38884 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38886
38887 * bench/Makefile (bench): Add sin and slowsin.
38888 * benchtests/sin-inputs: New file.
38889 * benchtests/slowsin-inputs: New file.
38890 * benchtests/slowsin.c: New file.
38891
38892 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38893 (bench): Add slowexp and slowpow.
38894 (exp-ITER): Increase iterations.
38895 (pow-ITER): Likewise.
38896 * benchtests/exp-inputs: Change input.
38897 * benchtests/pow-inputs: Likewise.
38898 * benchtests/slowexp-inputs: New file.
38899 * benchtests/slowexp.c: New file.
38900 * benchtests/slowpow-inputs: New file.
38901 * benchtests/slowpow.c: New file.
38902
38903 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38904
38905 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38906 instructions.
38907 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38908 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38909 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38910 * benchtests/Makefile: Add rint benchtest.
38911 * benchtests/rint-inputs: Input for rint benchtest.
38912
38913 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38914
38915 * Versions.def (libm): Add GLIBC_2.18.
38916 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38917 hidden libm prototypes.
38918 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38919 * math/Makefile (libm-calls): Add s_issignaling.
38920 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38921 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38922 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38923 declaration.
38924 * math/math.h [__USE_GNU] (issignaling): New macro.
38925 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38926 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38927 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38931 * manual/arith.texi (issignaling): New section.
38932 * manual/libm-err-tab.pl (@all_functions): Update comment.
38933 * math/gen-libm-test.pl (parse_args): Apply special handling for
38934 issignaling.
38935 * math/libm-test.inc (print_float, issignaling_test): New
38936 functions.
38937 (check_float_internal): Add issignaling checks.
38938 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38939 default definition.
38940 * sysdeps/powerpc/math-tests.h: New file.
38941 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38942 tests.
38943 * math/test-snan.c (TEST_FUNC): Likewise.
38944
38945 2013-03-30 David S. Miller <davem@davemloft.net>
38946
38947 * po/de.po: Update from translation team.
38948
38949 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38950
38951 [BZ #10357]
38952 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38953 imaginary part less than 1.0 and real part less than 0.5
38954 specially.
38955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38957 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38958 (cacos_test): Add more tests.
38959 (casin_test): Likewise.
38960 (casinh_test): Likewise.
38961 * sysdeps/i386/fpu/libm-test-ulps: Update.
38962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38963
38964 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38965
38966 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38967 ONE with its value.
38968
38969 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38970 (__pow_mp): Replace ONE and MONE with their values.
38971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38974 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38975 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38977
38978 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38979
38980 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38981 (__pow_mp): Replace ZERO and MZERO with their values.
38982 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38984 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38987 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38988 (__sqr): Likewise.
38989
38990 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38991
38992 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38993
38994 2013-03-28 Roland McGrath <roland@hack.frob.com>
38995
38996 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38997 Declare with __attribute__ ((weak)).
38998 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38999 Call __call_tls_dtors only if it's not NULL.
39000
39001 2013-03-28 Roland McGrath <roland@hack.frob.com>
39002
39003 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39004 didn't do it already, then set _dl_phdr and _dl_phnum based on the
39005 magic __ehdr_start linker symbol if it's defined.
39006 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39007 them up here if it was already done.
39008
39009 * elf/dl-support.c (_dl_phdr): Make pointer to const.
39010 (_dl_aux_init): Use const in cast when setting it.
39011 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39012 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39013 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39014
39015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39016 Declare them here.
39017 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39018 * csu/libc-tls.c: Nor here.
39019 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39020
39021 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39022 (__libc_message): Never call vsyslog.
39023
39024 2013-03-28 Alan Modra <amodra@gmail.com>
39025
39026 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39027 Define as empty.
39028 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39029 Likewise.
39030
39031 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39032
39033 [BZ #15214]
39034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39035 underflow.
39036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39037
39038 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39039
39040 [BZ #15304]
39041 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39042 Don't add gid passed as argument.
39043
39044 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39045
39046 2013-03-27 Joseph Myers <joseph@codesourcery.com>
39047
39048 [BZ #15307]
39049 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39050 imaginary part between 1.0 and 1.5 and real part less than 0.5
39051 specially.
39052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39054 * math/libm-test.inc (cacos_test): Add more tests.
39055 (casin_test): Likewise.
39056 (casinh_test): Likewise.
39057 * sysdeps/i386/fpu/libm-test-ulps: Update.
39058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39059
39060 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39061
39062 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39063 constants.
39064 (norm): Likewise.
39065 (denorm): Likewise.
39066 (__dbl_mp): Likewise.
39067 (add_magnitudes): Likewise.
39068 (sub_magnitudes): Likewise.
39069 (__add): Likewise.
39070 (__sub): Likewise.
39071 (__mul): Likewise.
39072 (__sqr): Likewise.
39073 (__inv): Likewise.
39074 (__dvd): Likewise.
39075
39076 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39077 commented code.
39078 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39079 (__dubcos): Likewise.
39080 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39081 (__ieee754_acos): Likewise.
39082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39083 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39084 (__exp1): Likewise.
39085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39087 (log1): Likewise.
39088 (my_log2): Likewise.
39089 (checkint): Likewise.
39090 * sysdeps/ieee754/dbl-64/e_remainder.c
39091 (__ieee754_remainder): Likewise.
39092 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39094 (bsloww): Likewise.
39095 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39096
39097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39099 MANTISSA_STORE_T to store computations on mantissa. Use
39100 macros for rounding and division.
39101 (denorm): Likewise.
39102 (__dbl_mp): Likewise.
39103 (add_magnitudes): Likewise.
39104 (sub_magnitudes): Likewise.
39105 (__mul): Likewise.
39106 (__sqr): Likewise.
39107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39108 powers of two in terms of TWOPOW macro.
39109 (mp_no): Make type of mantissa as MANTISSA_T.
39110 [!RADIXI]: Define RADIXI.
39111 [!TWO52]: Define TWO52.
39112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39113
39114 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39115
39116 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39117 llroundl symbol when building for PPC32.
39118
39119 2013-03-24 Mark H Weaver <mhw@netris.org>
39120
39121 * manual/arith.texi (Normalization Functions): Fix prototypes for
39122 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39123
39124 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39125
39126 [BZ #13889]
39127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39128 high value to check if expl overflow.
39129 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39130 to check for underflow and overflow.
39131 * math/libm-test.inc: Add exp test.
39132
39133 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39134
39135 [BZ #11120]
39136 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39137 with NOT_IN_libc.
39138
39139 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39140
39141 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39142 symbol.
39143
39144 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39145
39146 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39147 wrap blocks consisting of several statements.
39148
39149 * sysdeps/generic/math-tests.h: New file.
39150 * sysdeps/i386/fpu/math-tests.h: Likewise.
39151 * math/test-snan.c: Include it.
39152 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39153
39154 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39155
39156 [BZ #15285]
39157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39158 (__ieee754_j0l): Do not improve calculations using cos of twice
39159 input for inputs above LDBL_MAX / 2.0L.
39160 (__ieee754_y0l): Likewise.
39161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39162 (__ieee754_j1l): Do not improve calculations using cos of twice
39163 input for inputs above LDBL_MAX / 2.0L.
39164 (__ieee754_y1l): Likewise.
39165 * math/libm-test.inc (j0_test): Add another test.
39166 (j1_test): Likewise.
39167 (y0_test): Likewise.
39168 (y1_test): Likewise.
39169 * sysdeps/i386/fpu/libm-test-ulps: Update.
39170
39171 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39172
39173 * Rules ($(objpfx)bench-%.c): Include code from a C source
39174 file.
39175
39176 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39177
39178 [BZ #15287]
39179 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39180 imaginary part 1.0 and real part less than 0.5 specially.
39181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39183 * math/libm-test.inc (cacos_test): Add more tests.
39184 (casin_test): Likewise.
39185 (casinh_test): Likewise.
39186 * sysdeps/i386/fpu/libm-test-ulps: Update.
39187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39188
39189 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39190
39191 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39192 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39193
39194 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39195
39196 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39197 * config.make.in (config-cflags-sse4): Remove variable.
39198 (config-cflags-avx): Likewise.
39199 (config-cflags-sse2avx): Likewise.
39200 (config-cflags-novzeroupper): Likewise.
39201 (config-asflags-i686): Likewise.
39202 (have-mfma4): Likewise.
39203 (have-as-vis3): Likewise.
39204 (MIG): Likewise.
39205 * configure.in (MIG): Do not AC_SUBST.
39206 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39207 (libc_cv_cc_sse4): Do not AC_SUBST.
39208 (libc_cv_cc_avx): Likewise.
39209 (libc_cv_cc_sse2avx): Likewise.
39210 (libc_cv_cc_novzeroupper): Likewise.
39211 (libc_cv_cc_fma4): Likewise.
39212 (libc_cv_as_i686): Likewise.
39213 (libc_cv_sparc_as_vis3): Likewise.
39214 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39215 LIBC_CONFIG_VAR.
39216 (config-asflags-i686): Likewise.
39217 (config-cflags-avx): Likewise.
39218 (config-cflags-sse2avx): Likewise.
39219 (have-mfma4): Likewise.
39220 (config-cflags-novzeroupper): Likewise.
39221 * sysdeps/mach/configure.in (MIG): Likewise.
39222 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39223 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39224 LIBC_CONFIG_VAR.
39225 (config-cflags-avx): Likewise.
39226 (config-cflags-sse2avx): Likewise.
39227 (have-mfma4): Likewise.
39228 (config-cflags-novzeroupper): Likewise.
39229 * configure: Regenerated.
39230 * sysdeps/i386/configure: Likewise.
39231 * sysdeps/mach/configure: Likewise.
39232 * sysdeps/sparc/configure: Likewise.
39233 * sysdeps/x86_64/configure: Likewise.
39234
39235 2013-03-20 Roland McGrath <roland@hack.frob.com>
39236
39237 [BZ #14812]
39238 * locale/programs/localedef.c (options): Put N_ translation marker
39239 on argument names, not just descriptions.
39240
39241 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39242
39243 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39244
39245 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39246
39247 [BZ #14176]
39248 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39249
39250 2013-03-19 Roland McGrath <roland@hack.frob.com>
39251
39252 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39253 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39254 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39255 [!BEFORE_ABORT] (before_abort): New function.
39256 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39257 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39258 (writev_for_fatal): New function.
39259 (WRITEV_FOR_FATAL): New macro; call that.
39260 (backtrace_and_maps): New function.
39261 (BEFORE_ABORT): New macro; call that.
39262 (struct str_list): Type removed.
39263 (__libc_message, __libc_fatal): Functions removed.
39264 Include <sysdeps/posix/libc_fatal.c> instead.
39265
39266 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39267
39268 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39269 constants.
39270 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39271 double constants.
39272
39273 2013-03-19 Andreas Schwab <schwab@suse.de>
39274
39275 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39276 * sysdeps/gnu/configure: Regenerate.
39277
39278 * configure.in: Substitute libc_cv_rtlddir.
39279 * configure: Regenerate.
39280 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39281 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39282 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39283 * elf/Makefile (install-others, CFLAGS-interp.c)
39284 (ldso_install, common-ldd-rewrite): Likewise.
39285 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39286 $(inst_slibdir)/$(rtld-installed-name).
39287 * scripts/rellns-sh: Add -p option.
39288 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39289 for source.
39290
39291 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39292
39293 * manual/nptl.texi: Renamed to ...
39294 * manual/threads.texi: ... this.
39295 * manual/Makefile (chapters): Update.
39296
39297 2013-03-18 Roland McGrath <roland@hack.frob.com>
39298
39299 [BZ #14812]
39300 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39301 on argument names, not just descriptions.
39302 * malloc/memusagestat.c (options): Likewise.
39303 * nss/getent.c (options): Likewise.
39304
39305 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39306
39307 [BZ #14812]
39308 * iconv/iconv_prog.c (options): Put N_ translation marker
39309 on argument names, not just descriptions.
39310 * iconv/iconvconfig.c (options): Likewise.
39311
39312 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39313
39314 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39315 implementation which is faster on all x86_64 architectures.
39316 Tested on AMD, Intel Nehalem, SNB, IVB.
39317 * sysdeps/x86_64/strnlen.S: Likewise.
39318
39319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39320 Remove all multiarch strlen and strnlen versions.
39321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39322 Remove strlen and strnlen related parts.
39323
39324 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39325 Inline strlen part.
39326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39327
39328 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39329 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39330 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39331 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39332 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39333 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39334
39335 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39336
39337 * manual/memory.texi (Malloc Tunable Parameters):
39338 Sort parameters alphabetically. Add comments for missing entries.
39339
39340 2013-03-17 David S. Miller <davem@davemloft.net>
39341
39342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39343
39344 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39345
39346 [BZ #15283]
39347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39348 for arguments at most half maximum finite value.
39349 * math/libm-test.inc (j0_test): Add more tests.
39350 (j1_test): Likewise.
39351 (y0_test): Likewise.
39352 (y1_test): Likewise.
39353 * sysdeps/i386/fpu/libm-test-ulps: Update.
39354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39355
39356 [BZ #14155]
39357 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39358 1 / x and functions P and Q for arguments above 0x1p256L.
39359 (__ieee754_y0l): Likewise.
39360 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39361 (__ieee754_y1l): Likewise.
39362 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39363 (j1_test): Likewise.
39364 (y0_test): Likewise.
39365 (y1_test): Likewise.
39366
39367 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39368
39369 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39370 variable.
39371
39372 2013-03-15 Roland McGrath <roland@hack.frob.com>
39373
39374 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39375 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39376 zero since it's initialized to EXEC_PAGESIZE.
39377
39378 * sysdeps/unix/sysv/linux/ldsodefs.h
39379 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39380 * sysdeps/generic/ldsodefs.h: ... here.
39381
39382 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39383
39384 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39385
39386 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39387 math/test-snan.c.
39388 * math/test-snan.c: Renamed from
39389 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39390 * math/Makefile (tests): Add test-snan.
39391 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39392 test-powerpc-snan.
39393
39394 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39395 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39396 functions.
39397 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39398 __builtin_nan family of functions.
39399 * math/libm-test.inc (initialize): Initialize qnan_value with
39400 __builtin_nan family of functions.
39401 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39402 Remove variables.
39403 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39404 Remove functions.
39405 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39406 storage class. Initialize qNaN_var and sNaN_var with
39407 __builtin_nan and __builtin_nans families of functions,
39408 respectively.
39409
39410 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39411 (sqrt_test): Remove duplicate test with qNaN input.
39412 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39413 (round_test, signbit_test, significand_test): Note missing +/-Inf
39414 as well as qNaN tests.
39415
39416 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39417 qNaN_var. Fix a few strings, too.
39418 * math/libm-test.inc (nan_value): Rename to qnan_value.
39419 * math/gen-libm-test.pl (%beautify): Adjust to that.
39420 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39421 * math/test-misc.c (main): Likewise.
39422 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39423 to __qnan_bytes, and __qnan_union, respectively.
39424 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39425 Likewise.
39426 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39427 and lqnanval, respectively.
39428 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39429 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39430 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39431 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39432
39433 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39434 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39435 doubles.
39436
39437 * math/test-misc.c (main): Fix copy'n'pastos.
39438 * misc/tst-efgcvt.c (special): Likewise.
39439
39440 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39441 Remove declarations.
39442
39443 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39444
39445 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39446 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39447 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39448 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39449
39450 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39451
39452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39453 macro to return vdso values correctly in IFUNC implementations.
39454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39455 Optimization by using IFUNC.
39456
39457 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39458 Richard Henderson <rth@redhat.com>
39459 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39460
39461 * Makefile.in (bench): New target.
39462 * NEWS: Mention the benchmark framework.
39463 * Rules (bench): Likewise.
39464 (binaries-bench): Generate binaries for functions to
39465 benchmark.
39466 * benchtests/Makefile: New makefile for benchmark tests.
39467 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39468 programs.
39469 * benchtests/exp-inputs: New input file for EXP function.
39470 * benchtests/pow-inputs: New input file for POW function.
39471 * scripts/bench.pl: New script to generate source files for
39472 benchmark programs.
39473
39474 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39475
39476 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39478 computations on mantissa. Use macros for rounding and
39479 division.
39480 (denorm): Likewise.
39481 (__dbl_mp): Likewise.
39482 (add_magnitudes): Likewise.
39483 (sub_magnitudes): Likewise.
39484 (__mul): Likewise.
39485 (__sqr): Likewise.
39486 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39487 powers of two in terms of TWOPOW macro.
39488 (mp_no): Make type of mantissa as MANTISSA_T.
39489 [!RADIXI]: Define RADIXI.
39490 [!TWO52]: Define TWO52.
39491 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39492
39493 * manual/nptl.texi (cindex): Modify threads to pthreads.
39494
39495 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39496
39497 * sysdeps/x86_64/preconfigure: Regenerated.
39498
39499 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39500
39501 [BZ #14155]
39502 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39503 0x1p28 and above.
39504 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39505 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39506 0x1p28 and above.
39507 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39508 * math/libm-test.inc (j0_test): Do not allow one spurious
39509 underflow exception.
39510 (y1_test): Likewise.
39511
39512 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39513
39514 * manual/Makefile (chapters): Add nptl.
39515 * manual/debug.texi (Debugging Support): Add link to Threads
39516 chapter.
39517 * manual/nptl.texi: New file.
39518
39519 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39520
39521 2013-03-14 Petr Baudis <pasky@ucw.cz>
39522
39523 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39524 for non-NULL pointer before the memory validity test. Pointed
39525 out by Holger Brunck <holger.brunck@keymile.com>.
39526
39527 2013-03-13 Andreas Schwab <schwab@suse.de>
39528
39529 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39530 instead of .os.
39531
39532 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39533
39534 * timezone/zic.c: Update from tzcode 2013b.
39535
39536 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39537
39538 * manual/install.texi (Configuring and compiling):
39539 Mention i686 and i586.
39540 * INSTALL: Regenerate.
39541
39542 2013-03-12 Roland McGrath <roland@hack.frob.com>
39543
39544 * sysdeps/init_array/elf-init.c: New file.
39545 * csu/elf-init.c
39546 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39547 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39548
39549 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39550 __gmon_start__ as global, but as static with a .preinit_array pointer.
39551 * sysdeps/init_array/gmon-start.c: New file. Use that.
39552 * sysdeps/init_array/crti.S: New file, empty except for comments.
39553 * sysdeps/init_array/crtn.S: Likewise.
39554
39555 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39556
39557 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39558 definining bcopy.
39559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39560 Remove Prefer_SSE_for_memop.
39561 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39562 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39563 HAS_PREFER_SSE_FOR_MEMOP.
39564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39565 memset-x86-64.
39566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39567 Remove bzero, memset ifunc support.
39568 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39572
39573 2013-03-11 Andreas Schwab <schwab@suse.de>
39574
39575 [BZ #15234]
39576 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39577 by SHLIB_COMPAT.
39578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39579 (GLIBC_2.16): Remove pthread_atfork.
39580
39581 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39582
39583 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39584 (ptestcases.h): Likewise.
39585
39586 2013-03-08 Roland McGrath <roland@hack.frob.com>
39587
39588 * Makeconfig ($(common-objpfx)config.status): Depend on
39589 sysdeps/*/preconfigure{,.in} too.
39590
39591 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39592
39593 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39594 (__free_hook): Use void * instead of __malloc_ptr_t.
39595 (__malloc_hook): Likewise.
39596 (__realloc_hook): Likewise.
39597 (__memalign_hook): Likewise.
39598 (__after_morecore_hook): Likewise.
39599 * malloc/arena.c (save_malloc_hook): Likewise.
39600 (save_free_hook): Likewise.
39601 * malloc/hooks.c (malloc_hook_ini): Likewise.
39602 (realloc_hook_ini): Likewise.
39603 (memalign_hook_ini): Likewise.
39604 * malloc/malloc.c (malloc_hook_ini): Likewise.
39605 (realloc_hook_ini): Likewise.
39606 (memalign_hook_ini): Likewise.
39607 (__free_hook): Likewise.
39608 (__malloc_hook): Likewise.
39609 (__realloc_hook): Likewise.
39610 (__memalign_hook): Likewise.
39611 (__libc_malloc): Likewise.
39612 (__libc_free): Likewise.
39613 (__libc_realloc): Likewise.
39614 (__libc_memalign): Likewise.
39615 (__libc_valloc): Likewise.
39616 (__libc_pvalloc): Likewise.
39617 (__libc_calloc): Likewise.
39618 (__posix_memalign): Likewise.
39619 * malloc/morecore.c (__sbrk): Likewise.
39620 (__default_morecore): Likewise.
39621
39622 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39623
39624 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39625 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39626 __malloc_ptrdiff_t.
39627
39628 * malloc/malloc.h (__malloc_size_t): Remove macro.
39629 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39630 __malloc_size_t.
39631 (old_memalign_hook): Likewise.
39632 (old_realloc_hook): Likewise.
39633 (struct hdr): Likewise.
39634 (flood): Likewise.
39635 (mallochook): Likewise.
39636 (memalignhook): Likewise.
39637 (reallochook): Likewise.
39638 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39639 (tr_old_realloc_hook): Likewise.
39640 (tr_old_memalign_hook): Likewise.
39641 (tr_mallochook): Likewise.
39642 (tr_reallochook): Likewise.
39643 (tr_memalignhook): Likewise.
39644
39645 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39646
39647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39648 default_ldbl_pack and using as default implementation.
39649 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39650 implementation.
39651 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39652 redundant definition.
39653 (ldbl_insert_mantissa): Likewise.
39654 (ldbl_canonicalize): Likewise.
39655 (ldbl_nearbyint): Likewise.
39656 (ldbl_pack): Rename to ldbl_pack_ppc.
39657 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39658 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39659 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39660
39661 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39662
39663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39664 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39665 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39666 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39668 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39669 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39670 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39671
39672 2013-03-07 Andreas Jaeger <aj@suse.de>
39673
39674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39675 bits/mman-linux.h.
39676
39677 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39678
39679 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39680 Include mpa.h and declare __MPEXP.
39681 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39683 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39687 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39688
39689 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39690 (__slowpow): Use long double EXPL and LOGL functions to
39691 compute POW.
39692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39693 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39698
39699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39700 intermediate variable to calculate exponent.
39701 (__sqr): Likewise.
39702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39703 Likewise.
39704 (__sqr): Likewise.
39705
39706 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39707 [!NO__SQR]: Define __sqr.
39708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39709 and NO__SQR. Remove all code except __mul and __sqr. Include
39710 sysdeps/ieee754/dbl-64/mpa.c.
39711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39712
39713 [BZ #12723]
39714 * posix/Makefile (tests): Add tst-pathconf.
39715 * posix/tst-pathconf.c: New test case.
39716 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39717 _PC_PIPE_BUF.
39718 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39719
39720 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39721
39722 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39723
39724 2013-03-06 Andreas Jaeger <aj@suse.de>
39725
39726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39727 definition via __MAP_ANONYMOUS.
39728
39729 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39730 it's not part of Linux headers.
39731
39732 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39733 (MAP_HUGE_MASK): Define.
39734
39735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39736 Define.
39737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39739 Define.
39740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39741 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39742 Define.
39743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39744 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39745 Define.
39746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39747
39748 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39749 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39750 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39751 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39752 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39753 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39754
39755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39756 Handle f2fs.
39757
39758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39759 Handle f2fs and efivarfs.
39760
39761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39762 f2fs.
39763
39764 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39765 (EFIVARFS_MAGIC): Add.
39766 (F2FS_LINK_MAX): Add.
39767
39768 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39769
39770 * stdio-common/vfprintf.c: Replace __builtin_expect with
39771 __glibc_unlikely.
39772
39773 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39774
39775 [BZ #13550]
39776 * sysdeps/generic/bp-sym.h: Remove file.
39777 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39779 <bp-sym.h> and <bp-asm.h>.
39780 (__longjmp): Don't use BP_SYM.
39781 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39782 and <bp-asm.h>.
39783 (memcpy): Don't use BP_SYM.
39784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39785 <bp-sym.h> and <bp-asm.h>.
39786 (memcpy): Don't use BP_SYM.
39787 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39788 <bp-asm.h>.
39789 (memcpy): Don't use BP_SYM.
39790 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39791 <bp-asm.h>.
39792 (memset): Don't use BP_SYM.
39793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39795 (__bzero): Don't use BP_SYM.
39796 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39797 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39798 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39799 <bp-sym.h> and <bp-asm.h>.
39800 (memcmp): Don't use BP_SYM. Remove comment about bounded
39801 pointers.
39802 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39803 <bp-sym.h> and <bp-asm.h>.
39804 (memcpy): Don't use BP_SYM.
39805 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39806 <bp-sym.h> and <bp-asm.h>.
39807 (memset): Don't use BP_SYM.
39808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39810 (__bzero): Don't use BP_SYM.
39811 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39812 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39814 <bp-sym.h> and <bp-asm.h>.
39815 (strncmp): Don't use BP_SYM. Remove comment about bounded
39816 pointers.
39817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39818 <bp-sym.h> and <bp-asm.h>.
39819 (memcpy): Don't use BP_SYM.
39820 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39821 <bp-sym.h> and <bp-asm.h>.
39822 (memset): Don't use BP_SYM.
39823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39825 (__bzero): Don't use BP_SYM.
39826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39829 <bp-sym.h> and <bp-asm.h>.
39830 (__memchr): Don't use BP_SYM.
39831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39832 <bp-sym.h> and <bp-asm.h>.
39833 (memcmp): Don't use BP_SYM. Remove comment about bounded
39834 pointers.
39835 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39836 <bp-sym.h> and <bp-asm.h>.
39837 (memcpy): Don't use BP_SYM.
39838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39839 <bp-sym.h> and <bp-asm.h>.
39840 (__mempcpy): Don't use BP_SYM.
39841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39842 <bp-sym.h> and <bp-asm.h>.
39843 (__memrchr): Don't use BP_SYM.
39844 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39845 <bp-sym.h> and <bp-asm.h>.
39846 (memset): Don't use BP_SYM.
39847 (__bzero): Likewise.
39848 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39849 <bp-sym.h> and <bp-asm.h>.
39850 (__rawmemchr): Don't use BP_SYM.
39851 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39852 <bp-sym.h> and <bp-asm.h>.
39853 (__STRCMP): Don't use BP_SYM.
39854 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39855 <bp-sym.h> and <bp-asm.h>.
39856 (strchr): Don't use BP_SYM.
39857 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39858 <bp-sym.h> and <bp-asm.h>.
39859 (__strchrnul): Don't use BP_SYM.
39860 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39861 <bp-sym.h> and <bp-asm.h>.
39862 (strlen): Don't use BP_SYM.
39863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39864 <bp-sym.h> and <bp-asm.h>.
39865 (strncmp): Don't use BP_SYM. Remove comment about bounded
39866 pointers.
39867 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39868 <bp-sym.h> and <bp-asm.h>.
39869 (__strnlen): Don't use BP_SYM.
39870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39871 <bp-sym.h> and <bp-asm.h>.
39872 (__GI__setjmp): Don't use BP_SYM.
39873 (_setjmp): Likewise.
39874 (__sigsetjmp): Likewise.
39875 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39876 (L(start_addresses)): Don't use BP_SYM.
39877 (_start): Likewise.
39878 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39879 <bp-asm.h>.
39880 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39881 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39882 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39883 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39884 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39885 <bp-asm.h>.
39886 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39887 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39888 about bounded pointers.
39889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39891 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39892 <bp-asm.h>.
39893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39894 about bounded pointers. Remove GKM FIXME comments.
39895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39896 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39897 <bp-asm.h>.
39898 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39899 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39900 Remove GKM FIXME comments.
39901 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39902 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39903 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39904 <bp-asm.h>.
39905 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39906 about bounded pointers. Remove GKM FIXME comment.
39907 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39908 and <bp-asm.h>.
39909 (strncmp): Don't use BP_SYM. Remove comment about bounded
39910 pointers.
39911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39912 <bp-sym.h> and <bp-asm.h>.
39913 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39915 <bp-sym.h> and <bp-asm.h>.
39916 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39917 comment.
39918
39919 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39920
39921 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39922 call free(NULL).
39923
39924 2013-03-05 David S. Miller <davem@davemloft.net>
39925
39926 * po/es.po: Update from translation team.
39927
39928 2013-03-05 Andreas Jaeger <aj@suse.de>
39929
39930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39931 <bits/mman-linux.h>.
39932 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39933 is fine.
39934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39935 <bits/mman-linux.h> to end of file.
39936 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39937 is fine.
39938 * sysdeps/unix/sysv/linux/x86/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
39941 is fine.
39942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39943 <bits/mman-linux.h> to end of file.
39944
39945 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39946 (MCL_CURRENT, MCL_FUTURE): Define here.
39947
39948 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39949
39950 [BZ #15232]
39951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39952 attribute_hidden.
39953 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39954
39955 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39956
39957 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39958 fourth parameter needed for rt_sigprocmask syscall.
39959 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39960 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39961 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39962 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39963 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39964 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39965
39966 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39967
39968 [BZ #13550]
39969 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39970 comment about bounded pointers.
39971 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39972 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39973
39974 2013-03-04 Andreas Jaeger <aj@suse.de>
39975
39976 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39977 common definitions.
39978
39979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39980 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39981 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39983 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39985
39986 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39987
39988 [BZ #15055]
39989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39990 __ieee754_sqrl instead of __sqrl.
39991
39992 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39993
39994 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39995 * sysdeps/powerpc/fpu_control.h: ... here.
39996 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39997 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39998 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39999 * sysdeps/powerpc/bits/mathinline.h: ... here.
40000
40001 2013-03-01 Roland McGrath <roland@hack.frob.com>
40002
40003 * elf/dl-hwcaps.c (_dl_important_hwcaps):
40004 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40005 to just [NEED_DL_SYSINFO_DSO].
40006 * elf/dl-support.c: Likewise.
40007 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40008 * elf/rtld.c (dl_main): Likewise.
40009 * elf/setup-vdso.h (setup_vdso): Likewise.
40010 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40011 * sysdeps/unix/sysv/linux/dl-sysdep.c
40012 (_dl_discover_osversion): Likewise.
40013
40014 2013-03-01 Carlos O'Donell <carlos@redhat.com>
40015
40016 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40017 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40018
40019 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40020
40021 * NEWS: Mention libm performance improvements and non-x86 PI
40022 futex support.
40023
40024 * csu/libc-start.c (__pthread_initialize_minimal): Change
40025 function arguments.
40026 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40027
40028 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40029
40030 [BZ #13550]
40031 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40033 <bp-sym.h> and <bp-asm.h>.
40034 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40035 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40036 and <bp-asm.h>.
40037 (memcpy): Don't use BP_SYM.
40038 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40039 <bp-asm.h>.
40040 (__mpn_add_n): Don't use BP_SYM.
40041 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40042 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40043 and <bp-asm.h>.
40044 (__mpn_addmul_1): Don't use BP_SYM.
40045 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40046 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40047 <bp-sym.h>.
40048 (_setjmp): Don't use BP_SYM.
40049 (__novmx_setjmp): Likewise.
40050 (__GI__setjmp): Likewise.
40051 (__vmx_setjmp): Likewise.
40052 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40053 <bp-sym.h>.
40054 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40055 (__bzero): Don't use BP_SYM.
40056 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40057 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40058 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40059 <bp-sym.h> and <bp-asm.h>.
40060 (memcpy): Don't use BP_SYM.
40061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40062 <bp-sym.h> and <bp-asm.h>.
40063 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40065 <bp-sym.h> and <bp-asm.h>.
40066 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40067 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40068 <bp-asm.h>.
40069 (__mpn_lshift): Don't use BP_SYM.
40070 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40071 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40072 <bp-asm.h>.
40073 (memset): Don't use BP_SYM.
40074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40076 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40077 <bp-asm.h>.
40078 (__mpn_mul_1): Don't use BP_SYM.
40079 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40081 <bp-sym.h> and <bp-asm.h>.
40082 (memcmp): Don't use BP_SYM.
40083 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40084 <bp-sym.h> and <bp-asm.h>.
40085 (memcpy): Don't use BP_SYM.
40086 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40087 <bp-sym.h> and <bp-asm.h>.
40088 (memset): Don't use BP_SYM.
40089 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40090 <bp-sym.h> and <bp-asm.h>.
40091 (strncmp): Don't use BP_SYM.
40092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40093 <bp-sym.h> and <bp-asm.h>.
40094 (memcpy): Don't use BP_SYM.
40095 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40096 <bp-sym.h> and <bp-asm.h>.
40097 (memset): Don't use BP_SYM.
40098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40099 <bp-sym.h> and <bp-asm.h>.
40100 (__memchr): Don't use BP_SYM.
40101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40102 <bp-sym.h> and <bp-asm.h>.
40103 (memcmp): Don't use BP_SYM.
40104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40105 <bp-sym.h> and <bp-asm.h>.
40106 (memcpy): Don't use BP_SYM.
40107 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40108 <bp-sym.h> and <bp-asm.h>.
40109 (__mempcpy): Don't use BP_SYM.
40110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40111 <bp-sym.h> and <bp-asm.h>.
40112 (__memrchr): Don't use BP_SYM.
40113 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40114 <bp-sym.h> and <bp-asm.h>.
40115 (memset): Don't use BP_SYM.
40116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40117 <bp-sym.h> and <bp-asm.h>.
40118 (__rawmemchr): Don't use BP_SYM.
40119 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40120 <bp-sym.h> and <bp-asm.h>.
40121 (__STRCMP): Don't use BP_SYM.
40122 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40123 <bp-sym.h> and <bp-asm.h>.
40124 (strchr): Don't use BP_SYM.
40125 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40126 <bp-sym.h> and <bp-asm.h>.
40127 (__strchrnul): Don't use BP_SYM.
40128 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40129 <bp-sym.h> and <bp-asm.h>.
40130 (strlen): Don't use BP_SYM.
40131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40132 <bp-sym.h> and <bp-asm.h>.
40133 (strncmp): Don't use BP_SYM.
40134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40135 <bp-sym.h> and <bp-asm.h>.
40136 (__strnlen): Don't use BP_SYM.
40137 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40138 <bp-asm.h>.
40139 (__mpn_rshift): Don't use BP_SYM.
40140 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40141 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40142 <bp-sym.h> and <bp-asm.h>.
40143 (__sigsetjmp): Don't use BP_SYM.
40144 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40145 (L(start_addresses)): Don't use BP_SYM.
40146 (_start): Likewise.
40147 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40148 <bp-asm.h>.
40149 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40150 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40151 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40152 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40153 <bp-asm.h>.
40154 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40155 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40156 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40157 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40158 <bp-asm.h>.
40159 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40160 comments.
40161 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40162 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40163 <bp-asm.h>.
40164 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40165 FIXME comments.
40166 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40167 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40168 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40169 <bp-asm.h>.
40170 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40171 comment.
40172 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40173 and <bp-asm.h>.
40174 (strncmp): Don't use BP_SYM,
40175 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40176 <bp-asm.h>.
40177 (__mpn_sub_n): Don't use BP_SYM.
40178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40179 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40180 and <bp-asm.h>.
40181 (__mpn_submul_1): Don't use BP_SYM.
40182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40184 <bp-sym.h> and <bp-asm.h>.
40185 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40187 <bp-sym.h> and <bp-asm.h>.
40188 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40189 comment.
40190
40191 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40192
40193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40194 Use ZK to minimize writes to Z.
40195 (sub_magnitudes): Simplify code a bit.
40196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40197 Use ZK to minimize writes to Z.
40198 (sub_magnitudes): Simplify code a bit.
40199
40200 2013-02-27 Roland McGrath <roland@hack.frob.com>
40201
40202 * csu/gmon-start.c: Add special exception to license text.
40203
40204 2013-02-27 Richard Henderson <rth@redhat.com>
40205
40206 * scripts/config.guess: Update from config.git.
40207 * scripts/config.sub: Likewise.
40208
40209 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40210
40211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40212
40213 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40214
40215 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40216
40217 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40218
40219 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40220
40221 2013-02-26 Roland McGrath <roland@hack.frob.com>
40222
40223 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40224 [$(build-shared = yes].
40225
40226 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40227
40228 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40229 (__mul): Reduce iterations for calculating mantissa.
40230
40231 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40232 MPTWO.
40233 (__mpranred): Likewise.
40234
40235 [BZ #15160]
40236 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40237 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40238
40239 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40240
40241 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40242 Define __attribute__.
40243
40244 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40245
40246 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40247 unused.
40248 * posix/regex_internal.h (__attribute): Remove.
40249 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40250 (re_string_context_at): Likewise.
40251 (bitset_not): Use __attribute__ and mark function as possibly
40252 unused.
40253 (bitset_merge): Likewise.
40254 (bitset_mask): Likewise.
40255 (re_string_char_size_at): Likewise.
40256 (re_string_wchar_at): Likewise.
40257 (re_string_elem_size_at): Likewise.
40258
40259 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40260
40261 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40262 code.
40263 (cc32): Likewise.
40264
40265 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40266 (__acr): Likewise.
40267 (__cpy): Likewise.
40268 (norm): Likewise.
40269 (denorm): Likewise.
40270 (__dbl_mp): Likewise.
40271 (add_magnitudes): Likewise.
40272 (sub_magnitudes): Likewise.
40273 (__mul): Likewise.
40274 (__inv): Likewise.
40275
40276 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40277 style.
40278
40279 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40280 style.
40281
40282 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40283 code.
40284
40285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40286 up changes with default code.
40287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40288 Likewise.
40289
40290 2013-02-24 Allan McRae <allan@archlinux.org>
40291
40292 * manual/socket.texi (The Internet Namespace): Order menu items
40293 to match that in the file.
40294
40295 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40296 node listing of the info page menu.
40297
40298 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40299
40300 [BZ #13550]
40301 * sysdeps/i386/bp-asm.h: Remove file.
40302 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40303 (PARMS): Do not use macros from bp-asm.h.
40304 (S1): Likewise.
40305 (S2): Likewise.
40306 (SIZE): Likewise.
40307 (__mpn_add_n): Do not use BP_SYM
40308 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40309 "bp-asm.h".
40310 (PARMS): Do not use macros from bp-asm.h.
40311 (S1): Likewise.
40312 (SIZE): Likewise.
40313 (__mpn_addmul_1): Do not use BP_SYM
40314 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40315 "bp-asm.h".
40316 (PARMS): Do not use macros from bp-asm.h.
40317 (SIGMSK): Likewise.
40318 (_setjmp): Likewise. Do not use BP_SYM.
40319 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40320 "bp-asm.h".
40321 (PARMS): Do not use macros from bp-asm.h.
40322 (SIGMSK): Likewise.
40323 (setjmp): Likewise. Do not use BP_SYM.
40324 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40325 "bp-asm.h".
40326 (PARMS): Do not use macros from bp-asm.h.
40327 (__frexp): Do not use BP_SYM.
40328 (frexp): Likewise.
40329 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40330 "bp-asm.h".
40331 (PARMS): Do not use macros from bp-asm.h.
40332 (__frexpf): Do not use BP_SYM.
40333 (frexpf): Likewise.
40334 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40335 "bp-asm.h".
40336 (PARMS): Do not use macros from bp-asm.h.
40337 (__frexpl): Do not use BP_SYM.
40338 (frexpl): Likewise.
40339 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40340 "bp-asm.h".
40341 (PARMS): Do not use macros from bp-asm.h.
40342 (__remquo): Do not use BP_SYM.
40343 (remquo): Likewise.
40344 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40345 "bp-asm.h".
40346 (PARMS): Do not use macros from bp-asm.h.
40347 (__remquof): Do not use BP_SYM.
40348 (remquof): Likewise.
40349 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40350 "bp-asm.h".
40351 (PARMS): Do not use macros from bp-asm.h.
40352 (__remquol): Do not use BP_SYM.
40353 (remquol): Likewise.
40354 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40355 "bp-asm.h".
40356 (PARMS): Do not use macros from bp-asm.h.
40357 (DEST): Likewise.
40358 (SRC): Likewise.
40359 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40360 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40361 "bp-asm.h".
40362 (PARMS): Do not use macros from bp-asm.h.
40363 (strlen): Do not use BP_SYM.
40364 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40365 "bp-asm.h".
40366 (PARMS): Do not use macros from bp-asm.h.
40367 (S1): Likewise.
40368 (S2): Likewise.
40369 (SIZE): Likewise.
40370 (__mpn_add_n): Do not use BP_SYM.
40371 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40372 "bp-asm.h".
40373 (PARMS): Do not use macros from bp-asm.h.
40374 (S1): Likewise.
40375 (SIZE): Likewise.
40376 (__mpn_addmul_1): Do not use BP_SYM.
40377 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40378 weak_alias.
40379 (bzero): Likewise.
40380 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40381 "bp-asm.h".
40382 (PARMS): Do not use macros from bp-asm.h.
40383 (S): Likewise.
40384 (SIZE): Likewise.
40385 (__mpn_lshift): Do not use BP_SYM.
40386 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40387 "bp-asm.h".
40388 (PARMS): Do not use macros from bp-asm.h.
40389 (DEST): Likewise.
40390 (SRC): Likewise.
40391 (LEN): Likewise.
40392 (memcpy): Likewise. Do not use BP_SYM.
40393 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40394 libc_hidden_def and weak_alias.
40395 (mempcpy): Do not use BP_SYM in weak_alias.
40396 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40397 "bp-asm.h".
40398 (PARMS): Do not use macros from bp-asm.h.
40399 (DEST): Likewise.
40400 (LEN): Likewise.
40401 [!BZERO_P] (CHR): Likewise.
40402 (memset): Likewise. Do not use BP_SYM.
40403 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40404 "bp-asm.h".
40405 (PARMS): Do not use macros from bp-asm.h.
40406 (S1): Likewise.
40407 (SIZE): Likewise.
40408 (__mpn_mul_1): Do not use BP_SYM.
40409 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40410 "bp-asm.h".
40411 (PARMS): Do not use macros from bp-asm.h.
40412 (S): Likewise.
40413 (SIZE): Likewise.
40414 (__mpn_rshift): Do not use BP_SYM.
40415 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40416 "bp-asm.h".
40417 (PARMS): Do not use macros from bp-asm.h.
40418 (STR): Likewise.
40419 (CHR): Likewise.
40420 (strchr): Likewise. Do not use BP_SYM.
40421 (index): Do not use BP_SYM in weak_alias.
40422 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40423 "bp-asm.h".
40424 (PARMS): Do not use macros from bp-asm.h.
40425 (DEST): Likewise.
40426 (SRC): Likewise.
40427 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40428 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40429 "bp-asm.h".
40430 (PARMS): Do not use macros from bp-asm.h.
40431 (strlen): Do not use BP_SYM.
40432 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40433 "bp-asm.h".
40434 (PARMS): Do not use macros from bp-asm.h.
40435 (S1): Likewise.
40436 (S2): Likewise.
40437 (SIZE): Likewise.
40438 (__mpn_sub_n): Do not use BP_SYM.
40439 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40440 "bp-asm.h".
40441 (PARMS): Do not use macros from bp-asm.h.
40442 (S1): Likewise.
40443 (SIZE): Likewise.
40444 (__mpn_submul_1): Do not use BP_SYM.
40445 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40446 "bp-asm.h".
40447 (PARMS): Do not use macros from bp-asm.h.
40448 (S1): Likewise.
40449 (S2): Likewise.
40450 (SIZE): Likewise.
40451 (__mpn_add_n): Do not use BP_SYM.
40452 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40453 weak_alias.
40454 (bzero): Likewise.
40455 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40456 "bp-asm.h".
40457 (PARMS): Do not use macros from bp-asm.h.
40458 (BLK2): Likewise.
40459 (LEN): Likewise.
40460 (memcmp): Do not use BP_SYM.
40461 (bcmp): Do not use BP_SYM in weak_alias.
40462 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40463 "bp-asm.h".
40464 (PARMS): Do not use macros from bp-asm.h.
40465 (DEST): Likewise.
40466 (SRC): Likewise.
40467 (LEN): Likewise.
40468 (memcpy): Likewise. Do not use BP_SYM.
40469 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40470 "bp-asm.h".
40471 (PARMS): Do not use macros from bp-asm.h.
40472 (DEST): Likewise.
40473 (SRC): Likewise.
40474 (LEN): Likewise.
40475 (memmove): Likewise. Do not use BP_SYM.
40476 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40477 "bp-asm.h".
40478 (PARMS): Do not use macros from bp-asm.h.
40479 (DEST): Likewise.
40480 (SRC): Likewise.
40481 (LEN): Likewise.
40482 (__mempcpy): Likewise. Do not use BP_SYM.
40483 (mempcpy): Do not use BP_SYM in weak_alias.
40484 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40485 "bp-asm.h".
40486 (PARMS): Do not use macros from bp-asm.h.
40487 (DEST): Likewise.
40488 (LEN): Likewise.
40489 [!BZERO_P] (CHR): Likewise.
40490 (memset): Likewise. Do not use BP_SYM.
40491 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40492 "bp-asm.h".
40493 (PARMS): Do not use macros from bp-asm.h.
40494 (STR2): Likewise.
40495 (strcmp): Do not use BP_SYM.
40496 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40497 "bp-asm.h".
40498 (PARMS): Do not use macros from bp-asm.h.
40499 (STR): Likewise.
40500 (DELIM): Likewise.
40501 [USE_AS_STRTOK_R] (SAVE): Likewise.
40502 (FUNCTION): Likewise. Do not use BP_SYM.
40503 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40504 aliases.
40505 (strtok_r): Likewise.
40506 (__GI___strtok_r): Likewise.
40507 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40508 (PARMS): Do not use macros from bp-asm.h.
40509 (S): Likewise.
40510 (SIZE): Likewise.
40511 (__mpn_lshift): Do not use BP_SYM.
40512 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40513 (PARMS): Do not use macros from bp-asm.h.
40514 (STR): Likewise.
40515 (CHR): Likewise.
40516 (__memchr): Do not use BP_SYM.
40517 (memchr): Do not use BP_SYM in weak_alias.
40518 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40519 (PARMS): Do not use macros from bp-asm.h.
40520 (BLK2): Likewise.
40521 (LEN): Likewise.
40522 (memcmp): Do not use BP_SYM.
40523 (bcmp): Do not use BP_SYM in weak_alias.
40524 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40525 (PARMS): Do not use macros from bp-asm.h.
40526 (S1): Likewise.
40527 (SIZE): Likewise.
40528 (__mpn_mul_1): Do not use BP_SYM.
40529 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40530 "bp-asm.h".
40531 (PARMS): Do not use macros from bp-asm.h.
40532 (STR): Likewise.
40533 (CHR): Likewise.
40534 (__rawmemchr): Do not use BP_SYM.
40535 (rawmemchr): Do not use BP_SYM in weak_alias.
40536 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40537 (PARMS): Do not use macros from bp-asm.h.
40538 (S): Likewise.
40539 (SIZE): Likewise.
40540 (__mpn_rshift): Do not use BP_SYM.
40541 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40542 (PARMS): Do not use macros from bp-asm.h.
40543 (SIGMSK): Likewise.
40544 (__sigsetjmp): Likewise. Do not use BP_SYM.
40545 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40546 (_start): Do not use BP_SYM.
40547 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40548 (PARMS): Do not use macros from bp-asm.h.
40549 (DEST): Likewise.
40550 (SRC): Likewise.
40551 (__stpcpy): Likewise. Do not use BP_SYM.
40552 (stpcpy): Do not use BP_SYM in weak_alias.
40553 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40554 "bp-asm.h".
40555 (PARMS): Do not use macros from bp-asm.h.
40556 (DEST): Likewise.
40557 (SRC): Likewise.
40558 (LEN): Likewise.
40559 (__stpncpy): Likewise. Do not use BP_SYM.
40560 (stpncpy): Do not use BP_SYM in weak_alias.
40561 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40562 (PARMS): Do not use macros from bp-asm.h.
40563 (STR): Likewise.
40564 (CHR): Likewise.
40565 (strchr): Likewise. Do not use BP_SYM.
40566 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40567 "bp-asm.h".
40568 (PARMS): Do not use macros from bp-asm.h.
40569 (STR): Likewise.
40570 (CHR): Likewise.
40571 (__strchrnul): Likewise. Do not use BP_SYM.
40572 (strchrnul): Do not use BP_SYM in weak_alias.
40573 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40574 "bp-asm.h".
40575 (PARMS): Do not use macros from bp-asm.h.
40576 (STOP): Likewise.
40577 (strcspn): Do not use BP_SYM.
40578 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40579 "bp-asm.h".
40580 (PARMS): Do not use macros from bp-asm.h.
40581 (STR): Likewise.
40582 (STOP): Likewise.
40583 (strpbrk): Likewise. Do not use BP_SYM.
40584 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40585 "bp-asm.h".
40586 (PARMS): Do not use macros from bp-asm.h.
40587 (STR): Likewise.
40588 (CHR): Likewise.
40589 (strrchr): Likewise. Do not use BP_SYM.
40590 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40591 (PARMS): Do not use macros from bp-asm.h.
40592 (SKIP): Likewise.
40593 (strspn): Do not use BP_SYM.
40594 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40595 (PARMS): Do not use macros from bp-asm.h.
40596 (STR): Likewise.
40597 (DELIM): Likewise.
40598 (SAVE): Likewise.
40599 (FUNCTION): Likewise. Do not use BP_SYM.
40600 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40601 aliases.
40602 (strtok_r): Likewise.
40603 (__GI___strtok_r): Likewise.
40604 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40605 (PARMS): Do not use macros from bp-asm.h.
40606 (S1): Likewise.
40607 (S2): Likewise.
40608 (SIZE): Likewise.
40609 (__mpn_sub_n): Do not use BP_SYM.
40610 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40611 "bp-asm.h".
40612 (PARMS): Do not use macros from bp-asm.h.
40613 (S1): Likewise.
40614 (SIZE): Likewise.
40615 (__mpn_submul_1): Do not use BP_SYM.
40616 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40617 <bp-sym.h>.
40618 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40619 and <bp-asm.h>.
40620 (PARMS): Do not use macros from bp-asm.h.
40621 (FLAGS): Likewise.
40622 (PTID): Likewise.
40623 (TLS): Likewise.
40624 (CTID): Likewise.
40625 (__clone): Do not use BP_SYM.
40626 (clone): Do not use BP_SYM in weak_alias.
40627 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40628 and <bp-asm.h>.
40629 (PARMS): Do not use macros from bp-asm.h.
40630 (LEN): Likewise.
40631 (__mmap64): Do not use BP_SYM.
40632 (mmap64): Do not use BP_SYM in weak_alias.
40633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40634 <bp-sym.h> and <bp-asm.h>.
40635 (PARMS): Do not use macros from bp-asm.h.
40636 (__posix_fadvise64_l64): Do not use BP_SYM.
40637 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40638 (PARMS): Do not use macros from bp-asm.h.
40639 (NSOPS): Likewise.
40640 (semtimedop): Do not use BP_SYM.
40641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40642 and <bp-asm.h>.
40643
40644 2013-02-21 Allan McRae <allan@archlinux.org>
40645
40646 * manual/message.texi (Charset conversion in gettext):
40647 Move @end statement to beginning of line.
40648
40649 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40650
40651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40652 static.
40653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40654 Likewise.
40655
40656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40657 (denorm): Likewise.
40658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40660
40661 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40662
40663 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40664 tail-call to the resolved function if pltexit isn't needed.
40665
40666 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40667
40668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40669 or Y being zero as being unlikely.
40670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40671 Likewise.
40672
40673 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40674
40675 * manual/nss.texi (System Databases and Name Service Switch):
40676 Remove frobnicate @pxref.
40677
40678 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40679
40680 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40681 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40682
40683 2013-02-20 Petr Machata <pmachata@redhat.com>
40684
40685 * elf/elf.h (R_ARM_TARGET1): New macro.
40686 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40687 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40688 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40689 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40690 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40691 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40692 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40693 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40694 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40695 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40696 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40697 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40698 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40699 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40700 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40701 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40702 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40703 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40704 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40705 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40706 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40707 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40708 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40709 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40710 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40711 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40712 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40713 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40714 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40715 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40716 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40717 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40718 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40719 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40720 (R_ARM_THM_GOT_BREL12): Likewise.
40721 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40722 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40723 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40724 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40725 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40726 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40727 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40728 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40729 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40730
40731 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40732
40733 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40734 __attribute_used__ to __attribute__ ((unused)).
40735
40736 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40737
40738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40739 powerpc mpa.c.
40740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40741 comment formatting.
40742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40743
40744 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40745
40746 [BZ #13550]
40747 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40748 Remove macro.
40749 (ENTER): Remove both macro definitions.
40750 (LEAVE): Likewise.
40751 (CHECK_BOUNDS_LOW): Likewise.
40752 (CHECK_BOUNDS_HIGH): Likewise.
40753 (CHECK_BOUNDS_BOTH): Likewise.
40754 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40755 (RETURN_BOUNDED_POINTER): Likewise.
40756 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40757 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40758 (POP_ERRNO_LOCATION_RETURN): Likewise.
40759 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40760 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40761 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40762 macros.
40763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40764 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40765 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40766 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40767 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40768 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40769 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40770 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40771 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40772 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40773 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40774 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40775 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40776 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40777 removed macros.
40778 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40779 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40780 macros.
40781 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40782 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40783 * sysdeps/i386/i586/memset.S (memset): Likewise.
40784 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40785 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40786 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40787 macros.
40788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40789 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40790 Change uses of L(2) to L(out).
40791 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40792 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40793 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40795 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40796 removed macros.
40797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40798 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40799 macros.
40800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40801 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40802 (RETURN): Do not use macro LEAVE.
40803 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40804 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40805 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40806 * sysdeps/i386/i686/memset.S (memset): Likewise.
40807 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40808 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40810 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40811 Likewise.
40812 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40813 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40814 L(1_2) and L(1_3) into L(1).
40815 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40816 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40817 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40818 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40819 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40820 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40821 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40823 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40824 macros.
40825 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40826 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40827 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40828 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40829 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40830 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40831 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40832 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40833 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40834 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40835 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40836 * sysdeps/i386/strspn.S (strspn): Likewise.
40837 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40838 conditional code.
40839 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40840 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40841 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40842 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40843 L(1_3) into L(1_1).
40844 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40845 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40846 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40847 macros.
40848 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40849
40850 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40851
40852 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40853 macro.
40854
40855 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40856
40857 * math/atest-exp.c (exp_mpn): Remove ROUND.
40858 * math/atest-exp2.c (exp_mpn): Likewise.
40859 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40860
40861 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40862 * stdlib/tst-tls-atexit-lib.c: Likewise.
40863 * stdlib/tst-tls-atexit.c: Likewise.
40864
40865 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40866
40867 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40868 and __attribute_alloc_size__.
40869
40870 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40871
40872 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40873 __attribute_alloc_size__.
40874 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40875 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40876
40877 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40878
40879 * include/programs/xmalloc.h: New file.
40880 * catgets/gencat.c: Include it.
40881 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40882 * elf/pldd.c: Likewise.
40883 * iconv/iconv_charmap.c: Likewise.
40884 * iconv/iconvconfig.c: Likewise.
40885 * iconv/strtab.c: Likewise.
40886 * locale/programs/locale.c: Likewise.
40887 * locale/programs/localedef.h: Likewise.
40888 * locale/programs/simple-hash.c: Likewise.
40889 * nscd/nscd.h: Likewise.
40890 * nss/makedb.c: Likewise.
40891 * sysdeps/generic/ldconfig.h: Likewise.
40892
40893 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40894
40895 * Versions.def: Add GLIBC_2.18.
40896 * include/link.h (struct link_map): New member l_tls_dtor_count.
40897 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40898 (__call_tls_dtors): Likewise.
40899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40900 __cxa_thread_atexit_impl.
40901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40902 Likewise.
40903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40904 Likewise.
40905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40906 Likewise.
40907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40908 Likewise.
40909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40911 Likewise.
40912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40913 Likewise.
40914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40916 Likewise.
40917 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40918 (tests): Add test case tst-tls-atexit.
40919 (modules-names): Add shared library for tst-tls-atexit.
40920 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40921 (GLIBC_PRIVATE): Add __call_tls_dtors.
40922 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40923 for libstdc++.
40924 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40925 * stdlib/tst-tls-atexit.c: New test case.
40926 * stdlib/tst-tls-atexit-lib.c: New test case.
40927
40928 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40929
40930 * elf/Versions (ld): Add _dl_find_dso_for_object.
40931 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40932 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40933 (dl_open_worker): Use _dl_find_dso_for_object.
40934 * elf/dl-sym.c (do_sym): Likewise.
40935 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40936
40937 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40938
40939 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40940 Syntactic changes only.
40941 (_dl_runtime_profile): Do a tail-call to the resolved function.
40942
40943 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40944
40945 [BZ #13550]
40946 * sysdeps/x86_64/bp-asm.h: Remove file.
40947 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40948 <bp-sym.h> and <bp-asm.h>.
40949 (__clone): Do not use BP_SYM.
40950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40951 <bp-sym.h> and <bp-asm.h>.
40952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40953 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40954 "bp-asm.h".
40955 (_setjmp): Do not use BP_SYM.
40956 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40957 "bp-asm.h".
40958 (setjmp): Do not use BP_SYM.
40959 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40960 libc_hidden_def.
40961 (mempcpy): Do not use BP_SYM in weak_alias.
40962 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40963 "bp-asm.h".
40964 (strchr): Do not use BP_SYM.
40965 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40966 "bp-asm.h".
40967 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40968 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40969 (_start): Do not use BP_SYM.
40970 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40971 "bp-asm.h".
40972 (strcat): Do not use BP_SYM.
40973 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40974 "bp-asm.h".
40975 (STRCMP): Do not use BP_SYM.
40976 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40977 "bp-asm.h".
40978 (STRCPY): Do not use BP_SYM.
40979 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40980 "bp-asm.h".
40981 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40982 "bp-asm.h".
40983 (FUNCTION): Do not use BP_SYM.
40984 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40985 weak_alias.
40986 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40987
40988 2013-02-17 Andreas Jaeger <aj@suse.de>
40989
40990 * time/Versions: Sort entries.
40991 * string/Versions: Likewise.
40992 * resolv/Versions: Likewise.
40993 * posix/Versions: Likewise.
40994 * iconv/Versions: Likewise.
40995 * elf/Versions: Likewise.
40996 * wcsmbs/Versions: Likewise.
40997
40998 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40999
41000 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41001 loop termination condition.
41002
41003 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41004 variable to calculate EZ.
41005 (__sqr): Likewise.
41006
41007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41008 the lower precision input.
41009
41010 2013-02-15 Joseph Myers <joseph@codesourcery.com>
41011
41012 [BZ #13550]
41013 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41014 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41015 (run-via-rtld-prefix): Do not handle %-bp tests.
41016 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41017 (all-object-suffixes): Remove .ob.
41018 (bppfx): Remove variable.
41019 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41020 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41021 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41022 [$(build-bounded) = yes] (libtype.ob): Likewise.
41023 * Makerules (elide-routines.ob): Remove variable.
41024 (do-tests-clean): Do not handle *-bp.out.
41025 (common-mostlyclean): Do not handle *-bp and *-bp.out.
41026 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41027 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41028 (tests): Do not include $(tests-bp.out).
41029 (xtests): Do not include $(xtests-bp.out).
41030 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41031 [$(build-bounded) = yes] ($(addprefix
41032 $(objpfx),$(binaries-bounded))): Remove rule.
41033 ($(objpfx)%-bp.out): Remove rule.
41034 * config.make.in (build-bounded): Remove variable.
41035 * crypt/Makefile [$(build-bounded) = yes]
41036 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41037 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41038 append to variable.
41039 [$(build-bounded) = yes] (install-lib): Likewise.
41040 [$(build-bounded) = yes] (generated): Likewise.
41041 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41042 Remove rule.
41043 * intl/Makefile [$(build-bounded) = yes]
41044 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41045 * math/Makefile [$(build-bounded) = yes]
41046 ($(tests:%=$(objpfx)%-bp): Likewise.
41047 * misc/Makefile [$(build-bounded) = yes]
41048 ($(objpfx)tst-tsearch-bp): Likewise.
41049 * nptl/Makeconfig (bounded-thread-library): Remove variable.
41050 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41051 Remove dependency.
41052 * string/Makefile (o-objects.ob): Remove variable.
41053 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41054 (CFLAGS-.ob): Remove variable.
41055 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41056 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41057 both definitions of variable.
41058 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41059 (ASFLAGS-.ob): Remove variable.
41060
41061 2013-02-14 Joseph Myers <joseph@codesourcery.com>
41062
41063 [BZ #13550]
41064 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41065 Remove __BOUNDED_POINTERS__ from condition.
41066 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41067 * string/bits/string2.h [!__NO_STRING_INLINES &&
41068 !__BOUNDED_POINTERS__]: Likewise.
41069 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41070 Likewise.
41071 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41072 Remove conditional code.
41073 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41074 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41075 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41076 condition.
41077
41078 [BZ #13550]
41079 * csu/libc-start.c: Do not include <bp-sym.h>.
41080 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41081 * elf/dl-open.c: Do not include <bp-sym.h>.
41082 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41083 * math/fegetenv.c: Do not include <bp-sym.h>.
41084 (fegetenv): Do not use BP_SYM in versioned symbols.
41085 * nptl/sysdeps/pthread/bits/libc-lockP.h
41086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41087 <bp-sym.h>.
41088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41089 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41091 (__pthread_mutex_destroy): Likewise.
41092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41093 (__pthread_mutex_lock): Likewise.
41094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41095 (__pthread_mutex_trylock): Likewise.
41096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41097 (__pthread_mutex_unlock): Likewise.
41098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41099 (__pthread_mutexattr_init): Likewise.
41100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41101 (__pthread_mutexattr_destroy): Likewise.
41102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41103 (__pthread_mutexattr_settype): Likewise.
41104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41105 (__pthread_rwlock_init): Likewise.
41106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41107 (__pthread_rwlock_destroy): Likewise.
41108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41109 (__pthread_rwlock_rdlock): Likewise.
41110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41111 (__pthread_rwlock_tryrdlock): Likewise.
41112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41113 (__pthread_rwlock_wrlock): Likewise.
41114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41115 (__pthread_rwlock_trywrlock): Likewise.
41116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41117 (__pthread_rwlock_unlock): Likewise.
41118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41119 (__pthread_key_create): Likewise.
41120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41121 (__pthread_setspecific): Likewise.
41122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41123 (__pthread_getspecific): Likewise.
41124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41125 Likewise.
41126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41127 (_pthread_cleanup_push_defer): Likewise.
41128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41129 (_pthread_cleanup_pop_restore): Likewise.
41130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41131 (pthread_setcancelstate): Likewise.
41132 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41133 <bp-sym.h>.
41134 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41135 (memchr): Do not use BP_SYM in weak_alias.
41136 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41137 (fegetenv): Do not use BP_SYM in versioned symbols.
41138 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41139 (fesetenv): Do not use BP_SYM in versioned symbols.
41140 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41141 (feupdateenv): Do not use BP_SYM in versioned symbols.
41142 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41143 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41144 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41145 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41146 (open64): Do not use BP_SYM in weak_alias.
41147 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41148 (fegetenv): Do not use BP_SYM in versioned symbols.
41149 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41150 (fesetenv): Do not use BP_SYM in versioned symbols.
41151 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41152 (feupdateenv): Do not use BP_SYM in versioned symbols.
41153 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41154 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41155 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41156 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41157 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41158 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41160 <bp-sym.h>.
41161 (__libc_start_main): Do not use BP_SYM.
41162
41163 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41164
41165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41166 redundant return line.
41167 (norm): Likewise.
41168 (denorm): Likewise.
41169 (dbl_mp): Likewise.
41170 (sub_magnitudes): Likewise.
41171 (__add): Likewise.
41172 (__sub): Likewise.
41173 (__mul): Likewise.
41174 (__inv): Likewise.
41175 (__dvd): Likewise.
41176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41177 (norm): Likewise.
41178 (denorm): Likewise.
41179 (dbl_mp): Likewise.
41180 (sub_magnitudes): Likewise.
41181 (__add): Likewise.
41182 (__sub): Likewise.
41183 (__mul): Likewise.
41184 (__inv): Likewise.
41185 (__dvd): Likewise.
41186
41187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41188 instead of __mul.
41189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41191 (cc32): Likewise.
41192
41193 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41194 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41196 of __mul for squares.
41197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41198 function
41199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41200 Likewise.
41201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41203
41204 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41205
41206 [BZ #13550]
41207 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41208 code.
41209 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41210 prototype or function definition. Rename ubp_* variables and
41211 parameters. Remove argv definitions conditional on
41212 [__BOUNDED_POINTERS__].
41213 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41214 * elf/dl-runtime.c (_dl_fixup): Likewise.
41215 * include/set-hooks.h (RUN_HOOK): Likewise.
41216 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41217 definition.
41218 * string/strcpy.c (strcpy): Do not use __unbounded.
41219 * sysdeps/generic/frame.h (struct layout): Likewise.
41220 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41221 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41222 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41223 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41224 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41225 (__backtrace): Likewise.
41226 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41227 use __ptrvalue.
41228 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41229 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41230 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41231 Likewise.
41232 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41233 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41236 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41237 Do not use __unbounded.
41238 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41239 Rename __unboundedrlimits parameter to rlimits in prototype.
41240 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41241 Do not use __unbounded.
41242 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41243 not use __ptrvalue.
41244 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41245 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41246 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41247 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41248 __ptrvalue or __unbounded.
41249 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41250 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41251 use __unbounded.
41252 (__new_msgctl): Do not use __ptrvalue.
41253 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41254 __unbounded.
41255 (__libc_msgrcv): Do not use __ptrvalue.
41256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41257 startup_info): Do not use __unbounded.
41258 (__libc_start_main): Likewise. Rename ubp_* variables and
41259 parameters. Remove argv definitions conditional on
41260 [__BOUNDED_POINTERS__].
41261 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41262 __ptrvalue.
41263 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41264 use __unbounded.
41265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41266 or __ptrvalue.
41267 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41268 use __unbounded.
41269 (__new_shmctl): Do not use __ptrvalue.
41270 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41271 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41272 Likewise.
41273 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41275 (__libc_sigaction): Likewise.
41276 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41278 Likewise.
41279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41280
41281 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41282
41283 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41284
41285 * string/mempcpy.c: Implement by calling memcpy.
41286
41287 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41288
41289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41290
41291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41292 evaluation.
41293
41294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41295 values in the mantissa.
41296
41297 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41298 minimize writes to Z.
41299 (sub_magnitudes): Simplify code a bit.
41300
41301 2013-02-12 Roland McGrath <roland@hack.frob.com>
41302
41303 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41304 from the message. The linker prefixes all warnings with that already.
41305
41306 2013-02-12 Andreas Schwab <schwab@suse.de>
41307
41308 [BZ #15078]
41309 * posix/regexec.c (extend_buffers): Add parameter min_len.
41310 (check_matching): Pass minimum needed length.
41311 (clean_state_log_if_needed): Likewise.
41312 (get_subexp): Likewise.
41313 * posix/Makefile (tests): Add bug-regex34.
41314 (bug-regex34-ENV): Define.
41315 * posix/bug-regex34.c: New file.
41316
41317 [BZ #11561]
41318 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41319 elements compare against the byte sequence of it, not its name.
41320 * posix/Makefile (tests): Add bug-regex35.
41321 (bug-regex35-ENV): Define.
41322 * posix/bug-regex35.c: New file.
41323
41324 2013-02-11 Tom de Vries <tom@codesourcery.com>
41325
41326 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41327 comment.
41328 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41329 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41330 (CHECK_EOL): Add undef.
41331
41332 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41333
41334 * bits/stdlib-bsearch.h: New file.
41335 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41336 * stdlib/stdlib.h: Likewise.
41337
41338 2013-02-11 Roland McGrath <roland@hack.frob.com>
41339
41340 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41341 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41342 declaration.
41343 * manual/search.texi (Array Search Function): Add missing const in
41344 lfind prototype.
41345 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41346 declaration to use rlim_t.
41347 (Basic Scheduling Functions): Remove erroneous const from
41348 sched_getparam prototype. Remove erroneous * from
41349 sched_get_priority_max and sched_get_priority_min prototypes.
41350 (Resource Usage): Fix summary @comment on vtimes to refer to
41351 sys/vtimes.h rather than vtimes.h.
41352 Add missing *s in vtimes prototype.
41353 (Limits on Resources): Fix ulimit prototype to return long int.
41354 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41355 prototypes to use long int rather than double.
41356 (BSD Random): Fix initstate and setstate to use char *, not void *.
41357 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41358 prototype to make second argument 'struct aiocb64 *const[]'.
41359 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41360 (Status of AIO Operations): Remove erroneous const in aio_return and
41361 aio_return64 prototypes.
41362 (Synchronizing I/O): Fix sync prototype to return void.
41363 * manual/startup.texi (Suboptions): Remove an erroneous const in
41364 getsubopt prototype.
41365 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41366 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41367 use size_t rather than int.
41368 (Scanning All Users): Likewise for getpwent_r.
41369 (Setting Groups): Add missing const to setgroups prototype.
41370 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41371 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41372 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41373 'const void *' rather than 'const char *'.
41374 (Host Address Functions): Likewise for inet_ntop.
41375 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41376 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41377 ssize_t for return value.
41378 (Sending Data): Likewise for send, sendto, sendmsg.
41379 (Socket Option Functions): Add a missing const in setsockopt prototype.
41380 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41381 use wchar_t for the argument.
41382 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41383 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41384 take no arguments.
41385 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41386 double/float/long double for second argument.
41387 Fix return types of significand, significandf, significandl.
41388 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41389 argument in fchmod prototype.
41390 (File Owner): Use uid_t and gid_t in fchown prototype.
41391 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41392 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41393 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41394 use 'const struct dirent **' as argument types to CMP function pointer
41395 argument.
41396 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41397 (File Times): Fix summary magic @comment for struct utimbuf and utime
41398 to refer to utime.h, not time.h.
41399 * manual/string.texi (Argz Functions): Add missing const in
41400 argz_extract and argz_next prototypes.
41401 (Finding Tokens in a String): Likewise for basename.
41402 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41403 (Copying and Concatenation): Fix typo in wmemmove prototype.
41404 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41405 (Signal Stack): Remove erroneous const in sigstack prototype.
41406 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41407 prototype.
41408 (Simple Calendar Time): Likewise for stime.
41409 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41410 prototype.
41411 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41412 say sys/sysctl.h instead.
41413 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41414 and vsyslog prototypes.
41415
41416 2013-02-11 Tom de Vries <tom@codesourcery.com>
41417
41418 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41419 Remove.
41420
41421 2013-02-11 Roland McGrath <roland@hack.frob.com>
41422
41423 * misc/sys/mman.h: Fix typo in mremap comment.
41424
41425 2013-02-08 Roland McGrath <roland@hack.frob.com>
41426
41427 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41428 the '\0' terminator.
41429
41430 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41431
41432 [BZ #13550]
41433 * debug/segfault.c: Don't include <bp-checks.h>.
41434 * sysdeps/generic/bp-checks.h: Remove file.
41435 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41436 (__GETDENTS): Don't use CHECK_N.
41437 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41438 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41439 (__getgroups): Don't use CHECK_N.
41440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41441 (setgroups): Don't use CHECK_N.
41442 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41443 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41444 (__libc_msgrcv): Don't use CHECK_N.
41445 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41446 (__libc_msgsnd): Don't use CHECK_N.
41447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41448 <bp-checks.h>.
41449 (__libc_pread): Don't use CHECK_N.
41450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41451 include <bp-checks.h>.
41452 (__libc_pread64): Don't use CHECK_N.
41453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41454 include <bp-checks.h>.
41455 (__libc_pwrite): Don't use CHECK_N.
41456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41457 include <bp-checks.h>.
41458 (__libc_pwrite64): Don't use CHECK_N.
41459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41460 <bp-checks.h>.
41461 (__libc_pread): Don't use CHECK_N.
41462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41463 include <bp-checks.h>.
41464 (__libc_pread64): Don't use CHECK_N.
41465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41466 include <bp-checks.h>.
41467 (__libc_pwrite): Don't use CHECK_N.
41468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41469 include <bp-checks.h>.
41470 (__libc_pwrite64): Don't use CHECK_N.
41471 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41472 (do_pread): Don't use CHECK_N.
41473 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41474 (do_pread64): Don't use CHECK_N.
41475 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41476 (do_pwrite): Don't use CHECK_N.
41477 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41478 (do_pwrite64): Don't use CHECK_N.
41479 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41480 (__libc_readv): Don't use CHECK_N.
41481 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41482 (semop): Don't use CHECK_N.
41483 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41484 <bp-checks.h>.
41485 (semtimedop): Don't use CHECK_N.
41486 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41487 (__libc_pread): Don't use CHECK_N.
41488 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41489 <bp-checks.h>.
41490 (__libc_pread64): Don't use CHECK_N.
41491 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41492 <bp-checks.h>.
41493 (__libc_pwrite): Don't use CHECK_N.
41494 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41495 <bp-checks.h>.
41496 (__libc_pwrite64): Don't use CHECK_N.
41497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41498 <bp-checks.h>.
41499 (__libc_msgrcv): Don't use CHECK_N.
41500 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41501 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41502 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41503 (__libc_writev): Don't use CHECK_N.
41504
41505 2013-02-08 Roland McGrath <roland@hack.frob.com>
41506
41507 * string/strcpy.c: Removed unused variable.
41508
41509 * Makeconfig (+sysdep-includes): Define with := rather than =.
41510 Use an existing include/ subdir of each sysdeps dir before it.
41511
41512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41513
41514 * nscd/connection.c (register_traced_file): Comment function.
41515 [HAVE_INOTIFY] (union __inev): Define.
41516 [HAVE_INOTIFY] (inotify_check_files): New function.
41517 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41518 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41519 clear_db_cache.
41520 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41521
41522 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41523
41524 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41525 loaded if not already and that a failure is permanent.
41526
41527 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41528
41529 [BZ #15006]
41530 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41531 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41532
41533 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41534
41535 [BZ #13550]
41536 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41537 (CHECK_1_NULL_OK): Likewise.
41538 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41539 (__fxstat): Do not use CHECK_1.
41540 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41541 <bp-checks.h>.
41542 (___fxstat64): Do not use CHECK_1.
41543 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41544 <bp-checks.h>.
41545 (__fxstatat): Do not use CHECK_1.
41546 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41547 <bp-checks.h>.
41548 (__fxstatat64): Do not use CHECK_1.
41549 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41550 <bp-checks.h>.
41551 (__fxstat): Do not use CHECK_1.
41552 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41553 <bp-checks.h>.
41554 (__fxstatat): Do not use CHECK_1.
41555 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41556 <bp-checks.h>.
41557 (__getresgid): Do not use CHECK_1.
41558 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41559 <bp-checks.h>.
41560 (__getresuid): Do not use CHECK_1.
41561 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41562 <bp-checks.h>.
41563 (__lxstat): Do not use CHECK_1.
41564 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41565 <bp-checks.h>.
41566 (__old_msgctl): Do not use CHECK_1.
41567 (__new_msgctl): Likewise.
41568 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41569 <bp-checks.h>.
41570 (__new_setrlimit): Do not use CHECK_1.
41571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41572 <bp-checks.h>.
41573 (__old_shmctl): Do not use CHECK_1.
41574 (__new_shmctl): Likewise.
41575 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41576 <bp-checks.h>.
41577 (__xstat): Do not use CHECK_1.
41578 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41579 (__lxstat): Do not use CHECK_1.
41580 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41581 <bp-checks.h>.
41582 (___lxstat64): Do not use CHECK_1.
41583 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41584 (__old_msgctl): Do not use CHECK_1.
41585 (__new_msgctl): Likewise.
41586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41587 <bp-checks.h>.
41588 (__gettimeofday): Do not use CHECK_1.
41589 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41590 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41592 <bp-checks.h>.
41593 (__gettimeofday): Do not use CHECK_1.
41594 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41595 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41596 (__new_shmctl): Do not use CHECK_1.
41597 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41598 <bp-checks.h>.
41599 (do_sigtimedwait): Do not use CHECK_1.
41600 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41601 <bp-checks.h>.
41602 (do_sigwaitinfo): Do not use CHECK_1.
41603 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41604 <bp-checks.h>.
41605 (msgctl): Do not use CHECK_1.
41606 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41607 <bp-checks.h>.
41608 (shmctl): Do not use CHECK_1.
41609 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41610 (ustat): Do not use CHECK_1.
41611 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41612 <bp-checks.h>.
41613 (__fxstat): Do not use CHECK_1.
41614 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41615 <bp-checks.h>.
41616 (__fxstatat): Do not use CHECK_1.
41617 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41618 <bp-checks.h>.
41619 (__lxstat): Do not use CHECK_1.
41620 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41621 <bp-checks.h>.
41622 (__xstat): Do not use CHECK_1.
41623 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41624 (__xstat): Do not use CHECK_1.
41625 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41626 (___xstat64): Do not use CHECK_1.
41627
41628 [BZ #13550]
41629 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41630 definitions.
41631 (CHECK_BOUNDS_HIGH): Likewise.
41632 * string/strcpy.c: Do not include <bp-checks.h>.
41633 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41634
41635 2013-02-07 Roland McGrath <roland@hack.frob.com>
41636
41637 * nscd/nscd-client.h (__nscd_drop_map_ref):
41638 Add __attribute__ ((unused)).
41639 * nis/nss-nisplus.h (niserr2nss): Likewise.
41640
41641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41642 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41643
41644 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41645 Remove inline keyword.
41646 * include/rounding-mode.h (round_away): Likewise.
41647 * libio/wfileops.c (adjust_wide_data): Likewise.
41648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41649 (__m128i_strloadu_tolower): Likewise.
41650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41651 (__m128i_strloadu_tolower): Likewise.
41652 * time/mktime.c (ydhms_diff): Likewise.
41653 * locale/elem-hash.h (elem_hash): Likewise.
41654 * locale/setlocale.c (setdata): Likewise.
41655 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41656 (re_string_wchar_at): Likewise.
41657 (bitset_not, bitset_merge, bitset_mask): Likewise.
41658 [!(__GNUC__ > 3)] (inline): Remove macro.
41659 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41660 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41661 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41662 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41663 * string/memcmp.c (memcmp_bytes): Likewise.
41664 * locale/programs/locarchive.c (compute_hashval): Likewise.
41665 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41666 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41667 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41668 * nss/getent.c (print_rpc, print_protocols): Likewise.
41669 (print_passwd, print_group, print_aliases): Likewise.
41670 * nis/nss-nisplus.h (niserr2nss): Likewise.
41671 * nscd/connections.c (restart_p): Likewise.
41672 Change return type to bool.
41673
41674 2013-02-05 Roland McGrath <roland@hack.frob.com>
41675
41676 * Makeconfig (all-Depend-files): Add existing
41677 $(sorted-subdirs:=/Depend) files.
41678 (all-subdirs): Remove nss.
41679 * sysdeps/unix/inet/Subdirs: Add it here instead.
41680 * hesiod/Depend: New file.
41681
41682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41683 instead of calling alloca.
41684
41685 * io/lseek.c (__lseek): Rename to __libc_lseek.
41686 Define __lseek as an alias.
41687
41688 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41689
41690 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41691
41692 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41693 else clause and remove check for non-standard endianness.
41694
41695 2013-02-04 David S. Miller <davem@davemloft.net>
41696
41697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41698
41699 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41700
41701 [BZ #13550]
41702 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41703 (__ubp_memchr): Remove prototype.
41704 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41705 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41706 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41707 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41708 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41709 Remove alias.
41710 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41711 (__ubp_memchr): Likewise.
41712 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41713 (__ubp_memchr): Likewise.
41714 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41715 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41716 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41718 CHECK_STRING.
41719 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41720 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41721 (__getcwd): Do not use CHECK_STRING.
41722 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41723 <bp-checks.h>.
41724 (__real_chown): Do not use CHECK_STRING.
41725 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41726 <bp-checks.h>.
41727 (fchownat): Do not use CHECK_STRING.
41728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41729 CHECK_STRING.
41730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41731 <bp-checks.h>.
41732 (__lchown): Do not use CHECK_STRING.
41733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41734 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41735 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41736 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41738 include <bp-checks.h>.
41739 (truncate64): Do not use CHECK_STRING.
41740 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41741 <bp-checks.h>.
41742 (__real_chown): Do not use CHECK_STRING.
41743 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41744 <bp-checks.h>.
41745 (__lchown): Do not use CHECK_STRING.
41746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41747 <bp-checks.h>.
41748 (__chown): Do not use CHECK_STRING.
41749 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41750 <bp-checks.h>.
41751 (truncate64): Do not use CHECK_STRING.
41752 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41753 Likewise.
41754 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41755 (__xmknod): Do not use CHECK_STRING.
41756 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41757 <bp-checks.h>.
41758 (__xmknodat): Do not use CHECK_STRING.
41759 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41760 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41761
41762 2013-02-04 Andreas Schwab <schwab@suse.de>
41763
41764 [BZ #14142]
41765 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41766 * include/netdb.h: Likewise for h_errno.
41767 * elf/tst-stackguard1.c: Include <tls.h>.
41768
41769 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41770
41771 * elf/link.h (struct link_map): Extend the l_addr comment.
41772 * include/link.h (struct link_map): Likewise.
41773
41774 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41775
41776 [BZ #13550]
41777 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41778 (BOUNDED_1): Remove macro.
41779 * debug/backtrace.c: Don't include <bp-checks.h>.
41780 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41781 (__backtrace): Likewise.
41782 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41783 <bp-checks.h>.
41784 (__backtrace): Don't use BOUNDED_1.
41785 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41786 <bp-checks.h>.
41787 (__backtrace): Don't use BOUNDED_1.
41788 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41789 (__backtrace): Don't use BOUNDED_1.
41790 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41791 (shmat): Don't use BOUNDED_N.
41792
41793 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41794
41795 [BZ #13550]
41796 * sysdeps/generic/bp-start.h: Remove file.
41797 * csu/libc-start.c: Don't include <bp-start.h>.
41798 (LIBC_START_MAIN): Set up __environ directly instead of using
41799 INIT_ARGV_and_ENVIRON.
41800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41801 <bp-start.h>.
41802
41803 [BZ #13550]
41804 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41805 definitions.
41806 (CHECK_FCNTL): Likewise.
41807 (CHECK_N_PAGES): Likewise.
41808
41809 [BZ #13550]
41810 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41811 definitions.
41812 (CHECK_SIGSET_NULL_OK): Likewise.
41813 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41814 <bp-checks.h>.
41815 (sigpending): Don't use CHECK_SIGSET.
41816 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41817 <bp-checks.h>.
41818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41819 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41820 <bp-checks.h>.
41821 (do_sigsuspend): Don't use CHECK_SIGSET.
41822 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41823 use CHECK_SIGSET.
41824 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41825 (do_sigwait): Don't use CHECK_SIGSET.
41826 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41827 use CHECK_SIGSET.
41828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41829 include <bp-checks.h>.
41830 (sigpending): Don't use CHECK_SIGSET.
41831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41832 include <bp-checks.h>.
41833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41835 <bp-checks.h>.
41836 (sigpending): Don't use CHECK_SIGSET.
41837 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41838 <bp-checks.h>.
41839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41840
41841 [BZ #13550]
41842 * sysdeps/generic/bp-semctl.h: Remove file.
41843 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41844 <bp-checks.h> and <bp-semctl.h>.
41845 (__old_semctl): Don't use CHECK_SEMCTL.
41846 (__new_semctl): Likewise.
41847 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41848 and <bp-semctl.h>.
41849 (__old_semctl): Don't use CHECK_SEMCTL.
41850 (__new_semctl): Likewise.
41851 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41852 <bp-checks.h> and <bp-semctl.h>.
41853 (__old_semctl): Don't use CHECK_SEMCTL.
41854 (__new_semctl): Likewise.
41855 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41856 <bp-checks.h> and <bp-semctl.h>.
41857 (semctl): Don't use CHECK_SEMCTL.
41858
41859 [BZ #13550]
41860 * Makerules (elide-bp-thunks): Remove variable.
41861 (elide-routines.oS): Don't use $(elide-bp-thunks).
41862 (elide-routines.os): Likewise.
41863 (elide-routines.o): Likewise.
41864 (elide-routines.op): Likewise.
41865 (elide-routines.og): Likewise.
41866 (objects): Don't use $(bp-thunks).
41867 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41868 include.
41869 (common-generated): Do not add s-proto-bp.d.
41870 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41871 (int): Likewise.
41872 (typ): Likewise.
41873 Do not generate makefile rules for bounded-pointer thunks.
41874 * sysdeps/generic/bp-thunks.h: Remove file.
41875 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41876 * sysdeps/unix/s-proto-bp.S: Likewise.
41877
41878 [BZ #15062]
41879 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41880 parts of result separately when argument is not close to line from
41881 -i to i and one part of argument is small.
41882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41884 * math/libm-test.inc (cacos_test): Add more tests.
41885 (casin_test): Likewise.
41886 (casinh_test): Likewise.
41887 * sysdeps/i386/fpu/libm-test-ulps: Update.
41888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41889
41890 2013-01-31 David S. Miller <davem@davemloft.net>
41891
41892 * po/de.po: Update from translation team.
41893
41894 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41895
41896 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41897
41898 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41899
41900 * configure.in (_AC_PROG_CC_C89): New definition.
41901 * configure: Regenerate.
41902
41903 * configure.in (AC_PROG_CPP): New definition.
41904 * configure: Regenerate.
41905
41906 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41907
41908 * debug/tst-backtrace.h: New file.
41909 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41910 (ret): Remove variable.
41911 (x): Likewise.
41912 (FAIL): Remove macro.
41913 (NO_INLINE): Likewise.
41914 (fn1): Use match function instead of strstr.
41915 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41916 (ret): Remove variable.
41917 (x): Likewise.
41918 (FAIL): Remove macro.
41919 (NO_INLINE): Likewise.
41920 (fn): Use match function instead of strstr.
41921 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41922 (ret): Remove variable.
41923 (x): Likewise.
41924 (FAIL): Remove macro.
41925 (NO_INLINE): Likewise.
41926 (handle_signal): Use match function instead of strstr.
41927 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41928 (ret): Remove variable.
41929 (x): Likewise.
41930 (FAIL): Remove macro.
41931 (NO_INLINE): Likewise.
41932 (handle_signal): Use match function instead of strstr.
41933
41934 2013-01-23 Roland McGrath <roland@hack.frob.com>
41935
41936 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41937
41938 2013-01-23 David S. Miller <davem@davemloft.net>
41939
41940 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41941 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41942 argument of CAS if possible.
41943 * sysdeps/sparc/sparc64/bits/atomic.h
41944 (__arch_compare_and_exchange_val_32_acq): Likewise.
41945 (__arch_compare_and_exchange_val_64_acq): Likewise.
41946
41947 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41948
41949 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41950 * sysdeps/posix/ulimit.c: ... this.
41951 Include <limits.h>.
41952 * sysdeps/unix/bsd/ulimit.c: Remove file.
41953
41954 2013-01-23 Adam Conrad <adconrad@0c3.net>
41955
41956 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41957 (LDFLAGS-tst-array5): Likewise.
41958
41959 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41960
41961 [BZ #15036]
41962 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41963 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41964 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41966
41967 2013-01-21 David S. Miller <davem@davemloft.net>
41968
41969 * sysdeps/sparc/backtrace.c: New file.
41970 * sysdeps/sparc/sparc32/backtrace.h: New file.
41971 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41972 * sysdeps/sparc/sparc64/backtrace.h: New file.
41973 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41974 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41975 -funwind-tables.
41976
41977 2013-01-21 Andreas Schwab <schwab@suse.de>
41978
41979 [BZ #15020]
41980 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41981 closed its stdout.
41982
41983 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41984
41985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41986 "mpa2.h".
41987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41988
41989 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41990 Mark Mitchell <mark@codesourcery.com>
41991 Tom de Vries <tom@codesourcery.com>
41992 Paul Pluzhnikov <ppluzhnikov@google.com>
41993
41994 * debug/tst-backtrace2.c: New file.
41995 * debug/tst-backtrace3.c: Likewise.
41996 * debug/tst-backtrace4.c: Likewise.
41997 * debug/tst-backtrace5.c: Likewise.
41998 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41999 (CFLAGS-tst-backtrace3.c): Likewise.
42000 (CFLAGS-tst-backtrace4.c): Likewise.
42001 (CFLAGS-tst-backtrace5.c): Likewise.
42002 (LDFLAGS-tst-backtrace2): Likewise.
42003 (LDFLAGS-tst-backtrace3): Likewise.
42004 (LDFLAGS-tst-backtrace4): Likewise.
42005 (LDFLAGS-tst-backtrace5): Likewise.
42006 (tests): Add new tests tst-backtrace2, tst-backtrace3,
42007 tst-backtrace4 and tst-backtrace5.
42008
42009 2013-01-18 Anton Blanchard <anton@samba.org>
42010 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42011
42012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42013 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42015 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42017 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42018 "+r" and remove output regs list as redundant. Add explicit inline
42019 asm to specify register of return val to work around compiler codegen
42020 bug. Remove (int) cast on return value. Add return type parameter to
42021 use in macro so that this macro does not truncate return value for
42022 64-bit values.
42023 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42024 pass to INTERNAL_VSYSCALL_NCS.
42025 (INLINE_VSYSCALL): Add 'long int' as return type to
42026 INTERNAL_VSYSCALL_NCS macro invocation.
42027 (INTERNAL_VSYSCALL): Add 'long int' as return type to
42028 INTERNAL_VSYSCALL_NCS macro invocation.
42029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42030
42031 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42032
42033 [BZ #14496]
42034 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42035 Fix application of SIMD FP exception mask.
42036
42037 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42038 mp_no from a power of two.
42039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42040 __mpexp_twomm1. Use __pow_mp.
42041
42042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42043 multiplication.
42044
42045 2013-01-17 David S. Miller <davem@davemloft.net>
42046
42047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42048
42049 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42050
42051 [BZ #15023]
42052 * include/complex.h: Condition contents on [!_COMPLEX_H].
42053 (__kernel_casinhf): New prototype.
42054 (__kernel_casinh): Likewise.
42055 (__kernel_casinhl): Likewise.
42056 * math/Makefile (libm_calls): Add k_casinh.
42057 * math/k_casinh.c: New file.
42058 * math/k_casinhf.c: Likewise.
42059 * math/k_casinhl.c: Likewise.
42060 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42061 finite nonzero arguments.
42062 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42063 finite nonzero arguments.
42064 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42065 finite nonzero arguments.
42066 * math/s_casinh.c: Do not include <float.h>.
42067 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42068 * math/s_casinhf.c: Do not include <float.h>.
42069 (__casinhf): Move code for finite nonzero arguments to
42070 k_casinhf.c.
42071 * math/s_casinhl.c: Do not include <float.h>.
42072 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42073 redefine.
42074 (__casinhl): Move code for finite nonzero arguments to
42075 k_casinhl.c.
42076 * math/libm-test.inc (cacos_test): Add more tests.
42077 * sysdeps/i386/fpu/libm-test-ulps: Update.
42078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42079
42080 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42081
42082 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42083 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42084 [!HAVE_MREMAP]: Remove [defined linux] case.
42085 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42086
42087 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42088
42089 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42090
42091 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42092
42093 * elf/elf.h (R_386_SIZE32): New relocation.
42094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42095 R_386_SIZE32.
42096 (elf_machine_rela): Likewise.
42097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42098 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42099
42100 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42101
42102 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42103 (FP_FAST_FMA): Do not define.
42104 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42105 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42106 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42107 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42108 !_SOFT_FLOAT]: Likewise.
42109 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42111 value.
42112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42113 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42116 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42117 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42118 file.
42119
42120 2013-01-16 Andreas Schwab <schwab@suse.de>
42121
42122 [BZ #14327]
42123 * include/stdlib.h (__mktemp): Add declaration.
42124 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42125 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42126
42127 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42128
42129 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42130 definitions.
42131 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42132 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42133 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42134 definitions here.
42135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42136 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42137 definitions.
42138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42139 and ONE.
42140 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42141 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42143 definitions.
42144 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42145 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42146 definitions.
42147 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42148
42149 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42150
42151 2013-01-15 David S. Miller <davem@davemloft.net>
42152
42153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42154 trunc{,f} to libm-sysdep_routes.
42155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42157 file.
42158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42160 file.
42161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42162 file.
42163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42165 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42166 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42167 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42169 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42170 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42171
42172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42173 nearbyint{,f} to libm-sysdep_routes.
42174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42176 New file.
42177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42178 file.
42179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42180 New file.
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42182 file.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42186 file.
42187 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42189 file.
42190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42191 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42192 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42193
42194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42195 libc_feholdexcept and libc_fesetenv.
42196
42197 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42198
42199 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42200
42201 2013-01-14 David S. Miller <davem@davemloft.net>
42202
42203 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42204 (SPARC_ASM_VIS2_IFUNC): Likewise.
42205 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42207 use of 'siam' instruction.
42208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42209 Likewise.
42210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42211 Likewise.
42212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42213 Likewise.
42214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42219 file.
42220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42221 file.
42222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42223 file.
42224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42225 file.
42226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42231 new VIS2 routines.
42232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42235 Likewise.
42236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42241 routines to libm-sysdep_routines.
42242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42243
42244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42245 fdim/fdimf to libm-sysdep_routines.
42246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42247 file.
42248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42250 file.
42251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42254 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42255 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42256 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42257 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42258
42259 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42260
42261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42262 to optimize copies.
42263
42264 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42267
42268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42269 local variable MPTWO.
42270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42271 Likewise.
42272
42273 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42274
42275 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42276 GLOB_NOESCAPE.
42277
42278 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42279
42280 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42281
42282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42283
42284 * manual/pattern.texi (glob_t): Document gl_flags.
42285 (glob64_t): Likewise.
42286
42287 2013-01-11 David S. Miller <davem@davemloft.net>
42288
42289 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42290 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42291 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42292 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42293 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42294 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42296 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42298 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42299 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42300 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42301 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42302
42303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42304 sparc V9 rather than using V8 code.
42305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42307
42308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42309 Move to...
42310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42311 Here.
42312
42313 2013-01-11 Roland McGrath <roland@hack.frob.com>
42314
42315 [BZ #14941]
42316 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42317 not in the main loop.
42318 * configure: Regenerated.
42319
42320 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42321
42322 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42323 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42324 to just #else.
42325 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42326 [!__GLIBC_HAVE_LONG_LONG] case.
42327 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42328 condition to just #else.
42329 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42330 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42331 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42332 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42333 unconditional.
42334 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42335 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42336 #elif condition to just #else.
42337 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42338 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42339 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42340 #elif condition to just #else.
42341
42342 2013-01-11 Steve Ellcey <sellcey@mips.com>
42343
42344 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42345 (EF_MIPS_ARCH_64): Fix value.
42346 (EF_MIPS_ARCH_32R2): New.
42347 (EF_MIPS_ARCH_64R2): New.
42348
42349 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42350
42351 * Makeconfig (+link-pie-before-libc): New.
42352 (+link-pie-after-libc): Likewise.
42353 (+link-pie-tests): Likewise.
42354 (+link-pie): Rewritten.
42355 (link-before-libc): Remove $(config-LDFLAGS).
42356 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42357 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42358 (config-LDFLAGS): Renamed to ...
42359 (rtld-LDFLAGS): This.
42360 (rtld-tests-LDFLAGS): New macro.
42361 (link-libc-rpath-link): Likewise.
42362 (link-libc-tests-rpath-link): Likewise.
42363 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42364 (link-libc): Prepand $(link-libc-rpath-link).
42365 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42366 (test-program-prefix): New macro.
42367 (test-via-rtld-prefix): Likewise.
42368 (test-program-cmd): Likewise.
42369 (host-test-program-cmd): Likewise.
42370 * Makefile ($(common-objpfx)testrun.sh): Replace
42371 $(run-program-prefix) with $(test-program-prefix).
42372 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42373 $(rtld-LDFLAGS).
42374 ($(common-objpfx)shlib.lds): Likewise.
42375 (build-module-helper): Likewise.
42376 ($(common-objpfx)format.lds): Likewise.
42377 * Rules (binaries-pie-tests): New.
42378 (binaries-pie-notests): Likewise.
42379 (binaries-pie): Rewritten.
42380 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42381 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42382 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42383 (make-test-out): Replace $(host-built-program-cmd) with
42384 $(host-test-program-cmd).
42385 * config.make.in (build-hardcoded-path-in-tests): New variable.
42386 * configure.in (--enable-hardcoded-path-in-tests): New configure
42387 option.
42388 (hardcoded_path_in_tests): New AC_SUBST.
42389 * configure: Regenerated.
42390 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42391 $(built-program-cmd) with $(test-program-cmd).
42392 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42393 (test_program_cmd): This.
42394 * elf/Makefile ($(objpfx)order.out): Run test with
42395 $(test-program-prefix).
42396 ($(objpfx)order2.out): Likewise.
42397 ($(objpfx)tst-initorder.out): Likewise.
42398 ($(objpfx)tst-initorder2.out): Likewise.
42399 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42400 $(test-program-cmd).
42401 ($(objpfx)tst-array1-static.out): Likewise.
42402 ($(objpfx)tst-array2.out): Likewise.
42403 ($(objpfx)tst-array3.out): Likewise.
42404 ($(objpfx)tst-array4.out): Likewise.
42405 ($(objpfx)tst-array5.out): Likewise.
42406 ($(objpfx)tst-array5-static.out): Likewise.
42407 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42408 $(test-program-cmd).
42409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42410 $(run-program-prefix) with $(test-program-prefix).
42411 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42412 (test_program_prefix): This.
42413 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42414 $(run-program-prefix) with $(test-program-prefix).
42415 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42416 (test_program_prefix): This.
42417 * iconvdata/tst-tables.sh: Likewise.
42418 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42419 $(run-program-prefix) with $(test-program-prefix).
42420 ($(objpfx)tst-translit.out): Likewise.
42421 ($(objpfx)tst-gettext2.out): Likewise.
42422 ($(objpfx)tst-gettext4.out): Likewise.
42423 ($(objpfx)tst-gettext6.out): Likewise.
42424 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42425 (test_program_prefix): This.
42426 * intl/tst-gettext2.sh: Likewise.
42427 * intl/tst-gettext4.sh Likewise.
42428 * intl/tst-gettext6.sh: Likewise.
42429 * intl/tst-translit.sh: Likewise.
42430 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42431 with $(test-program-cmd).
42432 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42433 $(run-program-prefix) with $(test-program-prefix).
42434 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42435 (test_program_prefix): This.
42436 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42437 $(run-program-prefix) with $(test-program-prefix).
42438 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42439 (test_program_prefix): This.
42440 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42441 * posix/Makefile ($(objpfx)globtest.out): Replace
42442 $(run-via-rtld-prefix) and $(test-wrapper) with
42443 $(test-program-prefix) and $(test-via-rtld-prefix).
42444 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42445 $(test-program-prefix).
42446 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42447 $(host-test-program-cmd).
42448 (tst-spawn-ARGS): Likewise.
42449 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42450 $(test-program-prefix).
42451 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42452 (test_via_rtld_prefix): This.
42453 (test_wrapper): Renamed to ...
42454 (test_program_prefix): This.
42455 (run_program_prefix): Replaced by test_program_prefix.
42456 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42457 (test_program_prefix): This.
42458 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42459 with $(host-test-program-cmd).
42460 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42461 $(run-program-prefix) with $(test-program-prefix).
42462 ($(objpfx)tst-printf.out): Likewise.
42463 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42464 $(test-program-cmd).
42465 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42466 (test_program_prefix): This.
42467 * stdio-common/tst-unbputc.sh: Likewise.
42468 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42469 $(run-program-prefix) with $(test-program-prefix).
42470 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42471 (test_program_prefix): This.
42472 * string/Makefile ($(objpfx)tst-svc.out): Replace
42473 $(built-program-cmd) with $(test-program-cmd).
42474
42475 2013-01-11 Andreas Jaeger <aj@suse.de>
42476
42477 [BZ #15003]
42478 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42479 value. Sync with Linux 3.7.
42480
42481 2013-01-10 David S. Miller <davem@davemloft.net>
42482
42483 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42486
42487 2013-01-10 Roland McGrath <roland@hack.frob.com>
42488
42489 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42490 never set.
42491 * configure: Regenerated.
42492
42493 2013-01-10 David S. Miller <davem@davemloft.net>
42494
42495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42496 sparc V9 rather than using V8 code.
42497 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42498 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42499
42500 2013-01-10 Roland McGrath <roland@hack.frob.com>
42501
42502 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42503 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42504 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42505 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42506 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42507 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42508 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42509 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42510 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42511 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42512 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42513 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42514 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42515 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42516 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42517 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42518 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42519 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42520 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42521 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42522 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42523 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42524 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42525 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42526 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42527 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42528 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42529
42530 2013-01-10 David S. Miller <davem@davemloft.net>
42531
42532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42533
42534 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42535
42536 * posix/Makefile (tests-static): New variable.
42537 (tests): Add $(tests-static).
42538 (tst-exec-static-ARGS): New variable.
42539 (tst-spawn-static-ARGS): Likewise.
42540 * posix/tst-exec-static.c: New file.
42541 * posix/tst-spawn-static.c: Likewise.
42542 * posix/tst-exec.c: Support run directly.
42543 * posix/tst-spawn.c: Likewise.
42544
42545 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42546
42547 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42548 long.
42549 * math/bits/mathcalls.h (llrint): Likewise.
42550 (llround): Likewise.
42551 * stdlib/stdlib.h (struct drand48_data): Likewise.
42552 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42553 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42554 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42555 Likewise.
42556 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42557 Likewise.
42558 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42559 (elf_greg_t): Likewise.
42560 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42561 (__jmp_buf): Likewise.
42562 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42563 definitions.
42564 (llrint): Likewise, for all definitions.
42565 (llrintl): Likewise.
42566
42567 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42568 Remove [__GNUC__] condition.
42569 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42570 condition to just [__USE_ISOC99].
42571 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42572
42573 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42574
42575 [BZ #14200]
42576 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42577 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42578 defined.
42579 (_POSIX_V6_ILP32_OFF32): Likewise.
42580 (_XBS5_ILP32_OFF32): Likewise.
42581 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42582 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42583
42584 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42585
42586 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42587
42588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42589 doubles __mpexp_twomm1. Adjust usage.
42590 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42591 Remove.
42592
42593 2013-01-10 Andreas Schwab <schwab@suse.de>
42594
42595 [BZ #14964]
42596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42597 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42598
42599 2013-01-09 David S. Miller <davem@davemloft.net>
42600
42601 [BZ #15003]
42602 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42603 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42604 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42605 (TCP_FASTOPEN): Define.
42606 (tcp_repair_opt): New structure.
42607 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42608 enum values.
42609 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42610 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42611 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42612 (tcp_cookie_transactions): New structure.
42613
42614 2013-01-09 Anton Blanchard <anton@samba.org>
42615
42616 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42617 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42618 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42620
42621 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42622
42623 * include/features.h (__USE_ANSI): Remove.
42624
42625 2013-01-09 Roland McGrath <roland@hack.frob.com>
42626
42627 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42628
42629 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42630
42631 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42632
42633 * sysdeps/s390/fpu/libm-test-ulps: Update.
42634
42635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42636
42637 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42638 (__acr): Likewise.
42639 (__cpy): Likewise.
42640 (norm): Likewise.
42641 (denorm): Likewise.
42642 (__mp_dbl): Likewise.
42643 (__dbl_mp): Likewise.
42644 (add_magnitudes): Likewise.
42645 (sub_magnitudes): Likewise.
42646 (__add): Likewise.
42647 (__sub): Likewise.
42648 (__mul): Likewise.
42649 (__inv): Likewise.
42650 (__dvd): Likewise.
42651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42652 (__acr): Likewise.
42653 (__cpy): Likewise.
42654 (norm): Likewise.
42655 (denorm): Likewise.
42656 (__mp_dbl): Likewise.
42657 (__dbl_mp): Likewise.
42658 (add_magnitudes): Likewise.
42659 (sub_magnitudes): Likewise.
42660 (__add): Likewise.
42661 (__sub): Likewise.
42662 (__mul): Likewise.
42663 (__inv): Likewise.
42664 (__dvd): Likewise.
42665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42666 (__acr): Likewise.
42667 (__cpy): Likewise.
42668 (norm): Likewise.
42669 (denorm): Likewise.
42670 (__mp_dbl): Likewise.
42671 (__dbl_mp): Likewise.
42672 (add_magnitudes): Likewise.
42673 (sub_magnitudes): Likewise.
42674 (__add): Likewise.
42675 (__sub): Likewise.
42676 (__mul): Likewise.
42677 (__inv): Likewise.
42678 (__dvd): Likewise.
42679
42680 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42681
42682 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42683 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42684 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42685 2 && __USE_EXTERN_INLINES]: Likewise.
42686
42687 2013-01-08 Andreas Jaeger <aj@suse.de>
42688
42689 [BZ# 14985]
42690 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42691 Remove.
42692 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42693 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42694
42695 2013-01-07 Anton Blanchard <anton@samba.org>
42696
42697 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42698 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42699 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42700 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42701 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42702 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42703 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42704 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42706 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42708 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42711 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42713 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42714 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42715 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42716 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42718 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42720 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42721 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42722 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42723 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42724 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42726 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42727 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42729 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42732 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42733 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42735 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42739 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42740
42741 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42742
42743 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42744 (__MALLOC_PMT): Likewise.
42745 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42746 [__GNUC__], only on [_LIBC].
42747 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42748 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42749 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42750 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42751 forward declaration.
42752 (realloc_hook_ini): Likewise.
42753 (memalign_hook_ini): Likewise.
42754 (__libc_memalign): Do not use __MALLOC_PMT in variable
42755 declaration.
42756 (__libc_valloc): Likewise.
42757 (__libc_pvalloc): Likewise.
42758 (__libc_calloc): Likewise.
42759 (__posix_memalign): Likewise.
42760
42761 [BZ #14996]
42762 * math/s_casinh.c: Include <float.h>.
42763 (__casinh): Do not do computation with squaring and square root
42764 for large arguments.
42765 * math/s_casinhf.c: Include <float.h>.
42766 (__casinhf): Do not do computation with squaring and square root
42767 for large arguments.
42768 * math/s_casinhl.c: Include <float.h>.
42769 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42770 (__casinhl): Do not do computation with squaring and square root
42771 for large arguments.
42772 * math/libm-test.inc (casin_test): Add more tests.
42773 (casinh_test): Likewise.
42774 * sysdeps/i386/fpu/libm-test-ulps: Update.
42775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42776
42777 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42778
42779 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42780 (__x86_64_raw_data_cache_size): Likewise.
42781 (__x86_64_data_cache_size_half): Likewise.
42782 (__x86_64_raw_data_cache_size_half): Likewise.
42783 (__x86_64_shared_cache_size): Likewise.
42784 (__x86_64_raw_shared_cache_size): Likewise.
42785 (__x86_64_shared_cache_size_half): Likewise.
42786 (__x86_64_raw_shared_cache_size_half): Likewise.
42787 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42788 to ...
42789 (__x86_data_cache_size): This.
42790 (__x86_64_raw_data_cache_size): Renamed to ...
42791 (__x86_raw_data_cache_size): This.
42792 (__x86_64_data_cache_size_half): Renamed to ...
42793 (__x86_data_cache_size_half): This.
42794 (__x86_64_raw_data_cache_size_half): Renamed to ...
42795 (__x86_raw_data_cache_size_half): This.
42796 (__x86_64_shared_cache_size): Renamed to ...
42797 (__x86_shared_cache_size): This.
42798 (__x86_64_raw_shared_cache_size): Renamed to ...
42799 (__x86_raw_shared_cache_size): This.
42800 (__x86_64_shared_cache_size_half): Renamed to ...
42801 (__x86_shared_cache_size_half): This.
42802 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42803 (__x86_raw_shared_cache_size_half): This.
42804 * sysdeps/x86_64/memcpy.S: Updated.
42805 * sysdeps/x86_64/memset.S: Likewise.
42806 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42809
42810 2013-01-04 David S. Miller <davem@davemloft.net>
42811
42812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42813
42814 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42815
42816 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42817 1 to avoid redefinition warning.
42818 (__USE_GNU): Don't define.
42819 (init_signaling_nan): Protoize.
42820
42821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42822
42823 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42824
42825 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42827 (__cpymn): Likewise.
42828 (norm): Remove commented code.
42829 (denorm): Likewise.
42830 (__mp_dbl): Likewise.
42831 (__inv): Likewise.
42832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42833 (__cpymn): Likewise.
42834 (norm): Remove commented code.
42835 (denorm): Likewise.
42836 (__mp_dbl): Likewise.
42837 (__inv): Likewise.
42838
42839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42840 mp_no value for 1.0 and 2.0.
42841 (norm): Use RADIXI instead of radixi.d.
42842 (denorm): Likewise.
42843 (__mul): Use 0.0 instead of zero.d.
42844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42845 mp_no value for 1.0 and 2.0.
42846 (norm): Use RADIXI instead of radixi.d.
42847 (denorm): Likewise.
42848 (__mul): Use 0.0 instead of zero.d.
42849
42850 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42851
42852 [BZ #14994]
42853 * math/s_casinh.c (__casinh): Reduce finite argument to first
42854 quadrant then set signs of results at the end.
42855 * math/s_casinhf.c (__casinhf): Likewise.
42856 * math/s_casinhl.c (__casinhl): Likewise.
42857 * math/libm-test.inc (casin_test): Add more tests.
42858 (casinh_test): Likewise.
42859 * sysdeps/i386/fpu/libm-test-ulps: Update.
42860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42861
42862 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42863
42864 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42865
42866 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42867
42868 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42869 declarations.
42870 (denorm): Likewise.
42871 (__mp_dbl): Likewise.
42872 (__inv): Likewise.
42873
42874 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42875 and adjust the header comment.
42876
42877 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42878 variable name from declaration.
42879
42880 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42881
42882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42883 Initialize COMMON_CPUID_INDEX_7 element.
42884 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42885 (CPUID_RTM): Likewise.
42886 (HAS_RTM): Likewise.
42887 (COMMON_CPUID_INDEX_7): New enum.
42888
42889 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42890
42891 [BZ #14981]
42892 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42893 size is zero, record memory as freed.
42894
42895 2013-01-03 Andreas Jaeger <aj@suse.de>
42896
42897 * po/ia.po: Add new Interlingua translation.
42898
42899 2012-01-03 Allan McRae <allan@archlinux.org>
42900
42901 * locale/programs/localedef.c: Fix description of '--posix' flag.
42902
42903 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42904
42905 * NEWS: Update dates in second copyright notice.
42906 * README: Update copyright dates in example.
42907 * manual/libc.texinfo: Update copyright dates.
42908 * scripts/test-installation.pl: Update copyright date in --version
42909 output.
42910
42911 * hurd/ctty-input.c: Fix copyright notice formatting.
42912 * hurd/ctty-output.c: Likewise.
42913 * hurd/dtable.c: Likewise.
42914 * hurd/hurd-raise.c: Likewise.
42915 * hurd/hurdprio.c: Likewise.
42916 * hurd/msgportdemux.c: Likewise.
42917 * misc/sys/file.h: Likewise.
42918 * misc/sys/ioctl.h: Likewise.
42919 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42920 * sysdeps/mach/hurd/chdir.c: Likewise.
42921 * sysdeps/mach/hurd/fchdir.c: Likewise.
42922 * sysdeps/mach/hurd/rename.c: Likewise.
42923 * sysdeps/mach/hurd/rmdir.c: Likewise.
42924 * sysdeps/mach/hurd/seekdir.c: Likewise.
42925 * sysdeps/mach/hurd/setsid.c: Likewise.
42926 * sysdeps/posix/wait3.c: Likewise.
42927
42928 * All files with FSF copyright notices: Update copyright dates
42929 using scripts/update-copyrights.
42930 * intl/plural.c: Regenerated.
42931 * locale/programs/charmap-kw.h: Likewise.
42932 * locale/programs/locfile-kw.h: Likewise.
42933
42934 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42935
42936 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42937 four values.
42938
42939 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42940 calculation loop and add branch prediction.
42941
42942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42943 check access beyond bounds of m1np.
42944
42945 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42946 MPTWO.
42947 (__inv): Remove local variable MPTWO to use the global
42948 constant.
42949 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42950 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42951 variable MPTWO.
42952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42953 MP3HALFS static const.
42954
42955 2013-01-01 David S. Miller <davem@davemloft.net>
42956
42957 * po/ca.po: Update from translation team.
42958
42959 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42960
42961 * scripts/update-copyrights: New file.
42962 * Makeconfig: Reformat copyright notice.
42963 * ctype/ctype.h: Likewise.
42964 * debug/swprintf_chk.c: Likewise.
42965 * elf/dl-cache.c: Likewise.
42966 * elf/dl-debug.c: Likewise.
42967 * elf/dl-object.c: Likewise.
42968 * grp/initgroups.c: Likewise.
42969 * hurd/Makefile: Likewise.
42970 * hurd/hurd/signal.h: Likewise.
42971 * hurd/hurdfault.c: Likewise.
42972 * hurd/hurdioctl.c: Likewise.
42973 * hurd/hurdlookup.c: Likewise.
42974 * hurd/intr-msg.c: Likewise.
42975 * iconv/gconv_open.c: Likewise.
42976 * libio/swprintf.c: Likewise.
42977 * locale/lc-ctype.c: Likewise.
42978 * locale/nl_langinfo.c: Likewise.
42979 * mach/Machrules: Likewise.
42980 * mach/Makefile: Likewise.
42981 * malloc/obstack.h: Likewise.
42982 * manual/Makefile: Likewise.
42983 * manual/tsort.awk: Likewise.
42984 * misc/bits/stab.def: Likewise.
42985 * nis/nis_print_group_entry.c: Likewise.
42986 * nis/nis_table.c: Likewise.
42987 * nis/nss_compat/compat-pwd.c: Likewise.
42988 * nis/nss_compat/compat-spwd.c: Likewise.
42989 * po/Makefile: Likewise.
42990 * posix/fnmatch.c: Likewise.
42991 * posix/regex.h: Likewise.
42992 * resolv/Makefile: Likewise.
42993 * resolv/nss_dns/dns-network.c: Likewise.
42994 * resolv/res_hconf.c: Likewise.
42995 * scripts/gen-sorted.awk: Likewise.
42996 * soft-fp/soft-fp.h: Likewise.
42997 * stdio-common/printf.h: Likewise.
42998 * stdlib/monetary.h: Likewise.
42999 * stdlib/random.c: Likewise.
43000 * stdlib/random_r.c: Likewise.
43001 * sysdeps/generic/Makefile: Likewise.
43002 * sysdeps/gnu/Makefile: Likewise.
43003 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43031 * sysdeps/mach/hurd/errnos.awk: Likewise.
43032 * sysdeps/mach/hurd/fork.c: Likewise.
43033 * sysdeps/mach/hurd/getcwd.c: Likewise.
43034 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43035 * sysdeps/mach/hurd/mmap.c: Likewise.
43036 * sysdeps/mach/hurd/utimes.c: Likewise.
43037 * sysdeps/mach/hurd/xmknod.c: Likewise.
43038 * sysdeps/posix/profil.c: Likewise.
43039 * sysdeps/posix/readdir_r.c: Likewise.
43040 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43041 * sysdeps/powerpc/bits/setjmp.h: Likewise.
43042 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43043 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43045 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43046 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43047 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43049 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43050 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43051 * sysdeps/pthread/lio_listio.c: Likewise.
43052 * sysdeps/sparc/dl-procinfo.h: Likewise.
43053 * sysdeps/unix/i386/sysdep.S: Likewise.
43054 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43055 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43056 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43057 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43059 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43060 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43061 * sysdeps/unix/sysv/linux/speed.c: Likewise.
43062 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43063 * sysdeps/wordsize-32/divdi3.c: Likewise.
43064 * time/sys/time.h: Likewise.
43065 * wcsmbs/Makefile: Likewise.
43066
43067 2013-01-01 David S. Miller <davem@davemloft.net>
43068
43069 * po/fr.po: Update from translation team.
43070
43071 * catgets/gencat.c: Update copyright year.
43072 * csu/version.c: Likewise.
43073 * debug/catchsegv.sh: Likewise.
43074 * debug/pcprofiledump.c: Likewise.
43075 * debug/xtrace.sh: Likewise.
43076 * elf/ldconfig.c: Likewise.
43077 * elf/ldd.bash.in: Likewise.
43078 * elf/pldd.c: Likewise.
43079 * elf/sotruss.ksh: Likewise.
43080 * elf/sprof.c: Likewise.
43081 * iconv/iconv_prog.c: Likewise.
43082 * iconv/iconvconfig.c: Likewise.
43083 * locale/programs/locale.c: Likewise.
43084 * locale/programs/localedef.c: Likewise.
43085 * login/programs/pt_chown.c: Likewise.
43086 * malloc/memusage.sh: Likewise.
43087 * malloc/memusagestat.c: Likewise.
43088 * malloc/mtrace.pl: Likewise.
43089 * nscd/nscd.c: Likewise.
43090 * nss/getent.c: Likewise.
43091 * nss/makedb.c: Likewise.
43092 * posix/getconf.c: Likewise.
43093
43094 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43095
43096 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43097 numbers.
43098
43099 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43100
43101 * math/bits/mathcalls.h (modf): Use __nonnull.
43102
43103 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43104
43105 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43106 (split): Use macro CN instead of the bare value.
43107 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43108 could be used.
43109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43110 instead of the bare value.
43111 (power1): Likewise.
43112
43113 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43114
43115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43116 __ATAN_TWOM.
43117 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43118
43119 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43120 their values.
43121 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43122 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43123 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43124 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43125
43126 2012-12-28 Andreas Jaeger <aj@suse.de>
43127
43128 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43129 values are from Linux 3.7.
43130
43131 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43132 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43133
43134 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43135
43136 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43137 TRUE case.
43138
43139 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43140 (norm): Likewise.
43141 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43142 variables with preprocessor constants.
43143 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43144 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43146
43147 2012-12-27 Bruno Haible <bruno@clisp.org>
43148
43149 [BZ #14317]
43150 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43151 only if needed.
43152
43153 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43154
43155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43156 and use variable directly.
43157 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43158
43159 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43160 MPONE.
43161 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43163 variable MPONE.
43164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43166 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43167 include directive. Remove local variable MPONE.
43168 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43169 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43171
43172 2012-12-25 David S. Miller <davem@davemloft.net>
43173
43174 * version.h (RELEASE): Set to "development".
43175 (VERSION): Set to "2.17.90".
43176 * NEWS: Add 2.18 section.
43177
43178 2012-12-21 David S. Miller <davem@davemloft.net>
43179
43180 * po/hr.po: Update from translation team.
43181
43182 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43183
43184 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43185
43186 2012-12-19 Steve Ellcey <sellcey@mips.com>
43187
43188 * NEWS: Mention new memcpy for MIPS.
43189
43190 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43191
43192 * manual/contrib.texi (Contributors): Spelling correction.
43193
43194 2012-12-15 David S. Miller <davem@davemloft.net>
43195
43196 * po/ru.po: Update from translation team.
43197
43198 2012-12-13 David S. Miller <davem@davemloft.net>
43199
43200 * NEWS: Mention IFUNC testsuite enhancements.
43201
43202 * po/pl.po: Update from translation team.
43203 * po/bg.po: Likewise.
43204
43205 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43206 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43207
43208 2012-12-11 David S. Miller <davem@davemloft.net>
43209
43210 * po/sv.po: Update from translation team.
43211
43212 * po/vi.po: Update from translation team.
43213
43214 * po/cs.po: Update from translation team.
43215
43216 * po/de.po: Update from translation team.
43217 * po/eo.po: Likewise.
43218 * po/nl.po: Likewise.
43219
43220 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43221
43222 [BZ #14246]
43223 * manual/argp.texi (Argp Helper Functions): Move node to follow
43224 Argp Parsing State.
43225
43226 [BZ #14872]
43227 * manual/conf.texi (Limits on File System Capacity): Mention if
43228 terminating null is included in the max size.
43229
43230 2012-12-10 Andreas Jaeger <aj@suse.de>
43231
43232 * po/cs.po: Update from translation team.
43233
43234 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43235
43236 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43237 void pointer and cast to uintptr_t.
43238 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43239 path.
43240 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43241 * sysdeps/s390/s390-64/memset.S: Likewise.
43242
43243 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43244
43245 [BZ #14833]
43246 * menual/message.texi (Message Translation): Fix typos.
43247 (Helper programs for gettext): Likewise.
43248
43249 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43250
43251 [BZ #14898]
43252 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43253 Change to -1.
43254
43255 2012-12-07 David S. Miller <davem@davemloft.net>
43256
43257 * po/libc.pot: Update.
43258
43259 2012-12-07 Richard Henderson <rth@redhat.com>
43260
43261 [BZ #10114]
43262 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43263 normal/normal case to before the switch.
43264 (_FP_DIV): Likewise.
43265
43266 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43267 Mike Frysinger <vapier@gentoo.org>
43268
43269 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43270 check for __NR_fadvise64_64.
43271
43272 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43273
43274 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43275 0, not just to plain "0" as a statement.
43276 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43277 with cw.
43278
43279 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43280
43281 * NEWS: Use sourceware.org in Bugzilla URL.
43282
43283 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43284
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43286 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43287
43288 * stdio-common/tst-put-error.c (do_test): Add newline to the
43289 padded test to ensure flush.
43290
43291 2012-12-05 Jeff Law <law@redhat.com>
43292
43293 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43294
43295 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43296
43297 * README: Don't refer to ports add-on as distributed separately.
43298 Mention AArch64 in list of systems supported in the ports add-on.
43299
43300 * LICENSES: Add more non-FSF copyright and license notices.
43301
43302 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43303 ((unused)).
43304
43305 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43306
43307 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43308 10000 as width of padded output.
43309
43310 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43311
43312 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43313
43314 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43315 variable LX with __attribute__ ((unused)).
43316 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43317 Likewise.
43318 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43321 with __attribute__ ((unused)).
43322
43323 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43324
43325 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43326
43327 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43328
43329 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43330 (CFLAGS-nldbl-acos.c): New variable.
43331 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43332 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43333 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43334 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43335 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43336 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43337 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43338 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43339 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43340 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43341 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43342 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43343 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43344 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43345 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43346 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43347 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43348 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43349 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43350 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43351 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43352 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43353 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43354 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43355 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43356 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43357 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43358 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43359 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43360 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43361 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43362 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43363 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43364 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43365 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43366 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43367 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43368 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43369 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43370 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43371 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43372 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43373 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43374 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43375 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43376 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43377 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43378 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43379 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43380 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43381 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43382 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43383 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43384 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43385 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43386 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43387 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43388 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43389 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43390 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43391 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43392 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43393 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43394 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43395 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43396 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43397 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43398 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43399 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43400 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43401 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43402 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43403 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43404 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43405 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43406 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43407 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43408 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43409 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43410 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43411 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43412 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43413 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43414 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43415 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43416 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43417 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43418 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43419 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43420 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43421 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43422 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43423 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43424 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43425 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43426 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43427 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43428
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43430 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43431
43432 [BZ #14914]
43433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43434 whole low double instead of just low 47 bits when splitting values
43435 into two parts.
43436
43437 2012-12-03 Allan McRae <allan@archlinux.org>
43438
43439 * manual/stdio.texi (Predefined Printf Handlers): Remove
43440 @hsep and @vsep usage.
43441
43442 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43443
43444 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43445 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43446
43447 2012-12-03 Jeff Law <law@redhat.com>
43448
43449 * time/sys/time.h (settimeofday): Do not mark TV argument
43450 as __nonnull.
43451
43452 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43453
43454 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43455 when currently writing and seek to current position when not.
43456 * libio/Makefile (tests): Remove bug-fclose1.
43457 * libio/bug-fclose1.c: Delete.
43458
43459 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43460
43461 * manual/arith.texi (feenableexcept): Fix typo.
43462 (fedisableexcept): Likewise.
43463
43464 2012-11-30 Roland McGrath <roland@hack.frob.com>
43465
43466 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43467 second, differently-typed declaration, rather than a cast.
43468
43469 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43470
43471 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43472 * include/rpc/svc.h: ... here.
43473
43474 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43475
43476 [BZ #13013]
43477 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43478 depending n and resplen2 to catch cases where answer
43479 equals answerp2.
43480
43481 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43482
43483 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43484 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43485
43486 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43487
43488 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43489
43490 2012-11-29 Roland McGrath <roland@hack.frob.com>
43491
43492 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43493
43494 2012-11-28 Jeff Law <law@redhat.com>
43495
43496 [BZ #13761]
43497 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43498 dataset_temporary. Track alloca usage into alloca_used.
43499 If dataset is large allocate and release it via malloc/free.
43500
43501 2012-06-04 Florian Weimer <fweimer@redhat.com>
43502
43503 [BZ #14197]
43504 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43505
43506 2012-11-28 David S. Miller <davem@davemloft.net>
43507
43508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43509
43510 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43511
43512 [BZ #14803]
43513 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43514 of pi/2 rounded to nearest to 64 bits.
43515 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43516 nearest to 64 bits.
43517 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43518 bits.
43519
43520 2012-11-28 Jeff Law <law@redhat.com>
43521 Martin Osvald <mosvald@redhat.com>
43522
43523 [BZ #14889]
43524 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43525 * sunrpc/svc.c: Include time.h.
43526 (__svc_accept_failed): New function.
43527 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43528 any reason other than EINTR, call __svc_accept_failed.
43529 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43530 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43531
43532 2012-11-28 Andreas Schwab <schwab@suse.de>
43533
43534 * scripts/abilist.awk: Also handle indirect functions in .opd
43535 section.
43536
43537 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43538
43539 [BZ #13881]
43540 * sysdeps/x86/fpu/powl_helper.c: New file.
43541 * sysdeps/x86/fpu/Makefile: Likewise.
43542 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43543 (p3): New object.
43544 (__ieee754_powl): Use __powl_helper for finite arguments except
43545 integer exponents below 8.
43546 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43547 (p3): New object.
43548 (__ieee754_powl): Use __powl_helper for finite arguments except
43549 integer exponents below 8.
43550 * math/libm-test.inc (pow_test): Add more tests and enable some
43551 previously disabled tests.
43552 * sysdeps/i386/fpu/libm-test-ulps: Update.
43553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43554
43555 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43556 Carlos O'Donell <carlos_odonell@mentor.com>
43557
43558 * nss/makedb.c (is_prime): Assert that input is odd and greater
43559 than 4. Note that fact in a comment too.
43560 (next_prime): Add 4 to input.
43561
43562 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43563
43564 [BZ #11741]
43565 * libio/Makefile (tests): Add test case tst-fwrite-error.
43566 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43567 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43568 * libio/tst-fwrite-error.c: New test case.
43569
43570 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43571
43572 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43573 before casting to void *.
43574 * include/libc-internal.h (__pointer_type): New macro.
43575 (__integer_if_pointer_type_sub): Likewise.
43576 (__integer_if_pointer_type): Likewise.
43577 (cast_to_integer): Likewise.
43578 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43579 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43580 before casting to atomic64_t.
43581 (atomic_exchange_acq): Likewise.
43582 (__arch_exchange_and_add_body): Likewise.
43583 (__arch_add_body): Likewise.
43584 (atomic_add_negative): Likewise.
43585 (atomic_add_zero): Likewise.
43586
43587 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43588
43589 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43590 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43591 (add_fdes): Likewise.
43592 (linear_search_fdes): Likewise.
43593 (binary_search_unencoded_fdes): Likewise.
43594
43595 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43596
43597 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43598
43599 2012-11-24 Adam Conrad <adconrad@0c3.net>
43600
43601 * configure.in: Autodetect C++ header directories.
43602 * configure: Regenerated.
43603
43604 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43605
43606 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43607
43608 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43609
43610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43611
43612 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43613
43614 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43615 LDBL_MANT_DIG == 106]: Disable some tests.
43616 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43617 Likewise.
43618 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43619 Likewise.
43620
43621 [BZ #14871]
43622 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43623 input for small inputs. Return +/- pi/2 for large inputs.
43624 * math/libm-test.inc (atan_test): Add more tests.
43625
43626 * sysdeps/generic/unwind-dw2-fde-glibc.c
43627 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43628 __attribute__ ((unused)).
43629
43630 [BZ #14645]
43631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43632 x * y if x and y are nonzero and z is zero.
43633
43634 [BZ #14811]
43635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43636 nonzero exponents with absolute value below 0x1p-117 to +/-
43637 0x1p-117.
43638
43639 [BZ #14869]
43640 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43641 up arguments below 2**-450, not just those below 2**-500.
43642 * math/libm-test.inc (hypot_test): Add another test.
43643
43644 [BZ #14868]
43645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43646 Return a+b for ratio over 2**120, not 2**60.
43647 * math/libm-test.inc (hypot_test): Add another test.
43648
43649 * math/libm-test.inc (clog_test): Use
43650 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43651 (clog10_test): Likewise.
43652
43653 [BZ #6778]
43654 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43655
43656 2012-11-22 Andreas Schwab <schwab@suse.de>
43657
43658 * sysdeps/i386/fpu/libm-test-ulps: Update.
43659
43660 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43661
43662 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43663 printf output with newline.
43664
43665 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43666
43667 [BZ #14865]
43668 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43669 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43670 -z nodlopen, -z initfirst and -z execstack support.
43671 * configure: Regenerated.
43672
43673 * elf/elf.h (DF_1_NODIRECT): New macro.
43674 (DF_1_IGNMULDEF): Likewise.
43675 (DF_1_NOKSYMS): Likewise.
43676 (DF_1_NOHDR): Likewise.
43677 (DF_1_EDITED): Likewise.
43678 (DF_1_NORELOC): Likewise.
43679 (DF_1_SYMINTPOSE): Likewise.
43680 (DF_1_GLOBAUDIT): Likewise.
43681 (DF_1_SINGLETON): Likewise.
43682 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43683 DT_1_SUPPORTED_MASK bits.
43684 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43685
43686 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43687
43688 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43689
43690 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43691
43692 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43693 macro.
43694
43695 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43696 (sendmmsg): Move declarations...
43697 * socket/sys/socket.h: ... here.
43698 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43699 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43700 include it from...
43701 * socket/recvmmsg.c: ... this new file.
43702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43703 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43704 definition of __sendmmsg hidden.
43705 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43706 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43707 Move ENOSYS stub into and include it from...
43708 * socket/sendmmsg.c: ... this new file.
43709 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43710 (sysdep_routines): Move recvmmsg and sendmmsg...
43711 * socket/Makefile (routines): ... here.
43712 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43713 (GLIBC_PRIVATE): Add __sendmmsg.
43714 * include/sys/socket.h (__sendmmsg): Add declarations.
43715 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43716 sendmmsg.
43717
43718 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43719
43720 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43721 variable I1 with __attribute__ ((unused)).
43722 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43723
43724 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43725
43726 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43727 DUMMY variables with __attribute__ ((unused)).
43728
43729 * bits/byteswap.h: Include <bits/types.h>.
43730 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43731
43732 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43733
43734 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43735 string_t. Do not manually set errno.
43736 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43737 length with __strnlen. Make sure to both set errno and return it on
43738 failure.
43739
43740 2012-11-19 David S. Miller <davem@davemloft.net>
43741
43742 With help from Joseph Myers.
43743 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43744 very large arguments properly.
43745 * math/libm-test.inc (atan_test): New tests.
43746 (atan2_test): New tests.
43747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43749
43750 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43751
43752 [BZ #14856]
43753 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43754 Define to 3.
43755
43756 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43757 [POSIX] (EADDRNOTAVAIL): Likewise.
43758 [POSIX] (EAFNOSUPPORT): Likewise.
43759 [POSIX] (EALREADY): Likewise.
43760 [POSIX] (ECONNABORTED): Likewise.
43761 [POSIX] (ECONNREFUSED): Likewise.
43762 [POSIX] (ECONNRESET): Likewise.
43763 [POSIX] (EDESTADDRREQ): Likewise.
43764 [POSIX] (EDQUOT): Likewise.
43765 [POSIX] (EHOSTUNREACH): Likewise.
43766 [POSIX] (EIDRM): Likewise.
43767 [POSIX] (EISCONN): Likewise.
43768 [POSIX] (ELOOP): Likewise.
43769 [POSIX] (EMULTIHOP): Likewise.
43770 [POSIX] (ENETDOWN): Likewise.
43771 [POSIX] (ENETUNREACH): Likewise.
43772 [POSIX] (ENOBUFS): Likewise.
43773 [POSIX] (ENODATA): Likewise.
43774 [POSIX] (ENOLINK): Likewise.
43775 [POSIX] (ENOMSG): Likewise.
43776 [POSIX] (ENOPROTOOPT): Likewise.
43777 [POSIX] (ENOSR): Likewise.
43778 [POSIX] (ENOSTR): Likewise.
43779 [POSIX] (ENOTCONN): Likewise.
43780 [POSIX] (ENOTSOCK): Likewise.
43781 [POSIX] (EOPNOTSUPP): Likewise.
43782 [POSIX] (EOVERFLOW): Likewise.
43783 [POSIX] (EPROTO): Likewise.
43784 [POSIX] (EPROTONOSUPPORT): Likewise.
43785 [POSIX] (EPROTOTYPE): Likewise.
43786 [POSIX] (ESTALE): Likewise.
43787 [POSIX] (ETIME): Likewise.
43788 [POSIX] (ETXTBSY): Likewise.
43789 [POSIX] (EWOULDBLOCK): Likewise.
43790 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43791 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43792 [POSIX] (SEEK_CUR): Likewise.
43793 [POSIX] (SEEK_END): Likewise.
43794 [POSIX || UNIX98] (mode_t): Do not require.
43795 [POSIX] (off_t): Likewise.
43796 [POSIX] (pid_t): Likewise.
43797 [POSIX] (sys/stat.h): Do not allow header.
43798 [POSIX] (unistd.h): Likewise.
43799 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43800 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43801 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43802 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43803 require.
43804 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43805 sigevent): Specify elements.
43806 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43807 entry.
43808 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43809 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43810
43811 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43812 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43813 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43814 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43815 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43816 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43817 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43818 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43819 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43820 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43821 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43822 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43823 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43824 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43825 Likewise.
43826 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43827 Likewise.
43828 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43829 Likewise.
43830 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43831 Likewise.
43832 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43833 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43834 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43835 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43836 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43837 Specify lower bound on value.
43838 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43839 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43844 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43845 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43846 value.
43847 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43848 as optional.
43849 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43865 entry.
43866 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43867 optional.
43868 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43869 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43870 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43871 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43872 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43874 Likewise.
43875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43876 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43877 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43878 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43879 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43880 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43881 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43882 as optional.
43883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43884 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43887 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43888 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43889 specify as optional.
43890 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43893 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43894 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43895 [XPG3] (NL_LANGMAX): Likewise.
43896 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43897 [POSIX || XPG3] (NL_NMAX): Likewise.
43898 [POSIX || XPG3] (NL_SETMAX): Likewise.
43899 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43900 [XPG3] (NZERO): Likewise.
43901 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43902 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43903 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43904 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43905 (REG_ERANGE): Expect.
43906 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43907 optional-constant.
43908 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43909 Use (void) in prototype.
43910 [POSIX] (*_t): Allow.
43911 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43912 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43913 (WRDE_BADVAL): Expect.
43914
43915 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43916 expect.
43917 [XPG3 || XPG4] (O_RSYNC): Likewise.
43918 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43919 Likewise.
43920 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43921 [XPG3 || XPG4] (sigqueue): Likewise.
43922 [XPG3 || XPG4] (sigtimedwait): Likewise.
43923 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43924 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43925 [XPG3 || XPG4] (vsnprintf): Likewise.
43926 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43927 Likewise.
43928 [XPG3 || XPG4] (blksize_t): Likewise.
43929 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43930 Likewise.
43931 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43932 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43933 [XPG3 || XPG4] (struct itimerspec): Likewise.
43934 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43935 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43936 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43937 [XPG3 || XPG4] (clockid_t): Likewise.
43938 [XPG3 || XPG4] (timer_t): Likewise.
43939 [XPG3 || XPG4] (clock_getres): Likewise.
43940 [XPG3 || XPG4] (clock_gettime): Likewise.
43941 [XPG3 || XPG4] (clock_settime): Likewise.
43942 [XPG3 || XPG4] (nanosleep): Likewise.
43943 [XPG3 || XPG4] (timer_create): Likewise.
43944 [XPG3 || XPG4] (timer_delete): Likewise.
43945 [XPG3 || XPG4] (timer_gettime): Likewise.
43946 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43947 [XPG3 || XPG4] (timer_settime): Likewise.
43948 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43949 [XPG3 || XPG4] (getlogin_r): Likewise.
43950 [XPG3 || XPG4] (pread): Likewise.
43951 [XPG3 || XPG4] (pthread_atfork): Likewise.
43952 [XPG3 || XPG4] (pwrite): Likewise.
43953
43954 [BZ #14835]
43955 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43956 <bits/siginfo.h>.
43957
43958 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43959
43960 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43961 finalizing MALLSTREAM.
43962
43963 * sysdeps/mach/hurd/syncfs.c: New file.
43964
43965 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43966
43967 [BZ #14719]
43968 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43969 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43970 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43971 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43972 (_nss_dns_gethostbyname4_r): Likewise.
43973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43974 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43975
43976 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43977
43978 [BZ #13763]
43979 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43980
43981 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43982
43983 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43984 * elf/cache.c (print_entry): Print ",AArch64" for
43985 FLAG_AARCH64_LIB64
43986
43987 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43988 * elf/cache.c (print_entry): Print ",hard-float" for
43989 FLAG_ARM_LIBHF.
43990
43991 2012-11-18 David S. Miller <davem@davemloft.net>
43992
43993 With help from Joseph Myers.
43994 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43995 cutoff to 2**-13.
43996 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43997 cutoff to 2**-25.
43998 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43999 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44000 small.
44001 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44002 * math/libm-test.inc (y0_test): New tests.
44003 (y1_test): New tests.
44004 * sysdeps/i386/fpu/libm-test-ulps: Update.
44005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44007
44008 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
44009
44010 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44011 64-bit targets.
44012 * configure: Regenerated.
44013
44014 2012-11-17 David S. Miller <davem@davemloft.net>
44015
44016 [BZ #14811]
44017 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44018 nonzero exponents with absolute value below 0x1p-128 to +/-
44019 0x1p-128.
44020
44021 2012-11-17 Joseph Myers <joseph@codesourcery.com>
44022
44023 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44024
44025 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44026
44027 * posix/getconf-speclist.c: New file.
44028 * posix/posix-envs.def: Likewise.
44029 * posix/confstr.c (START_ENV_GROUP): New macro.
44030 (END_ENV_GROUP): Likewise.
44031 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44032 (KNOWN_PRESENT_ENV_STRING): Likewise.
44033 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44034 (UNKNOWN_ENVIRONMENT): Likewise.
44035 (confstr): Include posix-envs.def instead of handling
44036 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44037 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44038 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44039 (END_ENV_GROUP): Likewise.
44040 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44041 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44042 (UNKNOWN_ENVIRONMENT): Likewise.
44043 (__sysconf): Include posix-envs.def instead of handling associated
44044 cases directly here.
44045 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44046 preprocessing getconf-speclist.c rather than running getconf or
44047 generating empty file.
44048
44049 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44050
44051 * scripts/check-local-headers.sh: Ignore 'mach' headers.
44052
44053 2012-11-16 Andrej Lajovic <natrij@gmail.com>
44054
44055 [BZ #14672]
44056 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44057
44058 2012-11-16 David S. Miller <davem@davemloft.net>
44059
44060 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44061 smaller than LDBL_EPSILON/2.0L, just return xm1.
44062
44063 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
44064
44065 * elf/tst-array1.c (init): Set constructor priority to 1000.
44066 (fini): Set destructor priority to 1000.
44067 * elf/tst-array2dep.c: Likewise.
44068
44069 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44070
44071 [BZ #11741]
44072 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44073 (_IO_new_file_xsputn): Also return EOF if none of the input
44074 data was written when overflow failed.
44075 * libio/iopadn.c (_IO_padn): Likewise.
44076 * libio/iowpadn.c (_IO_wpadn): Likewise.
44077 * stdio-common/tst-put-error.c: Add copyright notice.
44078 (do_test): Add case for printing padded string.
44079 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44080 _IO_padn returned error.
44081 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44082 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44083 return EOF.
44084
44085 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44086
44087 * libio/libioP.h: Add comment note that the references to C++
44088 bits are now obsolete.
44089
44090 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44091
44092 * math/libm-test.inc (check_complex): Use asprintf.
44093
44094 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44095
44096 * debug/pcprofiledump.c (print_version): Update copyright year.
44097 * malloc/memusagestat.c (print_version): Likewise.
44098
44099 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44100
44101 [BZ #14831]
44102 * elf/Makefile (tests): Add tst-audit8.
44103 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44104 ($(objpfx)tst-audit8.out): New target.
44105 (tst-audit8-ENV): New variable.
44106 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44107 audit if l_reloc_result is NULL.
44108 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44109 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44110 * elf/tst-audit8.c: New file.
44111
44112 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44113
44114 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44115 * misc/Makefile (CFLAGS-select.c): Define.
44116 * posix/Makefile (CFLAGS-pause.c): Define.
44117
44118 2012-11-13 David S. Miller <davem@davemloft.net>
44119
44120 * crypt/Makefile: Move test targets after toplevel Rules
44121 inclusion. Grab any necessary sysdep routines when linking.
44122 * crypt/md5.c (md5_process_block): Remove define, we will always
44123 name it __md5_process_block.
44124 (md5_finish_ctx): Update md5_process_block call.
44125 (md5_stream): Likewise.
44126 (md5_process_bytes): Likewise.
44127 (md5_process_block): Rename to __md5_process_block and move to ...
44128 * crypt/md5-block.c: ... here.
44129 * crypt/sha256.c (sha256_process_block): Move to ...
44130 * crypt/sha256-block.c: ... here.
44131 * crypt/sha512.c (sha512_process_block): Move to ...
44132 * crypt/sha512-block.c: ... here.
44133 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44134 path.
44135 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44136 * sysdeps/sparc/sparc64/multiarch/Makefile
44137 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44138 crypt subdir.
44139 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44140 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44141 multiarch changes.
44142 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44143 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44144 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44145 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44146 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44147 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44148 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44149 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44150 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44151 file.
44152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44153 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44154 file.
44155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44156
44157 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44158
44159 * timezone/tzselect.ksh: Update from tzcode git revision
44160 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44161 * timezone/zdump.c: Likewise.
44162 * timezone/zic.c: Likewise.
44163 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44164 in TZVERSION setting, not $(PKGVERSION).
44165 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44166 REPORT_BUGS_TO settings.
44167
44168 [BZ #14838]
44169 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44170 macro.
44171
44172 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44173
44174 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44175 detection to immediately after _FP_ROUND().
44176 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44177 bits are 0.
44178
44179 2012-11-11 David S. Miller <davem@davemloft.net>
44180
44181 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44182 inttypes.h
44183 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44184 __close rather than their public counterparts.
44185
44186 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44187
44188 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44189 file.
44190 [UNIX98] (sem_timedwait): Do not expect.
44191 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44192 [XPG4 || UNIX98] (sockatmark): Do not expect.
44193 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44194 (clock_getcpuclockid): Do not expect.
44195 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44196 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44197 Do not expect.
44198 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44199 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44200 [UNIX98] (vwscanf): Likewise.
44201 [UNIX98] (vswscanf): Likewise.
44202
44203 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44204
44205 * timezone/version.h: Remove file.
44206 * timezone/README: Do not refer to version.h.
44207 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44208 $(objpfx)version.h.
44209 ($(objpfx)zdump.o): Likewise.
44210 ($(objpfx)version.h): New target.
44211
44212 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44213 2012i.
44214 * timezone/README: Don't mention modification to tzselect.ksh.
44215 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44216 work on unmodified tzselect.ksh. Substitute version numbers in
44217 tzselect.ksh.
44218
44219 * Makefile (format-me): Remove.
44220 (INSTALL): Adjust indentation. Use commands directly instead of
44221 using $(format-me).
44222
44223 * aclocal.m4 (ACX_PKGVERSION): New macro.
44224 (ACX_BUGURL): Likewise.
44225 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44226 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44227 (REPORT_BUGS_TO): Likewise.
44228 * configure: Regenerated.
44229 * config.h.in (PKGVERSION): New macro.
44230 (REPORT_BUGS_TO): Likewise.
44231 * config.make.in (PKGVERSION): New variable.
44232 (PKGVERSION_TEXI): Likewise.
44233 (REPORT_BUGS_TO): Likewise.
44234 (REPORT_BUGS_TEXI): Likewise.
44235 * Makefile (format-me): Use -I$(common-objpfx)manual.
44236 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44237 ($(common-objpfx)manual/%): New target.
44238 (manual/%): Remove target.
44239 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44240 (print_version): Use PKGVERSION.
44241 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44242 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44243 and REPORT_BUGS_TO.
44244 ($(objpfx)xtrace): Likewise.
44245 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44246 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44247 (print_version): Use PKGVERSION.
44248 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44249 (do_version): Use PKGVERSION.
44250 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44251 REPORT_BUGS_TO.
44252 (common-ldd-rewrite): Likewise.
44253 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44254 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44255 (print_version): Use PKGVERSION.
44256 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44257 * elf/pldd.c (argp_program_bug_address): Remove variable.
44258 (more_help): New function.
44259 (argp): Use more_help.
44260 (print_version): Use PKGVERSION.
44261 * elf/sln.c (main): Use PKGVERSION.
44262 (usage): Use REPORT_BUGS_TO.
44263 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44264 (top level): Use PKGVERSION.
44265 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44266 (print_version): Use PKGVERSION.
44267 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44268 (print_version): Use PKGVERSION.
44269 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44270 (print_version): Use PKGVERSION.
44271 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44272 (print_version): Use PKGVERSION.
44273 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44274 (print_version): Use PKGVERSION.
44275 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44276 (print_version): Use PKGVERSION.
44277 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44278 and BUGURL.
44279 ($(objpfx)memusage): Likewise.
44280 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44281 (do_version): Use PKGVERSION.
44282 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44283 (print_version): Use PKGVERSION.
44284 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44285 ($PKGVERSION): New variable.
44286 ($REPORT_BUGS_TO): Likewise.
44287 (usage): Use $REPORT_BUGS_TO.
44288 (top level): Use $PKGVERSION.
44289 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44290 ($(objpfx)pkgvers.texi): New rule.
44291 ($(objpfx)stamp-pkgvers): Likewise.
44292 * manual/install.texi: Include pkgvers.texi.
44293 (--with-pkgversion): Document new configure option.
44294 (--with-bugurl): Likewise.
44295 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44296 than necessarily for this particular distribution. Use
44297 REPORT_BUGS_TO for where to report bugs.
44298 * INSTALL: Regenerated.
44299 * manual/libc.texinfo: Include pkgvers.texi.
44300 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44301 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44302 (print_version): Use PKGVERSION.
44303 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44304 (print_version): Use PKGVERSION.
44305 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44306 (print_version): Use PKGVERSION.
44307 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44308 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44309 macro.
44310 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44311 (print_version): Use PKGVERSION.
44312 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44313 (print_version): Use PKGVERSION.
44314 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44315 and PKGVERSION.
44316
44317 * timezone/checktab.awk: Update from tzcode 2012i.
44318 * timezone/ialloc.c: Likewise.
44319 * timezone/private.h: Likewise.
44320 * timezone/scheck.c: Likewise.
44321 * timezone/tzfile.h: Likewise.
44322 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44323 (TZVERSION): Hardcode tzcode version number.
44324 * timezone/zdump.c: Update from tzcode 2012i.
44325 * timezone/zic.c: Likewise.
44326 * timezone/version.h: New file.
44327 * timezone/README: Describe version.h. Update upstream location.
44328
44329 [BZ #14824]
44330 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44331 (mktemp): Enable declaration.
44332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44336 Likewise.
44337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44338 Likewise.
44339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44340 Likewise.
44341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44342 Likewise.
44343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44344 Likewise.
44345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44346 Likewise.
44347
44348 [BZ #14821]
44349 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44350 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44351 for copies of such integer values.
44352 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44353 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44354
44355 2012-11-09 Andreas Jaeger <aj@suse.de>
44356
44357 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44358 definitions and declarations that are provided by
44359 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44360
44361 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44362
44363 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44364 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44365 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44366 definition.
44367
44368 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44369
44370 * elf/elf.h: Update comment before AArch64 relocations.
44371
44372 2012-11-07 David S. Miller <davem@davemloft.net>
44373
44374 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44375 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44376 (__start_context): Declare.
44377 (__makecontext_ret): Delete.
44378 (__makecontext): Hook up __start_context instead of
44379 __makecontext_ret.
44380 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44381 (sysdep_routines): Add __start_context when in stdlib.
44382
44383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44384
44385 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44386 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44387 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44388 hardcoded "nm".
44389 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44390 (READELF): New variable. Use it instead of hardcoded "readelf".
44391
44392 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44393
44394 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44395 * sysdeps/x86/Makefile: Here.
44396 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44397 * sysdeps/x86/tst-xmmymm.sh: This.
44398
44399 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44400
44401 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44402 expectations.
44403 [UNIX98] (pthread_barrier_t): Do not expect.
44404 [UNIX98] (pthread_barrierattr_t): Likewise.
44405 [UNIX98] (pthread_spinlock_t): Likewise.
44406 [UNIX98] (pthread_barrier_destroy): Likewise.
44407 [UNIX98] (pthread_barrier_init): Likewise.
44408 [UNIX98] (pthread_barrier_wait): Likewise.
44409 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44410 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44411 [UNIX98] (pthread_barrierattr_init): Likewise.
44412 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44413 [UNIX98] (pthread_getcpuclockid): Likewise.
44414 [UNIX98] (pthread_mutex_timedlock): Likewise.
44415 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44416 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44417 [UNIX98] (pthread_sigmask): Likewise.
44418 [UNIX98] (pthread_spin_destroy): Likewise.
44419 [UNIX98] (pthread_spin_init): Likewise.
44420 [UNIX98] (pthread_spin_lock): Likewise.
44421 [UNIX98] (pthread_spin_trylock): Likewise.
44422 [UNIX98] (pthread_spin_unlock): Likewise.
44423 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44424 Do not expect.
44425 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44426 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44427 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44428 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44429 [XPG3 || XPG4] (pthread_key_t): Likewise.
44430 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44431 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44432 [XPG3 || XPG4] (pthread_once_t): Likewise.
44433 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44434 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44435 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44436 [XPG3 || XPG4] (pthread_t): Likewise.
44437
44438 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44439 not expect.
44440 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44441
44442 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44443 Change function return type to int.
44444
44445 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44446 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44447 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44448 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44449 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44450 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44451 [!POSIX] (posix_madvise): Likewise.
44452 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44453 && !UNIX98].
44454 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44455 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44456 (mode_t): Likewise.
44457 (posix_mem_offset): Likewise.
44458 (posix_typed_mem_get_info): Likewise.
44459 (posix_typed_mem_open): Likewise.
44460
44461 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44462 Change condition to [XOPEN2K8].
44463
44464 * conform/conformtest.pl: Preprocess allow-header data with -x c
44465 instead of from stdin.
44466 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44467 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44468 [C99-based standards] (cerfc): Likewise.
44469 [C99-based standards] (cexp2): Likewise.
44470 [C99-based standards] (cexpm1): Likewise.
44471 [C99-based standards] (clog10): Likewise.
44472 [C99-based standards] (clog1p): Likewise.
44473 [C99-based standards] (clog2): Likewise.
44474 [C99-based standards] (clgamma): Likewise.
44475 [C99-based standards] (ctgamma): Likewise.
44476 [C99-based standards] (cerff): Likewise.
44477 [C99-based standards] (cerfcf): Likewise.
44478 [C99-based standards] (cexp2f): Likewise.
44479 [C99-based standards] (cexpm1f): Likewise.
44480 [C99-based standards] (clog10f): Likewise.
44481 [C99-based standards] (clog1pf): Likewise.
44482 [C99-based standards] (clog2f): Likewise.
44483 [C99-based standards] (clgammaf): Likewise.
44484 [C99-based standards] (ctgammaf): Likewise.
44485 [C99-based standards] (cerfl): Likewise.
44486 [C99-based standards] (cerfcl): Likewise.
44487 [C99-based standards] (cexp2l): Likewise.
44488 [C99-based standards] (cexpm1l): Likewise.
44489 [C99-based standards] (clog10l): Likewise.
44490 [C99-based standards] (clog1pl): Likewise.
44491 [C99-based standards] (clog2l): Likewise.
44492 [C99-based standards] (clgammal): Likewise.
44493 [C99-based standards] (ctgammal): Likewise.
44494 * conform/data/inttypes.h-data [C99-based standards]: Include
44495 stdint.h-data. Remove all expectations for stdint.h contents.
44496 [C99-based standards] (PRI*): Do not allow.
44497 [C99-based standards] (SCN*): Likewise.
44498 [C99-based standards] (*_t): Likewise.
44499 [C99-based-standards] (PRId8): Expect macro.
44500 [C99-based-standards] (PRIi8): Likewise.
44501 [C99-based-standards] (PRIo8): Likewise.
44502 [C99-based-standards] (PRIu8): Likewise.
44503 [C99-based-standards] (PRIx8): Likewise.
44504 [C99-based-standards] (PRIX8): Likewise.
44505 [C99-based-standards] (SCNd8): Likewise.
44506 [C99-based-standards] (SCNi8): Likewise.
44507 [C99-based-standards] (SCNo8): Likewise.
44508 [C99-based-standards] (SCNu8): Likewise.
44509 [C99-based-standards] (SCNx8): Likewise.
44510 [C99-based-standards] (PRIdLEAST8): Likewise.
44511 [C99-based-standards] (PRIiLEAST8): Likewise.
44512 [C99-based-standards] (PRIoLEAST8): Likewise.
44513 [C99-based-standards] (PRIuLEAST8): Likewise.
44514 [C99-based-standards] (PRIxLEAST8): Likewise.
44515 [C99-based-standards] (PRIXLEAST8): Likewise.
44516 [C99-based-standards] (SCNdLEAST8): Likewise.
44517 [C99-based-standards] (SCNiLEAST8): Likewise.
44518 [C99-based-standards] (SCNoLEAST8): Likewise.
44519 [C99-based-standards] (SCNuLEAST8): Likewise.
44520 [C99-based-standards] (SCNxLEAST8): Likewise.
44521 [C99-based-standards] (PRIdFAST8): Likewise.
44522 [C99-based-standards] (PRIiFAST8): Likewise.
44523 [C99-based-standards] (PRIoFAST8): Likewise.
44524 [C99-based-standards] (PRIuFAST8): Likewise.
44525 [C99-based-standards] (PRIxFAST8): Likewise.
44526 [C99-based-standards] (PRIXFAST8): Likewise.
44527 [C99-based-standards] (SCNdFAST8): Likewise.
44528 [C99-based-standards] (SCNiFAST8): Likewise.
44529 [C99-based-standards] (SCNoFAST8): Likewise.
44530 [C99-based-standards] (SCNuFAST8): Likewise.
44531 [C99-based-standards] (SCNxFAST8): Likewise.
44532 [C99-based-standards] (PRId16): Likewise.
44533 [C99-based-standards] (PRIi16): Likewise.
44534 [C99-based-standards] (PRIo16): Likewise.
44535 [C99-based-standards] (PRIu16): Likewise.
44536 [C99-based-standards] (PRIx16): Likewise.
44537 [C99-based-standards] (PRIX16): Likewise.
44538 [C99-based-standards] (SCNd16): Likewise.
44539 [C99-based-standards] (SCNi16): Likewise.
44540 [C99-based-standards] (SCNo16): Likewise.
44541 [C99-based-standards] (SCNu16): Likewise.
44542 [C99-based-standards] (SCNx16): Likewise.
44543 [C99-based-standards] (PRIdLEAST16): Likewise.
44544 [C99-based-standards] (PRIiLEAST16): Likewise.
44545 [C99-based-standards] (PRIoLEAST16): Likewise.
44546 [C99-based-standards] (PRIuLEAST16): Likewise.
44547 [C99-based-standards] (PRIxLEAST16): Likewise.
44548 [C99-based-standards] (PRIXLEAST16): Likewise.
44549 [C99-based-standards] (SCNdLEAST16): Likewise.
44550 [C99-based-standards] (SCNiLEAST16): Likewise.
44551 [C99-based-standards] (SCNoLEAST16): Likewise.
44552 [C99-based-standards] (SCNuLEAST16): Likewise.
44553 [C99-based-standards] (SCNxLEAST16): Likewise.
44554 [C99-based-standards] (PRIdFAST16): Likewise.
44555 [C99-based-standards] (PRIiFAST16): Likewise.
44556 [C99-based-standards] (PRIoFAST16): Likewise.
44557 [C99-based-standards] (PRIuFAST16): Likewise.
44558 [C99-based-standards] (PRIxFAST16): Likewise.
44559 [C99-based-standards] (PRIXFAST16): Likewise.
44560 [C99-based-standards] (SCNdFAST16): Likewise.
44561 [C99-based-standards] (SCNiFAST16): Likewise.
44562 [C99-based-standards] (SCNoFAST16): Likewise.
44563 [C99-based-standards] (SCNuFAST16): Likewise.
44564 [C99-based-standards] (SCNxFAST16): Likewise.
44565 [C99-based-standards] (PRId32): Likewise.
44566 [C99-based-standards] (PRIi32): Likewise.
44567 [C99-based-standards] (PRIo32): Likewise.
44568 [C99-based-standards] (PRIu32): Likewise.
44569 [C99-based-standards] (PRIx32): Likewise.
44570 [C99-based-standards] (PRIX32): Likewise.
44571 [C99-based-standards] (SCNd32): Likewise.
44572 [C99-based-standards] (SCNi32): Likewise.
44573 [C99-based-standards] (SCNo32): Likewise.
44574 [C99-based-standards] (SCNu32): Likewise.
44575 [C99-based-standards] (SCNx32): Likewise.
44576 [C99-based-standards] (PRIdLEAST32): Likewise.
44577 [C99-based-standards] (PRIiLEAST32): Likewise.
44578 [C99-based-standards] (PRIoLEAST32): Likewise.
44579 [C99-based-standards] (PRIuLEAST32): Likewise.
44580 [C99-based-standards] (PRIxLEAST32): Likewise.
44581 [C99-based-standards] (PRIXLEAST32): Likewise.
44582 [C99-based-standards] (SCNdLEAST32): Likewise.
44583 [C99-based-standards] (SCNiLEAST32): Likewise.
44584 [C99-based-standards] (SCNoLEAST32): Likewise.
44585 [C99-based-standards] (SCNuLEAST32): Likewise.
44586 [C99-based-standards] (SCNxLEAST32): Likewise.
44587 [C99-based-standards] (PRIdFAST32): Likewise.
44588 [C99-based-standards] (PRIiFAST32): Likewise.
44589 [C99-based-standards] (PRIoFAST32): Likewise.
44590 [C99-based-standards] (PRIuFAST32): Likewise.
44591 [C99-based-standards] (PRIxFAST32): Likewise.
44592 [C99-based-standards] (PRIXFAST32): Likewise.
44593 [C99-based-standards] (SCNdFAST32): Likewise.
44594 [C99-based-standards] (SCNiFAST32): Likewise.
44595 [C99-based-standards] (SCNoFAST32): Likewise.
44596 [C99-based-standards] (SCNuFAST32): Likewise.
44597 [C99-based-standards] (SCNxFAST32): Likewise.
44598 [C99-based-standards] (PRId64): Likewise.
44599 [C99-based-standards] (PRIi64): Likewise.
44600 [C99-based-standards] (PRIo64): Likewise.
44601 [C99-based-standards] (PRIu64): Likewise.
44602 [C99-based-standards] (PRIx64): Likewise.
44603 [C99-based-standards] (PRIX64): Likewise.
44604 [C99-based-standards] (SCNd64): Likewise.
44605 [C99-based-standards] (SCNi64): Likewise.
44606 [C99-based-standards] (SCNo64): Likewise.
44607 [C99-based-standards] (SCNu64): Likewise.
44608 [C99-based-standards] (SCNx64): Likewise.
44609 [C99-based-standards] (PRIdLEAST64): Likewise.
44610 [C99-based-standards] (PRIiLEAST64): Likewise.
44611 [C99-based-standards] (PRIoLEAST64): Likewise.
44612 [C99-based-standards] (PRIuLEAST64): Likewise.
44613 [C99-based-standards] (PRIxLEAST64): Likewise.
44614 [C99-based-standards] (PRIXLEAST64): Likewise.
44615 [C99-based-standards] (SCNdLEAST64): Likewise.
44616 [C99-based-standards] (SCNiLEAST64): Likewise.
44617 [C99-based-standards] (SCNoLEAST64): Likewise.
44618 [C99-based-standards] (SCNuLEAST64): Likewise.
44619 [C99-based-standards] (SCNxLEAST64): Likewise.
44620 [C99-based-standards] (PRIdFAST64): Likewise.
44621 [C99-based-standards] (PRIiFAST64): Likewise.
44622 [C99-based-standards] (PRIoFAST64): Likewise.
44623 [C99-based-standards] (PRIuFAST64): Likewise.
44624 [C99-based-standards] (PRIxFAST64): Likewise.
44625 [C99-based-standards] (PRIXFAST64): Likewise.
44626 [C99-based-standards] (SCNdFAST64): Likewise.
44627 [C99-based-standards] (SCNiFAST64): Likewise.
44628 [C99-based-standards] (SCNoFAST64): Likewise.
44629 [C99-based-standards] (SCNuFAST64): Likewise.
44630 [C99-based-standards] (SCNxFAST64): Likewise.
44631 [C99-based-standards] (PRIdMAX): Likewise.
44632 [C99-based-standards] (PRIiMAX): Likewise.
44633 [C99-based-standards] (PRIoMAX): Likewise.
44634 [C99-based-standards] (PRIuMAX): Likewise.
44635 [C99-based-standards] (PRIxMAX): Likewise.
44636 [C99-based-standards] (PRIXMAX): Likewise.
44637 [C99-based-standards] (SCNdMAX): Likewise.
44638 [C99-based-standards] (SCNiMAX): Likewise.
44639 [C99-based-standards] (SCNoMAX): Likewise.
44640 [C99-based-standards] (SCNuMAX): Likewise.
44641 [C99-based-standards] (SCNxMAX): Likewise.
44642 [C99-based-standards] (PRIdPTR): Likewise.
44643 [C99-based-standards] (PRIiPTR): Likewise.
44644 [C99-based-standards] (PRIoPTR): Likewise.
44645 [C99-based-standards] (PRIuPTR): Likewise.
44646 [C99-based-standards] (PRIxPTR): Likewise.
44647 [C99-based-standards] (PRIXPTR): Likewise.
44648 [C99-based-standards] (SCNdPTR): Likewise.
44649 [C99-based-standards] (SCNiPTR): Likewise.
44650 [C99-based-standards] (SCNoPTR): Likewise.
44651 [C99-based-standards] (SCNuPTR): Likewise.
44652 [C99-based-standards] (SCNxPTR): Likewise.
44653 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44654 allow.
44655 * conform/data/stdint.h-data: Update comments to clarify
44656 requirements.
44657 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44658 type.
44659 [C99-based standards] (INT8_MAX): Likewise.
44660 [C99-based standards] (INT16_MIN): Likewise.
44661 [C99-based standards] (INT16_MAX): Likewise.
44662 [C99-based standards] (INT32_MIN): Likewise.
44663 [C99-based standards] (INT32_MAX): Likewise.
44664 [C99-based standards] (INT64_MIN): Likewise.
44665 [C99-based standards] (INT64_MAX): Likewise.
44666 [C99-based standards] (UINT8_MAX): Likewise.
44667 [C99-based standards] (UINT16_MAX): Likewise.
44668 [C99-based standards] (UINT32_MAX): Likewise.
44669 [C99-based standards] (UINT64_MAX): Likewise.
44670 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44671 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44672 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44673 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44674 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44675 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44676 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44677 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44678 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44679 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44680 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44681 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44682 [C99-based standards] (INT_FAST8_MIN): Likewise.
44683 [C99-based standards] (INT_FAST8_MAX): Likewise.
44684 [C99-based standards] (INT_FAST16_MIN): Likewise.
44685 [C99-based standards] (INT_FAST16_MAX): Likewise.
44686 [C99-based standards] (INT_FAST32_MIN): Likewise.
44687 [C99-based standards] (INT_FAST32_MAX): Likewise.
44688 [C99-based standards] (INT_FAST64_MIN): Likewise.
44689 [C99-based standards] (INT_FAST64_MAX): Likewise.
44690 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44691 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44692 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44693 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44694 [C99-based standards] (INTPTR_MIN): Likewise.
44695 [C99-based standards] (INTPTR_MAX): Likewise.
44696 [C99-based standards] (UINTPTR_MAX): Likewise.
44697 [C99-based standards] (INTMAX_MIN): Likewise.
44698 [C99-based standards] (INTMAX_MAX): Likewise.
44699 [C99-based standards] (UINTMAX_MAX): Likewise.
44700 [C99-based standards] (PTRDIFF_MIN): Likewise.
44701 [C99-based standards] (PTRDIFF_MAX): Likewise.
44702 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44703 [C99-based standards] (SIZE_MAX): Likewise.
44704 [C99-based standards] (WCHAR_MAX): Likewise.
44705 [C99-based standards] (WINT_MAX): Likewise.
44706 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44707 constraint on value.
44708 [C99-based standards] (WCHAR_MIN): Likewise.
44709 [C99-based standards] (WINT_MIN): Likewise.
44710 [C99-based standards] (*_t): Allow.
44711 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44712 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44713 Include math.h-data and complex.h-data. Remove all expectations
44714 of math.h and complex.h contents.
44715 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44716 at end of line.
44717 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44718 (struct tm): Expect tag.
44719 [C99-based-standards] (wcstof): Expect function.
44720 [C99-based-standards] (wcstold): Likewise.
44721 [C99-based-standards] (wcstoll): Likewise.
44722 [C99-based-standards] (wcstoull): Likewise.
44723 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44724 macro-int-constant. Specify type.
44725 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44726 constraint on value.
44727 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44728 Specify type.
44729 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44730 Specify value.
44731 [ISO C standards]: Do not allow headers.
44732 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44733 wcs[abcdefghijklmnopqrstuvwxyz]*.
44734 [ISO C standards] (*_t): Do not allow.
44735 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44736 Expect function.
44737 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44738 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44739 Specify type.
44740 [ISO C standards]: Do not allow headers.
44741 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44742 is[abcdefghijklmnopqrstuvwxyz]*.
44743 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44744 to[abcdefghijklmnopqrstuvwxyz]*.
44745 [ISO C standards] (*_t): Do not allow.
44746 * conform/data/stdalign.h-data: New file.
44747 * conform/data/stdbool.h-data: Likewise.
44748 * conform/data/stdnoreturn.h-data: Likewise.
44749
44750 2012-11-07 Roland McGrath <roland@hack.frob.com>
44751
44752 [BZ #14815]
44753 * manual/filesys.texi (Directory Entries): Typo fix.
44754 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44755
44756 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44757
44758 * elf/elf.h (EM_AARCH64): New macro.
44759 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44760 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44761 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44762 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44763 (R_AARCH64_TLSDESC): Likewise.
44764 (NT_ARM_TLS): Likewise.
44765 (NT_ARM_HW_BREAK): Likewise.
44766 (NT_ARM_HW_WATCH): Likewise.
44767
44768 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44769
44770 [BZ #14811]
44771 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44772 (__ieee754_powl): Saturate nonzero exponents with absolute value
44773 below 0x1p-79 to +/- 0x1p-79.
44774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44775 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44776 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44777 nonzero exponents with absolute value below 0x1p-32 to +/-
44778 0x1p-32.
44779 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44780 (__ieee754_powl): Saturate nonzero exponents with absolute value
44781 below 0x1p-79 to +/- 0x1p-79.
44782 * math/libm-test.inc (pow_test): Add more tests.
44783
44784 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44785
44786 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44787 _dl_s390_cap_flags with kernel. Increase string length.
44788 (_dl_s390_platforms): Add z196 and zEC12.
44789
44790 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44791
44792 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44793 Change XOPEN21K to XOPEN2K.
44794
44795 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44796
44797 * string/memmove.c: Use memcpy when possible.
44798
44799 2012-11-06 Andreas Jaeger <aj@suse.de>
44800
44801 * po/eo.po: Update from translation team.
44802
44803 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44804
44805 [BZ #14793]
44806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44807 exponent and small x and y exponents, scale x or y up. Increase
44808 by 2 the exponent used in scaling up.
44809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44811 * math/libm-test.inc (fma_test): Add more tests.
44812 (fma_test_towardzero): Likewise.
44813 (fma_test_downward): Likewise.
44814 (fma_test_upward): Likewise.
44815
44816 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44817
44818 [BZ #14805]
44819 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44820 fenv_t *.
44821
44822 [BZ #14801]
44823 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44824 namespace for names of struct fields.
44825 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44826 fenv_t fields.
44827 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44828 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44829
44830 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44831
44832 [BZ #3665]
44833 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44834
44835 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44836
44837 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44838 PTR_DEMANGLE.
44839
44840 [BZ #5246]
44841 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44842 PTR_DEMANGLE.
44843
44844 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44845
44846 [BZ #14797]
44847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44848 definitely overflow as x * y not x * y + z.
44849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44851 * math/libm-test.inc (fma_test): Add more tests.
44852 (fma_test_towardzero): Likewise.
44853 (fma_test_downward): Likewise.
44854 (fma_test_upward): Likewise.
44855
44856 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44857
44858 [BZ #157]
44859
44860 * include/stub-tag.h: Remove file.
44861 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44862 '#include' of it.
44863 * manual/maint.texi (Porting): Don't reference it.
44864 * Makerules ($(objpfx)stubs): Likewise.
44865 * dirent/closedir.c: Don't include <stub-tag.h>.
44866 * dirent/dirfd.c: Likewise.
44867 * dirent/fdopendir.c: Likewise.
44868 * dirent/getdents.c: Likewise.
44869 * dirent/getdents64.c: Likewise.
44870 * dirent/opendir.c: Likewise.
44871 * dirent/readdir.c: Likewise.
44872 * dirent/readdir64.c: Likewise.
44873 * dirent/readdir64_r.c: Likewise.
44874 * dirent/readdir_r.c: Likewise.
44875 * dirent/rewinddir.c: Likewise.
44876 * dirent/seekdir.c: Likewise.
44877 * dirent/telldir.c: Likewise.
44878 * gmon/profil.c: Likewise.
44879 * grp/setgroups.c: Likewise.
44880 * inet/if_index.c: Likewise.
44881 * io/access.c: Likewise.
44882 * io/chdir.c: Likewise.
44883 * io/chmod.c: Likewise.
44884 * io/chown.c: Likewise.
44885 * io/close.c: Likewise.
44886 * io/dup.c: Likewise.
44887 * io/dup2.c: Likewise.
44888 * io/dup3.c: Likewise.
44889 * io/euidaccess.c: Likewise.
44890 * io/faccessat.c: Likewise.
44891 * io/fchdir.c: Likewise.
44892 * io/fchmod.c: Likewise.
44893 * io/fchmodat.c: Likewise.
44894 * io/fchown.c: Likewise.
44895 * io/fchownat.c: Likewise.
44896 * io/fcntl.c: Likewise.
44897 * io/flock.c: Likewise.
44898 * io/fstatfs.c: Likewise.
44899 * io/fstatfs64.c: Likewise.
44900 * io/fstatvfs.c: Likewise.
44901 * io/fstatvfs64.c: Likewise.
44902 * io/futimens.c: Likewise.
44903 * io/fxstat.c: Likewise.
44904 * io/fxstat64.c: Likewise.
44905 * io/fxstatat.c: Likewise.
44906 * io/fxstatat64.c: Likewise.
44907 * io/getcwd.c: Likewise.
44908 * io/isatty.c: Likewise.
44909 * io/lchmod.c: Likewise.
44910 * io/lchown.c: Likewise.
44911 * io/link.c: Likewise.
44912 * io/linkat.c: Likewise.
44913 * io/lseek.c: Likewise.
44914 * io/lseek64.c: Likewise.
44915 * io/lxstat64.c: Likewise.
44916 * io/mkdir.c: Likewise.
44917 * io/mkdirat.c: Likewise.
44918 * io/mkfifo.c: Likewise.
44919 * io/mkfifoat.c: Likewise.
44920 * io/open.c: Likewise.
44921 * io/open64.c: Likewise.
44922 * io/openat.c: Likewise.
44923 * io/openat64.c: Likewise.
44924 * io/pipe.c: Likewise.
44925 * io/pipe2.c: Likewise.
44926 * io/poll.c: Likewise.
44927 * io/posix_fadvise.c: Likewise.
44928 * io/posix_fadvise64.c: Likewise.
44929 * io/posix_fallocate.c: Likewise.
44930 * io/posix_fallocate64.c: Likewise.
44931 * io/read.c: Likewise.
44932 * io/readlink.c: Likewise.
44933 * io/readlinkat.c: Likewise.
44934 * io/rmdir.c: Likewise.
44935 * io/sendfile.c: Likewise.
44936 * io/sendfile64.c: Likewise.
44937 * io/statfs.c: Likewise.
44938 * io/statfs64.c: Likewise.
44939 * io/statvfs.c: Likewise.
44940 * io/statvfs64.c: Likewise.
44941 * io/symlink.c: Likewise.
44942 * io/symlinkat.c: Likewise.
44943 * io/ttyname.c: Likewise.
44944 * io/ttyname_r.c: Likewise.
44945 * io/umask.c: Likewise.
44946 * io/unlink.c: Likewise.
44947 * io/unlinkat.c: Likewise.
44948 * io/utime.c: Likewise.
44949 * io/utimensat.c: Likewise.
44950 * io/write.c: Likewise.
44951 * io/xmknod.c: Likewise.
44952 * io/xmknodat.c: Likewise.
44953 * io/xstat.c: Likewise.
44954 * io/xstat64.c: Likewise.
44955 * login/getpt.c: Likewise.
44956 * login/grantpt.c: Likewise.
44957 * login/unlockpt.c: Likewise.
44958 * math/e_acoshl.c: Likewise.
44959 * math/e_acosl.c: Likewise.
44960 * math/e_asinl.c: Likewise.
44961 * math/e_atan2l.c: Likewise.
44962 * math/e_atanhl.c: Likewise.
44963 * math/e_coshl.c: Likewise.
44964 * math/e_expl.c: Likewise.
44965 * math/e_fmodl.c: Likewise.
44966 * math/e_gammal_r.c: Likewise.
44967 * math/e_hypotl.c: Likewise.
44968 * math/e_j0l.c: Likewise.
44969 * math/e_j1l.c: Likewise.
44970 * math/e_jnl.c: Likewise.
44971 * math/e_lgammal_r.c: Likewise.
44972 * math/e_log10l.c: Likewise.
44973 * math/e_log2l.c: Likewise.
44974 * math/e_logl.c: Likewise.
44975 * math/e_powl.c: Likewise.
44976 * math/e_rem_pio2l.c: Likewise.
44977 * math/e_sinhl.c: Likewise.
44978 * math/e_sqrtl.c: Likewise.
44979 * math/fclrexcpt.c: Likewise.
44980 * math/fedisblxcpt.c: Likewise.
44981 * math/feenablxcpt.c: Likewise.
44982 * math/fegetenv.c: Likewise.
44983 * math/fegetexcept.c: Likewise.
44984 * math/fegetround.c: Likewise.
44985 * math/feholdexcpt.c: Likewise.
44986 * math/fesetenv.c: Likewise.
44987 * math/fesetround.c: Likewise.
44988 * math/feupdateenv.c: Likewise.
44989 * math/fgetexcptflg.c: Likewise.
44990 * math/fraiseexcpt.c: Likewise.
44991 * math/fsetexcptflg.c: Likewise.
44992 * math/ftestexcept.c: Likewise.
44993 * math/k_cosl.c: Likewise.
44994 * math/k_rem_pio2l.c: Likewise.
44995 * math/k_sinl.c: Likewise.
44996 * math/k_tanl.c: Likewise.
44997 * math/s_asinhl.c: Likewise.
44998 * math/s_atanl.c: Likewise.
44999 * math/s_cbrtl.c: Likewise.
45000 * math/s_erfl.c: Likewise.
45001 * math/s_expm1l.c: Likewise.
45002 * math/s_log1pl.c: Likewise.
45003 * math/s_tanhl.c: Likewise.
45004 * misc/acct.c: Likewise.
45005 * misc/brk.c: Likewise.
45006 * misc/chflags.c: Likewise.
45007 * misc/chroot.c: Likewise.
45008 * misc/fchflags.c: Likewise.
45009 * misc/fgetxattr.c: Likewise.
45010 * misc/flistxattr.c: Likewise.
45011 * misc/fremovexattr.c: Likewise.
45012 * misc/fsetxattr.c: Likewise.
45013 * misc/fsync.c: Likewise.
45014 * misc/ftruncate.c: Likewise.
45015 * misc/futimes.c: Likewise.
45016 * misc/futimesat.c: Likewise.
45017 * misc/getdomain.c: Likewise.
45018 * misc/getdtsz.c: Likewise.
45019 * misc/gethostid.c: Likewise.
45020 * misc/gethostname.c: Likewise.
45021 * misc/getloadavg.c: Likewise.
45022 * misc/getpagesize.c: Likewise.
45023 * misc/getsysstats.c: Likewise.
45024 * misc/getxattr.c: Likewise.
45025 * misc/gtty.c: Likewise.
45026 * misc/ioctl.c: Likewise.
45027 * misc/lgetxattr.c: Likewise.
45028 * misc/listxattr.c: Likewise.
45029 * misc/llistxattr.c: Likewise.
45030 * misc/lremovexattr.c: Likewise.
45031 * misc/lsetxattr.c: Likewise.
45032 * misc/lutimes.c: Likewise.
45033 * misc/madvise.c: Likewise.
45034 * misc/mincore.c: Likewise.
45035 * misc/mlock.c: Likewise.
45036 * misc/mlockall.c: Likewise.
45037 * misc/mmap.c: Likewise.
45038 * misc/mprotect.c: Likewise.
45039 * misc/msync.c: Likewise.
45040 * misc/munlock.c: Likewise.
45041 * misc/munlockall.c: Likewise.
45042 * misc/munmap.c: Likewise.
45043 * misc/preadv.c: Likewise.
45044 * misc/preadv64.c: Likewise.
45045 * misc/ptrace.c: Likewise.
45046 * misc/pwritev.c: Likewise.
45047 * misc/pwritev64.c: Likewise.
45048 * misc/readv.c: Likewise.
45049 * misc/reboot.c: Likewise.
45050 * misc/remap_file_pages.c: Likewise.
45051 * misc/removexattr.c: Likewise.
45052 * misc/revoke.c: Likewise.
45053 * misc/select.c: Likewise.
45054 * misc/setdomain.c: Likewise.
45055 * misc/setegid.c: Likewise.
45056 * misc/seteuid.c: Likewise.
45057 * misc/sethostid.c: Likewise.
45058 * misc/sethostname.c: Likewise.
45059 * misc/setregid.c: Likewise.
45060 * misc/setreuid.c: Likewise.
45061 * misc/setxattr.c: Likewise.
45062 * misc/sstk.c: Likewise.
45063 * misc/stty.c: Likewise.
45064 * misc/swapoff.c: Likewise.
45065 * misc/swapon.c: Likewise.
45066 * misc/sync.c: Likewise.
45067 * misc/syncfs.c: Likewise.
45068 * misc/syscall.c: Likewise.
45069 * misc/truncate.c: Likewise.
45070 * misc/ualarm.c: Likewise.
45071 * misc/usleep.c: Likewise.
45072 * misc/ustat.c: Likewise.
45073 * misc/utimes.c: Likewise.
45074 * misc/vhangup.c: Likewise.
45075 * misc/writev.c: Likewise.
45076 * posix/_exit.c: Likewise.
45077 * posix/alarm.c: Likewise.
45078 * posix/execve.c: Likewise.
45079 * posix/fexecve.c: Likewise.
45080 * posix/fork.c: Likewise.
45081 * posix/fpathconf.c: Likewise.
45082 * posix/getaddrinfo.c: Likewise.
45083 * posix/getegid.c: Likewise.
45084 * posix/geteuid.c: Likewise.
45085 * posix/getgid.c: Likewise.
45086 * posix/getgroups.c: Likewise.
45087 * posix/getlogin.c: Likewise.
45088 * posix/getlogin_r.c: Likewise.
45089 * posix/getpgid.c: Likewise.
45090 * posix/getpid.c: Likewise.
45091 * posix/getppid.c: Likewise.
45092 * posix/getresgid.c: Likewise.
45093 * posix/getresuid.c: Likewise.
45094 * posix/getsid.c: Likewise.
45095 * posix/getuid.c: Likewise.
45096 * posix/glob64.c: Likewise.
45097 * posix/nanosleep.c: Likewise.
45098 * posix/pathconf.c: Likewise.
45099 * posix/pause.c: Likewise.
45100 * posix/posix_madvise.c: Likewise.
45101 * posix/pread.c: Likewise.
45102 * posix/pread64.c: Likewise.
45103 * posix/pwrite.c: Likewise.
45104 * posix/pwrite64.c: Likewise.
45105 * posix/sched_getaffinity.c: Likewise.
45106 * posix/sched_getp.c: Likewise.
45107 * posix/sched_gets.c: Likewise.
45108 * posix/sched_primax.c: Likewise.
45109 * posix/sched_primin.c: Likewise.
45110 * posix/sched_rr_gi.c: Likewise.
45111 * posix/sched_setaffinity.c: Likewise.
45112 * posix/sched_setp.c: Likewise.
45113 * posix/sched_sets.c: Likewise.
45114 * posix/sched_yield.c: Likewise.
45115 * posix/setgid.c: Likewise.
45116 * posix/setlogin.c: Likewise.
45117 * posix/setpgid.c: Likewise.
45118 * posix/setresgid.c: Likewise.
45119 * posix/setresuid.c: Likewise.
45120 * posix/setsid.c: Likewise.
45121 * posix/setuid.c: Likewise.
45122 * posix/sleep.c: Likewise.
45123 * posix/spawni.c: Likewise.
45124 * posix/sysconf.c: Likewise.
45125 * posix/times.c: Likewise.
45126 * posix/wait.c: Likewise.
45127 * posix/wait3.c: Likewise.
45128 * posix/wait4.c: Likewise.
45129 * posix/waitpid.c: Likewise.
45130 * resolv/gai_sigqueue.c: Likewise.
45131 * resource/getpriority.c: Likewise.
45132 * resource/getrlimit.c: Likewise.
45133 * resource/getrusage.c: Likewise.
45134 * resource/nice.c: Likewise.
45135 * resource/setpriority.c: Likewise.
45136 * resource/setrlimit.c: Likewise.
45137 * resource/ulimit.c: Likewise.
45138 * rt/aio_cancel.c: Likewise.
45139 * rt/aio_fsync.c: Likewise.
45140 * rt/aio_read.c: Likewise.
45141 * rt/aio_sigqueue.c: Likewise.
45142 * rt/aio_suspend.c: Likewise.
45143 * rt/aio_write.c: Likewise.
45144 * rt/clock_getres.c: Likewise.
45145 * rt/clock_gettime.c: Likewise.
45146 * rt/clock_nanosleep.c: Likewise.
45147 * rt/clock_settime.c: Likewise.
45148 * rt/lio_listio.c: Likewise.
45149 * rt/mq_close.c: Likewise.
45150 * rt/mq_getattr.c: Likewise.
45151 * rt/mq_notify.c: Likewise.
45152 * rt/mq_open.c: Likewise.
45153 * rt/mq_receive.c: Likewise.
45154 * rt/mq_send.c: Likewise.
45155 * rt/mq_setattr.c: Likewise.
45156 * rt/mq_timedreceive.c: Likewise.
45157 * rt/mq_timedsend.c: Likewise.
45158 * rt/mq_unlink.c: Likewise.
45159 * rt/shm_open.c: Likewise.
45160 * rt/shm_unlink.c: Likewise.
45161 * rt/timer_create.c: Likewise.
45162 * rt/timer_delete.c: Likewise.
45163 * rt/timer_getoverr.c: Likewise.
45164 * rt/timer_gettime.c: Likewise.
45165 * rt/timer_settime.c: Likewise.
45166 * setjmp/__longjmp.c: Likewise.
45167 * setjmp/setjmp.c: Likewise.
45168 * signal/kill.c: Likewise.
45169 * signal/killpg.c: Likewise.
45170 * signal/raise.c: Likewise.
45171 * signal/sigaction.c: Likewise.
45172 * signal/sigaltstack.c: Likewise.
45173 * signal/sigblock.c: Likewise.
45174 * signal/sigignore.c: Likewise.
45175 * signal/sigintr.c: Likewise.
45176 * signal/signal.c: Likewise.
45177 * signal/sigpause.c: Likewise.
45178 * signal/sigpending.c: Likewise.
45179 * signal/sigqueue.c: Likewise.
45180 * signal/sigreturn.c: Likewise.
45181 * signal/sigset.c: Likewise.
45182 * signal/sigsetmask.c: Likewise.
45183 * signal/sigstack.c: Likewise.
45184 * signal/sigsuspend.c: Likewise.
45185 * signal/sigtimedwait.c: Likewise.
45186 * signal/sigvec.c: Likewise.
45187 * signal/sigwait.c: Likewise.
45188 * signal/sigwaitinfo.c: Likewise.
45189 * signal/sysv_signal.c: Likewise.
45190 * socket/accept.c: Likewise.
45191 * socket/accept4.c: Likewise.
45192 * socket/bind.c: Likewise.
45193 * socket/connect.c: Likewise.
45194 * socket/getpeername.c: Likewise.
45195 * socket/getsockname.c: Likewise.
45196 * socket/getsockopt.c: Likewise.
45197 * socket/isfdtype.c: Likewise.
45198 * socket/listen.c: Likewise.
45199 * socket/recv.c: Likewise.
45200 * socket/recvfrom.c: Likewise.
45201 * socket/recvmsg.c: Likewise.
45202 * socket/send.c: Likewise.
45203 * socket/sendmsg.c: Likewise.
45204 * socket/sendto.c: Likewise.
45205 * socket/setsockopt.c: Likewise.
45206 * socket/shutdown.c: Likewise.
45207 * socket/sockatmark.c: Likewise.
45208 * socket/socket.c: Likewise.
45209 * socket/socketpair.c: Likewise.
45210 * stdio-common/ctermid.c: Likewise.
45211 * stdio-common/cuserid.c: Likewise.
45212 * stdio-common/remove.c: Likewise.
45213 * stdio-common/rename.c: Likewise.
45214 * stdio-common/renameat.c: Likewise.
45215 * stdio-common/tempname.c: Likewise.
45216 * stdlib/getcontext.c: Likewise.
45217 * stdlib/makecontext.c: Likewise.
45218 * stdlib/setcontext.c: Likewise.
45219 * stdlib/swapcontext.c: Likewise.
45220 * stdlib/system.c: Likewise.
45221 * streams/fattach.c: Likewise.
45222 * streams/fdetach.c: Likewise.
45223 * streams/getmsg.c: Likewise.
45224 * streams/getpmsg.c: Likewise.
45225 * streams/putmsg.c: Likewise.
45226 * streams/putpmsg.c: Likewise.
45227 * sysdeps/unix/bsd/getpt.c: Likewise.
45228 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45229 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45230 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45232 Likewise.
45233 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45234 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45235 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45236 * sysvipc/msgctl.c: Likewise.
45237 * sysvipc/msgget.c: Likewise.
45238 * sysvipc/msgrcv.c: Likewise.
45239 * sysvipc/msgsnd.c: Likewise.
45240 * sysvipc/semctl.c: Likewise.
45241 * sysvipc/semget.c: Likewise.
45242 * sysvipc/semop.c: Likewise.
45243 * sysvipc/semtimedop.c: Likewise.
45244 * sysvipc/shmat.c: Likewise.
45245 * sysvipc/shmctl.c: Likewise.
45246 * sysvipc/shmdt.c: Likewise.
45247 * sysvipc/shmget.c: Likewise.
45248 * termios/tcdrain.c: Likewise.
45249 * termios/tcflow.c: Likewise.
45250 * termios/tcflush.c: Likewise.
45251 * termios/tcgetattr.c: Likewise.
45252 * termios/tcgetpgrp.c: Likewise.
45253 * termios/tcsendbrk.c: Likewise.
45254 * termios/tcsetattr.c: Likewise.
45255 * termios/tcsetpgrp.c: Likewise.
45256 * time/adjtime.c: Likewise.
45257 * time/clock.c: Likewise.
45258 * time/getitimer.c: Likewise.
45259 * time/gettimeofday.c: Likewise.
45260 * time/setitimer.c: Likewise.
45261 * time/settimeofday.c: Likewise.
45262 * time/stime.c: Likewise.
45263 * time/time.c: Likewise.
45264
45265 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45266
45267 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45268 /usr/old/bin.
45269
45270 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45271 instead of spaces.
45272 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45273
45274 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45275
45276 [BZ #14796]
45277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45278 FE_TONEAREST before applying Dekker multiplication and Knuth
45279 addition. Clear inexact exceptions and check for exact zero
45280 results afterwards.
45281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45282 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45284 * math/libm-test.inc (fma_test): Add more tests.
45285 (fma_test_towardzero): Likewise.
45286 (fma_test_downward): Likewise.
45287 (fma_test_upward): Likewise.
45288 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45289 function.
45290 (libc_fesetround): New macro.
45291 (libc_fesetroundf): Likewise.
45292 (libc_fesetroundl): Likewise.
45293 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45294 function.
45295 (libc_fesetround_387): Likewise.
45296 (libc_fesetroundf): New macro.
45297 (libc_fesetround): Likewise.
45298 (libc_fesetroundl): Likewise.
45299 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45300 function.
45301 (libc_fesetroundf): New macro.
45302 (libc_fesetround): Likewise.
45303 (libc_fesetroundl): Likewise.
45304 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45305 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45306 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45307 libm_hidden_ver.
45308 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45309 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45310 libm_hidden_def.
45311 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45312 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45313 libm_hidden_ver.
45314 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45315 libm_hidden_def.
45316
45317 [BZ #3439]
45318 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45319 integer constant usable in #if and use that to give value to enum
45320 constant.
45321 (FE_DIVBYZERO): Likewise.
45322 (FE_UNDERFLOW): Likewise.
45323 (FE_OVERFLOW): Likewise.
45324 (FE_INVALID): Likewise.
45325 (FE_INVALID_SNAN): Likewise.
45326 (FE_INVALID_ISI): Likewise.
45327 (FE_INVALID_IDI): Likewise.
45328 (FE_INVALID_ZDZ): Likewise.
45329 (FE_INVALID_IMZ): Likewise.
45330 (FE_INVALID_COMPARE): Likewise.
45331 (FE_INVALID_SOFTWARE): Likewise.
45332 (FE_INVALID_SQRT): Likewise.
45333 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45334 (FE_TONEAREST): Likewise.
45335 (FE_TOWARDZERO): Likewise.
45336 (FE_UPWARD): Likewise.
45337 (FE_DOWNWARD): Likewise.
45338 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45339 (FE_DIVBYZERO): Likewise.
45340 (FE_OVERFLOW): Likewise.
45341 (FE_UNDERFLOW): Likewise.
45342 (FE_INEXACT): Likewise.
45343 (FE_TONEAREST): Likewise.
45344 (FE_DOWNWARD): Likewise.
45345 (FE_UPWARD): Likewise.
45346 (FE_TOWARDZERO): Likewise.
45347 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45348 (FE_UNDERFLOW): Likewise.
45349 (FE_OVERFLOW): Likewise.
45350 (FE_DIVBYZERO): Likewise.
45351 (FE_INVALID): Likewise.
45352 (FE_TONEAREST): Likewise.
45353 (FE_TOWARDZERO): Likewise.
45354 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45355 (FE_OVERFLOW): Likewise.
45356 (FE_UNDERFLOW): Likewise.
45357 (FE_DIVBYZERO): Likewise.
45358 (FE_INEXACT): Likewise.
45359 (FE_TONEAREST): Likewise.
45360 (FE_TOWARDZERO): Likewise.
45361 (FE_UPWARD): Likewise.
45362 (FE_DOWNWARD): Likewise.
45363 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45364 (FE_DIVBYZERO): Likewise.
45365 (FE_OVERFLOW): Likewise.
45366 (FE_UNDERFLOW): Likewise.
45367 (FE_INEXACT): Likewise.
45368 (FE_TONEAREST): Likewise.
45369 (FE_DOWNWARD): Likewise.
45370 (FE_UPWARD): Likewise.
45371 (FE_TOWARDZERO): Likewise.
45372
45373 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45374
45375 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45376
45377 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45378
45379 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45380 commands. Quote $PWD.
45381 (blacklist_exports): Don't use remove_newlines. Replace "declare
45382 -x" by "export".
45383 (remove_newlines): Remove.
45384
45385 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45386
45387 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45388 * stdlib/stdlib.h (atof): Moved to ...
45389 * include/bits/stdlib-float.h: Here. New file.
45390 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45391 * stdlib/bits/stdlib-float.h: New file.
45392 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45393 -mno-sse -mno-mmx.
45394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45395 <xmmintrin.h>.
45396
45397 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45398
45399 * conform/conformtest.pl (@headers): Add fenv.h.
45400 * conform/data/fenv.h-data: New file.
45401 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45402 include of <math/fenv.h>.
45403
45404 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45405 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45406 && !UNIX98]. Enables tests for XOPEN2K8.
45407 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45408 POSIX2008]: Likewise.
45409
45410 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45411 (struct rusage): Do not expect type or its members.
45412
45413 [BZ #3439]
45414 * math/math.h (FP_NAN): Define macro to integer constant usable in
45415 #if and use that to give value to enum constant.
45416 (FP_INFINITE): Likewise.
45417 (FP_ZERO): Likewise.
45418 (FP_SUBNORMAL): Likewise.
45419 (FP_NORMAL): Likewise.
45420
45421 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45422
45423 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45424 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45425 arguments.
45426
45427 2012-11-02 Roland McGrath <roland@hack.frob.com>
45428
45429 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45430 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45431 autoconf-time if not.
45432 * configure.in: Remove AC_PREREQ.
45433
45434 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45435
45436 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45437 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45438 of the internal implementation.
45439
45440 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45441
45442 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45443 except include of <misc/sys/syslog.h>.
45444
45445 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45446
45447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45448 function returns with a NULL context exit with zero.
45449
45450 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45451
45452 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45453
45454 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45455
45456 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45457 (run_program_cmd): This.
45458 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45459 (tst_langinfo): New variable. Use it.
45460
45461 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45462
45463 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45464 floating point opcodes.
45465
45466 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45467
45468 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45469 variable.
45470
45471 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45472
45473 * sysdeps/mach/hurd/powerpc: Remove directory.
45474 * sysdeps/mach/powerpc: Likewise.
45475
45476 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45477
45478 * scripts/check-local-headers.sh: Ignore c++ headers.
45479
45480 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45481
45482 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45483 __libc_cleanup_region_start argument.
45484
45485 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45486
45487 [BZ #14784]
45488 [BZ #14785]
45489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45490 x * y using scaling, not as x * y + z.
45491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45493 * math/libm-test.inc (fma_test): Add more tests.
45494 (fma_test_towardzero): Likewise.
45495 (fma_test_downward): Likewise.
45496 (fma_test_upward): Likewise.
45497
45498 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45499
45500 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45501
45502 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45503
45504 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45505 New variable.
45506
45507 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45508
45509 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45510
45511 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45512
45513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45514 Fix sort order.
45515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45516 Likewise.
45517
45518 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45519
45520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45521 Fix the order of the list for glibc 2.17.
45522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45523 Likewise.
45524
45525 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45526
45527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45528
45529 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45530
45531 [BZ #14610]
45532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45533 for low part of x being zero before using __atanl (y).
45534 * math/libm-test.inc (atan2_test): Add another test.
45535
45536 * manual/install.texi (Configuring and compiling): Document
45537 general use of test-wrapper and test-wrapper-env.
45538 * INSTALL: Regenerated.
45539
45540 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45541 (__fma): Do not extract and scale down low bits on after-rounding
45542 systems when result rounded to normal precision would have normal
45543 exponent.
45544 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45545 (__fmal): Do not extract and scale down low bits on after-rounding
45546 systems when result rounded to normal precision would have normal
45547 exponent.
45548 * sysdeps/ieee754/ldbl-96/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
45551 exponent.
45552 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45553 macro.
45554 (fma_test): Add more tests.
45555 (fma_test_towardzero): Likewise.
45556 (fma_test_downward): Likewise.
45557 (fma_test_upward): Likewise.
45558
45559 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45560
45561 * sysdeps/i386/tininess.h: Renamed to ...
45562 * sysdeps/x86/tininess.h: This.
45563 * sysdeps/x86_64/tininess.h: Removed.
45564
45565 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45566
45567 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45568 input. Use $(build-program-cmd).
45569 ($(objpfx)tst-array1-static.out): Likewise.
45570 ($(objpfx)tst-array2.out): Likewise.
45571 ($(objpfx)tst-array3.out): Likewise.
45572 ($(objpfx)tst-array4.out): Likewise.
45573 ($(objpfx)tst-array5.out): Likewise.
45574 ($(objpfx)tst-array5-static.out): Likewise.
45575
45576 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45577
45578 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45579 if defined.
45580
45581 * nss/nsswitch.h (nss_interface_function): Provide new
45582 macro for use with NSS functions.
45583 * grp/initgroups.c: Use new macro.
45584 * nss/getXXbyYY.c: Likewise.
45585 * nss/getXXbyYY_r.c: Likewise.
45586 * nss/getXXent.c: Likewise.
45587 * nss/getXXent_r.c: Likewise.
45588 * sysdeps/posix/getaddrinfo.c: Likewise.
45589
45590 2012-10-30 Andreas Jaeger <aj@suse.de>
45591
45592 * po/ru.po: Update Russion translation from translation project.
45593
45594 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45595
45596 [BZ #14152]
45597 [BZ #14783]
45598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45599 result and shift together with sticky bit instead of replicating
45600 round-to-nearest rounding.
45601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45603 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45604 missing underflow exceptions.
45605 (fma_test_towardzero): Add more tests.
45606 (fma_test_downward): Likewise.
45607 (fma_test_upward): Likewise.
45608
45609 [BZ #14047]
45610 * sysdeps/generic/tininess.h: New file.
45611 * sysdeps/i386/tininess.h: Likewise.
45612 * sysdeps/sh/tininess.h: Likewise.
45613 * sysdeps/x86_64/tininess.h: Likewise.
45614 * stdlib/tst-strtod-underflow.c: Likewise.
45615 * stdlib/tst-tininess.c: Likewise.
45616 * stdlib/strtod_l.c: Include <tininess.h>.
45617 (round_and_return): Do not set errno for exact underflow cases.
45618 Force an underflow exception when setting errno for underflow.
45619 Determine underflow based on rounding to normal precision if
45620 TININESS_AFTER_ROUNDING.
45621 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45622 ERANGE for exact underflow cases.
45623 * stdlib/Makefile (tests): Add tst-tininess and
45624 tst-strtod-underflow.
45625 ($(objpfx)tst-tininess): Use $(link-libm).
45626 ($(objpfx)tst-strtod-underflow): Likewise.
45627
45628 2012-10-30 Andreas Jaeger <aj@suse.de>
45629
45630 [BZ#14767]
45631 * elf/Makefile (tests): Remove conditional for have-initfini-array
45632 since this is now always required and the variable does not exist
45633 anymore.
45634 (tests-static): Likewise.
45635 (modules-names): Likewise.
45636
45637 * po/eo.po: Add Esperanto translation from translation project.
45638
45639 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45640 merged with constructor/destructor.
45641 (init_array): Likewise.
45642 * elf/tst-array2dep.c (fini_array): Likewise.
45643 (init_array): Likewise.
45644
45645 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45646
45647 * manual/message.texi: Delete @cartouche tags.
45648
45649 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45650
45651 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45652 EOPNOTSUPP.
45653 * sysdeps/mach/hurd/fsync.c: Likewise.
45654
45655 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45656 [_POSIX_REALTIME_SIGNALS]: Change condition to
45657 [_POSIX_REALTIME_SIGNALS > 0].
45658
45659 2012-10-27 Andreas Jaeger <aj@suse.de>
45660
45661 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45662 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45664 [__WORDSIZE != 64]: Likewise.
45665
45666 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45667
45668 * iconvdata/tst-table.sh: Remove ${SHELL}.
45669 * iconvdata/tst-tables.sh: Likewise.
45670
45671 2012-10-25 David S. Miller <davem@davemloft.net>
45672
45673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45674 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45675 of strtoull.
45676
45677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45678 ifunc-impl-list.c
45679 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45680 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45681 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45682 file.
45683
45684 2012-10-25 Roland McGrath <roland@hack.frob.com>
45685
45686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45687 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45688 __getdirentries.
45689
45690 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45691 Jim Blandy <jimb@codesourcery.com>
45692
45693 * scripts/cross-test-ssh.sh: New file.
45694 * manual/install.texi (Configuring and compiling): Document use of
45695 cross-test-ssh.sh.
45696 * INSTALL: Regenerated.
45697
45698 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45699
45700 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45701 EOPNOTSUPP.
45702
45703 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45704
45705 * Makeconfig (run-program-prefix): Fix comment.
45706
45707 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45708 Jim Blandy <jimb@codesourcery.com>
45709
45710 * Makeconfig (test-wrapper): New variable,
45711 (test-wrapper-env): Likewise.
45712 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45713 (run-built-tests): Define to yes.
45714 (run-program-prefix): Use $(test-wrapper).
45715 (built-program-cmd): Likewise.
45716 * Rules (make-test-out): Use $(test-wrapper-env) and
45717 $(host-built-program-cmd).
45718 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45719 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45720 tst-pathopt.sh.
45721 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45722 $(test-wrapper-env) to tst-rtld-load-self.sh.
45723 ($(objpfx)order2.out): Use $(test-wrapper).
45724 ($(objpfx)tst-initorder.out): Likewise.
45725 ($(objpfx)tst-initorder2.out): Likewise.
45726 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45727 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45728 (test_wrapper_env): New variable. Use it to run ld.so.
45729 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45730 Use it to run ld.so.
45731 (test_wrapper_env): Likewise.
45732 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45733 $(test-wrapper) to run-iconv-test.sh.
45734 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45735 (ICONV): Use $test_wrapper.
45736 * posix/Makefile ($(objpfx)globtest.out): Pass
45737 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45738 globtest.sh, not $(run-program-prefix).
45739 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45740 (test_wrapper): Likewise.
45741 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45742 set together with run_via_rtld_prefix.
45743 (run_program_prefix): Define in terms of test_wrapper and
45744 run_via_rtld_prefix.
45745
45746 2012-10-24 Roland McGrath <roland@hack.frob.com>
45747
45748 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45749 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45750 Targets removed.
45751
45752 [BZ #14743]
45753 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45754 Declare __clock_getres, __clock_gettime, __clock_settime,
45755 __clock_nanosleep, and __clock_getcpuclockid.
45756 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45757 Remove librt_hidden_def (clock_gettime).
45758 * sysdeps/unix/clock_gettime.c: Likewise.
45759 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45761 * rt/clock_getres.c: Define __clock_getres as an alias.
45762 * sysdeps/posix/clock_getres.c: Likewise.
45763 * rt/clock_settime.c: Define __clock_settime as an alias.
45764 * sysdeps/unix/clock_settime.c: Likewise.
45765 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45766 * sysdeps/unix/clock_nanosleep.c: Likewise.
45767 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45768 * rt/clock-compat.c: New file.
45769 * rt/Makefile (librt-routines): Add clock-compat and move
45770 $(clock-routines) to ...
45771 (routines): ... here, new variable.
45772 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45773 Don't add get_clockfreq here.
45774 * rt/Versions (libc: GLIBC_2.17): New version set.
45775 Add clock_* symbols here.
45776 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45778 (GLIBC_2.17): Add clock_* symbols.
45779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45783 Likewise.
45784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45785 Likewise.
45786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45790 * NEWS: Mention the move.
45791
45792 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45793 Use __open, __read, __close rather than their public counterparts.
45794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45795 (__get_clockfreq_via_cpuinfo): Likewise.
45796 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45797 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45798
45799 * config.h.in (HAVE_IFUNC): New #undef.
45800 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45801 was successful.
45802 * configure: Regenerated.
45803
45804 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45805
45806 * configure.in: Move READELF check to start of file.
45807 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45808 libc_cv_asm_gnu_indirect_function in the process.
45809 * configure: Regenerated.
45810
45811 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45812
45813 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45814 send the output to /dev/null.
45815 (libc_cv_cc_with_libunwind): Likewise.
45816 (libc_cv_as_noexecstack): Likewise.
45817 * configure: Regenerate.
45818
45819 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45820
45821 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45822
45823 * posix/globtest.sh (TMPDIR): Do not set.
45824 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45825 (testout): Likewise.
45826
45827 2012-10-24 Andreas Jaeger <aj@suse.de>
45828
45829 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45830 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45831 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45832 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45833 posix_fadvise64, posix_fallocate64.
45834
45835 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45836 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45837 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45838 Likewise.
45839 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45840 Likewise.
45841 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45842
45843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45844 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45845 <bits/fcntl-linux.h>.
45846 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45847
45848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45849 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45850 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45851 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45852 [__WORDSIZE != 64]: Likewise.
45853
45854 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45855
45856 * Makeconfig (run-built-tests): New variable.
45857 * Rules [$(cross-compiling) = yes]: Change condition to
45858 [$(run-built-tests) = no].
45859 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45860 to [$(run-built-tests) = yes].
45861 * elf/Makefile [$(cross-compiling) = no]: Likewise
45862 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45863 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45864 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45865 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45866 * io/Makefile [$(cross-compiling) = no]: Likewise.
45867 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45868 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45869 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45870 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45871 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45872 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45873 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45874 * string/Makefile [$(cross-compiling) = no]: Likewise.
45875
45876 * posix/Makefile ($(objpfx)globtest.out): Pass
45877 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45878 $(rtld-installed-name).
45879 * posix/globtest.sh (elf_objpfx): Remove variable.
45880 (rtld_installed_name): Likewise.
45881 (library_path): Likewise.
45882 (run_program_prefix): New variable. Use for running globtest
45883 binary.
45884
45885 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45886 Joseph Myers <joseph@codesourcery.com>
45887
45888 * Makeconfig (host-built-program-cmd): New variable.
45889 * elf/Makefile (tst-stackguard1-ARGS): Use
45890 $(host-built-program-cmd).
45891 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45892 (tst-spawn-ARGS): Likewise.
45893 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45894
45895 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45896 Jim Blandy <jimb@codesourcery.com>
45897
45898 * Makeconfig (run-via-rtld-prefix): New variable.
45899 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45900 (built-program-cmd): Likewise.
45901
45902 2012-10-22 Andreas Jaeger <aj@suse.de>
45903
45904 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45905 __O_RSYNC if it exists, otherwise to O_SYNC.
45906
45907 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45908 Joseph Myers <joseph@codesourcery.com>
45909
45910 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45911 /dev/null.
45912 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45913 from /dev/null
45914 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45915 /dev/null.
45916
45917 2012-10-22 Andreas Jaeger <aj@suse.de>
45918
45919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45920 Define always.
45921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45922
45923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45924 bits/fcntl-linux.h.
45925
45926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45927 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45928
45929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45930 to __O_LARGEFILE.
45931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45932 to __O_LARGEFILE.
45933
45934 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45935 Joseph Myers <joseph@codesourcery.com>
45936
45937 * config.make.in (NM): New variable.
45938
45939 2012-10-21 Andreas Jaeger <aj@suse.de>
45940
45941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45942 definitions and declarations that are provided by
45943 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45944
45945 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45946
45947 [BZ #14683]
45948 * elf/Makefile (tests-static): Add tst-leaks1-static.
45949 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45950 ($(objpfx)tst-leaks1-static): New rule.
45951 ($(objpfx)tst-leaks1-static-mem): Likewise.
45952 (tst-leaks1-static-ENV): New macro.
45953 * elf/dl-open.c (dl_open_worker): Check the main application
45954 only if SHARED is defined.
45955 * elf/tst-leaks1-static.c: New file.
45956
45957 2012-10-20 Andreas Jaeger <aj@suse.de>
45958
45959 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45960 generic values for Linux.
45961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45962 and declarations that are provided by <bits/fcntl-linux.h> and
45963 include <bits/fcntl-linux.h>.
45964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45966
45967 2012-10-20 Roland McGrath <roland@hack.frob.com>
45968
45969 * io/fcntl.h: Move include of <bits/types.h> to the top and
45970 include it unconditionally.
45971
45972 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45973
45974 * wcsmbs/Makefile (tests-ifunc): New variable.
45975 (tests): Add $(tests-ifunc).
45976 * wcsmbs/test-wcschr-ifunc.c: New file.
45977 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45978 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45979 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45980 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45981 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45982
45983 * string/Makefile (tests-ifunc): New variable.
45984 (tests): Add $(tests-ifunc).
45985 * string/test-memccpy.c (TEST_NAME): New macro.
45986 * string/test-memchr.c (TEST_NAME): Likewise.
45987 * string/test-memcmp.c (TEST_NAME): Likewise.
45988 * string/test-memcpy.c (TEST_NAME): Likewise.
45989 * string/test-memmem.c (TEST_NAME): Likewise.
45990 * string/test-memmove.c (TEST_NAME): Likewise.
45991 * string/test-memset.c (TEST_NAME): Likewise.
45992 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45993 * string/test-stpcpy.c (TEST_NAME): Likewise.
45994 * string/test-stpncpy.c (TEST_NAME): Likewise.
45995 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45996 * string/test-strcasestr.c (TEST_NAME): Likewise.
45997 * string/test-strcat.c (TEST_NAME): Likewise.
45998 * string/test-strchr.c (TEST_NAME): Likewise.
45999 * string/test-strcmp.c(TEST_NAME): Likewise.
46000 * string/test-strcpy.c (TEST_NAME): Likewise.
46001 * string/test-strcspn.c (TEST_NAME): Likewise.
46002 * string/test-strlen.c (TEST_NAME): Likewise.
46003 * string/test-strncasecmp.c (TEST_NAME): Likewise.
46004 * string/test-strncmp.c (TEST_NAME): Likewise.
46005 * string/test-strncpy.c (TEST_NAME): Likewise.
46006 * string/test-strnlen.c (TEST_NAME): Likewise.
46007 * string/test-strpbrk.c (TEST_NAME): Likewise.
46008 * string/test-strrchr.c (TEST_NAME): Likewise.
46009 * string/test-strspn.c (TEST_NAME): Likewise.
46010 * string/test-strstr.c (TEST_NAME): Likewise.
46011 * string/test-bcopy-ifunc.c: New file.
46012 * string/test-bzero-ifunc.c: Likewise.
46013 * string/test-memccpy-ifunc.c: Likewise.
46014 * string/test-memchr-ifunc.c: Likewise.
46015 * string/test-memcmp-ifunc.c: Likewise.
46016 * string/test-memcpy-ifunc.c: Likewise.
46017 * string/test-memmem-ifunc.c: Likewise.
46018 * string/test-memmove-ifunc.c: Likewise.
46019 * string/test-mempcpy-ifunc.c: Likewise.
46020 * string/test-memset-ifunc.c: Likewise.
46021 * string/test-rawmemchr-ifunc.c: Likewise.
46022 * string/test-stpcpy-ifunc.c: Likewise.
46023 * string/test-stpncpy-ifunc.c: Likewise.
46024 * string/test-strcasecmp-ifunc.c: Likewise.
46025 * string/test-strcasestr-ifunc.c: Likewise.
46026 * string/test-strcat-ifunc.c: Likewise.
46027 * string/test-strchr-ifunc.c: Likewise.
46028 * string/test-strchrnul-ifunc.c: Likewise.
46029 * string/test-strcmp-ifunc.c: Likewise.
46030 * string/test-strcpy-ifunc.c: Likewise.
46031 * string/test-strcspn-ifunc.c: Likewise.
46032 * string/test-strlen-ifunc.c: Likewise.
46033 * string/test-strncasecmp-ifunc.c: Likewise.
46034 * string/test-strncat-ifunc.c: Likewise.
46035 * string/test-strncmp-ifunc.c: Likewise.
46036 * string/test-strncpy-ifunc.c: Likewise.
46037 * string/test-strnlen-ifunc.c: Likewise.
46038 * string/test-strpbrk-ifunc.c: Likewise.
46039 * string/test-strrchr-ifunc.c: Likewise.
46040 * string/test-strspn-ifunc.c: Likewise.
46041 * string/test-strstr-ifunc.c: Likewise.
46042
46043 * debug/Makefile (tests-ifunc): New variable.
46044 (tests): Add $(tests-ifunc).
46045 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46046 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46047 * debug/test-stpcpy_chk-ifunc.c: New file.
46048 * debug/test-strcpy_chk-ifunc.c: Likewise.
46049
46050 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46051
46052 [BZ #13601]
46053 * elf/dl-load.c (open_verify): Retry read if the entire ELF
46054 header is not read in.
46055
46056 2012-10-19 Joseph Myers <joseph@codesourcery.com>
46057
46058 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
46059 script to $(SHELL) as $<. Pass $(common-objpfx) to script
46060 directly. Pass built executable to script as
46061 $(built-program-cmd).
46062 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
46063 $testprogram without using LD_LIBRARY_PATH and $ldso.
46064
46065 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46066 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46067 $(rtld-installed-name).
46068 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46069 (rtld_installed_name): Likewise.
46070 (library_path): Likewise.
46071 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46072 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46073 $(run-program-prefix) to tst-tables.sh.
46074 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46075 it to run tst-table-from and tst-table-to.
46076 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46077 Pass it to tst-table.sh.
46078 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46079 $(run-program-prefix) to tst-gettext.sh.
46080 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46081 tst-translit.sh.
46082 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46083 tst-gettext2.sh.
46084 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46085 to run tst-gettext.
46086 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46087 to run tst-gettext2.
46088 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46089 to run tst-translit.
46090 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46091 $(run-program-prefix) to tst-mtrace.sh.
46092 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46093 to run tst-mtrace.
46094 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46095 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46096 $(rtld-installed-name).
46097 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46098 (rtld_installed_name): Likewise.
46099 (run_program_prefix): New variable. Use it to run wordexp-test.
46100
46101 * Makeconfig (ARCH): Remove all definitions.
46102 (machine): Likewise.
46103 [ARCH]: Remove conditional code.
46104 [!objdir]: Give error.
46105 [!objdir] (objpfx): Remove.
46106 [!objdir] (common-objpfx): Likewise.
46107 [!objdir] (common-objdir): Likewise.
46108 * configure.in (config_makefile): Remove. Hardcode Makefile in
46109 AC_CONFIG_FILES call.
46110 * configure: Regenerated.
46111
46112 [BZ #13888]
46113 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46114 or TMPDIR.
46115 (testout): Likewise.
46116
46117 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46118 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46119 $(rtld-installed-name).
46120 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46121 (rtld_installed_name): Likwise.
46122 (runit): Remove function.
46123 (run_getconf): New variable, Use it for running getconf binary.
46124
46125 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46126
46127 [BZ #14716]
46128 * string/test-memmem.c (check_result): New function.
46129 (do_one_test): Use it.
46130 (check1): New function.
46131 (test_main): Use it.
46132
46133 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46134
46135 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46136
46137 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46138
46139 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46140 (_G_LSEEK64): Likewise.
46141 (_G_MMAP64): Likewise.
46142 (_G_FSTAT64): Likewise.
46143 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46144 (_G_LSEEK64): Likewise.
46145 (_G_MMAP64): Likewise.
46146 (_G_FSTAT64): Likewise.
46147 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46148 unconditional. Call __mmap64 directly.
46149 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46150 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46151 __lseek64 directly.
46152 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46153 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46154 __mmap64 directly.
46155 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46156 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46157 __lseek64 directly.
46158 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46159 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46160 __lseek64 directly.
46161 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46162 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46163 __lseek64 directly.
46164 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46165 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46166 __fxstat64 directly.
46167 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46168 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46169 unconditional.
46170 (freopen64) [!_G_OPEN64]: Remove conditional code.
46171 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46172 unconditional.
46173 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46174 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46175 unconditional.
46176 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46177 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46178 unconditional.
46179 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46180 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46181 unconditional.
46182 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46183 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46184 unconditional.
46185 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46186 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46187 unconditional.
46188 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46189 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46190 unconditional.
46191 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46192
46193 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46194
46195 [BZ #12140]
46196 * manual/memory.texi (Malloc Tunable Parameters): Add note
46197 about free list pointers overwriting some perturb bytes.
46198 Wording suggested by Roland McGrath.
46199
46200 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46201
46202 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46203 (lgamma_test): Likewise.
46204 (tgamma_test): Likewise.
46205
46206 2012-10-16 Florian Weimer <fweimer@redhat.com>
46207
46208 [BZ #14700]
46209 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46210 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46211
46212 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46213
46214 * NEWS: Mention BZ #14716.
46215 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46216 when removing AVAILABLE1_USES_J macro.
46217
46218 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46219
46220 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46221 (__bswap_64): __uint64_t for unsigned 64-bit int.
46222
46223 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46224
46225 * include/string.h (memmem): Declare libc hidden alias.
46226 * string/memmem.c (memmem): Define libc hidden alias.
46227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46228 __read, __close instead of open, read, close.
46229
46230 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46231
46232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46233 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46234 global and hidden.
46235 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46236 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46237 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46238 Likewise.
46239 (__rawmemchr_sse2): Likewise.
46240 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46241 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46242 (__strchr_sse2): Likewise.
46243 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46244 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46245 (__strcasecmp_sse2): Likewise.
46246 (__strncasecmp_sse2): Likewise.
46247 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46248 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46249 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46250 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46251 (__strrchr_sse2): Likewise.
46252 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46253 ifunc-impl-list.c.
46254 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46255 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46256 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46257 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46258 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46260 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46262 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46263 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46264 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46265 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46266 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46267 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46268 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46269 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46270 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46271 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46272 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46273 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46274 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46275 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46276 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46277 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46278 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46279 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46280 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46281 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46282 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46283 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46284
46285 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46286 global and hidden.
46287 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46288 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46289 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46290 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46291 Likewise.
46292 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46293 Likewise.
46294 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46295 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46296 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46297 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46298 ifunc-impl-list.c.
46299 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46300 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46301 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46302 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46303 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46305 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46306 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46307 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46308 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46313 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46314 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46315 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46316 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46317 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46318 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46320 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46321 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46324 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46325 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46326 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46327 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46328 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46330 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46333 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46337 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46338 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46339 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46340
46341 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46342 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46343 * include/ifunc-impl-list.h: New file.
46344 * misc/ifunc-impl-list.c: Likewise.
46345 * misc/Makefile (routines): Add ifunc-impl-list.
46346 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46347 * string/test-string.h: Include <ifunc-impl-list.h>.
46348 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46349 TEST_NAME]: New variables.
46350 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46351 are defined.
46352 (test_init): Call __libc_ifunc_impl_list to initialize
46353 func_list if TEST_IFUNC and TEST_NAME are defined.
46354
46355 * string/Makefile (strop-tests): Add bcopy and bzero.
46356 * string/test-bcopy.c: New file.
46357 * string/test-bzero.c: Likewise.
46358 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46359 defined.
46360 * string/test-memset.c: Support bzero test if TEST_BZERO is
46361 defined.
46362 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46363 __libc_memmove.
46364 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46365 __libc_memset.
46366 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46367 of memset.
46368
46369 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46370
46371 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46372 * configure: Regenerated.
46373
46374 * Makeconfig (+link-static-before-libc): Don't include
46375 $(link-static-libc).
46376
46377 * libio/libio.h (_IO_pos_t): Remove.
46378
46379 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46380
46381 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46382 McGrath.
46383
46384 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46385
46386 * crypt/crypt-entry.c: Include fips-private.h.
46387 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46388 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46389 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46390 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46391
46392 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46393
46394 * crypt/crypt-private.h: Include stdbool.h.
46395 (_ufc_setup_salt_r): Return bool.
46396 * crypt/crypt-entry.c: Include errno.h.
46397 (__crypt_r): Return NULL with EINVAL for bad salt.
46398 * crypt/crypt_util.c (bad_for_salt): New.
46399 (_ufc_setup_salt_r): Check that salt is long enough and within
46400 the specified alphabet.
46401 * crypt/badsalttest.c: New file.
46402 * crypt/Makefile (tests): Add it.
46403 ($(objpfx)badsalttest): New.
46404
46405 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46406
46407 * NEWS: Add entry for BZ #14602.
46408
46409 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46410
46411 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46412 type-generic.
46413 * math/libm-test.inc: Update comment listing what functions and
46414 macros are tested.
46415 (isgreater_test): New function.
46416 (isgreaterequal_test): Likewise.
46417 (isless_test): Likewise.
46418 (islessequal_test): Likewise.
46419 (islessgreater_test): Likewise.
46420 (isunordered_test): Likewise.
46421 (main): Call the new functions.
46422
46423 2012-10-09 Roland McGrath <roland@hack.frob.com>
46424
46425 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46426 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46427 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46428 * sysdeps/i386/configure: Regenerated.
46429 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46430 * sysdeps/mach/configure: Regenerated.
46431 * sysdeps/mach/hurd/configure: Regenerated.
46432 * sysdeps/powerpc/configure: Regenerated.
46433 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46434 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46435 * sysdeps/s390/s390-32/configure: Regenerated.
46436 * sysdeps/s390/s390-64/configure: Regenerated.
46437 * sysdeps/sh/configure: Regenerated.
46438 * sysdeps/sparc/configure: Regenerated.
46439 * sysdeps/unix/sysv/linux/configure: Regenerated.
46440 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46441 * sysdeps/x86_64/configure: Regenerated.
46442
46443 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46444 defined. Don't check if MAP is NULL.
46445
46446 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46447
46448 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46449 (_G_stat64): Likewise.
46450 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46451 (_G_stat64): Likewise.
46452 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46453 instead of struct _G_stat64.
46454 * libio/fileops.c (mmap_remap_check): Likewise.
46455 (decide_maybe_mmap): Likewise.
46456 (_IO_new_file_seekoff): Likewise.
46457 (_IO_file_stat): Likewise.
46458 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46459 _G_off64_t.
46460 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46461 instead of struct _G_stat64.
46462 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46463
46464 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46465
46466 [BZ #14602]
46467 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46468 Replace with ...
46469 (CHECK_EOL): New macro.
46470 (two_way_short_needle): Check beginning of haystack for EOL. Use
46471 CHECK_EOL.
46472 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46473 Replace with CHECK_EOL.
46474 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46475 Replace with CHECK_EOL.
46476
46477 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46478
46479 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46480 type-generic.
46481 * math/libm-test.inc: Update comment listing what functions and
46482 macros are tested.
46483 (finite_test): New function.
46484 (isinf_test): Likewise.
46485 (isnan_test): Likewise.
46486 (fpclassify_test): Test subnormal input.
46487 (isfinite_test): Likewise.
46488 (isnormal_test): Likewise.
46489 (main): Call the new functions.
46490
46491 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46492
46493 [BZ #14660]
46494 * Makerules (%.dynsym): Force C locale when running
46495 $(OBJDUMP) --dynamic-syms.
46496
46497 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46498
46499 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46500 <stdint.h>.
46501
46502 2012-10-06 David S. Miller <davem@davemloft.net>
46503
46504 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46505 upper 32-bits of the length value in %o2 since we use branch-on-register
46506 tests which consider the entire 64-bit register.
46507
46508 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46509
46510 * string/test-strstr.c (check2): Add a test for page boundary.
46511
46512 2012-10-05 David S. Miller <davem@davemloft.net>
46513
46514 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46515 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46516 file.
46517 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46518 sysdep_routines.
46519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46520 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46521 and bzero when HWCAP_SPARC_CRYPTO is present.
46522
46523 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46524
46525 [BZ #14602]
46526 * string/test-strstr.c (check2): New function.
46527 (test_main): Call check2.
46528
46529 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46530 and bug-strchr1.
46531 * string/bug-strcasestr1.c (do_test): Moved to ...
46532 * string/test-strcasestr.c (check1): Here. New function.
46533 (do_one_test): Break out result checking code into ...
46534 (check_result): This. New function.
46535 (do_one_test): Call check_result.
46536 (test_main): Call check1.
46537 * string/bug-strchr1.c (do_test): Moved to ...
46538 * string/test-strchr.c (check1): Here. New function.
46539 (do_one_test): Break out result checking code into ...
46540 (check_result): This. New function.
46541 (do_one_test): Call check_result.
46542 (test_main): Call check1.
46543 * string/bug-strstr1.c (main): Moved to ...
46544 * string/test-strstr.c (check1): Here. New function.
46545 (do_one_test): Break out result checking code into ...
46546 (check_result): This. New function.
46547 (do_one_test): Call check_result.
46548 (test_main): Call check1.
46549 * string/bug-strcasestr1.c: Removed.
46550 * string/bug-strchr1.c: Likewise.
46551 * string/bug-strstr1.c: Likewise.
46552
46553 * elf/Makefile (dl-routines): Add hwcaps.
46554 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46555 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46556 (_dl_important_hwcaps): Moved to ...
46557 * elf/dl-hwcaps.c: Here. New file.
46558 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46559
46560 [BZ #14557]
46561 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46562 if IS_IN_rtld isn't defined.
46563
46564 * elf/dl-support.c (_dl_sysinfo_map): New.
46565 Include "get-dynamic-info.h" and "setup-vdso.h".
46566 (_dl_non_dynamic_init): Call setup_vdso.
46567 * elf/dynamic-link.h: Don't include <assert.h>.
46568 (elf_get_dynamic_info): Moved to ...
46569 * elf/get-dynamic-info.h: Here. New file.
46570 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46571 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46572 * elf/setup-vdso.h: Here. New file.
46573 * elf/rtld.c: Include "setup-vdso.h".
46574 (dl_main): Call setup_vdso.
46575
46576 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46577
46578 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46579 creal in comment listing functions tested. List finite, isinf,
46580 isnan, isless, islessequal, isgreater, isgreaterequal,
46581 islessgreater, isunordered, lgamma_r and pow10 as functions and
46582 macros not tested. Mention which functions not tested are aliases
46583 for other functions. Fix typo. Note that signs of NaNs are not
46584 tested.
46585
46586 * scripts/config.guess: Update from config.git.
46587 * scripts/config.sub: Likewise.
46588
46589 2012-10-04 Roland McGrath <roland@hack.frob.com>
46590
46591 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46592 * misc/madvise.c (madvise): Renamed to __madvise.
46593 Make madvise a weak alias.
46594 * include/sys/mman.h: Declare __madvise.
46595 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46596 * sysdeps/unix/syscalls.list
46597 (madvise): Make __madvise the strong name, and madvise a weak alias.
46598 * sysdeps/unix/sysv/linux/syscalls.list
46599 (madvise, mmap): Remove redundant entries.
46600 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46601 * malloc/malloc.c (mtrim): Likewise.
46602 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46603
46604 2012-10-03 Roland McGrath <roland@hack.frob.com>
46605
46606 * sysdeps/mach/hurd/dl-cache.c: File removed.
46607 * config.h.in (USE_LDCONFIG): New #undef.
46608 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46609 * configure: Regenerated.
46610 * elf/Makefile (dl-routines): Add dl-cache only under
46611 [$(use-ldconfig) = yes].
46612 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46613 cache on [USE_LDCONFIG].
46614 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46615 [USE_LDCONFIG].
46616 * elf/rtld.c (dl_main): Likewise.
46617
46618 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46619
46620 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46621 _SC_LEVEL4_CACHE_LINESIZE.
46622
46623 2012-10-03 Roland McGrath <roland@hack.frob.com>
46624
46625 * sysdeps/unix/bsd/confstr.h: File removed.
46626
46627 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46628
46629 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46630 sys/sdt-config.h.
46631
46632 2012-10-02 Roland McGrath <roland@hack.frob.com>
46633
46634 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46635 Make 'mapoff' field ElfW(Off) rather than off_t.
46636
46637 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46638
46639 * nscd/Makefile: Remove nscd-cflags and all its users.
46640 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46641 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46642
46643 [BZ #10631]
46644 * malloc.c (malloc_printerr): Clarify error message.
46645
46646 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46647
46648 [BZ #14648]
46649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46650 Set bit_FMA_Usable if FMA is supported.
46651 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46652 macro.
46653 (bit_FMA4_Usable): Updated.
46654 (index_FMA_Usable): New macro.
46655 (CPUID_FMA): Likewise
46656 (HAS_FMA): Defined with bit_FMA_Usable.
46657
46658 2012-10-01 Roland McGrath <roland@hack.frob.com>
46659
46660 * bits/types.h (__swblk_t): Type removed.
46661 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46662 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46664 (__SWBLK_T_TYPE): Likewise.
46665 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46666 (__SWBLK_T_TYPE): Likewise.
46667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46668 (__SWBLK_T_TYPE): Likewise.
46669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46670 (__SWBLK_T_TYPE): Likewise.
46671
46672 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46673 Honza Horak <hhorak@redhat.com>
46674
46675 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46676 (xdr_mapname): Use YPMAXMAP as maxsize.
46677 (xdr_peername): Use YPMAXPEER as maxsize.
46678 (xdr_keydat): Use YPAXRECORD as maxsize.
46679 (xdr_valdat): Use YPMAXRECORD as maxsize.
46680
46681 2012-10-01 Roland McGrath <roland@hack.frob.com>
46682
46683 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46684
46685 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46686 * csu/init-first.c: ... here.
46687 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46688 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46689 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46690 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46691 * sysdeps/i386/init-first.c: File removed.
46692 * sysdeps/sh/init-first.c: File removed.
46693
46694 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46695
46696 [BZ #14645]
46697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46698 if x * y might underflow to zero and z is zero.
46699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46701 * math/libm-test.inc (min_subnorm_value): New variable.
46702 (fma_test): Add more tests.
46703 (fma_test_towardzero): Likewise.
46704 (fma_test_downward): Likewise
46705 (fma_test_upward): Likewise.
46706 (initialize): Set min_subnorm_value.
46707
46708 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46709
46710 [BZ #14638]
46711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46712 0 + 0.
46713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46714 mode for addition resulting in exact zero.
46715 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46717 exact 0 + 0.
46718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46720 * math/libm-test.inc (fma_test): Add more tests.
46721 (fma_test_towardzero): New function.
46722 (fma_test_downward): Likewise.
46723 (fma_test_upward): Likewise.
46724 (main): Call the new functions.
46725
46726 2012-09-28 David S. Miller <davem@davemloft.net>
46727
46728 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46729
46730 2012-09-28 Roland McGrath <roland@hack.frob.com>
46731
46732 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46733 instead of SIGALRM.
46734
46735 * sysdeps/gnu/_G_config.h: Moved to ...
46736 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46737 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46738 * sysdeps/generic/_G_config.h: ... here.
46739
46740 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46741
46742 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46743
46744 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46745 Conditionalize target on [libnss_test1.so-version].
46746
46747 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46748
46749 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46750 (elfobjdir): Move out of conditionals.
46751
46752 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46753 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46754 (__nss_lookup_function): Conditionalize label remove_from_tree on
46755 [!DO_STATIC_NSS || SHARED], matching its only use.
46756
46757 2012-09-28 David S. Miller <davem@davemloft.net>
46758
46759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46760 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46761 file.
46762 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46763 sysdep_routines.
46764 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46766 when HWCAP_SPARC_CRYPTO is present.
46767
46768 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46769
46770 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46771
46772 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46773
46774 [BZ #6530]
46775 * stdio-common/vfprintf.c (process_string_arg): Revert
46776 2000-07-22 change.
46777
46778 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46779
46780 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46781 for testcase.
46782 * stdio-common/tst-sprintf.c: Include <locale.h>
46783 (main): Test sprintf's handling of incomplete multibyte
46784 characters.
46785
46786 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46787
46788 * elf/dl-runtime.c (VERSYMIDX): Removed.
46789 * elf/dl-version.c (VERSYMIDX): Likewise.
46790 * elf/do-rel.h (VERSYMIDX): Likewise.
46791 (VALIDX): Likewise.
46792 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46793 * elf/rtld.c (VALIDX): Likewise.
46794 (ADDRIDX): Likewise.
46795 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46796 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46797 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46798 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46799 (VALIDX): Likewise.
46800 (ADDRIDX): Likewise.
46801
46802 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46803
46804 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46805
46806 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46807
46808 [BZ #11438]
46809 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46810 to global scope.
46811 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46812 addresses are in the same scope as 192.0.2/24.
46813 * posix/gai.conf: Document new scope table defaults.
46814
46815 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46816
46817 [BZ #5298]
46818 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46819 for ftell. Compute offsets from write pointers instead.
46820 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46821
46822 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46823
46824 [BZ #14543]
46825 * libio/Makefile (tests): New test case tst-fseek.
46826 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46827 combination works in wide mode.
46828 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46829 state when the external buffer state changes.
46830
46831 2012-09-27 David S. Miller <davem@davemloft.net>
46832
46833 [BZ #14376]
46834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46835 pass reloc->r_addend in as the 'high' argument to
46836 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46837
46838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46839
46840 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46841
46842 * rt/tst-aio2.c: Include <pthread.h>.
46843 * rt/tst-aio3.c: Likewise.
46844
46845 2012-09-27 Steve Ellcey <sellcey@mips.com>
46846
46847 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46848
46849 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46850
46851 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46852 contents on [SHARED].
46853
46854 2012-09-26 Marek Polacek <polacek@redhat.com>
46855
46856 [BZ #14530]
46857 [BZ #13741]
46858 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46859 for C++ and GCC <4.3 as well as for non GCC compilers.
46860
46861 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46862
46863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46864
46865 2012-09-25 Roland McGrath <roland@hack.frob.com>
46866
46867 * Makefile.in (all, install): Declare with .PHONY.
46868 Reported by Michael Hope <michael.hope@linaro.org>.
46869
46870 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46871
46872 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46873 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46874 system header.
46875 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46876 Likewise.
46877 (sydep_routines): Add the new and the internal functions.
46878 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46879 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46881 (GLIBC_2.17): Add the new function.
46882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46883 (GLIBC_2.17): Likewise.
46884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46885 (GLIBC_2.17): Likewise.
46886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46887 (GLIBC_2.17): Likewise.
46888 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46889
46890 2012-09-25 Alan Modra <amodra@gmail.com>
46891
46892 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46893 Add release barrier before setting once_control to say
46894 initialisation is done. Add hints on lwarx. Use macro in
46895 place of isync.
46896 (clear_once_control): Add release barrier.
46897
46898 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46899
46900 [BZ #13629]
46901 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46902 specially.
46903 * math/s_clog10.c (__clog10): Likewise.
46904 * math/s_clog10f.c (__clog10f): Likewise.
46905 * math/s_clog10l.c (__clog10l): Likewise.
46906 * math/s_clogf.c (__clogf): Likewise.
46907 * math/s_clogl.c (__clogl): Likewise.
46908 * math/Makefile (libm-calls): Add x2y2m1.
46909 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46910 (__x2y2m1): Likewise.
46911 (__x2y2m1l): Likewise.
46912 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46913 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46914 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46915 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46916 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46917 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46918 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46919 * sysdeps/i386/fpu/libm-test-ulps: Update.
46920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46921
46922 [BZ #14621]
46923 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46924 int as type of variable DEPTH.
46925 (glob): Use size_t instead of int as type of variables NEWCOUNT
46926 and OLD_PATHC.
46927
46928 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46929
46930 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46931 Add s_sincosf-sse2.
46932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46933 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46934 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46935 macros for using routine as __sincosf_ia32.
46936 Use macro for function declaration and weak_alias.
46937 * sysdeps/i386/fpu/libm-test-ulps: Update.
46938
46939 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46941
46942 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46943 subnormal argument.
46944 * math/s_cexpf.c (__cexpf): Likewise.
46945 * math/s_csinf.c (__csinf): Likewise.
46946 * math/s_csinhf.c (__csinhf): Likewise.
46947 * math/s_ctanf.c (__ctanf): Likewise.
46948 * math/s_ctanhf.c (__ctanhf): Likewise.
46949 * math/s_ccosh.c (__ccoshf): Likewise.
46950 * math/s_cexp.c (__cexpl): Likewise.
46951 * math/s_csin.c (__csin): Likewise.
46952 * math/s_csinh.c (__csinh): Likewise.
46953 * math/s_ctan.c (__ctan): Likewise.
46954 * math/s_ctanh.c (ctanh): Likewise.
46955 * math/s_ccoshl.c (__ccoshl): Likewise.
46956 * math/s_cexpl.c (__cexpl): Likewise.
46957 * math/s_csinl.c (__csinl): Likewise.
46958 * math/s_csinhl.c (__csinhl): Likewise.
46959 * math/s_ctanl.c (__ctanl): Likewise.
46960 * math/s_ctanhl.c (__ctanhl): Likewise.
46961
46962 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46963
46964 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46965 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46966 (_IO_off_t): Define to __off_t, not _G_off_t.
46967 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46968 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46969 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46970 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46971 type of __dummy and __dummy2 fields.
46972 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46973 (_G_ssize_t): Likewise.
46974 (_G_off_t): Likewise.
46975 (_G_pid_t): Likewise.
46976 (_G_uid_t): Likewise.
46977 (_G_wchar_t): Likewise.
46978 (_G_wint_t): Likewise.
46979 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46980 (_G_ssize_t): Likewise.
46981 (_G_off_t): Likewise.
46982 (_G_pid_t): Likewise.
46983 (_G_uid_t): Likewise.
46984 (_G_wchar_t): Likewise.
46985 (_G_wint_t): Likewise.
46986 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46987 (_G_ssize_t): Likewise.
46988 (_G_off_t): Likewise.
46989 (_G_pid_t): Likewise.
46990 (_G_uid_t): Likewise.
46991 (_G_wchar_t): Likewise.
46992 (_G_wint_t): Likewise.
46993
46994 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46995
46996 * malloc/arena.c: Include malloc-sysdep.h.
46997 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46998 is sufficient to shrink the heap or an unmap is needed.
46999 * sysdeps/generic/malloc-sysdep.h: New file. Define
47000 new function check_may_shrink_heap.
47001 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
47002 new function check_may_shrink_heap.
47003
47004 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47005
47006 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47007 comments.
47008
47009 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
47010
47011 * catgets/test-gencat.sh: Add "set -e".
47012 * elf/tst-pathopt.sh: Likewise.
47013 * grp/tst_fgetgrent.sh: Likewise.
47014 * iconvdata/run-iconv-test.sh: Likewise.
47015 * intl/tst-gettext.sh: Likewise.
47016 * intl/tst-gettext2.sh: Likewise.
47017 * intl/tst-gettext4.sh: Likewise.
47018 * intl/tst-gettext6.sh: Likewise.
47019 * intl/tst-translit.sh: Likewise.
47020 * io/ftwtest-sh: Likewise.
47021 * libio/test-freopen.sh: Likewise.
47022 * malloc/tst-mtrace.sh: Likewise.
47023 * posix/globtest.sh: Likewise.
47024 * posix/tst-getconf.sh: Likewise.
47025 * posix/wordexp-tst.sh: Likewise.
47026 * stdio-common/tst-printf.sh: Likewise.
47027 * stdio-common/tst-unbputc.sh: Likewise.
47028 * stdlib/tst-fmtmsg.sh: Likewise.
47029 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47030 * catgets/Makefile: Do not specify -e option when running
47031 testsuite shell scripts.
47032 * elf/Makefile: Likewise.
47033 * grp/Makefile: Likewise.
47034 * iconvdata/Makefile: Likewise.
47035 * intl/Makefile: Likewise.
47036 * io/Makefile: Likewise.
47037 * libio/Makefile: Likewise.
47038 * malloc/Makefile: Likewise.
47039 * posix/Makefile: Likewise.
47040 * stdio-common/Makefile: Likewise.
47041 * stdlib/Makefile: Likewise.
47042 * sysdeps/x86_64/Makefile: Likewise.
47043
47044 * io/ftwtest-sh: Add copyright header.
47045 * posix/globtest.sh: Likewise.
47046 * posix/tst-getconf.sh: Likewise.
47047 * posix/wordexp-tst.sh: Likewise.
47048 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47049
47050 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
47051
47052 [BZ #13679]
47053 * Makeconfig (+link): Defined as $(+link-static) if
47054 $(build-shared) isn't yes.
47055 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47056 isn't yes.
47057 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47058
47059 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47060
47061 [BZ #14562]
47062 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47063 new chunk size with MALLOC_ALIGN_MASK.
47064
47065 2012-09-24 Joseph Myers <joseph@codesourcery.com>
47066
47067 [BZ #5044]
47068 * stdio-common/printf_fphex.c: Include <stdbool.h> and
47069 <rounding-mode.h>.
47070 (__printf_fphex): Determine rounding using get_rounding_mode and
47071 round_away.
47072 * stdio-common/tst-printf-round.c (struct hex_test): New
47073 structure.
47074 (hex_tests): New variable.
47075 (test_hex_in_one_mode): New function.
47076 (do_test): Also run tests for hex float output.
47077
47078 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47079
47080 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47081 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47082 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47083 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47084 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47085 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47086 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47087 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47088
47089 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47090
47091 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47092 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47093 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47094 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47095
47096 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47097
47098 [BZ #14579]
47099 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47100 mode only.
47101 * elf/tst-rtld-load-self.sh: New test.
47102 * elf/Makefile: Run it.
47103
47104 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47105
47106 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47107 (tst-writev-ENV): Remove.
47108 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47109
47110 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47111
47112 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47113
47114 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47115
47116 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47117 unconditional.
47118 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47119 Likewise.
47120 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47121 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47122 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47123 Likewise.
47124
47125 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47126
47127 [BZ #14587]
47128 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47129 * config.make.in (have-cpp-asm-debuginfo): Removed.
47130 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47131 * configure: Regenerated.
47132
47133 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47134
47135 [BZ #5044]
47136 * stdio-common/printf_fp.c: Include <stdbool.h> and
47137 <rounding-mode.h>.
47138 (___printf_fp): Determine rounding using get_rounding_mode and
47139 round_away.
47140 * stdio-common/tst-printf-round.c: New file.
47141 * stdio-common/Makefile (tests): Add tst-printf-round.
47142 (link-libm): New variable.
47143 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47144
47145 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47146
47147 [BZ #14576]
47148 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47149 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47150 Likewise.
47151 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47152 Likewise.
47153
47154 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47155
47156 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47157 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47158 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47159 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47160
47161 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47162
47163 [BZ #14518]
47164 * include/rounding-mode.h: New file.
47165 * sysdeps/generic/get-rounding-mode.h: Likewise.
47166 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47167 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47168 (MAX_VALUE): New macro.
47169 (MIN_VALUE): Likewise.
47170 (overflow_value): New function.
47171 (underflow_value): Likewise.
47172 (round_and_return): Use overflow_value and underflow_value to
47173 determine return values in overflow and underflow cases. Use
47174 round_away to determine rounding depending on rounding mode.
47175 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47176 determine return values in overflow and underflow cases.
47177 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47178 (struct test_results): New structure.
47179 (struct test): Use struct test_results to store expected results
47180 for all rounding modes.
47181 (TEST): Include expected results for all rounding modes.
47182 (test_in_one_mode): New function.
47183 (do_test): Use test_in_one_mode to compute and check results.
47184 Check results for all rounding modes.
47185 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47186 $(link-libm).
47187
47188 2012-12-09 Allan McRae <allan@archlinux.org>
47189
47190 * sysdeps/i386/fpu/libm-test-ulps: Update
47191
47192 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47193
47194 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47195 (_G_int32_t): Likewise.
47196 (_G_uint16_t): Likewise.
47197 (_G_uint32_t): Likewise.
47198 (_G_HAVE_BOOL): Likewise.
47199 (_G_HAVE_ATEXIT): Likewise.
47200 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47201 (_G_HAVE_IO_FILE_OPEN): Likewise.
47202 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47203 (_G_int32_t): Likewise.
47204 (_G_uint16_t): Likewise.
47205 (_G_uint32_t): Likewise.
47206 (_G_HAVE_BOOL): Likewise.
47207 (_G_HAVE_ATEXIT): Likewise.
47208 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47209 (_G_HAVE_IO_FILE_OPEN): Likewise.
47210 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47211 (_G_int32_t): Likewise.
47212 (_G_uint16_t): Likewise.
47213 (_G_uint32_t): Likewise.
47214 (_G_HAVE_BOOL): Likewise.
47215 (_G_HAVE_ATEXIT): Likewise.
47216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47217 (_G_HAVE_IO_FILE_OPEN): Likewise.
47218
47219 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47220
47221 * csu/libc-tls.c: Update copyright years.
47222
47223 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47224
47225 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47226 [!_G_USING_THUNKS]: Remove conditional code.
47227 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47228 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47229
47230 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47231 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47232 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47233 (_G_VTABLE_LABEL_PREFIX): Likewise.
47234 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47235 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47236 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47237 (_G_VTABLE_LABEL_PREFIX): Likewise.
47238 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47239 * sysdeps/mach/hurd/_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
47244 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47245
47246 * libio/Makefile: Include ../Makeconfig before tests.
47247 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47248 only if $(build-shared) is yes.
47249
47250 * iconv/gconv_db.c: Update copyright years.
47251
47252 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47253
47254 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47255 unwind info if defined PIC. Fix special cases description.
47256 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47257
47258 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47259 DP_HI_MASK entry.
47260 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47261
47262 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47263
47264 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47265
47266 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47267 is NULL.
47268
47269 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47270 (LDLIBS-tst-chk4): This.
47271 (LDFLAGS-tst-chk5): Renamed to ...
47272 (LDLIBS-tst-chk5): This.
47273 (LDFLAGS-tst-chk6): Renamed to ...
47274 (LDLIBS-tst-chk6): This.
47275 (LDFLAGS-tst-lfschk4): Renamed to ...
47276 (LDLIBS-tst-lfschk4): This.
47277 (LDFLAGS-tst-lfschk5): Renamed to ...
47278 (LDLIBS-tst-lfschk5): This.
47279 (LDFLAGS-tst-lfschk6): Renamed to ...
47280 (LDLIBS-tst-lfschk6): This.
47281
47282 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47283 on $(common-objpfx)soversions.mk.
47284
47285 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47286
47287 [BZ #10014]
47288 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47289 example host name.
47290
47291 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47292
47293 * malloc/arena.c (arena_get_retry): New function that gets
47294 another arena for the caller to try its request on.
47295 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47296 current arena cannot fulfill the request.
47297 (__libc_memalign): Likewise.
47298 (__libc_memalign): Likewise.
47299 (__libc_pvalloc): Likewise.
47300 (__libc_calloc): Likewise.
47301
47302 2012-09-05 John Tobey <john.tobey@gmail.com>
47303
47304 [BZ #13542]
47305 * manual/arith.texi (Operations on Complex): Fix description
47306 of carg branch cut.
47307
47308 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47309
47310 [BZ #10014]
47311 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47312 host name.
47313
47314 [BZ #10038]
47315 * manual/memory.texi (Memory): Make order of menu items match
47316 order of sections.
47317
47318 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47319
47320 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47321 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47322 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47323
47324 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47325
47326 * csu/libc-tls.c (static_dtv): Renamed to ...
47327 (_dl_static_dtv): This. Make it global.
47328 (_dl_initial_dtv): Removed.
47329 (__libc_setup_tls): Updated.
47330 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47331 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47332 DL_INITIAL_DTV.
47333
47334 2012-09-06 Petr Machata <pmachata@redhat.com>
47335
47336 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47337 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47338 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47339 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47340
47341 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47342
47343 [BZ #14545]
47344 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47345 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47346 freeing dtv[-1].
47347
47348 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47349
47350 [BZ #14544]
47351 * Makeconfig (link-static-before-libc): Replace $(+prector)
47352 with $(+prectorT).
47353 (link-static-after-libc): Replace $(+postctor) with
47354 $(+postctorT).
47355 (link-bounded): Replace $(+prector)/$(+postctor) with
47356 $(+prectorT)/$(+postctorT).
47357 (+prectorT): New macro.
47358 (+postctorT): Likewise.
47359
47360 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47361
47362 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47363 (round_str): Handle values above the maximum for IBM long double
47364 as inexact.
47365 * stdlib/tst-strtod-round.c (tests): Regenerated.
47366
47367 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47368
47369 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47370 assembler flag.
47371 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47372 zarch_nohighgprs around the zarch optimized routines.
47373 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47374 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47376 for zarch.
47377
47378 2012-09-05 David S. Miller <davem@davemloft.net>
47379
47380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47381
47382 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47383 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47384 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47385 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47386 entries.
47387
47388 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47389
47390 * malloc/arena.c: Fold copyright years.
47391 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47392
47393 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47394
47395 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47396
47397 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47398
47399 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47400
47401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47402
47403 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47404 change internal state upon failure.
47405
47406 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47407
47408 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47409 * malloc/memusage.c (mmap): Likewise.
47410 (mmap64, mremap): Likewise. Adjust name in comment.
47411
47412 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47413
47414 * libio/fileops.c: Fix typos in comments.
47415 * libio/oldfileops.c: Likewise.
47416 * libio/wfileops.c: Likewise.
47417
47418 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47419
47420 [BZ #1349]
47421 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47422 (tst-malloc-usable-ENV): Set environment for test case.
47423 * malloc/hooks.c (malloc_check_get_size): New function to get
47424 requested size.
47425 * malloc/malloc.c (musable): Use malloc_check_get_size.
47426 * malloc/tst-malloc-usable.c: New test case.
47427
47428 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47429
47430 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47431
47432 2012-09-05 Allan McRae <allan@archlinux.org>
47433
47434 [BZ #13966]
47435 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47436 determine header location.
47437 * configure: Regenerated.
47438
47439 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47440
47441 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47442 float format.
47443 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47444 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47445 format.
47446 (test): Regenerate.
47447
47448 2012-09-04 David S. Miller <davem@davemloft.net>
47449
47450 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47451 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47452 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47453
47454 2012-09-04 Florian Weimer <fweimer@redhat.com>
47455
47456 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47457 failures.
47458
47459 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47460
47461 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47462
47463 [BZ #9914]
47464 * libio/iogetdelim.c: Include <limits.h>.
47465 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47466 + len + 1 would overflow.
47467
47468 2012-09-03 Andreas Jaeger <aj@suse.de>
47469
47470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47471 * sysdeps/i386/fpu/libm-test-ulps: Update.
47472
47473 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47474
47475 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47476 Add s_sinf-sse2, s_conf-sse2.
47477
47478 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47479 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47480 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47481 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47482
47483 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47484 for using routine as __sinf_ia32.
47485 Use macro for function declaration and weak_alias.
47486 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47487 for using routine as __cosf_ia32.
47488 Use macro for function declaration and weak_alias.
47489
47490 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47491 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47492
47493 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47494 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47496
47497 * math/libm-test.inc (cos_test): Add more test cases.
47498 (sin_test): Likewise.
47499 (sincos_test): Likewise.
47500
47501 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47502
47503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47504 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47505 hidden.
47506 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47507
47508 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47509
47510 [BZ #14538]
47511 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47512 first element of the GOT.
47513 (elf_machine_load_address): Return the difference between
47514 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47515
47516 2012-09-01 Allan McRae <allan@archlinux.org>
47517
47518 [BZ #13412]
47519 * configure.in (AWK): Require gawk version 3.0 or later.
47520 * configure: Regenerated.
47521
47522 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47523
47524 * sysdeps/unix/sysv/linux/kernel-features.h
47525 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47526 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47527 [__NR_clock_getres]: Make code unconditional.
47528 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47529 (clock_getcpuclockid): Remove code left unreachable by removal of
47530 conditionals.
47531 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47532 code unconditional.
47533 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47534 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47535 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47536 Make code unconditional.
47537 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47538 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47539 * sysdeps/unix/sysv/linux/clock_settime.c
47540 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47541 conditional code.
47542 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47543 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47544
47545 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47546
47547 [BZ #14476]
47548 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47549 scripts/test-installation.pl.
47550
47551 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47552 and $ld_so_version if it is set.
47553
47554 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47555
47556 [BZ #14516]
47557 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47558 failure if reading from procfs failed.
47559 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47560
47561 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47562
47563 * sysdeps/unix/sysv/linux/kernel-features.h
47564 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47565 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47566 Remove conditional code.
47567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47568 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47569 Remove conditional code.
47570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47571 * sysdeps/unix/sysv/linux/i386/fxstat.c
47572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47574 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47575 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47577 * sysdeps/unix/sysv/linux/i386/lxstat.c
47578 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47580 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47581 Remove conditional code.
47582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47583 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47584 Remove conditional code.
47585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47586 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47587 <kernel-features.h>.
47588 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47589 Remove.
47590 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47591 Remove conditional code.
47592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47593 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47594 Remove conditional.
47595
47596 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47597
47598 [BZ #5400]
47599 * NEWS: Add fixed bug number.
47600
47601 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47602
47603 [BZ #14519]
47604 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47605 underflowing exponent in case of negative sign.
47606 * stdlib/tst-strtod-round-data: Add more tests.
47607 * stdlib/tst-strtod-round.c (tests): Regenerated.
47608
47609 [BZ #3479]
47610 * stdlib/strtod_l.c (NDIG): Remove.
47611 (HEXNDIG): Likewise.
47612 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47613 smallest representable value.
47614 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47615 lie within an exact representation of 1/2 ulp of the result.
47616 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47617 unconditionally.
47618 (TENS_P9_IDX): Define unconditionally.
47619 (TENS_P9_SIZE): Likewise.
47620 (TENS_P10_IDX): Likewise.
47621 (TENS_P10_SIZE): Likewise.
47622 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47623 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47624 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47625 entries for 10^2^13 and 10^2^14.
47626 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47627 (TENS_P13_IDX): Define.
47628 (TENS_P13_SIZE): Likewise.
47629 (TENS_P14_IDX): Likewise.
47630 (TENS_P14_SIZE): Likewise.
47631 (_fpioconst_pow10): Change array size to
47632 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47633 unconditional.
47634 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47635 1024]: Add entries for 10^2^13 and 10^2^14.
47636 [LAST_POW10 > _LAST_POW10]: Remove #error.
47637 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47638 (_fpioconst_pow10): Change array size to
47639 FPIOCONST_POW10_ARRAY_SIZE.
47640 * stdlib/gen-fpioconst.c: New file.
47641 * stdlib/gen-tst-strtod-round.c: Likewise.
47642 * stdlib/tst-strtod-round-data: Likewise.
47643 * stdlib/tst-strtod-round.c: Likewise.
47644 * stdlib/Makefile (tests): Add tst-strtod-round.
47645
47646 [BZ #14459]
47647 * stdlib/strtod_l.c: Include <stdint.h>.
47648 (NDEBUG): Do not define.
47649 (round_and_return): Change EXPONENT parameter to type intmax_t.
47650 Rearrange calculations to avoid internal overflow possibilities.
47651 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47652 Rearrange calculations to avoid internal overflow possibilities.
47653 Assert that number fits inside MPNSIZE limbs.
47654 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47655 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47656 calculations and add assertions to avoid internal overflow
47657 possibilities. Add casts to avoid signed/unsigned operations.
47658 * stdlib/tst-strtod-overflow.c: New file.
47659 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47660
47661 2012-08-25 Marek Polacek <polacek@redhat.com>
47662
47663 * time/time.h: Fix some typos in comments.
47664
47665 2012-08-23 Roland McGrath <roland@hack.frob.com>
47666
47667 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47668 * posix/tst-rfc3484-2.c: Likewise.
47669 * posix/tst-rfc3484-3.c: Likewise.
47670
47671 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47672
47673 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47674 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47675
47676 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47677
47678 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47679 #include of fxstatat64.c.
47680
47681 2012-08-22 Roland McGrath <roland@hack.frob.com>
47682
47683 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47684 * shadow/getspent_r.c: Likewise.
47685 * shadow/getspnam.c: Likewise.
47686 * shadow/getspnam_r.c: Likewise.
47687 * gshadow/getsgent.c: Likewise.
47688 * gshadow/getsgent_r.c: Likewise.
47689 * gshadow/getsgnam.c: Likewise.
47690 * gshadow/getsgnam_r.c: Likewise.
47691 * inet/getnetbyad.c: Likewise.
47692 * inet/getnetbyad_r.c: Likewise.
47693 * inet/getnetbynm.c: Likewise.
47694 * inet/getnetbynm_r.c: Likewise.
47695 * inet/getnetent.c: Likewise.
47696 * inet/getnetent_r.c: Likewise.
47697 * inet/getproto.c: Likewise.
47698 * inet/getproto_r.c: Likewise.
47699 * inet/getprtent.c: Likewise.
47700 * inet/getprtent_r.c: Likewise.
47701 * inet/getprtname.c: Likewise.
47702 * inet/getprtname_r.c: Likewise.
47703 * inet/getrpcbyname.c: Likewise.
47704 * inet/getrpcbyname_r.c: Likewise.
47705 * inet/getrpcbynumber.c: Likewise.
47706 * inet/getrpcbynumber_r.c: Likewise.
47707 * inet/getrpcent.c: Likewise.
47708 * inet/getrpcent_r.c: Likewise.
47709 * inet/getaliasent.c: Likewise.
47710 * inet/getaliasent_r.c: Likewise.
47711 * inet/getaliasname.c: Likewise.
47712 * inet/getaliasname_r.c: Likewise.
47713 * nscd/getgrgid_r.c: Likewise.
47714 * nscd/getgrnam_r.c: Likewise.
47715 * nscd/gethstbyad_r.c: Likewise.
47716 * nscd/gethstbynm3_r.c: Likewise.
47717 * nscd/getpwnam_r.c: Likewise.
47718 * nscd/getpwuid_r.c: Likewise.
47719 * nscd/getsrvbynm_r.c: Likewise.
47720 * nscd/getsrvbypt_r.c: Likewise.
47721 * nscd/gai.c: Likewise.
47722
47723 * configure.in (build_nscd): New substituted variable, set
47724 by --disable-build-nscd and defaults to $use_nscd.
47725 * configure: Regenerated.
47726 * config.make.in (build-nscd): New substituted variable.
47727 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47728 Change conditional to require [$(build-nscd) = yes] as well.
47729 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47730
47731 [BZ# 13696]
47732 * configure.in (use_nscd): New substituted variable, set by
47733 --disable-nscd. If enabled, define USE_NSCD.
47734 * configure: Regenerated.
47735 * config.h.in: Add USE_NSCD.
47736 * config.make.in (use-nscd): New substituted variable.
47737 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47738 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47739 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47740 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47741 (CFLAGS-getgrnam_r.c): Likewise.
47742 (CFLAGS-initgroups.c): Likewise.
47743 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47744 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47745 Variables removed.
47746 * inet/getnetgrent_r.c
47747 (nscd_setnetgrent): New function, broken out of ...
47748 (setnetgrent): ... here. Call it.
47749 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47750 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47751 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47752 * nscd/Makefile (routines, aux): Move definitions after include of
47753 Makeconfig. Conditionalize on [$(use-nscd) != no].
47754 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47755 Conditionalize on [USE_NSCD].
47756 (is_nscd, nscd_init_cb): Likewise.
47757 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47758 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47759 * nss/nss_db/db-init.c: Likewise.
47760 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47761 [USE_NSCD].
47762 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47763 (make_request): Use it.
47764 (cache_valid_p): New function.
47765 (__check_pf): Use it.
47766 * NEWS: Add item for --disable-nscd.
47767
47768 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47769
47770 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47771 to support sed >= 4.2.1-20-ga9bf076.
47772 * configure: Regenerated.
47773
47774 2012-08-22 Roland McGrath <roland@hack.frob.com>
47775
47776 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47777 Conditionalize whole body on [IREL].
47778
47779 2012-08-22 Jeff Law <law@redhat.com>
47780
47781 [BZ #14505]
47782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47783 if the family is PF_UNSPEC.
47784
47785 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47786
47787 * Makerules (lib-version): Rename from V.
47788 (install-lib-nosubdir): Change V to lib-version.
47789
47790 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47791
47792 [BZ #14252]
47793 * powerpc32/power6/wcschr.c: New file.
47794 * powerpc32/power6/wcscpy.c: New file.
47795 * powerpc32/power6/wcsrchr.c: New file.
47796 * powerpc64/power6/wcschr.c: New file.
47797 * powerpc64/power6/wcscpy.c: New file.
47798 * powerpc64/power6/wcsrchr.c: New file.
47799
47800 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47801
47802 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47803 (two_way_short_needle): Use it.
47804 * string/strstr.c (AVAILABLE1_USES_J): Define.
47805 * string/strcasestr.c: Likewise.
47806
47807 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47808 array references.
47809 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47810
47811 [BZ #11607]
47812 * NEWS: Add an entry.
47813 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47814 define their defaults.
47815 (two_way_short_needle): Detect end-of-string on-the-fly.
47816 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47817 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47818 * string/bug-strcasestr1.c: New test.
47819 * string/Makefile: Run it.
47820
47821 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47822
47823 [BZ #11607]
47824 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47825 the first character.
47826
47827 2012-08-21 Roland McGrath <roland@hack.frob.com>
47828
47829 * csu/elf-init.c (__libc_csu_irel): Function removed.
47830 * csu/libc-start.c (apply_irel): New function.
47831 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47832
47833 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47834
47835 * sysdeps/unix/sysv/linux/kernel-features.h
47836 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47837 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47838 <kernel-features.h>.
47839 [__NR_fadvise64_64]: Make code unconditional.
47840 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47841 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47842 !__NR_fadvise64_64)]: Likewise.
47843 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47844 !__NR_fadvise64_64))]: Likewise.
47845 [__NR_fadvise64]: Make code unconditional.
47846 [!__NR_fadvise64]: Remove conditional code.
47847 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47848 <kernel-features.h>.
47849 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47850 unconditional.
47851 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47852 conditional code.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47854 not include <kernel-features.h>.
47855 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47856 unconditional.
47857 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47858 conditional code.
47859 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47860 include <kernel-features.h>.
47861 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47862 unconditional.
47863 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47864 conditional code.
47865
47866 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47867
47868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47869 slight instruction rearrangements per scrollpipe analysis.
47870 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47871
47872 2012-08-20 Roland McGrath <roland@hack.frob.com>
47873
47874 * manual/syslog.texi (syslog; vsyslog, closelog):
47875 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47876 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47877
47878 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47879 DSOCAPS to match condition on defining it.
47880
47881 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47882
47883 * sysdeps/unix/sysv/linux/kernel-features.h
47884 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47889 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47890 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47892 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47893 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47894
47895 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47896 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47897
47898 * sysdeps/unix/sysv/linux/kernel-features.h
47899 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47900 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47901 unconditional.
47902 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47903 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47904 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47905 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47906 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47907 Make code unconditional.
47908 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47909 (__mmap64) [!__NR_mmap2]: Likewise.
47910 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47911 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47912 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47913 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47914 [__NR_mmap2]: Make code unconditional.
47915 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47916 (__mmap64) [!__NR_mmap2]: Likewise.
47917
47918 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47919
47920 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47921
47922 2012-08-18 Andreas Jaeger <aj@suse.de>
47923
47924 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47925
47926 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47927
47928 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47929 * include/unistd.h (__have_sock_cloexec): Likewise.
47930 (__have_pipe2): Likewise.
47931 (__have_dup3): Likewise.
47932
47933 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47934
47935 [BZ #9685]
47936 * include/unistd.h (__have_pipe2): Change define into an extern int.
47937 (__have_dup3): Likewise.
47938 * socket/have_sock_cloexec.c: Include fcntl.h.
47939 (__have_pipe2): New variable.
47940 (__have_dup3): Likewise.
47941
47942 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47943
47944 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47945
47946 2012-08-17 Marek Polacek <polacek@redhat.com>
47947
47948 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47949 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47950
47951 2012-08-17 Roland McGrath <roland@hack.frob.com>
47952
47953 * configure.in: Add AC_SUBST for sysheaders.
47954 * configure: Regenerated.
47955 * config.make.in (sysheaders): New substituted variable.
47956
47957 * sysdeps/unix/mkfifo.c: Moved ...
47958 * sysdeps/posix/mkfifo.c: ... here.
47959 * sysdeps/unix/mkfifoat.c: Moved ...
47960 * sysdeps/posix/mkfifoat.c: ... here.
47961
47962 * sysdeps/unix/utime.c: Moved ...
47963 * sysdeps/posix/utime.c: ... here.
47964
47965 * sysdeps/unix/time.c: Moved ...
47966 * sysdeps/posix/time.c: ... here.
47967 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47968 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47969
47970 * sysdeps/unix/nice.c: Moved ...
47971 * sysdeps/posix/nice.c: ... here.
47972
47973 * sysdeps/unix/alarm.c: Moved ...
47974 * sysdeps/posix/alarm.c: ... here.
47975
47976 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47977
47978 2012-08-17 Jeff Law <law@redhat.com>
47979
47980 * intl/Makefile (codeset_mo): New variable.
47981 ($(codeset_mo)): New target.
47982 (tst-codeset.out): Depend on that. Remove explicit rule.
47983 (tst-gettext3.out, tst-gettext5.out): Likewise.
47984 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47985 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47986 * intl/tst-codeset.sh: Remove.
47987 * intl/tst-gettext3.sh: Likewise.
47988 * intl/tst-gettext5.sh: Likewise.
47989
47990 2012-08-17 Roland McGrath <roland@hack.frob.com>
47991
47992 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47993 * sysdeps/unix/syscalls.list: ... here.
47994
47995 * sysdeps/posix/getaddrinfo.c
47996 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47997 (gaiconf_init, gaiconf_reload): Use them.
47998 [!_STATBUF_ST_NSEC]
47999 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48000 Define using time_t rather than struct timespec.
48001
48002 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48003 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48004 Macros removed.
48005 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48006 [!NO_THREADS].
48007 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48008 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48009 Likewise.
48010
48011 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48012 __libc_cleanup_push argument.
48013
48014 * bits/param.h: New file.
48015 * misc/sys/param.h: New file.
48016 * include/sys/param.h: New file.
48017 * misc/Makefile (headers): Add bits/param.h.
48018 * sysdeps/generic/sys/param.h: File removed.
48019 * sysdeps/unix/sysv/linux/bits/param.h: New file.
48020 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48021 * sysdeps/mach/hurd/bits/param.h: New file.
48022 * sysdeps/mach/hurd/sys/param.h: File removed.
48023
48024 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48025 last change.
48026
48027 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48028 [_IO_MTSAFE_IO].
48029 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48030 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48031 New macros.
48032
48033 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48034 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48035 rather than -D_IO_MTSAFE_IO conditionally.
48036 * stdio-common/Makefile (CPPFLAGS): Likewise.
48037 * wcsmbs/Makefile (CPPFLAGS): Likewise.
48038 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48039 Use $(libio-mtsafe).
48040 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48041 of -D_IO_MTSAFE_IO.
48042 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48043 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48044 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48045 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48046 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48047 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48048 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48049 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48050 (CFLAGS-fread_u_chk.c): Likewise.
48051 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48052 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48053 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48054 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48055 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48056 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48057 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48058 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48059 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48060
48061 * libio/Makefile: Test [$(libc-reentrant) = yes]
48062 instead of [$(filter %REENTRANT, $(defines)) nonempty].
48063
48064 * Makeconfig
48065 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48066 * sysdeps/pthread/configure: File removed.
48067 * sysdeps/pthread/Makeconfig: New file.
48068 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48069 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48070
48071 2012-08-16 Gary Benson <gbenson@redhat.com>
48072
48073 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48074 unmapping the first object in a namespace.
48075
48076 2012-08-16 Roland McGrath <roland@hack.frob.com>
48077
48078 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48079 (__internal_setnetgrent): ... this. Add internal_function to
48080 definition. Add libc_hidden_def.
48081 (setnetgrent): Update caller.
48082 (internal_endnetgrent): Renamed to ...
48083 (__internal_endnetgrent): ... this. Add internal_function to
48084 definition. Add libc_hidden_def.
48085 (endnetgrent): Update caller.
48086 (internal_getnetgrent_r): Renamed to ...
48087 (__internal_getnetgrent_r): ... this. Add internal_function to
48088 definition. Add libc_hidden_def.
48089 (__getnetgrent_r): Update caller.
48090 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48091
48092 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48093
48094 * stdlib/longlong.h: Update from GCC.
48095
48096 2012-08-16 Roland McGrath <roland@hack.frob.com>
48097
48098 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48099 on _QL, which is set by umul_ppmm but never used.
48100 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48101 variables, which are set by GMP macros but never used.
48102 * stdio-common/_itowa.c (_itowa): Likewise.
48103 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48104 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48105
48106 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48107
48108 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48109 struct La_sh_regs is not constant.
48110 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48111 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48112 and struct La_sparc64_regs are not constant.
48113
48114 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48115
48116 * sysdeps/unix/sysv/linux/kernel-features.h
48117 (__ASSUME_POSIX_TIMERS): Remove.
48118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48120 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48121 Make code unconditional.
48122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48123 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48124 Make code unconditional.
48125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48126 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48127 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48129 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48130 Make code unconditional.
48131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48132 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48133 (__libc_missing_posix_timers): Remove.
48134
48135 2012-08-15 Roland McGrath <roland@hack.frob.com>
48136
48137 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48138 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48139
48140 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48141
48142 * elf/dl-sym.c: Include <stdlib.h>.
48143
48144 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48145 constants, which avoids warnings in 32-bit builds.
48146
48147 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48148 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48149
48150 * misc/lseek.c: File moved to ...
48151 * io/lseek.c: ... here.
48152
48153 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48154
48155 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48156 shifting LEN more than 31 bits at once.
48157
48158 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48159
48160 [BZ #14195]
48161 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48162 segmentation fault for a case of two empty input strings.
48163 * string/test-strncasecmp.c (check1): Renamed to...
48164 (bz12205): ...this.
48165 (bz14195): Add new testcase for two empty input strings and N > 0.
48166 (test_main): Call new testcase, adapt for renamed function.
48167
48168 2012-08-15 Andreas Jaeger <aj@suse.de>
48169
48170 [BZ #14090]
48171 * crypt/md5test2.c: New test, based on test supplied by Serge
48172 Belyshev <belyshev@depni.sinp.msu.ru>.
48173 * crypt/Makefile (xtests): Add md5test-giant..
48174 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48175
48176 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48177
48178 [BZ #14090]
48179 * crypt/md5.c (md5_process_block): Don't assume the buffer
48180 length is less than 2**32.
48181 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48182 length is less than 2**64.
48183
48184 2012-08-15 Roland McGrath <roland@hack.frob.com>
48185
48186 * string/str-two-way.h: Include <sys/param.h>.
48187 (MAX): Macro removed.
48188
48189 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48190 Move #define and #undef of memmove to just before and after
48191 including <string.h>.
48192
48193 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48194 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48195 and after including <string.h>. Move declarations of
48196 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48197 to before #include "string/memmove.c".
48198
48199 * include/dirent.h: Declare __getdirentries.
48200
48201 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48202 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48203
48204 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48205
48206 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48207 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48208 * sysdeps/i386/configure: Regenerated.
48209 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48210 STABS_CURRENT_FILE, and STABS_FUN.
48211 (END): Remove call to STABS_FUN_END.
48212 (STABS_CURRENT_FILE1): Delete.
48213 (STABS_CURRENT_FILE): Likewise.
48214 (STABS_FUN): Likewise.
48215 (STABS_FUN_END): Likewise.
48216 (STABS_FUN2): Likewise.
48217 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48218 * sysdeps/x86_64/configure: Regenerated.
48219
48220 2012-08-14 Roland McGrath <roland@hack.frob.com>
48221
48222 * elf/dl-open.c: Include <atomic.h>.
48223 * elf/dl-lookup.c: Likewise.
48224
48225 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48226
48227 * sysdeps/unix/sysv/linux/kernel-features.h
48228 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48229 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48230 unconditionally.
48231 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48232 unconditionally.
48233 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48234 condition on __ASSUME_CLONE_THREAD_FLAGS.
48235
48236 2012-08-14 Andreas Jaeger <aj@suse.de>
48237
48238 * sysdeps/i386/fpu/libm-test-ulps: Update.
48239
48240 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48241
48242 * include/atomic.h (atomic_exchange_and_add): Split into ...
48243 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48244 New atomic macros.
48245
48246 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48247
48248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48249
48250 2012-08-13 Jeff Law <law@redhat.com>
48251
48252 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48253 null byte in the output string.
48254
48255 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48256
48257 * sysdeps/unix/sysv/linux/kernel-features.h
48258 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48259 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48260 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48261 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48262 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48263 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48264 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48265
48266 2012-08-09 Jeff Law <law@redhat.com>
48267
48268 [BZ #13939]
48269 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48270 When avoid_arena is set, don't retry in the that arena. Pick the
48271 next one, whatever it might be.
48272 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48273 (arena_lock): Pass in new parameter to arena_get2.
48274 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48275 arena_get2.
48276 (__libc_malloc): Unify retrying after main arena failure with
48277 __libc_memalign version.
48278 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48279
48280 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48281
48282 [BZ #14166]
48283 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48284 to __redirect_strstr.
48285 (__strstr_sse42): Use typeof __redirect_strstr.
48286 (__strstr_ia32): Likewise.
48287 (__libc_strstr): New prototype.
48288 (strstr): Renamed to ...
48289 (__libc_strstr): This.
48290 (strstr): New strong alias of __libc_strstr.
48291 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48292 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48293 __redirect_time.
48294 Include <time.h>.
48295 (__libc_time): New prototype.
48296 (time_ifunc): Replace time with __libc_time.
48297 (time): New strong alias and hidden definition of __libc_time.
48298 (__GI_time): Remove strong alias.
48299 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48300 Include <stddef.h>.
48301 (memmove): Redefined to __redirect_memmove.
48302 (__memmove_sse2): Use typeof __redirect_memmove.
48303 (__memmove_ssse3): Likewise.
48304 (__memmove_ssse3_back): Likewise.
48305 (__libc_memmove): New prototype.
48306 (memmove): Renamed to ...
48307 (__libc_memmove): This.
48308 (memmove): New strong alias of __libc_memmove.
48309
48310 2012-08-08 Mark Salter <msalter@redhat.com>
48311
48312 * elf/elf.h
48313 (R_MN10300_TLS_GD): Define.
48314 (R_MN10300_TLS_LD): Likewise.
48315 (R_MN10300_TLS_LDO): Likewise.
48316 (R_MN10300_TLS_GOTIE): Likewise.
48317 (R_MN10300_TLS_IE): Likewise.
48318 (R_MN10300_TLS_LE): Likewise.
48319 (R_MN10300_TLS_DTPMOD): Likewise.
48320 (R_MN10300_TLS_DTPOFF): Likewise.
48321 (R_MN10300_TLS_TPOFF): Likewise.
48322 (R_MN10300_SYM_DIFF): Likewise.
48323 (R_MN10300_ALIGN): Likewise.
48324 (R_MN10300_NUM): Update.
48325
48326 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48327
48328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48329 Remove.
48330
48331 2012-08-08 Roland McGrath <roland@hack.frob.com>
48332
48333 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48334
48335 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48336 sysdeps/unix -> sysdeps/posix move.
48337 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48338
48339 2012-08-07 Allan McRae <allan@archlinux.org>
48340
48341 [BZ #14303]
48342 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48343 (SUNOS_CPP): Likewise.
48344 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48345 not found.
48346 (open_input): Call CPP using execvp.
48347
48348 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48349
48350 * sysdeps/unix/sysv/linux/kernel-features.h
48351 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48352 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48353 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48354 (__ASSUME_WAITID_SYSCALL): Likewise.
48355 * sysdeps/unix/sysv/linux/dl-execstack.c
48356 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48357 code unconditional.
48358 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48359 conditional code.
48360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48361 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48362 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48363 code.
48364 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48365 unconditional.
48366 [__ASSUME_WAITID_SYSCALL]: Likewise.
48367 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48368
48369 2012-08-07 Roland McGrath <roland@hack.frob.com>
48370
48371 * sysdeps/unix/closedir.c: Renamed to ...
48372 * sysdeps/posix/closedir.c: ... here.
48373 * sysdeps/unix/dirfd.c: Renamed to ...
48374 * sysdeps/posix/dirfd.c: ... here.
48375 * sysdeps/unix/dirstream.h: Renamed to ...
48376 * sysdeps/posix/dirstream.h: ... here.
48377 * sysdeps/unix/fdopendir.c: Renamed to ...
48378 * sysdeps/posix/fdopendir.c: ... here.
48379 * sysdeps/unix/opendir.c: Renamed to ...
48380 * sysdeps/posix/opendir.c: ... here.
48381 * sysdeps/unix/readdir.c: Renamed to ...
48382 * sysdeps/posix/readdir.c: ... here.
48383 * sysdeps/unix/readdir_r.c: Renamed to ...
48384 * sysdeps/posix/readdir_r.c: ... here.
48385 * sysdeps/unix/rewinddir.c: Renamed to ...
48386 * sysdeps/posix/rewinddir.c: ... here.
48387 * sysdeps/unix/seekdir.c: Renamed to ...
48388 * sysdeps/posix/seekdir.c: ... here.
48389 * sysdeps/unix/telldir.c: Renamed to ...
48390 * sysdeps/posix/telldir.c: ... here.
48391 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48392 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48393 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48394 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48395
48396 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48397 * bits/fcntl.h: ... here.
48398
48399 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48400 not 0.
48401 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48402 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48403 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48404 (struct flock): Move l_start, l_len to the beginning.
48405 Use __pid_t for l_pid.
48406 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48407 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48408 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48409 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48410 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48411 [__USE_LARGEFILE64] (struct flock64): New type.
48412 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48413
48414 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48415 * bits/dirent.h: ... here.
48416
48417 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48418 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48419
48420 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48421
48422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48423 Change from 2.6.0 to 2.6.16.
48424 * sysdeps/unix/sysv/linux/configure: Regenerated.
48425 * sysdeps/unix/sysv/linux/kernel-features.h
48426 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48427 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48428 version.
48429 (__ASSUME_UTIMES): Likewise.
48430 (__ASSUME_CLONE_STOPPED): Remove.
48431 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48432 architectures, not kernel version.
48433 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48434 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48435 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48436 (__ASSUME_WAITID_SYSCALL): Likewise.
48437 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48438 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48439 * README: State 2.6.16 as minimum Linux kernel version. Do not
48440 refer to older versions.
48441
48442 2012-08-06 Roland McGrath <roland@hack.frob.com>
48443
48444 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48445 Define alphasort64 as an alias.
48446 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48447 Define versionsort64 as an alias.
48448 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48449 Define scandir64 as an alias.
48450 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48451 Define scandirat64 as an alias.
48452 * dirent/alphasort64.c (alphasort64):
48453 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48454 * dirent/versionsort64.c: Likewise.
48455 * dirent/scandir64.c: Likewise.
48456 * dirent/scandirat64.c: Likewise.
48457 * sysdeps/wordsize-64/alphasort.c: File removed.
48458 * sysdeps/wordsize-64/alphasort64.c: File removed.
48459 * sysdeps/wordsize-64/scandir.c: File removed.
48460 * sysdeps/wordsize-64/scandir64.c: File removed.
48461 * sysdeps/wordsize-64/scandirat.c: File removed.
48462 * sysdeps/wordsize-64/scandirat64.c: File removed.
48463 * sysdeps/wordsize-64/versionsort.c: File removed.
48464 * sysdeps/wordsize-64/versionsort64.c: File removed.
48465 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48466 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48467 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48469 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48472 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48473
48474 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48476 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48477 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48478 [defined __arch64__ || defined __sparcv9]
48479 (__INO_T_MATCHES_INO64_T): New macro.
48480 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48481 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48482 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48483 * sysdeps/unix/sysv/linux/bits/dirent.h
48484 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48485 (_DIRENT_MATCHES_DIRENT64): New macro.
48486
48487 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48488 Define lockf64 as an alias.
48489 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48490 Define fseeko64 as an alias.
48491 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48492 Define ftello64 as an alias.
48493 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48494 Define _IO_fgetpos64 and fgetpos64 as aliases.
48495 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48496 Define _IO_fsetpos64 and fsetpos64 as aliases.
48497 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48498 Conditionalize body on this.
48499 * libio/fseeko64.c: Likewise.
48500 * libio/ftello64.c: Likewise.
48501 * libio/iofgetpos64.c: Likewise.
48502 * libio/iofsetpos64.c: Likewise.
48503 * sysdeps/wordsize-64/lockf.c: File removed.
48504 * sysdeps/wordsize-64/lockf64.c: File removed.
48505 * sysdeps/wordsize-64/fseeko.c: File removed.
48506 * sysdeps/wordsize-64/fseeko64.c: File removed.
48507 * sysdeps/wordsize-64/ftello.c: File removed.
48508 * sysdeps/wordsize-64/ftello64.c: File removed.
48509 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48510 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48511 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48512 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48515 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48516 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48517 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48518 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48521 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48522 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48523
48524 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48526 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48528 [defined __arch64__ || defined __sparcv9]
48529 (__OFF_T_MATCHES_OFF64_T): New macro.
48530 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48531 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48533 (__OFF_T_MATCHES_OFF64_T): New macro.
48534
48535 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48536
48537 * stdlib/secure-getenv.c (__secure_getenv): Replace
48538 GLIBC_2_16 with GLIBC_2_17.
48539
48540 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48541
48542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48544
48545 2012-08-03 David S. Miller <davem@davemloft.net>
48546
48547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48548
48549 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48550
48551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48552 Remove.
48553 (__ASSUME_CORRECT_SI_PID): Likewise.
48554 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48555 (__ASSUME_TMPFS_NAME): Likewise.
48556 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48557 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48558 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48559 (HAVE_AUX_SECURE): Make definition unconditional.
48560 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48561 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48562
48563 2012-08-03 Roland McGrath <roland@hack.frob.com>
48564
48565 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48566 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48567 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48568 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48569 __eloop_threshold instead of SYMLOOP_MAX.
48570
48571 * sysdeps/generic/eloop-threshold.h: New file.
48572 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48573 of MAXSYMLINKS.
48574 * elf/chroot_canon.c (chroot_canon): Likewise.
48575
48576 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48577
48578 [BZ #13717]
48579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48580 Change to 2.6.0 everywhere.
48581 * sysdeps/unix/sysv/linux/configure: Regenerated.
48582 * sysdeps/unix/sysv/linux/kernel-features.h
48583 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48584 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48585 kernel versions.
48586 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48587 (__ASSUME_FUTEX_REQUEUE): Remove.
48588 (__ASSUME_STATFS64): Define unconditionally.
48589 (__ASSUME_AT_SECURE): Likewise.
48590 (__ASSUME_CORRECT_SI_PID): Likewise.
48591 (__ASSUME_TGKILL): Define without depending on kernel version for
48592 i386.
48593 (__ASSUME_UTIMES): Likewise.
48594 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48595 kernel version.
48596 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48597 (__ASSUME_TMPFS_NAME): Likewise.
48598 * README: Update reference to Linux kernel versions.
48599
48600 2012-08-02 Marek Polacek <polacek@redhat.com>
48601
48602 [BZ# 14150]
48603 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48604 libc_cv_asm_type_prefix with %.
48605 * configure: Regenerated.
48606 * include/libc-symbols.h: Remove comment about
48607 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48608 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48609 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48610 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48611 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48612 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48613 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48614 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48615 * elf/tst-unique2mod1.c: Likewise.
48616 * elf/tst-unique1mod2.c: Likewise.
48617 * elf/tst-unique1mod1.c: Likewise.
48618 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48619 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48620 Replace ASM_TYPE_DIRECTIVE with .type.
48621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48622 * sysdeps/i386/sysdep.h: Likewise.
48623 * sysdeps/x86_64/sysdep.h: Likewise.
48624 * sysdeps/sh/sysdep.h: Likewise.
48625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48626 Do not define ASM_TYPE_DIRECTIVE.
48627 * sysdeps/powerpc/sysdep.h: Likewise.
48628 * sysdeps/powerpc/powerpc32/sysdep.h:
48629 Replace ASM_TYPE_DIRECTIVE with .type.
48630 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48631 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48632 * sysdeps/i386/fpu/e_powf.S: Likewise.
48633 * sysdeps/i386/fpu/e_expl.S: Likewise.
48634 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48635 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48636 * sysdeps/i386/fpu/e_pow.S: Likewise.
48637 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48638 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48639 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48640 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48641 * sysdeps/i386/fpu/e_log2.S: Likewise.
48642 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48643 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48644 * sysdeps/i386/fpu/e_powl.S: Likewise.
48645 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48646 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48647 * sysdeps/i386/fpu/e_logl.S: Likewise.
48648 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48649 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48650 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48651 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48653 * sysdeps/i386/fpu/e_log.S: Likewise.
48654 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48655 * sysdeps/i386/fpu/e_logf.S: Likewise.
48656 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48657 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48658 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48659 * sysdeps/i386/fpu/e_log10.S: Likewise.
48660 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48661 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48662 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48663 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48664 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48665 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48666 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48667 * sysdeps/i386/i686/strtok.S: Likewise.
48668 * sysdeps/i386/i386-mcount.S: Likewise.
48669 * sysdeps/i386/strtok.S: Likewise.
48670 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48671 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48672 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48674 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48675 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48676 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48677 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48678 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48679 * sysdeps/x86_64/_mcount.S: Likewise.
48680 * sysdeps/x86_64/strtok.S: Likewise.
48681 * sysdeps/sh/_mcount.S: Likewise.
48682
48683 2012-08-01 Roland McGrath <roland@hack.frob.com>
48684
48685 * libio/iofopen.c: Include <fcntl.h>.
48686 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48687 (_IO_fopen64, fopen64): Define as aliases.
48688 * libio/iofopen64.c: Include <fcntl.h>.
48689 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48690 Conditionalize body on this.
48691 * sysdeps/wordsize-64/iofopen.c: File removed.
48692 * sysdeps/wordsize-64/iofopen64.c: File removed.
48693
48694 2012-08-01 Marek Polacek <polacek@redhat.com>
48695
48696 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48697 Use dlfcn directly instead of a variable.
48698 (binfmt-subdir): Do not define.
48699 (dlfcn): Likewise.
48700
48701 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48702
48703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48704 Remove all definitions.
48705 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48706 <kernel-features.h>.
48707 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48708 (miss_F_GETOWN_EX): Remove all definitions.
48709 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48710 macro definition.
48711 [!__ASSUME_FCNTL64]: Remove conditional code.
48712 [__ASSUME_FCNTL64]: Make code unconditional.
48713 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48714 <kernel-features.h>.
48715 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48716 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48717 (lockf64) [__NR_fcntl64]: Make code unconditional.
48718 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48719
48720 * sysdeps/unix/sysv/linux/kernel-features.h
48721 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48722 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48723 Make code unconditional.
48724 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48725 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48727 [__NR_vfork]: Make code unconditional.
48728 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48729 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48731 [__NR_vfork]: Make code unconditional.
48732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48734
48735 2012-08-01 Roland McGrath <roland@hack.frob.com>
48736
48737 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48738 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48739
48740 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48741 Define mkstemp64 as an alias.
48742 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48743 Define mkstemps64 as an alias.
48744 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48745 Define mkostemp64 as an alias.
48746 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48747 Define mkostemps64 as an alias.
48748 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48749 Conditionalize body on this.
48750 * misc/mkostemp64.c: Likewise.
48751 * misc/mkostemps64.c: Likewise.
48752 * misc/mkstemps64.c: Likewise.
48753 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48754 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48755 * sysdeps/wordsize-64/mkostemp.c: File removed.
48756 * sysdeps/wordsize-64/mkstemp.c: File removed.
48757 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48760 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48761
48762 [BZ #14138]
48763 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48764 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48765 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48766 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48767
48768 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48769 compat_symbol macros from <shlib-compat.h> rather than the underlying
48770 default_symbol_version and symbol_version macros, so that DEFAULT
48771 lines in shlib-versions are respected.
48772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48773
48774 2012-08-01 Florian Weimer <fweimer@redhat.com>
48775
48776 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48777 Declare with warn_unused_result.
48778 (setgid, setregid, setegid, setresgid): Likewise.
48779 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48780 Likewise.
48781 * WUR-REPORT: Remove set*id functions.
48782
48783 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48784
48785 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48786
48787 2012-07-31 Roland McGrath <roland@hack.frob.com>
48788
48789 [BZ #10191]
48790 * include/sys/socket.h (__libc_accept, __libc_accept4):
48791 Add attribute_hidden.
48792 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48793
48794 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48795 use of PTR_MANGLE.
48796 * inet/getnetgrent_r.c (setup): Likewise.
48797
48798 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48799
48800 2012-07-31 David S. Miller <davem@davemloft.net>
48801
48802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48803
48804 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48805
48806 [BZ #13629]
48807 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48808 value between 1.0 and 2.0 and smaller part has absolute value less
48809 than 1.0.
48810 * math/s_clog10.c (__clog10): Likewise.
48811 * math/s_clog10f.c (__clog10f): Likewise.
48812 * math/s_clog10l.c (__clog10l): Likewise.
48813 * math/s_clogf.c (__clogf): Likewise.
48814 * math/s_clogl.c (__clogl): Likewise.
48815 * math/libm-test.inc (clog_test): Add more tests.
48816 (clog10_test): Likewise.
48817 * sysdeps/i386/fpu/libm-test-ulps: Update.
48818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48819
48820 2012-07-31 Florian Weimer <fweimer@redhat.com>
48821
48822 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48823 Exit with zero in case no suitable GID is found, and write a
48824 message to standard error.
48825
48826 2012-07-30 Roland McGrath <roland@hack.frob.com>
48827
48828 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48829 rather than to 1.
48830 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48831 (MAXPATHLEN): Removed.
48832 (NOGROUP, NODEV): New macros.
48833 (setbit, clrbit, isset, isclr): New macros.
48834 (howmany, roundup, powerof2): New macros.
48835 (DEV_BSIZE): New macro.
48836
48837 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48838 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48839
48840 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48841 definition on [!__NO_LONG_DOUBLE_MATH].
48842
48843 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48844 PTR_MANGLE and PTR_DEMANGLE.
48845
48846 * socket/accept4.c (accept4): Rename to __libc_accept4.
48847 Define accept4 as a weak alias.
48848
48849 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48850 on [_DIRENT_HAVE_D_TYPE].
48851 * io/ftw.c (ftw_dir): Likewise.
48852
48853 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48854
48855 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48856
48857 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48858 Use the BSD numbers rather than the arbitrary ones we had.
48859 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48860 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48861 (SIGXCPU, SIGXFSZ): New macros.
48862 (_NSIG): Now 32.
48863
48864 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48865 initializer on [_LIBC_REENTRANT].
48866
48867 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48868 definitions inside [_POSIX_MAPPED_FILES].
48869
48870 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48871
48872 * dirent/opendir.c: Include <fcntl.h>.
48873
48874 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48875 (__libc_getspecific): Likewise.
48876 (__libc_key_create): Likewise.
48877
48878 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48879 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48880 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48881 (tmpfile64): Define as alias.
48882 * sysdeps/wordsize-64/tmpfile.c: File removed.
48883 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48884 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48885 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48886
48887 * stdio-common/vfscanf.c: Include <stdbool.h>.
48888 * nss/makedb.c: Likewise.
48889 * stdio-common/_i18n_number.h: Likewise.
48890 * argp/argp-help.c: Likewise.
48891 * posix/wordexp.c: Likewise.
48892 * sysdeps/posix/spawni.c: Likewise.
48893 * nss/nss_files/files-initgroups.c: Likewise.
48894 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48895 * nss/nss_files/files-initgroups.c: Likewise.
48896 * nss/nss_db/db-netgrp.c: Likewise.
48897 * nss/nss_db/db-initgroups.c: Likewise.
48898 * io/fchmodat.c: Include <sys/stat.h>.
48899
48900 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48901 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48902
48903 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48904 [HAVE_MMAP].
48905
48906 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48907 Add multiple inclusion protection.
48908
48909 2012-07-27 David S. Miller <davem@davemloft.net>
48910
48911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48912
48913 2012-07-27 Gary Benson <gbenson@redhat.com>
48914
48915 [BZ #14298]
48916 * elf/rtld.c: Include <stap-probe.h>.
48917 (dl_main): Added static probes "init_start" and "init_complete".
48918 * elf/dl-load.c: Include <stap-probe.h>.
48919 (lose): Take new parameter "nsid".
48920 Added static probe "map_failed".
48921 (_dl_map_object_from_fd): Pass namespace id to lose.
48922 Added static probe "map_start".
48923 (open_verify): Pass namespace id to lose.
48924 * elf/dl-open.c: Include <stap-probe.h>.
48925 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48926 and "reloc_complete".
48927 * elf/dl-close.c: Include <stap-probe.h>.
48928 (_dl_close_worker): Added static probes "unmap_start" and
48929 "unmap_complete".
48930 * elf/rtld-debugger-interface.txt: New file documenting the above.
48931
48932 2012-07-26 Roland McGrath <roland@hack.frob.com>
48933
48934 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48935 rather than a string variable.
48936 * sunrpc/rpc_main.c (h_output): Likewise.
48937 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48938
48939 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48940
48941 * inet/check_native.c: New file.
48942
48943 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48944
48945 [BZ #13629]
48946 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48947 if larger part has absolute value 1.0.
48948 * math/s_clog10.c (__clog10): Likewise.
48949 * math/s_clog10f.c (__clog10f): Likewise.
48950 * math/s_clog10l.c (__clog10l): Likewise.
48951 * math/s_clogf.c (__clogf): Likewise.
48952 * math/s_clogl.c (__clogl): Likewise.
48953 * math/libm-test.inc (clog_test): Add more tests.
48954 (clog10_test): Likewise.
48955 * sysdeps/i386/fpu/libm-test-ulps: Update.
48956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48957
48958 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48959 (pltexit): Likewise.
48960 (La_regs): Likewise.
48961 (La_retval): Likewise.
48962 (int_retval): Likewise.
48963 Update #error for removed macros to refer only to definitions in
48964 tst-audit.h.
48965 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48966 macro.
48967 (pltexit): Likewise.
48968 (La_regs): Likewise.
48969 (La_retval): Likewise.
48970 (int_retval): Likewise.
48971 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48972 macro.
48973 (pltexit): Likewise.
48974 (La_regs): Likewise.
48975 (La_retval): Likewise.
48976 (int_retval): Likewise.
48977 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48978 macro.
48979 (pltexit): Likewise.
48980 (La_regs): Likewise.
48981 (La_retval): Likewise.
48982 (int_retval): Likewise.
48983 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48984 macro.
48985 (pltexit): Likewise.
48986 (La_regs): Likewise.
48987 (La_retval): Likewise.
48988 (int_retval): Likewise.
48989 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48990 macro.
48991 (pltexit): Likewise.
48992 (La_regs): Likewise.
48993 (La_retval): Likewise.
48994 (int_retval): Likewise.
48995 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48996 macro.
48997 (pltexit): Likewise.
48998 (La_regs): Likewise.
48999 (La_retval): Likewise.
49000 (int_retval): Likewise.
49001 * sysdeps/generic/tst-audit.h: Update comment to refer only to
49002 macro definitions in tst-audit.h.
49003 * sysdeps/i386/tst-audit.h: New file.
49004 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49005 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49006 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49007 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49008 * sysdeps/sh/tst-audit.h: Likewise.
49009 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49010 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49011 * sysdeps/x86_64/tst-audit.h: Likewise.
49012
49013 2012-07-26 Andreas Jaeger <aj@suse.de>
49014
49015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49016 ptrace.
49017
49018 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49019 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49020 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49021 PTRACE_O_MASK.
49022 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49023 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49024 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49025
49026 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49027 value.
49028
49029 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49030 _sigsys.
49031 (si_call_addr, si_syscall, si_arch): Define new macro.
49032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49033 _sigsys.
49034 (si_call_addr, si_syscall, si_arch): Define new marcro.
49035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49036 _sigsys.
49037 (si_call_addr, si_syscall, si_arch): Define new macro.
49038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49039 _sigsys.
49040 (si_call_addr, si_syscall, si_arch): Define new macro.
49041
49042 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49043
49044 [BZ #13717]
49045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49046 Change to 2.4.21 where previously 2.4.1.
49047 * sysdeps/unix/sysv/linux/configure: Regenerated.
49048 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49049 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49050 Linux kernel version.
49051 (__ASSUME_STD_AUXV): Remove.
49052 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49053 kernel version.
49054 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49055 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49056 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49057 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49058 (__ASSUME_NETLINK_SUPPORT): Likewise.
49059 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49060 (__no_netlink_support): Remove conditional definition.
49061 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49062 Remove.
49063 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49064 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49065 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49066 (if_nameindex_ioctl): Remove.
49067 (if_nameindex_netlink): Do not handle __no_netlink_support.
49068 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49069 code.
49070 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49071 Remove conditional code.
49072 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49073 code.
49074 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49075 unconditional.
49076 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49077 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49078 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49079 Remove.
49080 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49081 [!__ASSUME_STD_AUXV]: Remove conditional code.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49083 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49084 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49086 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49087 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49088 code.
49089 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49091 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49093 conditional code.
49094 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49096 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49097 code.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49100 conditional code.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49102 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49103 code unconditional.
49104 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49105 conditional code.
49106 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49107 unconditional.
49108 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49109 conditional code.
49110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49111 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49112 unconditional.
49113 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49114 conditional code.
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49116 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49117 code unconditional.
49118 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49119 conditional code.
49120 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49121 unconditional.
49122 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49123 conditional code.
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49125 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49126 code unconditional.
49127 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49128 conditional code.
49129 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49130 unconditional.
49131 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49132 conditional code.
49133
49134 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49135
49136 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49137 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49138 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49139 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49140 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49141 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49142 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49143 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49144 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49145 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49146 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49147 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49148 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49149 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49150 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49151 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49152 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49154 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49156 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49157 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49159
49160 2012-07-25 Florian Weimer <fweimer@redhat.com>
49161
49162 * Versions.def: Add GLIBC_2.17.
49163 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49164 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49165 Introduce __libc_secure_getenv.
49166 * stdlib/Versions (2.17): Add secure_getenv
49167 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49168 * stdlib/secure-getenv.c: Rename __secure_getenv to
49169 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49170 symbol __secure_getenv for GLIBC_2.0.
49171 * stdlib/tst-secure-getenv.c: New.
49172 * stdlib/Makefile (tests): Add testcase.
49173 * manual/startup.texi (Environment Access): Document
49174 secure_getenv.
49175 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49176 __libc_secure_getenv.
49177 * inet/ruserpass.c (ruserpass): Likewise.
49178 * malloc/mtrace.c (mtrace): Likewise.
49179 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49180 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49181 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49182 * sysdeps/posix/tempname.c: Likewise. Evaluate
49183 HAVE_SECURE_GETENV.
49184 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49185 __secure_getenv to __libc_secure_getenv.
49186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49188 Likewise.
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49190 Likewise.
49191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49198
49199 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49200
49201 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49202 (struct La_i86_retval): Likewise.
49203 (struct La_x86_64_regs): Likewise.
49204 (struct La_x86_64_retval): Likewise.
49205 (struct La_x32_regs): Likewise.
49206 (struct La_x32_retval): Likewise.
49207 (struct La_ppc32_regs): Likewise.
49208 (struct La_ppc32_retval): Likewise.
49209 (struct La_ppc64_regs): Likewise.
49210 (struct La_ppc64_retval): Likewise.
49211 (struct La_sh_regs): Likewise.
49212 (struct La_sh_retval): Likewise.
49213 (struct La_s390_32_regs): Likewise.
49214 (struct La_s390_32_retval): Likewise.
49215 (struct La_s390_64_regs): Likewise.
49216 (struct La_s390_64_retval): Likewise.
49217 (struct La_sparc32_regs): Likewise.
49218 (struct La_sparc32_retval): Likewise.
49219 (struct La_sparc64_regs): Likewise.
49220 (struct La_sparc64_retval): Likewise.
49221 (struct audit_ifaces): Remove architecture-specific pltenter and
49222 pltexit members.
49223 * sysdeps/i386/ldsodefs.h: New file.
49224 * sysdeps/powerpc/ldsodefs.h: Likewise.
49225 * sysdeps/s390/ldsodefs.h: Likewise.
49226 * sysdeps/sh/ldsodefs.h: Likewise.
49227 * sysdeps/sparc/ldsodefs.h: Likewise.
49228 * sysdeps/x86_64/ldsodefs.h: Likewise.
49229
49230 2012-07-25 Marek Polacek <polacek@redhat.com>
49231
49232 [BZ #6808]
49233 * math/libm-test.inc (yn_test): Add another test.
49234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49235 to ERANGE when the result is +-Inf.
49236 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49237 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49238 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49239 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49240
49241 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49242
49243 * conform/data/time.h-data (NULL): Use macro-constant. Require
49244 equal to 0.
49245 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49246 clock_t.
49247 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49248
49249 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49250
49251 * configure.in <sysdeps resolving>: Correct printing
49252 Implies_before.
49253 * configure: Regenerate.
49254
49255 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49256
49257 * math/w_ilogb.c: Include <limits.h>.
49258 * math/w_ilogbl.c: Likewise.
49259
49260 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49261
49262 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49263 va_copy. Document allowing for unavailable va_copy only as
49264 pre-C99 compatibility.
49265 * manual/string.texi (Copying and Concatenation): Use va_copy
49266 instead of __va_copy in concat example.
49267
49268 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49269
49270 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49271 (__sendto): Use create_address_port. Initialize APORT and deallocate
49272 it if not null.
49273
49274 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49275 with O_NOLINK passed to __file_name_lookup.
49276
49277 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49278 with O_NOLINK passed to __file_name_lookup.
49279
49280 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49281 negative N or less than NGIDS.
49282
49283 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49284 type to string_t. Set ERANGE as errno and return it if NAME is not big
49285 enough. Use memcpy instead of strncpy.
49286
49287 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49288
49289 * elf/Makefile (check-data): Remove.
49290 (localplt.data): New vpath directive.
49291 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49292 instead of $(check-data).
49293 * scripts/data/localplt-generic.data: Move to ...
49294 * sysdeps/generic/localplt.data: ... here.
49295 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49296 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49297 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49299 ... here.
49300 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49302 ... here.
49303 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49305 ... here.
49306 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49308 ... here.
49309 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49311 ... here.
49312 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49314 ... here.
49315
49316 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49317
49318 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49319 PPC32 and PPC64 files.
49320 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49321 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49322
49323 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49324
49325 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49326 __makecontext_ret to ...
49327 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49328 ... here and call exit if uc_link is NULL. New file.
49329 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49330 __makecontext_ret.S.
49331 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49332 __makecontext_ret to ...
49333 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49334 ... here and call exit if uc_link is NULL. New file.
49335 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49336 __makecontext_ret.S.
49337
49338 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49339
49340 * elf/elf.h (R_390_IRELATIVE): New definition.
49341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49342 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49343 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49345 (elf_machine_lazy_rel): Likewise.
49346 * sysdeps/s390/dl-irel.h: New file.
49347 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49348 * sysdeps/s390/s390-64/memset.S: New asm code.
49349 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49350 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49351 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49352 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49353 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49354 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49356 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49357 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49358 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49359 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49360 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49361 * sysdeps/s390/s390-32/memset.S: New asm code.
49362 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49363
49364 2012-07-17 Marek Polacek <polacek@redhat.com>
49365
49366 [BZ #14349]
49367 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49368 * sysdeps/s390/s390-64/configure.in: Likewise.
49369 * sysdeps/sparc/configure.in: Likewise.
49370 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49371 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49372 * sysdeps/i386/configure.in: Likewise.
49373 * sysdeps/x86_64/configure.in: Likewise.
49374 * sysdeps/sh/configure.in: Likewise.
49375 * sysdeps/s390/s390-32/configure: Regenerated.
49376 * sysdeps/s390/s390-64/configure: Likewise.
49377 * sysdeps/x86_64/configure: Likewise.
49378 * sysdeps/sh/configure: Likewise.
49379 * sysdeps/powerpc/powerpc64/configure: Likewise.
49380 * sysdeps/powerpc/powerpc32/configure: Likewise.
49381 * sysdeps/sparc/configure: Likwise.
49382 * sysdeps/i386/configure: Likewise.
49383
49384 * elf/dl-open.c: Comment fixes.
49385
49386 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49387
49388 * Makefile [CXX] (check-data): Remove.
49389 [CXX] (c++-types.data): New vpath directive.
49390 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49391 vpath. Do not allow for C++ type data being missing.
49392 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49393 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49394 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49395 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49396 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49397 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49398 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49400 ... here.
49401 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49403 ... here.
49404 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49406 ... here.
49407 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49409 ... here.
49410 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49412 ... here.
49413 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49415 ... here.
49416 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49418 ... here.
49419 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49421
49422 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49423 definitions to architecture-specific files.
49424 (TLS_IE): Likewise.
49425 (TLS_LD): Likewise.
49426 (TLS_GD): Likewise.
49427 * sysdeps/i386/tls-macros.h: New file.
49428 * sysdeps/powerpc/tls-macros.h: Likewise.
49429 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49430 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49431 * sysdeps/sh/tls-macros.h: Likewise.
49432 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49433 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49434 * sysdeps/x86_64/tls-macros.h: Likewise.
49435
49436 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49437
49438 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49439 zero value for regular exit case.
49440
49441 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49442 (__start_context): Preserve zero value for regular exit case.
49443
49444 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49445 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49446
49447 * manual/setjmp.texi (setcontext): Clarify normal process
49448 termination when uc_link is the null pointer.
49449 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49450 exit call.
49451
49452 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49453
49454 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49455 preprocessor. Test for each exception mask separately.
49456
49457 2012-07-16 Andreas Jaeger <aj@suse.de>
49458
49459 * po/ru.po: Update from translation team.
49460
49461 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49462
49463 * conform/data/string.h-data (NULL): Use macro-constant. Require
49464 equal to 0.
49465 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49466 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49467 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49468 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49470
49471 2012-07-13 Andreas Jaeger <aj@suse.de>
49472
49473 * po/fr.po: Update from translation team.
49474
49475 2012-07-12 Marek Polacek <polacek@redhat.com>
49476
49477 [BZ #14173]
49478 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49480 loop condition.
49481
49482 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49483
49484 [BZ #13717]
49485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49486 Change to 2.4.1 where previously 2.4.0.
49487 * sysdeps/unix/sysv/linux/configure: Regenerated.
49488 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49489 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49490 version.
49491 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49492 (__ASSUME_AT_CLKTCK): Remove.
49493 (__ASSUME_AT_PAGESIZE): Likewise.
49494 (__ASSUME_AT_XID): Likewise.
49495 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49496 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49497 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49498 unconditionally.
49499 (HAVE_AUX_PAGESIZE): Likewise.
49500 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49501 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49502 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49503
49504 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49505
49506 [BZ #14307]
49507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49508 the temporary buffer used to invoke __gethostbyname2_r,
49509 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49510 host_data / struct gaih_addrtuple.
49511 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49512 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49513 header file nss/nsswitch.h.
49514 * nss/nsswitch.h (global scope): Add definition of implementation
49515 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49516 resolv/nss_dns/dns-host.c).
49517
49518 2012-07-11 Andreas Jaeger <aj@suse.de>
49519
49520 * po/fr.po: Update from translation team.
49521
49522 * po/sv.po: Update from translation team
49523 * po/fr.po: Another update from translation team.
49524
49525 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49526
49527 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49528 for subnormals or multiply small sinh result by itself.
49529 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49531
49532 2012-07-11 David S. Miller <davem@davemloft.net>
49533
49534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49535
49536 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49537
49538 [BZ #14347]
49539 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49540 (INTERNAL_MARK): Shift it here.
49541
49542 2012-07-10 Marek Polacek <polacek@redhat.com>
49543
49544 [BZ #14151]
49545 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49546 libc_cv_asm_global_directive with .globl.
49547 * configure: Regenerated.
49548 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49549 with .globl.
49550 * sysdeps/i386/configure: Regenerated.
49551 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49552 with .globl.
49553 * sysdeps/x86_64/configure: Regenerated.
49554 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49555 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49556 * elf/tst-unique2mod2.c: Likewise.
49557 * elf/tst-unique2mod1.c: Likewise.
49558 * elf/tst-unique1mod2.c: Likewise.
49559 * elf/tst-unique1mod1.c: Likewise.
49560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49561 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49564 * sysdeps/mach/sysdep.h: Likewise.
49565 * sysdeps/i386/sysdep.h: Likewise.
49566 * sysdeps/i386/i386-mcount.S: Likewise.
49567 * sysdeps/x86_64/_mcount.S: Likewise.
49568 * sysdeps/x86_64/sysdep.h: Likewise.
49569 * sysdeps/sh/_mcount.S: Likewise.
49570 * sysdeps/sh/sysdep.h: Likewise.
49571 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49572 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49573 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49574 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49575 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49576 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49577 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49578 * locale/localeinfo.h: Likewise.
49579 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49580 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49581
49582 2012-07-09 Roland McGrath <roland@hack.frob.com>
49583
49584 [BZ #14336]
49585 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49586 system".
49587 * manual/message.texi (The Uniforum approach): Likewise.
49588 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49589 (glibc iconv Implementation): Likewise.
49590
49591 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49592
49593 [BZ #14337]
49594 * math/s_clog.c (__clog): Avoid scaling a value down where that
49595 could result in underflow.
49596 * math/s_clog10.c (__clog10): Likewise.
49597 * math/s_clog10f.c (__clog10f): Likewise.
49598 * math/s_clog10l.c (__clog10l): Likewise.
49599 * math/s_clogf.c (__clogf): Likewise.
49600 * math/s_clogl.c (__clogl): Likewise.
49601 * math/libm-test.inc (clog_test): Add more tests.
49602 (clog10_test): Likewise.
49603 * sysdeps/i386/fpu/libm-test-ulps: Update.
49604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49605
49606 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49607
49608 [BZ #14283]
49609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49610 by 7 not 8 to examine high bit of fractional part.
49611
49612 [BZ #14042]
49613 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49614 for call to __mcount_internal.
49615 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49616 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49617 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49618
49619 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49620
49621 [BZ #14154]
49622 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49623 approximation for values within 0x1p-13f of an odd multiple of
49624 pi/4.
49625 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49626 exception. Add more tests.
49627 * sysdeps/i386/fpu/libm-test-ulps: Update.
49628
49629 [BZ #6778]
49630 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49631 inputs and return -1 for them. Do not check for +Inf in case not
49632 reachable for +Inf.
49633 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49634 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49636 and return -1 for them. Do not check for +Inf in case not
49637 reachable for +Inf.
49638 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49639 define.
49640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49641 and return -1 for them. Do not check for +Inf in case not
49642 reachable for +Inf.
49643 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49644 spurious underflow.
49645 * sysdeps/i386/fpu/libm-test-ulps: Update.
49646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49647
49648 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49649
49650 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49651
49652 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49653
49654 [BZ #14157]
49655 [BZ #14331]
49656 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49657 could result in spurious underflow. Scale down values above
49658 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49659 * math/s_csqrtf.c (__csqrtf): Likewise.
49660 * math/s_csqrtl.c (__csqrtl): Likewise.
49661 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49662 spurious underflow.
49663 * sysdeps/i386/fpu/libm-test-ulps: Update.
49664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49665
49666 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49667
49668 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49669 xopen-msg.sed.
49670 * catgets/xopen-msg.awk: New file.
49671 * catgets/xopen-msg.sed: Removed.
49672
49673 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49674 po2text.sed.
49675 * intl/po2test.awk: New file.
49676 * intl/po2test.sed: Removed.
49677
49678 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49679
49680 [BZ #14328]
49681 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49682 or multiply small sinh result by itself.
49683 * math/s_ctanf.c (__ctanf): Likewise.
49684 * math/s_ctanh.c (__ctanh): Likewise.
49685 * math/s_ctanhf.c (__ctanhf): Likewise.
49686 * math/s_ctanhl.c (__ctanhl): Likewise.
49687 * math/s_ctanl.c (__ctanl): Likewise.
49688 * math/libm-test.inc (ctan_test_tonearest): New function.
49689 (ctan_test_towardzero): Likewise.
49690 (ctan_test_downward): Likewise.
49691 (ctan_test_upward): Likewise.
49692 (ctanh_test_tonearest): Likewise.
49693 (ctanh_test_towardzero): Likewise.
49694 (ctanh_test_downward): Likewise.
49695 (ctanh_test_upward): Likewise.
49696 (main): Call these new functions.
49697 * sysdeps/i386/fpu/libm-test-ulps: Update.
49698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49699
49700 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49701
49702 * .gitignore: Delete /ports entry.
49703
49704 2012-07-03 Andreas Jaeger <aj@suse.de>
49705
49706 * po/bg.po: Update from translation team.
49707 * po/cs.po: Likewise.
49708 * po/de.po: Likewise.
49709 * po/hr.po: Likewise.
49710 * po/nl.pl: Likewise.
49711 * po/pl.po: Likewise.
49712 * po/vi.po: Likewise.
49713
49714 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49715
49716 * Makeconfig [!+link] (+link-before-libc): New variable.
49717 [!+link] (+link-after-libc): Likewise.
49718 [!+link] (+link-tests): Likewise.
49719 [!+link] (+link): Define in terms of $(+link-before-libc) and
49720 $(+link-after-libc).
49721 [!+link-static] (+link-static-before-libc): New variable.
49722 [!+link-static] (+link-static-after-libc): Likewise.
49723 [!+link-static] (+link-static-tests): Likewise.
49724 [!+link-static] (+link-static): Define in terms of
49725 $(+link-static-before-libc) and $(+link-static-after-libc).
49726 [build-shared] (link-libc-before-gnulib): New variable.
49727 [build-shared] (link-libc-tests): Likewise.
49728 [build-shared] (link-libc): Define in terms of
49729 $(link-libc-before-gnulib).
49730 [!build-shared] (link-libc-tests): New variable.
49731 (link-libc-static-tests): New variable.
49732 [!gnulib] (gnulib-arch): New variable.
49733 [!gnulib] (gnulib-tests): Likewise.
49734 [!gnulib] (static-gnulib-arch): Likewise.
49735 [!gnulib] (static-gnulib-tests): Likewise.
49736 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49737 Define with "=" instead of ":=".
49738 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49739 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49740 * Rules (binaries-all-notests): New variable.
49741 (binaries-all-tests): Likewise.
49742 (binaries-static-notests): Likewise.
49743 (binaries-static-tests): Likewise.
49744 (binaries-all): Define using $(binaries-all-notests) and
49745 $(binaries-all-tests).
49746 (binaries-static): Define using $(binaries-static-notests) and
49747 $(binaries-static-tests).
49748 (binaries-shared-tests): New variable.
49749 (binaries-shared-notests): Likewise.
49750 (binaries-shared): Remove variable.
49751 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49752 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49753 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49754 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49755 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49756 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49757 * elf/Makefile (sln-modules): New variable.
49758 (extra-objs): Add $(sln-modules:=.o).
49759 (ldconfig-modules): Add static-stubs.
49760 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49761 * elf/static-stubs.c: New file.
49762
49763 [BZ #14283]
49764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49765 by 7 not 8 to examine high bit of fractional part. Use volatile
49766 variables when splitting into final array of floats if
49767 __FLT_EVAL_METHOD__ != 0.
49768 * math/libm-test.inc (cos_test): Add another test.
49769 (sin_test): Likewise.
49770 * sysdeps/i386/fpu/libm-test-ulps: Update.
49771
49772 [BZ #14273]
49773 * math/libm-test.inc (cosh_test): Add more tests.
49774
49775 * version.h (RELEASE): Set to "development".
49776 (VERSION): Set to "2.16.90".
49777
49778 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49779
49780 * NEWS: Update copyright. Remove last-updated date.
49781 Mention math library bug fixes and timezone data changes.
49782 * README: Mention GNU/Hurd, x32, and HPPA support status.
49783
49784 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49785
49786 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49787
49788 2012-06-27 Andreas Jaeger <aj@suse.de>
49789
49790 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49791
49792 2012-06-25 Andreas Jaeger <aj@suse.de>
49793
49794 * sysdeps/s390/fpu/libm-test-ulps: Update.
49795
49796 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49797 Thomas Schwinge <thomas@codesourcery.com>
49798
49799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49800 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49802 fanotify_mark.
49803
49804 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49805
49806 * sysdeps/mach/start.c: Remove file.
49807 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49808 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49809 * sysdeps/sh/init-first.c: Likewise.
49810
49811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49812 registers for frame unwinding purposes, add CFI directives.
49813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49814 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49815 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49816 Likewise.
49817
49818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49819 __fortify_fail returning.
49820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49821
49822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49823 sysdeps/sh/____longjmp_chk.S.
49824 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49825 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49826 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49827 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49828
49829 * sysdeps/sh/abort-instr.h: New file.
49830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49831 process in case exit returns.
49832
49833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49834 initialize the GOT register before use.
49835
49836 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49837 calculation of ARGC > 4.
49838
49839 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49840 meaningful names to some local labels.
49841
49842 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49843 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49844
49845 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49846 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49847 (__arch_compare_and_exchange_val_16_acq): Likewise.
49848 (__arch_compare_and_exchange_val_32_acq): Likewise.
49849 (atomic_exchange_and_add): Fix gUSA sequence.
49850 (atomic_add): Likewise.
49851 (atomic_add_negative): Likewise.
49852 (atomic_add_zero): Likewise.
49853 (atomic_bit_test_set): Likewise.
49854
49855 2012-06-22 Andreas Schwab <schwab@redhat.com>
49856
49857 [BZ #13579]
49858 * include/link.h (struct link_map): Add l_free_initfini.
49859 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49860 l_initfini.
49861 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49862 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49863 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49864 set.
49865
49866 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49867
49868 * configure.in: Use AC_LANG_SOURCE.
49869 * configure: Regenerate.
49870
49871 2012-06-22 Roland McGrath <roland@hack.frob.com>
49872
49873 * configure.in (libc_cv_localstatedir): New substituted variable.
49874 * configure: Regenerated.
49875 * config.make.in (localstatedir): New variable, substituted from
49876 libc_cv_localstatedir.
49877 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49878 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49879 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49880 * sysdeps/gnu/configure: Regenerated.
49881
49882 2012-06-21 Jeff Law <law@redhat.com>
49883
49884 [BZ #14277]
49885 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49886 free. Simplify list management for _LIBC case.
49887
49888 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49889
49890 [BZ #14273]
49891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49892 Clear sign bit of 64-bit integer value before comparing against
49893 overflow value.
49894
49895 * sysdeps/mach/configure: Regenerated.
49896
49897 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49898
49899 [BZ #14278]
49900 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49901
49902 2012-06-21 Jeff Law <law@redhat.com>
49903
49904 [BZ #13882]
49905 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49906 uint16_t for elements in the "seen" array to avoid char overflows.
49907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49908 * elf/dl-open.c (dl_open_worker): Likewise.
49909
49910 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49911
49912 * scripts/list-sources.sh: Scan PORTS for translations.
49913 * po/libc.pot: Regenerated.
49914
49915 2012-06-21 Andreas Jaeger <aj@suse.de>
49916
49917 [BZ #12194]
49918 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49919 warning.
49920 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49921 * bits/byteswap-16.h (__bswap_16): Likewise.
49922 * bits/byteswap.h (__bswap_constant_16): Likewise.
49923
49924 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49925
49926 [BZ #14117]
49927 * sysdeps/i386/fpu_control.h: Removed.
49928 * sysdeps/x86_64/fpu_control.h: Moved to ...
49929 * sysdeps/x86/fpu_control.h: Here.
49930
49931 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49932 (_FPU_SETCW): Likewise.
49933
49934 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49935
49936 [BZ #14117]
49937 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49938 * sysdeps/x86/fpu/bits/mathinline.h: This.
49939 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49940
49941 [BZ #14050]
49942 [BZ #14117]
49943 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49944 functions if __x86_64__ is defined.
49945
49946 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49947
49948 * string/endian.h: Add !__ASSEMBLER__ condition for including
49949 conversion interfaces.
49950
49951 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49952
49953 [BZ #14241]
49954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49955 of ABS(x) in calculating zero to negative powers other than odd
49956 integers.
49957 * math/libm-test.inc (pow_test): Add more tests.
49958
49959 2012-06-15 Andreas Jaeger <aj@suse.de>
49960
49961 * manual/contrib.texi (Contributors): Update entry of Liubov
49962 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49963 Machado Filho.
49964
49965 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49966
49967 * string/string.h: Add __wur to GNU version of strerror_r.
49968
49969 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49970
49971 [BZ #14229]
49972 * string/Makefile (tests): Add tst-strtok_r.
49973 * string/tst-strtok_r.c: New file.
49974 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49975 RAX_LP/RDX_LP on SAVE_PTR.
49976
49977 2012-06-14 Roland McGrath <roland@hack.frob.com>
49978
49979 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49980
49981 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49982
49983 * libm_test.inc (csqrt_test): Allow more spurious underflow
49984 exceptions.
49985 (j0_test): Likewise.
49986 (j1_test): Likewise.
49987 (y0_test): Likewise.
49988 (y1_test): Likewise.
49989
49990 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49991
49992 * po/Makefile (libc.pot): Use UTF-8 charset.
49993
49994 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49995
49996 [BZ #14210]
49997 Suppress sign-conversion warning from FD_SET.
49998 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49999 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50000 not unsigned long int.
50001 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50002
50003 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
50004
50005 [BZ #14050]
50006 [BZ #14117]
50007 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50008 __extern_always_inline instead of __extern_inline.
50009 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50010 (__signbit): Likewise.
50011 (__signbitl): Support C++ namespace.
50012 (lrintf): New inline function.
50013 (lrint): Likewise.
50014 (llrintf): Likewise.
50015 (llrint): Likewise.
50016 (fmaxf): Likewise.
50017 (fmax): Likewise.
50018 (fminf): Likewise.
50019 (fmin): Likewise.
50020 (rint): Likewise.
50021 (rintf): Likewise.
50022 (ceil): Likewise.
50023 (ceilf): Likewise.
50024 (floor): Likewise.
50025 (floorf): Likewise.
50026 (nearbyint): Likewise.
50027 (nearbyintf): Likewise.
50028
50029 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
50030
50031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50032 non-default versions.
50033
50034 2012-06-11 Roland McGrath <roland@hack.frob.com>
50035
50036 [BZ #14218]
50037 * manual/argp.texi (Argp): Reword argp_parse description slightly.
50038
50039 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
50040
50041 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50042 (FE_UPWARD, FE_DOWNWARD): Don't define.
50043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50045
50046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50047 reading it.
50048 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50050
50051 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50052
50053 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50056 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50057
50058 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
50059
50060 [BZ #14117]
50061 * sysdeps/i386/fpu/bits/fenv.h: Removed.
50062 * sysdeps/i386/fpu/Implies: New file.
50063 * sysdeps/x86_64/fpu/Implies: Likewise.
50064 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50065 * sysdeps/x86/fpu/bits/fenv.h: This.
50066
50067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50068 __SSE_MATH__.
50069
50070 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50071
50072 [BZ #14134]
50073 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50074 character 0xffff that matches the last element of the
50075 conversion table.
50076
50077 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50078
50079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50080 fmodl commit.
50081
50082 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50083
50084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50085 values higher than 25.6283.
50086
50087 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50088
50089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50090 subnormal exponent extraction and add some __builtin_expect.
50091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50092 Fix for subnormal mantissa calculation.
50093
50094 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50095
50096 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50097 cpu2 is -1 and errno is not ENOSYS.
50098
50099 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50100
50101 [BZ #14117]
50102 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50103 * sysdeps/x86/bits/string.h: This.
50104 * sysdeps/x86_64/bits/string.h: Removed.
50105
50106 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50107 if not compiling for x86-64, but compiling for >= i486.
50108
50109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50110 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50111
50112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50113 New macro from Linux kernel 3.4.0.
50114 (FP_XSTATE_MAGIC2): Likewise.
50115 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50116 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50117 (struct _fpx_sw_bytes): New struct.
50118 (struct _xsave_hdr): Likewise.
50119 (struct _ymmh_state): Likewise.
50120 (struct _xstate): Likewise.
50121
50122 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50123 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50125 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50127 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50128
50129 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50131 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50132 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50133 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50134 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50135
50136 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50137
50138 [BZ #13743]
50139 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50140 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50141 (sysdep_headers): Include sys/platform/ppc.h.
50142 * sysdeps/powerpc/test-gettimebase.c: Test for
50143 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50144 * manual/Makefile (appendices): Include platform.texi.
50145 * manual/contrib.texi (Contributors): Update @node pointers.
50146 * manual/maint.texi (Maintenance): Likewise.
50147 (Platform): New node.
50148 * manual/platform.texi: New file. Document the new features.
50149
50150 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50151 Jakub Jelinek <jakub@redhat.com>
50152
50153 [BZ #14188]
50154 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50155 where __builtin_expect is unavailable.
50156
50157 2012-06-03 David S. Miller <davem@davemloft.net>
50158
50159 * stdlib/longlong.h: Updated from GCC.
50160
50161 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50162
50163 [BZ #14042]
50164 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50165 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50166 __mcount_internal.
50167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50168 (GLIBC_2.16): Likewise.
50169
50170 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50171
50172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50173
50174 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50175
50176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50177 (default-abi): New variable.
50178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50179 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50180 variable.
50181 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50182 Likewise.
50183 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50184 Likewise.
50185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50186 Likewise.
50187
50188 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50189 definition. Document in comment.
50190
50191 2012-06-01 David S. Miller <davem@davemloft.net>
50192
50193 * stdlib/longlong.h: Updated from GCC.
50194
50195 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50196
50197 [BZ #14117]
50198 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50199 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50200 sys/debugreg.h sys/io.h here.
50201 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50202 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50203 sys/io.h.
50204 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50205 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50206 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50207 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50208 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50209 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50210
50211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50212 Define only if __x86_64__ is defined.
50213
50214 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50215
50216 [BZ #14048]
50217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50218 Use int64_t for variable i.
50219 * math/libm-test.inc (fmod_test): Add more tests.
50220
50221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50222 z computation is not scheduled after fetestexcept.
50223 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50224 Use math_force_eval instead of asm to ensure calculation scheduled
50225 before exception test.
50226 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50227 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50228
50229 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50230
50231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50232 computation is not scheduled after fetestexcept.
50233
50234 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50235
50236 [BZ #14117]
50237 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50238 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50239
50240 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50241
50242 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50243 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50244
50245 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50246
50247 [BZ #14117]
50248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50249 <bits/wordsize.h>.
50250 (__WCHAR_MIN): Support __WORDSIZE == 64.
50251 (__WCHAR_MAX): Likewise.
50252
50253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50255
50256 [BZ #14183]
50257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50258 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50259
50260 [BZ #14117]
50261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50263
50264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50265 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50266
50267 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50268 Defined to 1 if __x86_64__ isn't defined.
50269 (_STAT_VER_LINUX_OLD): New.
50270 (st_atime): Remove duplicate.
50271 (st_mtime): Likewise.
50272 (st_ctime): Likewise.
50273
50274 2012-05-31 David S. Miller <davem@davemloft.net>
50275
50276 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50277 entries.
50278
50279 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50280
50281 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50282 gen-libm-test.pl.
50283
50284 [BZ #14132]
50285 * elf/dl-reloc.c: Include <_itoa.h>.
50286 (_dl_reloc_bad_type): Remove use of INTUSE.
50287 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50288 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50289 * stdio-common/psiginfo.c (psiginfo): Likewise.
50290 * stdio-common/psignal.c (psignal): Likewise.
50291 * string/strsignal.c (strsignal): Likewise.
50292 * include/signal.h (_sys_siglist): Declare hidden proto.
50293 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50294 INTVARDEF with libc_hidden_data_def.
50295 * stdio-common/itoa-udigits.c: Likewise.
50296 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50297 (_itoa_lower_digits_internal): Remove declaration.
50298 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50299 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50300 (_sys_sigabbrev_internal): Remove aliases.
50301 (_sys_siglist): Define hidden alias.
50302
50303 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50304
50305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50306 bits/sysctl.h.
50307
50308 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50309
50310 [BZ #14117]
50311 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50312 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50313
50314 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50315 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50316 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50317 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50318 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50319 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50320
50321 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50322 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50323 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50324
50325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50326 with __addr.
50327 (insw): Likewise.
50328 (insl): Likewise.
50329 (outsb): Likewise.
50330 (outsw): Likewise.
50331 (outsl): Likewise.
50332
50333 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50336
50337 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50338 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50340 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50341 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50342 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50343
50344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50345 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50346
50347 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50348 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50349
50350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50353
50354 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50355 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50356 to ...
50357 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50358
50359 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50360 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50361 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50362
50363 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50364 for x86-64.
50365 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50366
50367 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50368
50369 * math/math.h (M_El): Use two more decimal places.
50370 (M_LOG2El): Likewise.
50371 (M_LOG10El): Likewise.
50372 (M_LN2l): Likewise.
50373 (M_LN10l): Likewise.
50374 (M_PIl): Likewise.
50375 (M_PI_2l): Likewise.
50376 (M_PI_4l): Likewise.
50377 (M_1_PIl): Likewise.
50378 (M_2_PIl): Likewise.
50379 (M_2_SQRTPIl): Likewise.
50380 (M_SQRT2l): Likewise.
50381 (M_SQRT1_2l): Likewise.
50382
50383 2012-05-31 David S. Miller <davem@davemloft.net>
50384
50385 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50386 values between float registers.
50387 * sysdeps/sparc/sparc64/memset.S: Likewise.
50388 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50389
50390 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50391
50392 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50393 -D_FORTIFY_SOURCE=1.
50394 (CPPFLAGS-tst-longjmp_chk.c): Define.
50395 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50396 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50397 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50398 CFLAGS-tst-wchar-h.c.
50399
50400 2012-05-31 Marek Polacek <polacek@redhat.com>
50401
50402 [BZ #14132]
50403 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50404 __endmntent_internal): Remove declaration.
50405 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50406 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50407 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50408
50409 2012-05-30 David S. Miller <davem@davemloft.net>
50410
50411 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50412 (___Q_simulate_exceptions): Use real FP ops rather than writing
50413 into the %fsr.
50414 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50415 Likewise.
50416
50417 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50418
50419 [BZ #14117]
50420 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50421 * sysdeps/x86/bits/xtitypes.h: This.
50422
50423 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50424 * sysdeps/x86/bits/wordsize.h: This.
50425
50426 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50427 * sysdeps/x86/bits/huge_vall.h: This.
50428
50429 * sysdeps/i386/bits/select.h: Removed.
50430 * sysdeps/x86_64/bits/select.h: Renamed to ...
50431 * sysdeps/x86/bits/select.h: This.
50432
50433 * sysdeps/i386/bits/setjmp.h: Removed.
50434 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50435 * sysdeps/x86/bits/setjmp.h: This.
50436
50437 * sysdeps/i386/bits/mathdef.h: Removed.
50438 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50439 * sysdeps/x86/bits/mathdef.h: This.
50440
50441 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50442
50443 [BZ #14132]
50444 * include/sys/socket.h (__connect_internal)
50445 (__libc_sa_len_internal): Remove declaration.
50446 (__connect, __libc_sa_len): Declare hidden_proto.
50447 (SA_LEN): Remove use of INTUSE.
50448 * socket/connect.c: Add libc_hidden_def.
50449 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50450 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50451 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50452 alias.
50453 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50454 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50455 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50456 of adding _internal alias.
50457
50458 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50459
50460 [BZ #14117]
50461 * sysdeps/i386/bits/link.h: Removed.
50462 * sysdeps/i386/bits/linkmap.h: Likewise.
50463 * sysdeps/x86_64/bits/link.h: Renamed to ...
50464 * sysdeps/x86/bits/link.h: This.
50465 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50466 * sysdeps/x86/bits/linkmap.h: This.
50467
50468 * sysdeps/i386/bits/endian.h: Removed.
50469 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50470 * sysdeps/x86/bits/endian.h: This.
50471
50472 * sysdeps/i386/bits/byteswap.h: Removed.
50473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50474 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50475 * sysdeps/x86/bits/byteswap.h: This.
50476 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50477 * sysdeps/x86/bits/byteswap-16.h: This.
50478 * sysdeps/i386/Implies: Add x86.
50479 * sysdeps/x86_64/Implies: Likewise.
50480
50481 2012-05-30 David S. Miller <davem@davemloft.net>
50482
50483 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50484 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50485 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50486 (FP_TRAPPING_EXCEPTIONS): Define.
50487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50488 (FP_TRAPPING_EXCEPTIONS): Define.
50489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50490 subnormals only when inexact has been signalled or underflow
50491 exceptions are enabled.
50492 (_FP_PACK_CANONICAL): Likewise.
50493
50494 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50495
50496 [BZ #14183]
50497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50498 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50499
50500 2012-05-30 Richard Henderson <rth@twiddle.net>
50501
50502 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50503 with #ifndef NOT_IN_libc.
50504
50505 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50506 marked to avoid plt entry.
50507
50508 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50509
50510 [BZ #14112]
50511 * Makeconfig (default-abi): New macro.
50512 (abi-includes): Likewise.
50513 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50514 $(abi-$(default-abi)-lib-soname) for soname if defined.
50515 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50516 abi-variants.
50517 * Makefile (installed-stubs): Likewise.
50518 * include/stubs-biarch.h: Removed.
50519 * scripts/lib-names.awk: Only handle one library at a time.
50520 * scripts/soversions.awk: Remove WORDSIZE support.
50521 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50522 entries.
50523 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50524 Removed.
50525 (syscall-list-default-condition): Likewise.
50526 (syscall-list-default-condition): Likewise.
50527 (syscall-list-includes): Likewise.
50528 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50529 syscall-list-* with abi-*. Handle undefined abi-variants.
50530 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50531 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50532 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50533 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50534 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50535 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50536 Removed.
50537 (syscall-list-32-options): Likewise.
50538 (syscall-list-32-condition): Likewise.
50539 (syscall-list-64-options): Likewise.
50540 (syscall-list-64-condition): Likewise.
50541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50542 macro.
50543 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50544 Renamed to ...
50545 (abi-*): This.
50546 (abi-64-ld-soname): New macro.
50547 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50548 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50549 Renamed to ...
50550 (abi-*): This.
50551 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50552 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50553
50554 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50555
50556 * sysdeps/unix/sysv/linux/kernel-features.h
50557 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50558 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50559 include <kernel-features.h>.
50560 [!__NR_ftruncate64]: Remove conditional code.
50561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50562 [__NR_ftruncate64]: Make code unconditional.
50563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50564 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50565 include <kernel-features.h>.
50566 [!__NR_ftruncate64]: Remove conditional code.
50567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50568 [__NR_ftruncate64]: Make code unconditional.
50569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50571 include <kernel-features.h>.
50572 [!__NR_ftruncate64]: Remove conditional code.
50573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50574 [__NR_ftruncate64]: Make code unconditional.
50575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50577 include <kernel-features.h>.
50578 [!__NR_ftruncate64]: Remove conditional code.
50579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50580 [__NR_ftruncate64]: Make code unconditional.
50581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50582
50583 * configure.in (libc_cv_fpie): Weaken to a compile test using
50584 LIBC_TRY_CC_OPTION.
50585 * configure: Regenerated.
50586
50587 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50588
50589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50593 Refreshed.
50594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50600 Refreshed.
50601
50602 2012-05-27 David S. Miller <davem@davemloft.net>
50603
50604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50605 (___Q_zero): New.
50606 (__Q_simulate_exceptions): Return void. Change to simulate
50607 exceptions by writing into the %fsr.
50608 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50609 (__Qp_handle_exceptions): Likewise.
50610 (numbers): Delete.
50611 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50612 __Qp_handle_exceptions.
50613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50614 __Qp_handle_exceptions.
50615 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50616 as unused and give dummy FP_RND_NEAREST initializer.
50617 (FP_INHIBIT_RESULTS): Define.
50618 (___Q_simulate_exceptions): Update declaration.
50619 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50620 formatting.
50621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50622 as unused and give dummy FP_RND_NEAREST initializer.
50623 (__Qp_handle_exceptions): Update declaration.
50624 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50625 formatting.
50626
50627 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50628
50629 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50630 the temporary FPU control word.
50631 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50632 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50634 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50636 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50637 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50639 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50640 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50642
50643 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50644
50645 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50646 fields.
50647
50648 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50649
50650 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50651 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50652 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50653 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50654 Likewise.
50655 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50656 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50657 Likewise.
50658
50659 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50660
50661 * po/h.po: Update from translation team.
50662
50663 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50664
50665 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50666
50667 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50668 handling of denormals.
50669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50670 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50671 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50672 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50676 Likewise.
50677
50678 2012-05-26 Marek Polacek <polacek@redhat.com>
50679
50680 [BZ #14152]
50681 * math/libm-test.inc (fma_test): Don't always expect underflow
50682 exception.
50683
50684 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50685
50686 [BZ #12416]
50687 * elf/tst-execstack.c: Include stackinfo.h.
50688 (do_test): Adjust test case to ensure that pthread_getattr_np
50689 behaviour remains the same after marking stack executable.
50690
50691 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50692
50693 * sysdeps/unix/sysv/linux/kernel-features.h
50694 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50695 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50696 kernel-features.h.
50697 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50698 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50699 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50700 kernel-features.h.
50701 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50702 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50703
50704 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50705
50706 * configure.in: Define the default includes to being none.
50707 * configure: Regenerated.
50708
50709 2012-05-25 Roland McGrath <roland@hack.frob.com>
50710
50711 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50712 * sysdeps/x86_64/setjmp.S: Likewise.
50713 * sysdeps/i386/bsd-setjmp.S: Likewise.
50714 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50715 * sysdeps/i386/setjmp.S: Likewise.
50716 * sysdeps/i386/__longjmp.S: Likewise.
50717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50718 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50719
50720 * include/stap-probe.h: New file.
50721 * configure.in: Handle --enable-systemtap.
50722 * configure: Regenerated.
50723 * config.h.in (USE_STAP_PROBE): New #undef.
50724 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50725 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50726 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50727
50728 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50729
50730 [BZ #13717]
50731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50732 to 2.4.0 where earlier.
50733 * sysdeps/unix/sysv/linux/configure: Regenerated.
50734 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50735 <kernel-features.h>.
50736 [__ASSUME_32BITUIDS]: Make code unconditional.
50737 [!__ASSUME_32BITUIDS]: Remove conditional code.
50738 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
50743 [__ASSUME_32BITUIDS]: Make code unconditional.
50744 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50745 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50746 <kernel-features.h>.
50747 [__ASSUME_32BITUIDS]: Make code unconditional.
50748 [!__ASSUME_32BITUIDS]: Remove conditional code.
50749 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
50786 <kernel-features.h>.
50787 [__NR_setresgid] (__setresgid): Do not declare.
50788 [__ASSUME_32BITUIDS]: Make code unconditional.
50789 [!__ASSUME_32BITUIDS]: Remove conditional code.
50790 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50791 <kernel-features.h>.
50792 [__NR_setresuid] (__setresuid): Do not declare.
50793 [__ASSUME_32BITUIDS]: Make code unconditional.
50794 [!__ASSUME_32BITUIDS]: Remove conditional code.
50795 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50796 <kernel-features.h>.
50797 [__ASSUME_32BITUIDS]: Make code unconditional.
50798 [!__ASSUME_32BITUIDS]: Remove conditional code.
50799 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
50836 (__ASSUME_SETRESUID_SYSCALL): Remove.
50837 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50838 (__ASSUME_32BITUIDS): Likewise.
50839 (__ASSUME_LDT_WORKS): Likewise.
50840 (__ASSUME_O_DIRECTORY): Likewise.
50841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50842 architecture but not kernel version.
50843 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50844 (__ASSUME_MMAP2_SYSCALL): Likewise.
50845 (__ASSUME_STAT64_SYSCALL): Likewise.
50846 (__ASSUME_IPC64): Likewise.
50847 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50848 <kernel-features.h>.
50849 [__ASSUME_32BITUIDS]: Make code unconditional.
50850 [!__ASSUME_32BITUIDS]: Remove conditional code.
50851 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50852 <kernel-features.h>.
50853 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50854 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50855 132096]: Remove conditional code.
50856 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50857 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50858 <kernel-features.h>.
50859 [__ASSUME_32BITUIDS]: Make code unconditional.
50860 [!__ASSUME_32BITUIDS]: Remove conditional code.
50861 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
50866 <kernel-features.h>.
50867 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50868 unconditional.
50869 (__setresgid): Do not declare.
50870 [__ASSUME_32BITUIDS]: Make code unconditional.
50871 [!__ASSUME_32BITUIDS]: Remove conditional code.
50872 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50873 <kernel-features.h>.
50874 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50875 unconditional.
50876 (__setresuid): Do not declare.
50877 [__ASSUME_32BITUIDS]: Make code unconditional.
50878 [!__ASSUME_32BITUIDS]: Remove conditional code.
50879 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50880 <kernel-features.h>.
50881 [__ASSUME_32BITUIDS]: Make code unconditional.
50882 [!__ASSUME_32BITUIDS]: Remove conditional code.
50883 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50884 <kernel-features.h>.
50885 [__ASSUME_32BITUIDS]: Make code unconditional.
50886 [!__ASSUME_32BITUIDS]: Remove conditional code.
50887
50888 2012-05-25 Richard Henderson <rth@twiddle.net>
50889
50890 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50891 dl_hwcap to ifunc resolver.
50892 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50893 elf_ifunc_invoke.
50894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50895 dl_hwcap to ifunc resolver.
50896 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50897
50898 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50899
50900 [BZ #14153]
50901 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50902 for |x| <= 2**-26, not 2**-57.
50903 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50904 exception.
50905
50906 2012-05-24 Jeff Law <law@redhat.com>
50907
50908 * stdio-common/Makefile (tests): Add bug25.
50909 * stdio-common/bug25.c: New test.
50910
50911 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50912
50913 [BZ #13576]
50914 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50915 multiple of MALLOC_ALIGNMENT in size.
50916 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50917
50918 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50919
50920 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50921 Require >= 256.
50922 (FILENAME_MAX): Use macro-int-constant.
50923 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50924 (_IOFBF): Use macro-int-constant.
50925 (_IOLBF): Likewise.
50926 (_IONBF): Likewise.
50927 (SEEK_CUR): Likewise.
50928 (SEEK_END): Likewise.
50929 (SEEK_SET): Likewise.
50930 (TMP_MAX): Likewise.
50931 (EOF): Use macro-int-constant. Require < 0.
50932 (NULL): Use macro-constant. Require == 0.
50933 (stdin): Require type to be FILE *.
50934 (stdout): Likewise.
50935 (stderr): Likewise.
50936 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50937 macro-int-constant.
50938 (EXIT_SUCCESS): Likewise.
50939 (NULL): Use macro-constant. Require == 0.
50940 (RAND_MAX): Use macro-int-constant.
50941 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50942 [C99-based standards] (strtof): Require function.
50943 [C99-based standards] (strtold): Likewise.
50944 [C99-based standards] (strtoll): Likewise.
50945 [C99-based standards] (strtoull): Likewise.
50946 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50947 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50948 [ISO || ISO99 || ISO11] (math.h): Likewise.
50949 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50950 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50952
50953 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50954
50955 [BZ #14132]
50956 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50957 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50958 * intl/dgettext.c (DCGETTEXT): Likewise.
50959 * intl/gettext.c (DCGETTEXT): Likewise.
50960 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50961 * posix/regex_internal.h (gettext): Likewise.
50962 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50963 Remove declaration.
50964 * include/argz.h (__argz_count_internal)
50965 (__argz_stringify_internal): Remove declaration.
50966 (__argz_count, __argz_stringify): Declare hidden proto.
50967 * intl/dcgettext.c: Remove use of INTDEF.
50968 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50969 * string/argz-stringify.c: Likewise.
50970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50972 Declare hidden proto.
50973 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50974 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50975 Declare hidden proto.
50976 * include/stdio.h (__asprintf_internal): Don't declare.
50977 (__asprintf): Don't define as macro. Declare hidden proto.
50978 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50979 (__fsetlocking): Declare hidden proto.
50980 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50981 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50982 hidden proto.
50983 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50984 (_IO_setlinebuf): Remove use of INTUSE.
50985 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50986 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50987 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50988 Remove declaration.
50989 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50990 (_IO_do_flush): Remove use of INTUSE.
50991 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50992 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50993 (_IO_adjust_column, _IO_least_wmarker)
50994 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50995 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50996 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50997 (_IO_default_doallocate, _IO_wdefault_doallocate)
50998 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50999 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51000 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51001 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51002 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51003 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51004 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51005 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51006 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51007 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51008 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51009 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51010 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51011 proto.
51012 (_IO_flush_all_internal, _IO_adjust_column_internal)
51013 (_IO_default_uflow_internal, _IO_default_finish_internal)
51014 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51015 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51016 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51017 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51018 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51019 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51020 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51021 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51022 (_IO_file_close_internal, _IO_file_close_it_internal)
51023 (_IO_file_underflow_internal, _IO_file_overflow_internal)
51024 (_IO_file_init_internal, _IO_file_attach_internal)
51025 (_IO_file_fopen_internal, _IO_file_read_internal)
51026 (_IO_file_sync_internal, _IO_file_seek_internal)
51027 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51028 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51029 (_IO_str_underflow_internal, _IO_str_overflow_internal)
51030 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51031 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51032 (_IO_list_all_internal, _IO_link_in_internal)
51033 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51034 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51035 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51036 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51037 (_IO_do_write_internal, _IO_padn_internal)
51038 (_IO_getline_info_internal, _IO_getline_internal)
51039 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51040 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51041 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51042 (_IO_vfscanf_internal, _IO_vfprintf_internal)
51043 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51044 (_IO_init_internal, _IO_un_link_internal): Don't declare.
51045 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51046 with libc_hidden_ver, remove use of INTUSE.
51047 * libio/genops.c: Likewise.
51048 * libio/freopen.c: Likewise.
51049 * libio/freopen64.c: Likewise.
51050 * libio/iofclose.c: Likewise.
51051 * libio/iofdopen.c: Likewise.
51052 * libio/iofflush.c: Likewise.
51053 * libio/iofflush_u.c: Likewise.
51054 * libio/iofgets.c: Likewise.
51055 * libio/iofgets_u.c: Likewise.
51056 * libio/iofopen.c: Likewise.
51057 * libio/iofopncook.c: Likewise.
51058 * libio/iofread.c: Likewise.
51059 * libio/iofread_u.c: Likewise.
51060 * libio/ioftell.c: Likewise.
51061 * libio/iofwrite.c: Likewise.
51062 * libio/iogetline.c: Likewise.
51063 * libio/iogets.c: Likewise.
51064 * libio/iogetwline.c: Likewise.
51065 * libio/iopadn.c: Likewise.
51066 * libio/iopopen.c: Likewise.
51067 * libio/ioseekoff.c: Likewise.
51068 * libio/ioseekpos.c: Likewise.
51069 * libio/iosetbuffer.c: Likewise.
51070 * libio/iosetvbuf.c: Likewise.
51071 * libio/ioungetc.c: Likewise.
51072 * libio/ioungetwc.c: Likewise.
51073 * libio/iovdprintf.c: Likewise.
51074 * libio/iovsprintf.c: Likewise.
51075 * libio/iovsscanf.c: Likewise.
51076 * libio/memstream.c: Likewise.
51077 * libio/obprintf.c: Likewise.
51078 * libio/oldfileops.c: Likewise.
51079 * libio/oldiofclose.c: Likewise.
51080 * libio/oldiofdopen.c: Likewise.
51081 * libio/oldiofopen.c: Likewise.
51082 * libio/oldiopopen.c: Likewise.
51083 * libio/oldstdfiles.c: Likewise.
51084 * libio/putc.c: Likewise.
51085 * libio/setbuf.c: Likewise.
51086 * libio/setlinebuf.c: Likewise.
51087 * libio/stdfiles.c: Likewise.
51088 * libio/strops.c: Likewise.
51089 * libio/vasprintf.c: Likewise.
51090 * libio/vscanf.c: Likewise.
51091 * libio/vsnprintf.c: Likewise.
51092 * libio/vswprintf.c: Likewise.
51093 * libio/wfiledoalloc.c: Likewise.
51094 * libio/wfileops.c: Likewise.
51095 * libio/wgenops.c: Likewise.
51096 * libio/wmemstream.c: Likewise.
51097 * libio/wstrops.c: Likewise.
51098 * libio/__fpurge.c: Likewise.
51099 * libio/__fsetlocking.c: Likewise.
51100 * assert/assert.c: Likewise.
51101 * debug/fgets_chk.c: Likewise.
51102 * debug/fgets_u_chk.c: Likewise.
51103 * debug/fread_chk.c: Likewise.
51104 * debug/fread_u_chk.c: Likewise.
51105 * debug/gets_chk.c: Likewise.
51106 * debug/obprintf_chk.c: Likewise.
51107 * debug/vasprintf_chk.c: Likewise.
51108 * debug/vdprintf_chk.c: Likewise.
51109 * debug/vsnprintf_chk.c: Likewise.
51110 * debug/vsprintf_chk.c: Likewise.
51111 * malloc/mtrace.c: Likewise.
51112 * misc/error.c: Likewise.
51113 * misc/syslog.c: Likewise.
51114 * stdio-common/asprintf.c: Likewise.
51115 * stdio-common/fxprintf.c: Likewise.
51116 * stdio-common/getw.c: Likewise.
51117 * stdio-common/isoc99_fscanf.c: Likewise.
51118 * stdio-common/isoc99_scanf.c: Likewise.
51119 * stdio-common/isoc99_vfscanf.c: Likewise.
51120 * stdio-common/isoc99_vscanf.c: Likewise.
51121 * stdio-common/isoc99_vsscanf.c: Likewise.
51122 * stdio-common/printf-prs.c: Likewise.
51123 * stdio-common/printf_fp.c: Likewise.
51124 * stdio-common/printf_fphex.c: Likewise.
51125 * stdio-common/printf_size.c: Likewise.
51126 * stdio-common/putw.c: Likewise.
51127 * stdio-common/scanf.c: Likewise.
51128 * stdio-common/sprintf.c: Likewise.
51129 * stdio-common/tmpfile.c: Likewise.
51130 * stdio-common/vfprintf.c: Likewise.
51131 * stdio-common/vfscanf.c: Likewise.
51132 * stdlib/strfmon_l.c: Likewise.
51133 * sunrpc/openchild.c: Likewise.
51134 * sunrpc/xdr_stdio.c: Likewise.
51135 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51136 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51137
51138 2012-05-24 Roland McGrath <roland@hack.frob.com>
51139
51140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51141
51142 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51143 in the third column, to generate for the shared library an IFUNC
51144 that uses _dl_vdso_vsym.
51145 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51146 * Makeconfig (object-suffixes-noshared): New variable.
51147
51148 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51149 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51150 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51151 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51152
51153 [BZ #14132]
51154 * include/sys/time.h (__gettimeofday): Remove macro.
51155 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51156 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51157 Remove INTDEF.
51158 (__gettimeofday): Add libc_hidden_def.
51159 (gettimeofday): Add libc_hidden_weak.
51160 * sysdeps/mach/gettimeofday.c: Likewise.
51161 * sysdeps/posix/gettimeofday.c: Likewise.
51162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51163 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51165 (__gettimeofday_internal): Remove strong_alias.
51166 (__gettimeofday): Add libc_hidden_def.
51167 (gettimeofday): Add libc_hidden_weak.
51168 * sysdeps/unix/syscalls.list (gettimeofday):
51169 Remove __gettimeofday_internal alias.
51170
51171 2012-05-24 Daniel Jacobowitz <drow@false.org>
51172 H.J. Lu <hongjiu.lu@intel.com>
51173
51174 [BZ #12495]
51175 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51176 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51177 (largebin_index_32_big): New.
51178 (largebin_index): Use it for 16-byte alignment.
51179 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51180 correction with front_misalign.
51181
51182 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51183
51184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51186 Likewise.
51187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51188 Likewise.
51189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51190 Likewise.
51191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51192 Likewise.
51193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51194 Likewise.
51195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51196 Likewise.
51197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51198 Likewise.
51199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51200 Likewise.
51201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51202 Likewise.
51203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51204 Likewise.
51205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51206 Likewise.
51207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51208 Likewise.
51209
51210 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51211 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51212
51213 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51214
51215 [BZ #10846]
51216 [BZ #14036]
51217 * math/libm-test.inc (exp_test): Add test from bug 14036.
51218 (pow_test): Add test from bug 10846.
51219
51220 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51221 and other flags.
51222 (special_function): Do not include flags in test name.
51223 (parse_args): Likewise.
51224 * sysdeps/i386/fpu/libm-test-ulps: Update.
51225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51229
51230 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51231 exceptions.
51232 * math/libm-test.inc ("Philosophy"): Update comment about
51233 exception testing.
51234 (UNDERFLOW_EXCEPTION): New macro.
51235 (UNDERFLOW_EXCEPTION_OK): Likewise.
51236 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51237 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51238 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51239 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51240 (INVALID_EXCEPTION_OK): Update value.
51241 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51242 (OVERFLOW_EXCEPTION_OK): Likewise.
51243 (IGNORE_ZERO_INF_SIGN): Likewise.
51244 (test_exceptions): Handle underflow exceptions.
51245 (acos_test): Update for underflow exception expectations.
51246 (cexp_test): Likewise.
51247 (clog_test): Likewise.
51248 (clog10_test): Likewise.
51249 (csqrt_test): Likewise.
51250 (ctan_test): Likewise.
51251 (ctanh_test): Likewise.
51252 (exp_test): Likewise.
51253 (exp10_test): Likewise.
51254 (exp2_test): Likewise.
51255 (expm1_test): Likewise.
51256 (fma_test): Likewise.
51257 (j0_test): Likewise.
51258 (jn_test): Likewise.
51259 (nexttoward_test): Likewise.
51260 (pow_test): Likewise.
51261 (scalbn_test): Likewise.
51262 (scalbln_test): Likewise.
51263 (tan_test): Likewise.
51264 (y1_test): Likewise.
51265 * sysdeps/i386/fpu/libm-test-ulps: Update.
51266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51267
51268 2012-05-23 David S. Miller <davem@davemloft.net>
51269
51270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51271 (__libc_sigaction): Remove unused local variables.
51272
51273 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51274
51275 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51276
51277 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51278
51279 mktime: avoid signed integer overflow
51280 * time/mktime.c (__mktime_internal): Do not mishandle the case
51281 where diff == INT_MIN.
51282
51283 mktime: simplify computation of average
51284 * time/mktime.c (ranged_convert): Use new time_t_avg function
51285 instead of rolling our own (probably-slower) code.
51286
51287 mktime: do not assume signed right shift propagates sign bit
51288 * time/mktime.c (isdst_differ): New static function.
51289 (__mktime_internal): No need to normalize tm_isdst now.
51290 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51291 tm_isdst values.
51292
51293 mktime: merge another wrapv change from gnulib
51294 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51295 from some compilers.
51296
51297 mktime: remove incorrect attempt at unusual arithmetics
51298 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51299 The code didn't really work on such machines anyway.
51300 (TYPE_MINIMUM): Assume two's complement.
51301 (twos_complement_arithmetic): Verify that long_int and time_t
51302 are two's complement (or unsigned, in the latter case).
51303
51304 mktime: check signed shifts on long_int and time_t, too
51305 * time/mktime.c (SHR): Check that shifts work as desired
51306 on the types long_int and time_t too, as SHR is used on
51307 such types.
51308
51309 mktime: do not assume 'long' is wide enough
51310 * time/mktime.c (verify): Move decl up.
51311 (long_int): New type.
51312 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51313 to remove assumption in the code that 'long' is wide enough to
51314 store year values. This assumption is not true on x32 and on
51315 some non-glibc platforms.
51316
51317 mktime: merge wrapv change from gnulib
51318 * time/mktime.c (WRAPV): New macro.
51319 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51320 (guess_time_tm, __mktime_internal): Do not assume that signed
51321 integer overflow wraps around; modern compilers generate code
51322 where this assumption is no longer valid.
51323
51324 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51325
51326 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51327 Replace "jmp L(pseudo_end)" with "ret".
51328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51329 Likewise.
51330
51331 2012-05-23 Andreas Jaeger <aj@suse.de>
51332
51333 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51334 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51335
51336 2012-05-23 Andreas Jaeger <aj@suse.de>
51337 Maximilian Attems <max@stro.at>
51338
51339 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51340 New macros.
51341
51342 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51343
51344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51345 code so that pseudo_end is just ret and the stack pointer is
51346 correct also for static library in error case.
51347
51348 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51349
51350 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51351 move to syscalls.list.
51352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51356
51357 * manual/install.texi (Running make install): Do not mention Linux
51358 kernel version for which pt_chown is not needed.
51359 (Linux): Do not mention problems with nscd with 2.0 kernels.
51360 * INSTALL: Regenerated.
51361
51362 2012-05-23 Andreas Jaeger <aj@suse.de>
51363
51364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51365 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51366 macro.
51367 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51369 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51371 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51373 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51375 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51377 * sysdeps/unix/sysv/linux/bits/in.h
51378 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51379
51380 2012-05-22 Roland McGrath <roland@hack.frob.com>
51381
51382 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51383 (PREPARE_VERSION): Just use assert instead, it will be elided
51384 under [NDEBUG] anyway.
51385
51386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51387
51388 * sysdeps/unix/sysv/linux/Makefile: Include
51389 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51390 (sysdep_routines): Remove sysctl.
51391 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51392 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51394 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51395 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51396
51397 2012-05-22 Andreas Jaeger <aj@suse.de>
51398
51399 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51400 that pseudo_end is just ret and the stack pointer is correct also
51401 for static library in error case.
51402
51403 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51404
51405 [BZ #14122]
51406 * nss/nsswitch.c (defconfig_entries): New variable.
51407 (__nss_database_lookup): Don't leak defconfig entries.
51408 (nss_parse_service_list): Don't leak on error paths.
51409 (free_database_entries): New function.
51410 (free_defconfig): New function.
51411 (free_mem): Move common code to free_database_entries.
51412
51413 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51414
51415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51416 Add arch_prctl.
51417 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51418
51419 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51420 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51422 New macro.
51423 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51424 (INTERNAL_SYSCALL_TYPES): Likewise.
51425 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51426 (LOAD_REGS_TYPES_[1-6]): Likewise.
51427 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51428 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51429
51430 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51431
51432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51433 copysignl for GLIBC_2_0.
51434 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51435 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51437 logbl for GLIBC_2_0.
51438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51439 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51440
51441 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51442
51443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51445
51446 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51447 Use "neg %eax".
51448
51449 * time/mktime.c: Update copyright years.
51450
51451 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51452
51453 mktime: merge comment-quoting-style change from gnulib
51454 * time/mktime.c: Quote 'like this' in comments.
51455 The GNU coding standards suggest that we no longer quote `like this',
51456 as "`" and "'" are typically rendered asymmetrically nowadays.
51457 The typical gnulib style is to quote 'like this' when quoting
51458 code, and "like this" when quoting English.
51459
51460 * time/mktime.c (compile-command): Add "-I.".
51461
51462 mktime: merge mktime-internal.h change from gnulib
51463 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51464
51465 mktime: merge time_r change from gnulib
51466 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51467
51468 mktime: merge DEBUG change from gnulib
51469 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51470 case system <time.h> has a #define.
51471
51472 mktime: merge <sys/types.h> change from gnulib
51473 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51474 since <time.t> is now guaranteed to define time_t.
51475
51476 mktime: merge HAVE_CONFIG_H change from gnulib
51477 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51478
51479 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51480
51481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51482 Use "neg %eax".
51483
51484 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51485 __rlim_t cast.
51486 (struct rusage): Use anonymous union to pad each field to
51487 __syscall_slong_t.
51488
51489 2012-05-21 David S. Miller <davem@davemloft.net>
51490
51491 * Makefules (o-iterator): Remove .s cases.
51492 (compile-command.s): Delete.
51493 (COMPILE.s): Delete.
51494 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51495
51496 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51497
51498 * configure.in (libc_cv_predef_stack_protector): Only consider
51499 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51500 * configure: Regenerated.
51501
51502 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51503
51504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51505 New macro. Use R*LP on int and pointer.
51506 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51507 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51508 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51509 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51510
51511 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51512 [__WORDSIZE_TIME64_COMPAT32] instead of
51513 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51514 (struct utmp): Likewise.
51515 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51516 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51517 Renamed to ...
51518 (__WORDSIZE_TIME64_COMPAT32): This.
51519 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51520 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51521 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51522 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51523 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51524 (__WORDSIZE_TIME64_COMPAT32): New macro.
51525
51526 2012-05-21 Andreas Jaeger <aj@suse.de>
51527
51528 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51529 only if [SHARED]. Add prototype for __wcschr_ia32.
51530
51531 2012-05-21 Roland McGrath <roland@hack.frob.com>
51532
51533 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51534 of %rbp unmolested in the jmp_buf while mangling the low bits.
51535 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51536 unmolested high bits of %rbp while demangling the low bits.
51537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51538
51539 2012-05-21 Andreas Jaeger <aj@suse.de>
51540
51541 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51542 * sunrpc/svc_simple.c: Use it for registerrpc.
51543 * sunrpc/xcrypt.c: Use it for passwd2des.
51544
51545 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51546
51547 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51548
51549 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51550 Don't define if [__SYSCALL_WORDSIZE != 32].
51551 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51552 New macro.
51553
51554 2012-05-21 Bruno Haible <bruno@clisp.org>
51555 Andreas Jaeger <aj@suse.de>
51556
51557 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51558 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51559 inptr and inend for must_buffer_ch.
51560 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51561 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51562 * stdio-common/Makefile (tests): Remove bug15.
51563 (bug15-ENV): Remove macro.
51564 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51565 anymore.
51566
51567 2012-05-19 Andreas Jaeger <aj@suse.de>
51568 Roland McGrath <roland@hack.frob.com>
51569
51570 * manual/contrib.texi: Completely rewritten. It contains now an
51571 alphabetical list of contributors and their contributions.
51572
51573 2012-05-21 Richard Henderson <rth@twiddle.net>
51574
51575 * misc/getauxval.c (__getauxval): Use unsigned long int.
51576 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51577 (getauxval): Use unsigned long int.
51578
51579 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51580
51581 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51582
51583 2012-05-21 Roland McGrath <roland@hack.frob.com>
51584
51585 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51586 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51587 __alignof__ (long double).
51588
51589 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51590
51591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51592
51593 2012-05-20 Richard Henderson <rth@twiddle.net>
51594
51595 * misc/getauxval.c: New file.
51596 * misc/sys/auxv.h: New file.
51597 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51598 (routines): Add getauxval.
51599 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51600 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51601 * elf/dl-sysdep.c (_dl_auxv): Remove.
51602 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51603 * elf/dl-support.c (_dl_auxv): New variable.
51604 (_dl_aux_init): Initialize it.
51605 * manual/startup.texi (Auxiliary Vector): New node.
51606 * sysdeps/generic/bits/hwcap.h: New file.
51607 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51608 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51609 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51610 * sysdeps/sparc/sysdep.h: ... here. Include it.
51611 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51614 Update.
51615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51623
51624 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51625
51626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51627
51628 2012-05-19 David S. Miller <davem@davemloft.net>
51629
51630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51631
51632 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51633
51634 [BZ #14123]
51635 * math/s_ccosh.c: Include <float.h>
51636 (__ccosh): Avoid internal overflow calculating sinh and cosh
51637 values before multiplying by sin and cos values.
51638 * math/s_ccoshf.c: Likewise.
51639 * math/s_ccoshl.c: Likewise.
51640 * math/s_csin.c: Likewise.
51641 * math/s_csinf.c: Likewise.
51642 * math/s_csinl.c: Likewise.
51643 * math/s_csinh.c: Likewise.
51644 * math/s_csinhf.c: Likewise.
51645 * math/s_csinhl.c: Likewise.
51646 * math/libm-test.inc (ccos_test): Add more tests.
51647 (ccosh_test): Likewise.
51648 (csin_test): Likewise.
51649 (csinh_test): Likewise.
51650 * sysdeps/i386/fpu/libm-test-ulps: Update.
51651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51652
51653 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51654
51655 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51656 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51657
51658 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51659
51660 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51661
51662 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51663 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51664 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51665 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51666 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51667 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51668 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51669 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51670 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51671 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51672 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51673 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51674 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51675 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51676 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51677 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51678 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51679 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51680 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51681 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51682 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51683 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51684 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51685 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51686 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51687 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51688 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51689 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51690 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51691 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51692 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51693
51694 2012-05-18 Andreas Jaeger <aj@suse.de>
51695
51696 * csu/.gitignore: Delete.
51697
51698 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51699
51700 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51701 (timex): Use __syscall_slong_t.
51702
51703 2012-05-18 Andreas Jaeger <aj@suse.de>
51704 Carlos O'Donell <carlos_odonell@mentor.com>
51705
51706 * manual/install.texi (Configuring and compiling): Update
51707 description about files modified in the source directory.
51708 * INSTALL: Regenerated.
51709
51710 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51711
51712 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51713 value. Use "or" to set return value to -1.
51714 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51715 negate return value.
51716
51717 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51718
51719 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51720 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51721 failure if the compiler has Graphite support disabled.
51722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51723 Likewise.
51724 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51725 (CFLAGS-memmove.c): Likewise.
51726 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51727 Likewise.
51728
51729 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51730
51731 * sysdeps/x86_64/x32/_itoa.h: New file.
51732
51733 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51734 getdents system call only if kernel and user dirents have the
51735 same d_ino and d_off.
51736
51737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51738 LLONG_MAX != LONG_MAX.
51739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51740 (_fitoa_word): Likewise.
51741
51742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51743 years.
51744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51746 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51747
51748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51749 include <bits/wordsize.h>. Check __x86_64__ instead of
51750 __WORDSIZE.
51751 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51752 if __x86_64__ is defined. Use anonymous union on fpstate.
51753
51754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51755 anonymous union.
51756
51757 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51758
51759 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51760 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51761 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51762 Refer to _rtld_local_ro instead of _rtld_global_ro.
51763 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51764 Likewise.
51765 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51766 Likewise.
51767 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51768 Likewise.
51769 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51770 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51771 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51772
51773 [BZ #10882]
51774 * sysdeps/powerpc/powerpc32/dl-machine.c
51775 (__elf_machine_runtime_setup) [PROF]: Don't reference
51776 _dl_prof_resolve.
51777
51778 2012-05-18 Andreas Jaeger <aj@suse.de>
51779
51780 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51781 function only available for GCCs before 3.4 since GCC 3.4
51782 introduced a builtin.
51783 (lrint): Likewise.
51784 (llrintf): Likewise.
51785 (llrint): Likewise.
51786 (fmaxf): Likewise.
51787 (fmax): Likewise.
51788 (fminf): Likewise.
51789 (fmin): Likewise.
51790 (rint): Likewise.
51791 (rintf): Likewise.
51792 (nearbyint): Likewise.
51793 (nearbyintf): Likewise.
51794 (ceil): Likewise.
51795 (ceilf): Likewise.
51796 (floor): Likewise.
51797 (floorf): Likewise.
51798
51799 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51800
51801 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51802 on both fields and cast pointer to __syscall_ulong_t.
51803
51804 * bits/types.h (__fsword_t): New type.
51805 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51806 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51808 (__FSWORD_T_TYPE): Likewise.
51809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51810 (__FSWORD_T_TYPE): Likewise.
51811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51812 (__FSWORD_T_TYPE): Likewise.
51813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51814 (__FSWORD_T_TYPE): Likewise.
51815 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51816 __SWORD_TYPE with __fsword_t.
51817 (statfs64): Likewise.
51818
51819 2012-05-17 David S. Miller <davem@davemloft.net>
51820
51821 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51822
51823 2012-05-17 Andreas Jaeger <aj@suse.de>
51824
51825 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51826 warning.
51827
51828 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51829
51830 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51831
51832 2012-05-17 Andreas Jaeger <aj@suse.de>
51833
51834 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51835 when it is used.
51836
51837 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51838
51839 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51840
51841 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51842
51843 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51844 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51845
51846 2012-05-17 Andreas Jaeger <aj@suse.de>
51847 Carlos O'Donell <carlos_odonell@mentor.com>
51848
51849 [BZ #14059]
51850 * sysdeps/x86_64/multiarch/init-arch.h
51851 (bit_YMM_Usable): Rename to...
51852 (bit_AVX_Usable): ... this.
51853 (bit_FMA4_Usable): New macro.
51854 (bit_XMM_state): New macro.
51855 (bit_YMM_state): New macro.
51856 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51857 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51858 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51859 (CPUID_OSXSAVE): New macro.
51860 (CPUID_AVX): New macro.
51861 (CPUID_FMA4): New macro.
51862 (index_YMM_Usable): Rename to...
51863 (index_AVX_Usable): ... this.
51864 (HAS_AVX): Use HAS_ARCH_FEATURE.
51865 (HAS_FMA4): Likewise.
51866 (HAS_YMM_USABLE): Remove.
51867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51868 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51869 are present.
51870 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51871 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51872 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51873 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51874 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51875
51876 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51877
51878 * math/libm-test.c: Support platforms without multiple rounding modes.
51879 * math/bug-nextafter.c: Support platforms without FP exceptions.
51880 * math/bug-nexttoward.c: Likewise.
51881 * math/test-fenv.c: Likewise.
51882 * math/test-misc.c: Likewise.
51883 * stdlib/bug-getcontext.c: Likewise.
51884
51885 2012-05-17 Andreas Jaeger <aj@suse.de>
51886
51887 * manual/examples/search.c (critter_cmp): Change signature to
51888 avoid warnings.
51889 * manual/string.texi (Collation Functions): Likewise.
51890
51891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51892
51893 * bits/types.h: Fold copyright years.
51894 * bits/typesizes.h: Likewise.
51895 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51899 * time/time.h: Likewise.
51900
51901 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51902
51903 [BZ #208]
51904 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51905 in instead of returning them. Return void.
51906 (__libc_mallinfo): Accumulate over all arenas.
51907 (__malloc_stats): Adjust for change in int_mallinfo interface.
51908
51909 2012-05-16 Roland McGrath <roland@hack.frob.com>
51910
51911 [BZ #10375]
51912 * configure.in (NM): Add AC_CHECK_TOOL for it.
51913 (libc_extra_cflags): New substituted variable.
51914 Check for -fstack-protector being used implicitly.
51915 * configure: Regenerated.
51916 * config.make.in (config-extra-cflags): New variable,
51917 gets @libc_extra_cflags@.
51918 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51919
51920 [BZ #10375]
51921 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51922 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51923 * configure: Regenerated.
51924 * config.make.in (CPPUNDEFS): New substituted variable.
51925 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51926 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51927 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51928
51929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51930
51931 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51932 (mq_attr): Use __syscall_slong_t.
51933
51934 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51935
51936 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51937 Check __x86_64__ instead of __WORDSIZE.
51938 (_STAT_VER_LINUX): Likewise.
51939 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51940 __syscall_ulong_t and __syscall_slong_t.
51941 (stat64): Likewise.
51942
51943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51944
51945 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51946
51947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51948
51949 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51950
51951 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51952
51953 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51954 __syscall_ulong_t.
51955
51956 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51957 include <bits/wordsize.h>. Check __x86_64__ instead of
51958 __WORDSIZE.
51959 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51960 defined.
51961 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51962
51963 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51964 include <bits/wordsize.h>. Check __x86_64__ instead of
51965 __WORDSIZE.
51966 (user_regs_struct): Use "__extension__ unsigned long long"
51967 instead of "unsigned long" if __x86_64__ is defined.
51968 (user): Likewise. Pad after pointer field if __ILP32__ is
51969 defined.
51970
51971 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51972
51973 * configure.in (makeinfo): Require version 4.5 or later. Allow
51974 versions 5 to 9.
51975 * configure: Regenerated.
51976 * manual/install.texi (texinfo): Increase version requirement to
51977 4.5 or later.
51978 * INSTALL: Regenerated.
51979
51980 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51981
51982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51983
51984 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51985
51986 * sysdeps/x86_64/x32/ffs.c: New file.
51987
51988 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51989 __syscall_ulong_t.
51990 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51991 defined. Use __syscall_ulong_t.
51992 (shminfo): Use __syscall_ulong_t.
51993 (shm_info): Likewise.
51994
51995 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51996 __syscall_ulong_t.
51997
51998 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51999 <bits/wordsize.h>.
52000 (msgqnum_t): Use __syscall_ulong_t.
52001 (msglen_t): Likewise.
52002 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
52003 __syscall_ulong_t.
52004
52005 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52006 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52007
52008 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52009
52010 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52011 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52012
52013 * sysvipc/sys/msg.h (msgbuf): Replace long int with
52014 __syscall_slong_t.
52015
52016 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52017 include <bits/wordsize.h>. Check __x86_64__ instead of
52018 __WORDSIZE.
52019
52020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52021 "unsigned long long int" if __x86_64__ is defined.
52022 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52023
52024 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52025 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52026 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52027
52028 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52029 <stdint.h>.
52030 (GET_PC): Cast to uintptr_t first.
52031 (GET_FRAME): Likewise.
52032 (GET_STACK): Likewise.
52033
52034 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52035 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52037 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52039 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52040 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52041 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52042 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52043 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52044 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52045 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52046 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52048 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52053 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52055 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52057 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52060 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52061 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52062 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52063
52064 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
52065
52066 * Makerules (+depfiles): Also collect depfiles from .oS in
52067 $(extra-objs).
52068 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52069 .oS, $(libnldbl-routines)).
52070
52071 * Makerules (native-compile-mkdep-flags): Define.
52072 * sunrpc/Makefile (extra-objs): Add $(addprefix
52073 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52074 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52075 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52076 calling $(make-target-directory).
52077
52078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52079
52080 * bits/types.h (__snseconds_t): Removed.
52081 * time/time.h (struct timespec): Replace __snseconds_t with
52082 __syscall_slong_t.
52083 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52084 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52085 Likewise.
52086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52087 (__SNSECONDS_T_TYPE): Likewise.
52088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52089 (__SNSECONDS_T_TYPE): Likewise.
52090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52091 (__SNSECONDS_T_TYPE): Likewise.
52092
52093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52094
52095 * sysdeps/mach/hurd/bits/typesizes.h
52096 (__SYSCALL_SLONG_TYPE): New macro.
52097 (__SYSCALL_ULONG_TYPE): Likewise.
52098
52099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52100
52101 * bits/types.h (__syscall_slong_t): New type.
52102 (__syscall_ulong_t): Likewise.
52103
52104 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52105 (__SYSCALL_ULONG_TYPE): Likewise.
52106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52107 (__SYSCALL_SLONG_TYPE): Likewise.
52108 (__SYSCALL_ULONG_TYPE): Likewise.
52109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52110 (__SYSCALL_SLONG_TYPE): Likewise.
52111 (__SYSCALL_ULONG_TYPE): Likewise.
52112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52113 (__SYSCALL_SLONG_TYPE): Likewise.
52114 (__SYSCALL_ULONG_TYPE): Likewise.
52115
52116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52117
52118 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52119 Add sigaltstack-offsets.sym.
52120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52121 <sigaltstack-offsets.h>.
52122 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52123 longjmp_msg pointer.
52124 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52125 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52126 signal stack.
52127 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52128
52129 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52130
52131 * elf/stackguard-macros.h: Remove file.
52132 * sysdeps/generic/stackguard-macros.h: New file.
52133 * sysdeps/i386/stackguard-macros.h: Likewise.
52134 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52135 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52136 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52137 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52138 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52139 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52140 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52141 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52142 <elf/stackguard-macros.h>.
52143
52144 [BZ #14109]
52145 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52146 __aligned__ in attribute.
52147 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52148 (gregset_t): Likewise.
52149
52150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52151
52152 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52153 * sysdeps/x86_64/64/Implies-after: Here. New file.
52154 * sysdeps/x86_64/x32/Implies-after: New file.
52155
52156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52157
52158 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52159 and access return value for _dl_profile_fixup. Use R10_LP to
52160 load frame size.
52161
52162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52163
52164 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52165
52166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52167
52168 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52169 * sysdeps/x86_64/x32/sysdep.h: New file.
52170
52171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52172
52173 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52174 * sysdeps/x86_64/setjmp.S: Likewise.
52175
52176 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52177
52178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52179 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52180 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52182 remove unused global constant.
52183
52184 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52185
52186 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52187 include of <not-cancel.h>.
52188
52189 2012-05-15 Roland McGrath <roland@hack.frob.com>
52190
52191 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52192
52193 2012-05-15 Jeff Law <law@redhat.com>
52194 Andreas Jaeger <aj@suse.de>
52195
52196 [BZ #13594]
52197 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52198 out from...
52199 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52200 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52201 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52202 code changing __hst_map_handle.map.
52203
52204 2012-05-15 Roland McGrath <roland@hack.frob.com>
52205
52206 * configure.in (sysnames): Look for Implies-before and Implies-after
52207 files.
52208 * configure: Regenerated.
52209
52210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52211
52212 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52213 8-byte data alignment with LP_SIZE alignment.
52214
52215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52216
52217 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52218 into R10_LP.
52219
52220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52221
52222 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52223
52224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52225
52226 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52227 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52228 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52229 Likewise.
52230 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52231
52232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52233
52234 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52235 (stackinfo_sub_sp): Likewise.
52236
52237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52238
52239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52240 RAX_LP.
52241
52242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52243
52244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52245 into R*_LP.
52246
52247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52248
52249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52250 sizes into R*_LP.
52251
52252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52253
52254 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52255
52256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52257
52258 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52259 into R11_LP and load __x86_64_shared_cache_size_half into
52260 R8_LP.
52261
52262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52263
52264 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52265 R8_LP.
52266
52267 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52268
52269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52270 logb for POWER7.
52271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52272 logbf for POWER7.
52273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52274 logbl for POWER7.
52275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52276 powerpc32/power7/fpu/s_logb.c via #include.
52277 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52278 powerpc32/power7/fpu/s_logbf.c via #include.
52279 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52280 powerpc32/power7/fpu/s_logbl.c via #include.
52281
52282 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52283
52284 * README.libm: Remove file.
52285
52286 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52287
52288 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52289 count for x32. Use R*_LP and omit operand-size suffix.
52290
52291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52292
52293 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52294 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52295 * sysdeps/x86_64/x32/shlib-versions: New file.
52296
52297 2012-05-14 Roland McGrath <roland@hack.frob.com>
52298
52299 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52300 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52301 Use _dl_fatal_printf instead.
52302
52303 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52304
52305 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52306 set if not set by the user. Do not allow for being unset.
52307 * sysdeps/unix/sysv/linux/configure: Regenerated.
52308
52309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52310
52311 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52312 the `q' suffix from lea and replace .quad with ASM_ADDR.
52313
52314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52315
52316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52317 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52318 instead of $17.
52319 (PTR_DEMANGLE): Likewise.
52320
52321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52322
52323 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52324 (LP_OP): Likewise.
52325 (ASM_ADDR): Likewise.
52326 (RAX_LP): Likewise.
52327 (RBP_LP): Likewise.
52328 (RBX_LP): Likewise.
52329 (RCX_LP): Likewise.
52330 (RDI_LP): Likewise.
52331 (RSI_LP): Likewise.
52332 (RSP_LP): Likewise.
52333 (R8_LP): Likewise.
52334 (R9_LP): Likewise.
52335 (R10_LP): Likewise.
52336 (R10_LP): Likewise.
52337 (R11_LP): Likewise.
52338 (R12_LP): Likewise.
52339 (R13_LP): Likewise.
52340 (R14_LP): Likewise.
52341 (R15_LP): Likewise.
52342
52343 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52344
52345 * sysdeps/x86_64/x32/dl-machine.h: New file.
52346
52347 2012-05-14 Andreas Jaeger <aj@suse.de>
52348
52349 * manual/Makefile (subdir): Remove export of subdir.
52350 (all): Remove target.
52351 (.PHONY): Remove all from list.
52352 (mkinstalldirs): Remove.
52353 (.PHONY): Remove installdirs from list.
52354 ($(inst_infodir)/libc.info): Use make-target-directory.
52355 (installdirs): Remove.
52356 (subdir_%): Remove.
52357 (glibc-targets): Remove.
52358 (lib): Remove.
52359 (stubs): Remove.
52360 ($(objpfx)stubs ../po/manual.pot): Remove.
52361 ($(objpfx)stamp%): Remove.
52362 (make-target-directory): Remove.
52363 (subdir_install): Remove.
52364 (routines): Remove.
52365 (aux): Remove.
52366 (sources): Remove.
52367 (objects): Remove.
52368 (headers): Remove.
52369
52370 [BZ #13750]
52371 * manual/.gitignore: Remove, it's not needed anymore.
52372 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52373 all files in it.
52374 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52375 directory.
52376 (texis): Renamed to $(objpfx)texis.
52377 (texis-path): New, contains path to generated files.
52378 (chapters.%): Use texis-path for complete path, add extra argument
52379 libc-texinfo.sh.
52380 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52381 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52382 (summary,texi, stamp-summary): Use complete path of
52383 files. Generate files in build dir.
52384 (dir-add.texi): Build in build dir.
52385 (libm-err.texi,stamp-libm-err): Likewise.
52386 (version.texi, stamp-version): Likewise.
52387 (.%c.texi): Likewise.
52388 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52389 (mostlyclean): Remove target.
52390 (realclean): Remove target.
52391 (generated): Add new variable with contents from mostlyclean and
52392 realclean, remove entries duplicated in common-mostlyclean, add
52393 stamp-libm-err and stamp-version.
52394 (generated-dirs): Add libc directory.
52395 ($(inst_infodir)/libc.info): Install files from build dir.
52396
52397 * manual/install.texi (Configuring and compiling): Adjust since
52398 the info files are not part of the tar ball anymore.
52399
52400 2012-05-14 Andreas Jaeger <aj@suse.de>
52401
52402 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52403 variable.
52404
52405 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52406
52407 [BZ #13717]
52408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52409 to 2.2.0 where earlier.
52410 * sysdeps/unix/sysv/linux/configure: Regenerated.
52411 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52412 Remove conditional code.
52413 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52414 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52415 Remove conditional code.
52416 [!__NR_lchown]: Likewise.
52417 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52418 [__NR_lchown]: Likewise.
52419 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52420 comment referencing __ASSUME_LCHOWN_SYSCALL.
52421 * sysdeps/unix/sysv/linux/i386/sigaction.c
52422 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52423 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52424 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52425 Remove conditional code.
52426 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52427 (__protocol_available): Remove #if 0 code.
52428 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52429 conditional code.
52430 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52431 * sysdeps/unix/sysv/linux/kernel-features.h
52432 (__ASSUME_GETCWD_SYSCALL): Don't define.
52433 (__ASSUME_REALTIME_SIGNALS): Likewise.
52434 (__ASSUME_PREAD_SYSCALL): Likewise.
52435 (__ASSUME_PWRITE_SYSCALL): Likewise.
52436 (__ASSUME_POLL_SYSCALL): Likewise.
52437 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52438 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52439 non-SPARC.
52440 (__ASSUME_SIOCGIFNAME): Don't define.
52441 (__ASSUME_MSG_NOSIGNAL): Likewise.
52442 (__ASSUME_SENDFILE): Define unconditionally.
52443 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52444 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52445 conditional code.
52446 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52447 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52448 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52449 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52450 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52451 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52452 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52454 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52455 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52457 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52460 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52463 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52466 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52469 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52472 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52477 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52478 Remove conditional code.
52479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52480 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52481 Remove conditional code.
52482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52483 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52484 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52485 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52486 Remove conditional code.
52487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52488 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52489 Remove conditional code.
52490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52491 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52492 Remove conditional code.
52493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52494 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52495 Remove conditional code.
52496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52497 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52498 Remove conditional code.
52499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52500 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52503 * sysdeps/unix/sysv/linux/sigaction.c
52504 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52505 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52506 * sysdeps/unix/sysv/linux/sigpending.c
52507 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52508 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52509 * sysdeps/unix/sysv/linux/sigprocmask.c
52510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52512 * sysdeps/unix/sysv/linux/sigsuspend.c
52513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52515 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52516 (__libc_missing_rt_sigs): Remove.
52517 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52518 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52519 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52520 Remove conditional code.
52521 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52522 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52523 return 1.
52524 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52525 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52526 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52527 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52528
52529 2012-05-14 Andreas Jaeger <aj@suse.de>
52530
52531 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52532 it's not used in glibc.
52533 (__coshm1): Likewise.
52534 (__acosh1p): Likewise.
52535 (__sgn): Likewise.
52536
52537 * manual/string.texi (Copying and Concatenation): Add missing
52538 variable in concat example.
52539 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52540
52541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52542
52543 [BZ #14103]
52544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52545 __builtin_clzl with __builtin_clzll.
52546
52547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52548
52549 [BZ #14104]
52550 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52551 libc_freeres_ptr.
52552
52553 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52554
52555 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52556 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52557 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52558 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52559
52560 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52561
52562 * NEWS: Update ia64 info.
52563
52564 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52565
52566 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52567 used as bcopy.
52568
52569 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52570
52571 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52572 * sysdeps/unix/syscalls.list (dup3): Likewise.
52573 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52574 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52575
52576 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52577
52578 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52579 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52580
52581 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52582
52583 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52584 thread pointer.
52585 (TLS_IE): Use mov/add instead of movq/addq to load thread
52586 pointer.
52587 (TLS_GD_PREFIX): New.
52588 (TLS_GD): Use it.
52589
52590 2012-05-11 David S. Miller <davem@davemloft.net>
52591
52592 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52593 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52594 (_FPU_SETCW): Likewise.
52595
52596 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52597
52598 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52599 is 32-byte aligned.
52600
52601 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52602
52603 [BZ #11837]
52604 * iconvdata/gb18030.c: Update tables.
52605 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52606 characters specially.
52607 (BODY for TO_LOOP): Add encoding of missing ranges.
52608
52609 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52610
52611 [BZ #13673]
52612 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52613 * sysdeps/mach/hurd/dup3.c: Likewise.
52614 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52615 * sysdeps/powerpc/memmove.c:: Likewise.
52616
52617 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52618
52619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52620 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52621
52622 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52623
52624 * elf/elf.h (R_X86_64_RELATIVE64): New.
52625 (R_X86_64_NUM): Updated.
52626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52627 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52628 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52629 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52630 tst-quad1pie tst-quad2pie
52631 (modules-names): Add tst-quadmod1 tst-quadmod2.
52632 ($(objpfx)tst-quad1): New dependency.
52633 ($(objpfx)tst-quad2): Likewise.
52634 ($(objpfx)tst-quad1pie): Likewise.
52635 ($(objpfx)tst-quad2pie): Likewise.
52636 * sysdeps/x86_64/tst-quad1.c: New file.
52637 * sysdeps/x86_64/tst-quad1pie.c: New file.
52638 * sysdeps/x86_64/tst-quad2.c: Likewise.
52639 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52640 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52641 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52642 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52643 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52644
52645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52646
52647 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52648 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52649 * streams/stropts.h (t_scalar_t): Define type.
52650
52651 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52652 (_PATH_PRESERVE): Set to "/var/lib".
52653 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52654
52655 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52656 instead of int.
52657
52658 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52659 if __dir_mkfile succeeded.
52660
52661 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52662 checking for _hurd_dtablesize. Unlock it right after having
52663 finished _hurd_dtable allocation.
52664
52665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52666
52667 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52668 * sysdeps/mach/hurd/configure: Regenerated.
52669 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52670 special-casing to...
52671 * sysdeps/gnu/configure.in: ... this new file.
52672 * sysdeps/unix/sysv/linux/configure: Regenerated.
52673 * sysdeps/gnu/configure: New generated file.
52674
52675 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52676 for Linux: use nsec instead of usec, as well as:
52677 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52678 members of type struct timespec.
52679 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52680 New macros.
52681 (struct stat64): Likewise.
52682 (_STATBUF_ST_NSEC): New macro.
52683 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52684
52685 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52686 __strtoul_internal rather than strtoul.
52687
52688 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52689
52690 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52691 and reject them.
52692
52693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52694
52695 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52696 which preserves existing values.
52697 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52698
52699 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52700
52701 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52702 TIMEOUT values. Return EINVAL for NFDS values either negative or
52703 greater than FD_SETSIZE.
52704
52705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52706
52707 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52708 allocated, call __vm_protect to finish enabling the existing space, and
52709 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52710 allocate the remainder.
52711
52712 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52713
52714 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52715 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52716
52717 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52718
52719 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52720 sysdeps/mach/hurd/readlink.c.
52721
52722 * posix/tst-sysconf.c (posix_options): Only use
52723 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52724 _POSIX_SYNCHRONIZED_IO when they are defined
52725 * sysdeps/mach/hurd/bits/posix_opt.h:
52726 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52727 (_XOPEN_REALTIME): Undefine macro.
52728 (_XOPEN_REALTIME_THREADS): Undefine macro.
52729 (_XOPEN_SHM): Undefine macro.
52730 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52731 macro to -1.
52732 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52733 macro to -1.
52734 (_POSIX_ASYNC_IO): Undefine macro.
52735 (_POSIX_PRIORITIZED_IO): Undefine macro.
52736 (_POSIX_SPIN_LOCKS): Define macro to -1.
52737
52738 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52739 SA_NODEFER, SA_RESETHAND.
52740 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52741 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52742 F_DUPFD_CLOEXEC.
52743
52744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52745
52746 * elf/Makefile (pldd-modules): Define unconditionally.
52747
52748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52749
52750 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52751
52752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52753
52754 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52755 Return ENOENT when name is empty.
52756 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52757
52758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52759
52760 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52761
52762 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52763
52764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52765
52766 Fix mlock in all cases except non-readable pages.
52767 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52768 instead of VM_PROT_ALL as parameter to __vm_wire function.
52769
52770 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52771 (__mkdir): When path is `/', just fail with EEXIST.
52772 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52773
52774 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52775
52776 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52777 <sys/uio.h> (for writev).
52778 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52779 and <sys/param.h> (for MIN).
52780
52781 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52782
52783 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52784 REQUESTED_TIME. Properly set the remaining time and return EINTR
52785 if interrupted.
52786
52787 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52788
52789 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52790 Depend on against $(link-rpcuserlibs).
52791
52792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52793
52794 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52795 (__libc_stack_end): Do not use attribute_relro.
52796 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52797 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52798 to libthread-provided value.
52799 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52800 attribute_relro.
52801
52802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52803
52804 [BZ #3748]
52805 * bits/libc-lock.h (__libc_once_get): New macro.
52806 * sysdeps/mach/bits/libc-lock.h: Likewise.
52807 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52809 instead of using implementation details.
52810
52811 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52812 * libio/freopen.c: Likewise.
52813 * libio/freopen64.c: Likewise.
52814 * misc/syslog.c: Likewise.
52815 * nscd/connections.c: Likewise.
52816 * nscd/netgroupcache.c: Likewise.
52817 * sysdeps/posix/getcwd.c: Likewise.
52818
52819 2012-05-10 Roland McGrath <roland@hack.frob.com>
52820
52821 * math/w_ilogbf.c: Add #include <limits.h>.
52822
52823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52824
52825 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52826 path instead of returning without unlocking.
52827
52828 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52829 immediate-write ioctls.
52830 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52831
52832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52833
52834 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52835 __builtin_frame_address instead of making assumptions about the
52836 location of the return address relative to DATA. Force early load of
52837 the return address.
52838 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52839 __builtin_frame_address.
52840
52841 dup3 for GNU Hurd.
52842 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52843 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52844 implement dup3 and do some further code clean-ups.
52845 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52846 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52847
52848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52849
52850 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52851
52852 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52853 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52854 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52855 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52856 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52857 d->port.lock.
52858
52859 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52860 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52861 when handler == SIG_ERR, not when handler != SIG_ERR.
52862
52863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52864
52865 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52866 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52867 definitions.
52868
52869 accept4 for GNU Hurd.
52870 * include/sys/socket.h (__libc_accept4): New prototype.
52871 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52872 to implement __libc_accept4.
52873 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52874 __libc_accept4.
52875 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52876
52877 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52878 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52879 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52880 signal-defines.sym.
52881
52882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52883
52884 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52885
52886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52887
52888 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52889 assertion on O_CLOEXEC flag.
52890 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52891 * hurd/intern-fd.c: Likewise.
52892 * hurd/port2fd.c: Likewise.
52893
52894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52895
52896 [BZ #3906]
52897 * bits/in.h (IPV6_PKTINFO): Define new macro.
52898 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52899
52900 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52901
52902 [BZ #13954]
52903 [BZ #13955]
52904 [BZ #13956]
52905 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52907 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52908 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52910 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52911 * math/libm-test.inc (logb_test) : Additional logb tests.
52912
52913 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52914 Andreas Jaeger <aj@suse.de>
52915
52916 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52917 * configure: Regenerated.
52918 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52919 * config.make.in (link-obsolete-rpc): New substituted variable.
52920 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52921 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52922 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52923 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52924 so that libc.a contains the symbols.
52925 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52926 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52927 * sunrpc/auth_none.c: Likewise.
52928 * sunrpc/auth_unix.c: Likewise.
52929 * sunrpc/authdes_prot.c: Likewise.
52930 * sunrpc/authuxprot.c: Likewise.
52931 * sunrpc/clnt_gen.c: Likewise.
52932 * sunrpc/clnt_perr.c: Likewise.
52933 * sunrpc/clnt_raw.c: Likewise.
52934 * sunrpc/clnt_simp.c: Likewise.
52935 * sunrpc/clnt_tcp.c: Likewise.
52936 * sunrpc/clnt_udp.c: Likewise.
52937 * sunrpc/clnt_unix.c: Likewise.
52938 * sunrpc/des_crypt.c: Likewise.
52939 * sunrpc/des_soft.c: Likewise.
52940 * sunrpc/get_myaddr.c: Likewise.
52941 * sunrpc/key_call.c: Likewise.
52942 * sunrpc/key_prot.c: Likewise.
52943 * sunrpc/netname.c: Likewise.
52944 * sunrpc/pm_getmaps.c: Likewise.
52945 * sunrpc/pm_getport.c: Likewise.
52946 * sunrpc/pmap_clnt.c: Likewise.
52947 * sunrpc/pmap_prot.c: Likewise.
52948 * sunrpc/pmap_prot2.c: Likewise.
52949 * sunrpc/pmap_rmt.c: Likewise.
52950 * sunrpc/publickey.c: Likewise.
52951 * sunrpc/rpc_cmsg.c: Likewise.
52952 * sunrpc/rpc_common.c: Likewise.
52953 * sunrpc/rpc_dtable.c: Likewise.
52954 * sunrpc/rpc_prot.c: Likewise.
52955 * sunrpc/rpc_thread.c: Likewise.
52956 * sunrpc/rtime.c: Likewise.
52957 * sunrpc/svc.c: Likewise.
52958 * sunrpc/svc_auth.c: Likewise.
52959 * sunrpc/svc_raw.c: Likewise.
52960 * sunrpc/svc_run.c: Likewise.
52961 * sunrpc/svc_tcp.c: Likewise.
52962 * sunrpc/svc_udp.c: Likewise.
52963 * sunrpc/svc_unix.c: Likewise.
52964 * sunrpc/svcauth_des.c: Likewise.
52965 * sunrpc/xcrypt.c: Likewise.
52966 * sunrpc/xdr.c: Likewise.
52967 * sunrpc/xdr_array.c: Likewise.
52968 * sunrpc/xdr_float.c: Likewise.
52969 * sunrpc/xdr_intXX_t.c: Likewise.
52970 * sunrpc/xdr_mem.c: Likewise.
52971 * sunrpc/xdr_rec.c: Likewise.
52972 * sunrpc/xdr_ref.c: Likewise.
52973 * sunrpc/xdr_sizeof.c: Likewise.
52974 * sunrpc/xdr_stdio.c: Likewise.
52975
52976 2012-05-10 Roland McGrath <roland@hack.frob.com>
52977
52978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52979 change. Update copyright years.
52980
52981 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52982
52983 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52984
52985 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52986 Joseph Myers <joseph@codesourcery.com>
52987 Paul Pluzhnikov <ppluzhnikov@google.com>
52988
52989 [BZ #14012]
52990 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52991 requiring rpcgen.
52992 [cross-compiling] (extra-libs): Likewise.
52993 [cross-compiling] (extra-libs-others): Likewise.
52994 [cross-compiling] (librpcsvc-routines): Likewise.
52995 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52996 [cross-compiling] (omit-deps): Likewise.
52997 (sunrpc-CPPFLAGS): New variable.
52998 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52999 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53000 (cross-rpcgen-objs): New variable.
53001 (extra-objs): Append $(cross-rpcgen-objs).
53002 ($(cross-rpcgen-objs)): New rule.
53003 ($(objpfx)cross-rpcgen): Likewise.
53004 (rpcgen-cmd): Define to use $(built-program-file). Expand
53005 comment.
53006 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53007 ($(objpfx)x%.stmp): Likewise.
53008 * sunrpc/proto.h [IS_IN_build] (_): Define.
53009 [IS_IN_build] (_libc_intl_domainname): Likewise.
53010
53011 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53012
53013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53014 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53015 and R_X86_64_TPOFF64.
53016
53017 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53018
53019 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53020 sysdeps/unix/sysv/syscalls.list.
53021 (stime): Likewise.
53022 (utime): Likewise.
53023 * sysdeps/unix/sysv/syscalls.list: Remove file.
53024
53025 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
53026
53027 [BZ #3440]
53028 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53029 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53030 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53031 (__LC_IDENTIFICATION): Make these macros useful in #if
53032 expressions, as required by C99.
53033
53034 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
53035
53036 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53037 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
53038 after this.
53039
53040 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
53041
53042 * stdlib/longlong.h: Updated from GCC.
53043
53044 2012-05-09 Andreas Jaeger <aj@suse.de>
53045
53046 * nscd/nscd.c (run_modes): Make named enum, reorder so that
53047 default is first entry.
53048 (run_mode): Set type.
53049 (main): Remove informal message about syslog.
53050 (options): Fix typo.
53051
53052 [BZ #14053]
53053 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53054 to asm.
53055 (lrint): Likewise.
53056 (llrintf): Likewise.
53057 (llrint): Likewise.
53058 (rint): Likewise.
53059 (rintf): Likewise.
53060 (nearbyint): Likewise.
53061 (nearbyintf): Likewise.
53062
53063 2012-05-09 Andreas Jaeger <aj@suse.de>
53064 Pedro Alves <palves@redhat.com>
53065
53066 * nscd/nscd.c (run_mode): Use enum.
53067 (main): Cleanup coding style issue.
53068
53069 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
53070 Andreas Jaeger <aj@suse.de>
53071
53072 * nscd/nscd.c (go_background): Replaced with...
53073 (run_mode): ... this.
53074 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53075 (options): Add -F --foreground.
53076 (main): Implement it.
53077 (parse_opt): Parse it.
53078
53079 2012-05-09 Andreas Jaeger <aj@suse.de>
53080
53081 [BZ #14083]
53082 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53083 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53084 -Wconversion warning.
53085 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53086 Likewise.
53087
53088 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53089
53090 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53091 == 0.
53092 (LC_ALL): Use macro-int-constant.
53093 (LC_COLLATE): Likewise.
53094 (LC_CTYPE): Likewise.
53095 (LC_MESSAGES): Likewise.
53096 (LC_MONETARY): Likewise.
53097 (LC_NUMERIC): Likewise.
53098 (LC_TIME): Likewise.
53099 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53100 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53102 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53103 Specify type.
53104 [C99-based standards] (float_t): Expect type.
53105 [C99-based standards] (double_t): Expect type.
53106 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53107 type.
53108 [C99-based standards] (HUGE_VALL): Likewise.
53109 [C99-based standards] (INFINITY): Likewise.
53110 [C99-based standards] (NAN): Likewise.
53111 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53112 [C99-based standards] (FP_NAN): Likewise.
53113 [C99-based standards] (FP_NORMAL): Likewise.
53114 [C99-based standards] (FP_SUBNORMAL): Likewise.
53115 [C99-based standards] (FP_ZERO): Likewise.
53116 [C99-based standards] (FP_FAST_FMA): Use
53117 optional-macro-int-constant. Specify type. Require == 1.
53118 [C99-based standards] (FP_FAST_FMAF): Likewise.
53119 [C99-based standards] (FP_FAST_FMAL): Likewise.
53120 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53121 [C99-based standards] (FP_ILOGBNAN): Likewise.
53122 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53123 Specify type.
53124 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53125 [C99-based standards] (math_errhandling): Specify type.
53126 [ISO99 || ISO11] (signgam): Do not allow.
53127 [non-C99-based standards] (copysignf): Do not allow.
53128 [non-C99-based standards] (exp2f): Likewise.
53129 [non-C99-based standards] (log2f): Likewise.
53130 [non-C99-based standards] (modff): Allow.
53131 [non-C99-based standards] (erff): Do not allow.
53132 [non-C99-based standards] (erfcf): Likewise.
53133 [non-C99-based standards] (gammaf): Likewise.
53134 [non-C99-based standards] (hypotf): Likewise.
53135 [non-C99-based standards] (j0f): Likewise.
53136 [non-C99-based standards] (j1f): Likewise.
53137 [non-C99-based standards] (jnf): Likewise.
53138 [non-C99-based standards] (lgammaf): Likewise.
53139 [non-C99-based standards] (tgammaf): Likewise.
53140 [non-C99-based standards] (y0f): Likewise.
53141 [non-C99-based standards] (y1f): Likewise.
53142 [non-C99-based standards] (ynf): Likewise.
53143 [non-C99-based standards] (isnanf): Likewise.
53144 [non-C99-based standards] (acoshf): Likewise.
53145 [non-C99-based standards] (asinhf): Likewise.
53146 [non-C99-based standards] (atanhf): Likewise.
53147 [non-C99-based standards] (cbrtf): Likewise.
53148 [non-C99-based standards] (expm1f): Likewise.
53149 [non-C99-based standards] (ilogbf): Likewise.
53150 [non-C99-based standards] (log1pf): Likewise.
53151 [non-C99-based standards] (logbf): Likewise.
53152 [non-C99-based standards] (nextafterf): Likewise.
53153 [non-C99-based standards] (remainderf): Likewise.
53154 [non-C99-based standards] (rintf): Likewise.
53155 [non-C99-based standards] (scalbf): Likewise.
53156 [non-C99-based standards] (copysignl): Likewise.
53157 [non-C99-based standards] (exp2l): Likewise.
53158 [non-C99-based standards] (log2l): Likewise.
53159 [non-C99-based standards] (modfl): Allow.
53160 [non-C99-based standards] (erfl): Do not allow.
53161 [non-C99-based standards] (erfcl): Likewise.
53162 [non-C99-based standards] (gammal): Likewise.
53163 [non-C99-based standards] (hypotl): Likewise.
53164 [non-C99-based standards] (j0l): Likewise.
53165 [non-C99-based standards] (j1l): Likewise.
53166 [non-C99-based standards] (jnl): Likewise.
53167 [non-C99-based standards] (lgammal): Likewise.
53168 [non-C99-based standards] (tgammal): Likewise.
53169 [non-C99-based standards] (y0l): Likewise.
53170 [non-C99-based standards] (y1l): Likewise.
53171 [non-C99-based standards] (ynl): Likewise.
53172 [non-C99-based standards] (isnanl): Likewise.
53173 [non-C99-based standards] (acoshl): Likewise.
53174 [non-C99-based standards] (asinhl): Likewise.
53175 [non-C99-based standards] (atanhl): Likewise.
53176 [non-C99-based standards] (cbrtl): Likewise.
53177 [non-C99-based standards] (expm1l): Likewise.
53178 [non-C99-based standards] (ilogbl): Likewise.
53179 [non-C99-based standards] (log1pl): Likewise.
53180 [non-C99-based standards] (logbl): Likewise.
53181 [non-C99-based standards] (nextafterl): Likewise.
53182 [non-C99-based standards] (remainderl): Likewise.
53183 [non-C99-based standards] (rintl): Likewise.
53184 [non-C99-based standards] (scalbl): Likewise.
53185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53186 [non-C99-based standards] (FP_*): Do not allow.
53187 [C99-based standards] (FP_*): Change to
53188 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53189 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53190 allow.
53191 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53192 (SIG_ERR): Likewise.
53193 [X/Open-based standards] (SIG_HOLD): Likewise.
53194 (SIG_IGN): Likewise.
53195 (SIGABRT): Use macro-int-constant. Specify type. Require
53196 positive value.
53197 (SIGFPE): Likewise.
53198 (SIGILL): Likewise.
53199 (SIGINT): Likewise.
53200 (SIGSEGV): Likewise.
53201 (SIGTER): Likewise.
53202 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53203 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53204 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53205 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53206 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53207 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53208 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53209 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53210 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53211 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53212 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53213 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53214 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53215 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53216 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53217 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53218 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53219 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53220 [X/Open-based standards] (SIGTRAP): Likewise.
53221 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53222 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53223 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53224 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53225 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53226 allow.
53227
53228 2012-05-08 Ian Wienand <ianw@vmware.com>
53229
53230 [BZ #14080]
53231 * time/tzset.c (__tzset_parse_tz): Update default rules for
53232 daylight time changes in the Energy Policy Act of 2005.
53233
53234 2012-05-09 Andreas Jaeger <aj@suse.de>
53235
53236 [BZ #13983]
53237 * elf/ldconfig.c (parse_conf): Change string to make clear that
53238 ldconfig only issued a warning if ld.so.conf does not exist.
53239
53240 2012-05-08 David S. Miller <davem@davemloft.net>
53241
53242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53243 movxtod instead of popping the value on the stack.
53244
53245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53246
53247 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53248
53249 * config.h.in: Add HAVE_ARM_PCS_VFP.
53250
53251 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53252
53253 [BZ #13979]
53254 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53255 checking but the checks are disabled for any reason.
53256
53257 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53258
53259 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53260 and ELF64_R_TYPE with ELFW(R_TYPE).
53261
53262 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53263
53264 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53265 (ulimit): Likewise.
53266
53267 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53268 (settimeofday): Likewise.
53269
53270 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53271
53272 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53273 a struct th_u2 inside the union, and move tu_block/tu_code into
53274 a new th_u3 union of tu_block/tu_code inside of that. Move
53275 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53276 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53277 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53278 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53279 (th_stuff): Change to th_u1.tu_stuff.
53280 (th_data): Define.
53281 (th_msg): Change to th_u1.th_u2.tu_data.
53282
53283 2012-05-07 David S. Miller <davem@davemloft.net>
53284
53285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53286
53287 [BZ #14074]
53288 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53289 (SETUP_PIC_REG): Use it.
53290 (SETUP_PIC_REG_LEAF): Use it.
53291
53292 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53293
53294 [BZ #13885]
53295 [BZ #13923]
53296 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53297 USE_AS_EXPM1L.
53298 (EXPL_FINITE): Likewise.
53299 (FLDLOG): Likewise.
53300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53301 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53302 e_expl.S.
53303 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53304 USE_AS_EXPM1L.
53305 (EXPL_FINITE): Likewise.
53306 (FLDLOG): Likewise.
53307 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53308 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53309 e_expl.S.
53310 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53311 test of -max_value argument for long double.
53312 * sysdeps/i386/fpu/libm-test-ulps: Update.
53313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53314
53315 2012-05-06 David S. Miller <davem@davemloft.net>
53316
53317 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53318 quad soft-float symbols whose references which are compiler
53319 generated.
53320 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53321
53322 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53323
53324 [BZ #13884]
53325 [BZ #13914]
53326 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53327 USE_AS_EXP10L.
53328 (EXPL_FINITE): Likewise.
53329 (FLDLOG): Likewise.
53330 (c0): Likewise.
53331 (c1): Likewise.
53332 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53333 Adjust comments for base varying.
53334 (__expl_finite): Change alias to EXPL_FINITE.
53335 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53336 e_expl.S.
53337 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53338 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53339 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53340 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53341 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53342 USE_AS_EXP10L.
53343 (EXPL_FINITE): Likewise.
53344 (FLDLOG): Likewise.
53345 (c0): Likewise.
53346 (c1): Likewise.
53347 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53348 Adjust comments for base varying.
53349 (__expl_finite): Change alias to EXPL_FINITE.
53350 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53351 tests for bugs.
53352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53353
53354 [BZ #14064]
53355 * math/libm-test.inc (check_float_internal): Correct ulp
53356 calculation for subnormal expected results.
53357
53358 2012-05-06 Andreas Jaeger <aj@suse.de>
53359
53360 * Makeconfig (+math-flags): New, set to -frounding-math.
53361 (+cflags): Add +math-flags so that all of glibc gets compiled with
53362 it.
53363
53364 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53365
53366 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53367
53368 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53369 Disable one test.
53370
53371 [BZ #13787]
53372 [BZ #13922]
53373 [BZ #14036]
53374 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53375 (__ieee754_expl): Allow for and saturate large arguments.
53376 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53377 (u_threshold): Likewise.
53378 (__exp): Call __ieee754_exp before checking for overflow and
53379 underflow.
53380 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53381 (u_threshold): Likewise.
53382 (__expf): Call __ieee754_expf before checking for overflow and
53383 underflow.
53384 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53385 (u_threshold): Likewise.
53386 (__expl): Call __ieee754_expl before checking for overflow and
53387 underflow.
53388 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53389 (__ieee754_expl): Allow for and saturate large arguments.
53390 * math/libm-test.inc (exp_test): Add another test. Do not allow
53391 missing overflow exception on overflow.
53392 (expm1_test): Do not allow missing overflow exception on overflow.
53393
53394 * sysdeps/i386/fpu/e_expl.c: Move to ...
53395 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53396 rather than using inline asm.
53397 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53398 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53399 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53400
53401 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53402 (nice): Likewise.
53403 (poll): Likewise.
53404 (signal): Likewise.
53405 (time): Likewise.
53406 (times): Likewise.
53407
53408 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53409
53410 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53411 sysdeps/unix/common/syscalls.list.
53412 (fchmod): Likewise.
53413 (fchown): Likewise.
53414 (ftruncate): Likewise.
53415 (getrusage): Likewise.
53416 (gettimeofday): Likewise.
53417 (setpgid): Likewise.
53418 (setregid): Likewise.
53419 (setreuid): Likewise.
53420 (sigaction): Likewise.
53421 (truncate): Likewise.
53422 (vhangup): Likewise.
53423 * sysdeps/unix/common/syscalls.list: Remove file.
53424 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53425 * sysdeps/unix/sysv/linux/Implies: Likewise.
53426
53427 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53428
53429 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53431 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53432 Moved to ...
53433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53434 Here.
53435 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53436 to ...
53437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53438 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53439 to ...
53440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53441 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53442 to ...
53443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53444 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53445 to ...
53446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53447 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53448 to ...
53449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53451 to ...
53452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53453 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53454 to ...
53455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53456 Here.
53457 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53458 to ...
53459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53460 Here.
53461 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53462 to ...
53463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53465 Moved to ...
53466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53467 Here.
53468 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53469 to ...
53470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53471
53472 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53473
53474 * sysdeps/unix/common/bits/dirent.h: Remove file.
53475 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53476
53477 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53478 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53479 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53480 * sysdeps/unix/bsd/isatty.c: Likewise.
53481 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53482 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53483 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53484
53485 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53486
53487 [BZ #13563]
53488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53489 long double comparison inaccuracies.
53490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53492
53493 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53494
53495 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53496 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53497
53498 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53499
53500 [BZ #14049]
53501 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53502 nonzero digits before rounding a hex value.
53503 * stdlib/tst-strtod.c (tests): Add another test.
53504
53505 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53506
53507 * sysdeps/s390/fpu/libm-test-ulps: Update.
53508
53509 2012-05-03 Andreas Jaeger <aj@suse.de>
53510
53511 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53512 does not get optimized out.
53513 (malloc_opt_barrier): New.
53514
53515 2012-05-03 Andreas Jaeger <aj@suse.de>
53516 Roland McGrath <roland@hack.frob.com>
53517
53518 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53519 intermediate file deletion.
53520 (generated): Add .symlist files.
53521
53522 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53523
53524 [BZ #13775]
53525 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53526 Redirect under this condition.
53527 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53528 [__USE_GNU] (__dprintf_chk): Not under this condition.
53529 [__USE_GNU] (__vdprintf_chk): Likewise.
53530 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53531 under this condition.
53532 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53533 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53534 [__USE_XOPEN2K8] (vdprintf): Likewise.
53535 [__USE_GNU] (__dprintf_chk): Not under this condition.
53536 [__USE_GNU] (__vdprintf_chk): Likewise.
53537 [__USE_GNU] (dprintf): Likewise.
53538 [__USE_GNU] (vdprintf): Likewise.
53539
53540 2012-05-03 Roland McGrath <roland@hack.frob.com>
53541
53542 * elf/Makefile (common-generated): Set this instead of generated for
53543 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53544 $(all-built-dso)-derived lists.
53545
53546 2012-05-03 Andreas Jaeger <aj@suse.de>
53547
53548 * sysdeps/i386/fpu/libm-test-ulps: Update.
53549
53550 * FAQ: Removed.
53551 * FAQ.in: Likewise.
53552 * scripts/gen-FAQ.pl: Likewise.
53553 * manual/install.texi (Installation): Point to online location of
53554 FAQ.
53555 * Makefile (files-for-dist): Remove FAQ.
53556 (FAQ): Remove.
53557
53558 2012-05-02 Allan McRae <allan@archlinux.org>
53559
53560 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53561 (LDFLAGS-reldepmod5.so): Likewise.
53562 (LDFLAGS-reldep6mod1.so): Likewise.
53563 (LDFLAGS-reldep6mod4.so): Likewise.
53564 (LDFLAGS-reldep8mod3.so): Likewise.
53565 (LDFLAGS-unload4mod1.so): Likewise.
53566 (LDFLAGS-unload4mod2.so): Likewise.
53567 (LDFLAGS-tst-initorder): Likewise.
53568 (LDFLAGS-tst-initordera2.so): Likewise.
53569 (LDFLAGS-tst-initordera3.so): Likewise.
53570 (LDFLAGS-tst-initordera4.so): Likewise.
53571 (LDFLAGS-tst-initorderb2.so): Likewise.
53572 (LDFLAGS-noload): Likewise.
53573 (LDFLAGS-next): Likewise.
53574 (LDFLAGS-order2mod1.so): Likewise.
53575 (LDFLAGS-order2mod2.so): Likewise.
53576 (LDFLAGS-tst-initorder2): Likewise.
53577 (LDFLAGS-tst-initorder2a.so): Likewise.
53578 (LDFLAGS-tst-initorder2b.so): Likewise.
53579 (LDFLAGS-tst-initorder2c.so): Likewise.
53580 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53581
53582 2012-05-02 David S. Miller <davem@davemloft.net>
53583
53584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53585
53586 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53587
53588 [BZ #14055]
53589 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53590
53591 2012-05-02 Andreas Jaeger <aj@suse.de>
53592
53593 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53594 since we manipulate rounding mode.
53595 (CPPFLAGS-test-idouble.c): Likewise.
53596 (CPPFLAGS-test-ifloat.c): Likewise.
53597 (CFLAGS-test-ldouble.c): Likewise.
53598 (CFLAGS-test-double.c): Likewise.
53599 (CFLAGS-test-float.c): Likewise.
53600 (CFLAGS-test-misc.c): Likewise.
53601 (CFLAGS-test-test-fenv.c): Likewise.
53602
53603 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53604
53605 [BZ #2550]
53606 [BZ #2570]
53607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53608 comparisons to determine direction to adjust input.
53609
53610 2012-05-01 Roland McGrath <roland@hack.frob.com>
53611
53612 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53613 output to the target.
53614
53615 * scripts/localplt.awk: New file.
53616 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53617 (check-localplt-CFLAGS): Variable removed.
53618 ($(all-built-dso:=.jmprel)): New static pattern rule.
53619 (generated): Add those targets.
53620 (localplt-built-dso): New variable.
53621 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53622
53623 * elf/check-localplt.c: File removed.
53624
53625 * scripts/check-execstack.awk: New file.
53626 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53627 (check-execstack-CFLAGS): Variable removed.
53628 ($(objpfx)check-execstack.h): Target removed.
53629 ($(objpfx)execstack-default): New target.
53630 (generated): Add that instead of check-execstack.h.
53631 ($(all-built-dso:=.phdr)): New static pattern rule.
53632 (generated): Add those targets.
53633 * elf/check-execstack.c: File removed.
53634
53635 * scripts/check-textrel.awk: New file.
53636 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53637 (check-textrel-CFLAGS): Variable removed.
53638 (all-built-dso): Use := to define.o
53639 ($(all-built-dso:=.dyn)): New static pattern rule.
53640 (generated): Add those targets.
53641 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53642 * config.make.in (READELF): New substituted variable.
53643 * elf/check-textrel.c: File removed.
53644
53645 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53646
53647 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53648 allow.
53649 * conform/data/ctype.h-data [C99-based standards] (isblank):
53650 Expect function.
53651 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53652 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53654 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53655 Specify type. Require positive value.
53656 (EILSEQ): Likewise.
53657 (ERANGE): Likewise.
53658 [ISO || POSIX] (EILSEQ): Do not expect.
53659 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53660 Specify type. Require positive value.
53661 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53662 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53663 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53664 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53665 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53666 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53667 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53668 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53669 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53670 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53671 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53672 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53673 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53674 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53675 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53676 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53677 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53678 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53679 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53680 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53681 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53682 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53683 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53684 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53685 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53686 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53687 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53688 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53689 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53690 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53691 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53692 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53693 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53694 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53695 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53696 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53697 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53698 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53699 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53700 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53701 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53702 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53703 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53704 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53705 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53706 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53707 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53708 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53709 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53710 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53711 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53712 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53713 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53714 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53715 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53716 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53717 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53718 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53719 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53720 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53721 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53722 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53723 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53724 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53725 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53726 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53727 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53728 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53729 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53730 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53731 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53732 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53733 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53734 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53735 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53736 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53737 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53738 Require >= 2.
53739 (FLT_ROUNDS): Expect as macro, not constant.
53740 (FLT_MANT_DIG): Use macro-int-constant.
53741 (DBL_MANT_DIG): Likewise.
53742 (LDBL_MANT_DIG): Likewise.
53743 (FLT_DIG): Likewise.
53744 (DBL_DIG): Likewise.
53745 (LDBL_DIG): Likewise.
53746 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53747 (DBL_MIN_EXP): Likewise.
53748 (LDBL_MIN_EXP): Likewise.
53749 (FLT_MAX_EXP): Use macro-int-constant.
53750 (DBL_MAX_EXP): Likewise.
53751 (LDBL_MAX_EXP): Likewise.
53752 (FLT_MAX_10_EXP): Likewise.
53753 (DBL_MAX_10_EXP): Likewise.
53754 (LDBL_MAX_10_EXP): Likewise.
53755 (FLT_MAX): Use macro-constant.
53756 (DBL_MAX): Likewise.
53757 (LDBL_MAX): Likewise.
53758 (FLT_EPSILON): Use macro-constant. Give upper bound.
53759 (DBL_EPSILON): Likewise.
53760 (LDBL_EPSILON): Likewise.
53761 (FLT_MIN): Likewise.
53762 (DBL_MIN): Likewise.
53763 (LDBL_MIN): Likewise.
53764 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53765 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53766 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53767 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53768 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53769 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53770 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53771 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53772 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53773 [ISO11] (FLT_TRUE_MIN): Likewise.
53774 [ISO11] (LDBL_TRUE_MIN): Likewise.
53775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53776 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53777 (SCHAR_MIN): Use macro-int-constant. Specify type.
53778 (SCHAR_MAX): Likewise.
53779 (UCHAR_MAX): Likewise.
53780 (CHAR_MIN): Likewise.
53781 (CHAR_MAX): Likewise.
53782 (MB_LEN_MAX): Use macro-int-constant.
53783 (SHRT_MIN): Use macro-int-constant. Specify type.
53784 (SHRT_MAX): Likewise.
53785 (USHRT_MAX): Likewise.
53786 (INT_MAX): Likewise.
53787 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53788 bound negative.
53789 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53790 bound with "U".
53791 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53792 bound with "L".
53793 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53794 bound negative. Suffix upper bound with "L".
53795 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53796 bound with "UL".
53797 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53798 Specify type.
53799 [C99-based standards] (LLONG_MAX): Likewise.
53800 [C99-based standards] (ULLONG_MAX): Likewise.
53801 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53802 == 0.
53803 [ISO11] (max_align_t): Require type.
53804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53805
53806 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53807 from $CFLAGS, without defining away __attribute__ calls.
53808 (checknamespace): Use $CFLAGS_namespace.
53809
53810 * conform/conformtest.pl (@keywords): Only include C99 keywords
53811 for standards based on C99 or C11.
53812
53813 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53814 Disable tests.
53815 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53816 UNIX98]: Likewise.
53817
53818 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53819 usability of symbols in #if.
53820
53821 * conform/conformtest.pl: If macro or constant types start
53822 "promoted:", expect the symbol to be of the following type
53823 promoted by the integer promotions.
53824
53825 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53826 in one place. Also handle "macro-constant".
53827
53828 * conform/conformtest.pl: Only accept expected macro values with
53829 "==". Parse all "macro" lines in one place.
53830 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53831
53832 * conform/conformtest.pl: Handle braced types on "constant" lines
53833 instead of handling "typed-constant".
53834 * conform/data/signal.h-data: Use "constant" instead of
53835 "typed-constant".
53836
53837 * conform/conformtest.pl: Handle "optional-" at start of lines in
53838 one place rather than duplicating several cases. Handle each
53839 format of "macro" line with initial "optional-".
53840
53841 * conform/conformtest.pl: Only accept expected constant or
53842 optional-constant values with "==". Parse all "constant" lines in
53843 one place. Parse all "optional-constant" lines in one place.
53844 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53845 * conform/data/fmtmsg.h-data: Likewise.
53846 * conform/data/netinet/in.h-data: Likewise.
53847 * conform/data/tar.h-data: Likewise.
53848 * conform/data/limits.h-data: Use "==" form on "constant" and
53849 "optional-constant" lines.
53850
53851 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53852 Use -std=c99 for XOPEN2K.
53853 (@knownproblems): Remove.
53854 (newtoken): Don't check %isknown.
53855
53856 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53857 Do not expect macro.
53858 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53859 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53860 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53861 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53862 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53863 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53864 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53865 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53866 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53867 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53868 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53869 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53870 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53871 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53872 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53873 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53874 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53875 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53876 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53877 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53878 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53879 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53880 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53881 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53882 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53883 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53884 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53885 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53886 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53887 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53888 [XPG3] (acosh): Likewise.
53889 [XPG3] (asinh): Likewise.
53890 [XPG3] (atanh): Likewise.
53891 [XPG3] (cbrt): Likewise.
53892 [XPG3] (expm1): Likewise.
53893 [XPG3] (ilogb): Likewise.
53894 [XPG3] (log1p): Likewise.
53895 [XPG3] (logb): Likewise.
53896 [XPG3] (nextafter): Likewise.
53897 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53898 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53899 [XPG3] (remainder): Likewise.
53900 [XPG3] (rint): Likewise.
53901 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53902 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53903 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53904 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53905 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53906 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53907 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53908 [UNIX98 || XOPEN2K] (scalb): Expect.
53909 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53910 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53911 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53912 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53913 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53914 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53915 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53916 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53917 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53918 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53919 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53920 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53921 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53922 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53923 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53924 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53925 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53926 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53927 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53928 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53929 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53930 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53931 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53932 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53933 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53934 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53935 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53936 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53937 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53938 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53939 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53940 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53941 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53942 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53943 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53944 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53945 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53946 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53947 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53948 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53949 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53950 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53951 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53952 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53953 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53954 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53955 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53956 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53957 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53958 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53959 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53960 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53961 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53962 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53963 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53964 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53965 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53966 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53967 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53968 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53969 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53970 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53971 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53972 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53973 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53974 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53975 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53976 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53977 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53978 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53979 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53980 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53981 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53982 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53983 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53984 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53985 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53986 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53987 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53988 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53989 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53990 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53991 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53992 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53993 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53994 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53995 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53996 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53997 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53998 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53999 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54000 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54001 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54002 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54003 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54004 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54005 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54006 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54007 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54008 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54009 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54010 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54011 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54012 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54013 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54014 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54015 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54016 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54017 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54018 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54019 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54020 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54021 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54022 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54023 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54024 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54025 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54026 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54027 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54028 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54029 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54030 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54031 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54032 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54033 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54034 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54035 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54036 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54037 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54038 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54039 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54040 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54041 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54042 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54043 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54044 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54045 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54046
54047 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54048 _XOPEN_SOURCE_EXTENDED for XPG4.
54049
54050 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54051
54052 * Makeconfig (localtime): Remove variable.
54053 (inst_localtime-file): Likewise.
54054
54055 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54056
54057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54058 Update.
54059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54060 Update.
54061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54062 Update.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54064 Update.
54065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54066 Update.
54067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54068 Update.
54069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54070 Update.
54071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54072 Update.
54073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54074 Update.
54075
54076 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54077
54078 [BZ #2550]
54079 [BZ #2570]
54080 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54081 comparisons to determine direction to adjust input.
54082 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54083 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54085 Likewise.
54086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54087 Likewise.
54088 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54089 Likewise.
54090 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54092 Likewise.
54093 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54094 Likewise.
54095 * math/libm-test.inc (nexttoward_test): Add more tests.
54096
54097 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54098
54099 [BZ #14040]
54100 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54101 in version GLIBC_2.1, not GLIBC_2.0.
54102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54103 Likewise.
54104
54105 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54106
54107 [BZ #13942]
54108 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54109 (1 - x) * (1 + x).
54110 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54111 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54112 * math/libm-test.inc (acos_test): Add more tests.
54113 (asin_test): Likewise.
54114 * sysdeps/i386/fpu/libm-test-ulps: Update.
54115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54116
54117 [BZ #14034]
54118 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54119 of square root.
54120 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54121 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54122 * math/libm-test.inc (acos_test_tonearest): New function.
54123 (acos_test_towardzero): Likewise.
54124 (acos_test_downward): Likewise.
54125 (acos_test_upward): Likewise.
54126 (asin_test_tonearest): Likewise.
54127 (asin_test_towardzero): Likewise.
54128 (asin_test_downward): Likewise.
54129 (asin_test_upward): Likewise.
54130 (main): Call the new functions.
54131 * sysdeps/i386/fpu/libm-test-ulps: Update.
54132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54133
54134 [BZ #13884]
54135 [BZ #13924]
54136 * math/e_exp10.c: Include <float.h>.
54137 (__ieee754_exp10): Handle underflow here rather than multiplying
54138 large negative argument by M_LN10.
54139 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54140 of __ieee754_expf.
54141 * math/e_exp10l.c: Include <float.h>.
54142 (__ieee754_exp10l): Handle underflow here rather than multiplying
54143 large negative argument by M_LN10l.
54144 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54145 spurious overflow exception on underflow.
54146
54147 2012-04-29 Marek Polacek <polacek@redhat.com>
54148
54149 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54150 (__fortify_function): New macro.
54151 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54152 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54153 __extern_always_inline.
54154 * libio/bits/stdio2.h: Likewise.
54155 * libio/bits/stdio.h: Likewise.
54156 * string/string.h: Likewise.
54157 * string/bits/string3.h: Likewise.
54158 * include/stdio.h: Likewise.
54159 * stdlib/bits/stdlib.h: Likewise.
54160 * stdlib/stdlib.h: Likewise.
54161 * rt/bits/mqueue2.h: Likewise.
54162 * rt/mqueue.h: Likewise.
54163 * posix/bits/unistd.h: Likewise.
54164 * posix/unistd.h: Likewise.
54165 * io/bits/poll2.h: Likewise.
54166 * io/bits/fcntl2.h: Likewise.
54167 * io/fcntl.h: Likewise.
54168 * io/sys/poll.h: Likewise.
54169 * misc/bits/syslog.h: Likewise.
54170 * misc/bits/syslog-ldbl.h: Likewise.
54171 * misc/sys/syslog.h: Likewise.
54172 * socket/bits/socket2.h: Likewise.
54173 * socket/sys/socket.h: Likewise.
54174 * debug/tst-chk1.c: Likewise.
54175 * wcsmbs/bits/wchar2.h: Likewise.
54176 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54177 * wcsmbs/wchar.h: Likewise.
54178
54179 2012-04-29 Andreas Jaeger <aj@suse.de>
54180
54181 * Makerules (tests): Remove enable-check-abi protection.
54182 (check-abi-warn): Remove.
54183 (check-abi-%): Remove check-abi-warn usage.
54184
54185 * configure.in: Remove check-abi configure option.
54186 * configure: Regenerated.
54187 * config.make.in (enable-check-abi): Remove.
54188
54189 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54190
54191 [BZ #14033]
54192 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54193 double functions to double *_finite functions.
54194
54195 [BZ #13941]
54196 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54197 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54198 LDBL_MIN_EXP.
54199 * stdio-common/Makefile (tests): Add tst-sprintf3.
54200 * stdio-common/tst-sprintf3.c: New file.
54201
54202 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54203 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54204
54205 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54206
54207 * conform/conformtest.pl: Remove duplicate typed-constant
54208 handling.
54209
54210 2012-04-28 David S. Miller <davem@davemloft.net>
54211
54212 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54213 (check-abi-%): Remove AWK script prerequisite and explicit
54214 abilist directory.
54215 (check-abi): Rewrite to just diff the symlist with the abilist.
54216 (config-tls, config-abi-config): Delete, no longer used.
54217 (update-abi-%): Remove AWK script and explicit abilist directory.
54218 (update-abi): Rewrite to simply compare and conditionally copy the
54219 symlist and the sysdep abilist file. Remove update-abi-config
54220 checks.
54221 * abilist/ld.abilist: Remove.
54222 * abilist/libBrokenLocale.abilist: Remove.
54223 * abilist/libanl.abilist: Remove.
54224 * abilist/libcrypt.abilist: Remove.
54225 * abilist/libdl.abilist: Remove.
54226 * abilist/librt.abilist: Remove.
54227 * abilist/libthread_db.abilist: Remove.
54228 * abilist/libutil.abilist: Remove.
54229 * scripts/extract-abilist.awk: Remove.
54230 * scripts/merge-abilist.awk: Remove.
54231 * sysdeps/generic/libcidn.abilist: New file.
54232 * sysdeps/generic/libnss_compat.abilist: New file.
54233 * sysdeps/generic/libnss_db.abilist: New file.
54234 * sysdeps/generic/libnss_dns.abilist: New file.
54235 * sysdeps/generic/libnss_files.abilist: New file.
54236 * sysdeps/generic/libnss_hesiod.abilist: New file.
54237 * sysdeps/generic/libnss_nis.abilist: New file.
54238 * sysdeps/generic/libnss_nisplus.abilist: New file.
54239 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54240 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54241 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54242 file.
54243 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54244 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54245 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54246 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54247 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54248 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54249 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54250 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54252 file.
54253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54254 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54255 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54256 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54257 file.
54258 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54259 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54260 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54261 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54262 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54263 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54264 file.
54265 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54266 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54267 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54268 file.
54269 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54271 New file.
54272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54273 New file.
54274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54275 New file.
54276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54277 New file.
54278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54279 New file.
54280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54281 New file.
54282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54283 New file.
54284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54285 New file.
54286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54287 New file.
54288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54289 New file.
54290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54291 New file.
54292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54293 New file.
54294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54295 New file.
54296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54297 file.
54298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54299 New file.
54300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54301 New file.
54302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54303 file.
54304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54305 New file.
54306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54307 New file.
54308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54309 file.
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54311 New file.
54312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54313 New file.
54314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54315 New file.
54316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54317 New file.
54318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54319 New file.
54320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54321 New file.
54322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54324 file.
54325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54326 New file.
54327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54328 file.
54329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54330 file.
54331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54332 file.
54333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54334 file.
54335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54336 file.
54337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54338 New file.
54339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54340 file.
54341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54342 file.
54343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54344 New file.
54345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54346 file.
54347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54349 file.
54350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54351 New file.
54352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54353 file.
54354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54355 file.
54356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54357 file.
54358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54359 file.
54360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54361 file.
54362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54363 New file.
54364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54365 file.
54366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54367 file.
54368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54369 New file.
54370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54371 file.
54372 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54373 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54374 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54375 file.
54376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54377 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54378 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54379 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54380 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54381 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54382 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54383 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54384 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54385 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54388 file.
54389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54390 New file.
54391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54392 file.
54393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54394 file.
54395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54396 file.
54397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54398 file.
54399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54400 file.
54401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54402 New file.
54403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54404 New file.
54405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54406 file.
54407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54408 New file.
54409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54410 file.
54411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54413 file.
54414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54415 New file.
54416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54417 file.
54418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54419 file.
54420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54421 file.
54422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54423 file.
54424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54425 file.
54426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54427 New file.
54428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54429 New file.
54430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54431 file.
54432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54433 New file.
54434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54435 file.
54436
54437 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54438
54439 * conform/conformtest.pl: Fix typo in handling typed-constant from
54440 allow-header.
54441
54442 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54443
54444 * README: Cut down references to pre-2.6 Linux kernels and
54445 Linuxthreads. Update lists of configurations in libc and ports
54446 and sort alphabetically. Say "or newer" with Linux kernel version
54447 requirements.
54448
54449 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54450
54451 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54452
54453 [BZ #887]
54454 * math/libm-test.inc (logb_test_downward): New test to expose
54455 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54456 rounding mode.
54457
54458 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54459
54460 [BZ #14027]
54461 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54462 to be done.
54463 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54464 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54465
54466 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54467
54468 * sysdeps/unix/i386/brk.S: Remove file.
54469 * sysdeps/unix/i386/dl-brk.S: Likewise.
54470 * sysdeps/unix/i386/pipe.S: Likewise.
54471 * sysdeps/unix/i386/sigreturn.S: Likewise.
54472 * sysdeps/unix/i386/syscall.S: Likewise.
54473 * sysdeps/unix/i386/vfork.S: Likewise.
54474 * sysdeps/unix/i386/wait.S: Likewise.
54475
54476 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54477 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54478
54479 * configure.in (arm*-none*): Do not allow without
54480 --enable-hacker-mode.
54481 (netbsd*): Remove case setting base_os.
54482 (386bsd*): Likewise.
54483 (freebsd*): Likewise.
54484 (bsdi*): Likewise.
54485 (osf*): Likewise.
54486 (sunos*): Likewise.
54487 (ultrix*): Likewise.
54488 (newsos*): Likewise.
54489 (dynix*): Likewise.
54490 (*bsd*): Likewise.
54491 (sysv*): Likewise.
54492 (isc*): Likewise.
54493 (esix*): Likewise.
54494 (sco*): Likewise.
54495 (minix*): Likewise.
54496 (irix4*): Likewise.
54497 (irix6*): Likewise.
54498 (solaris[2-9]*): Likewise.
54499 (none): Likewise.
54500 * configure: Regenerated.
54501
54502 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54503
54504 [BZ #11521]
54505 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54506 overflow or cancellation in calculating denominator.
54507 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54509 down expression to avoid unexpected rounding in newer GCCs.
54510 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54511
54512 2012-04-26 David S. Miller <davem@davemloft.net>
54513
54514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54515 long-double compat symbols.
54516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54529
54530 2012-04-25 David S. Miller <davem@davemloft.net>
54531
54532 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54533 HWCAP_* values only after the memory barriers have been defined.
54534 (atomic_full_barrier): Define.
54535 (atomic_read_barrier): Define.
54536 (atomic_write_barrier): Define.
54537
54538 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54539
54540 * shlib-versions: Add libgcc_s version information.
54541 * sysdeps/generic/libgcc_s.h: Remove.
54542 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54543 libgcc_s.h.
54544 * sysdeps/gnu/unwind-resume.c: Likewise.
54545 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54546
54547 2012-04-25 David S. Miller <davem@davemloft.net>
54548
54549 * sysdeps/unix/sparc/brk.S: Delete.
54550 * sysdeps/unix/sparc/dl-brk.S: Delete.
54551 * sysdeps/unix/sparc/pipe.S: Delete.
54552 * sysdeps/unix/sparc/sysdep.S: Delete.
54553 * sysdeps/unix/sparc/sysdep.h: Delete.
54554 * sysdeps/unix/sparc/vfork.S: Delete.
54555 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54556 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54557 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54558 (ret_ERRVAL, r0, r1, MOVE): Define.
54559 (JUMPTARGET): Remove.
54560 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54561 sysdeps/unix/sparc/sysdep.h
54562 (ENTRY, END): Remove.
54563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54564
54565 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54566
54567 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54568 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54569 -DIS_IN_build.
54570
54571 * timezone/README: Update upstream location and email address for
54572 tzcode and tzdata.
54573 * timezone/zdump.c: Update from tzcode 2012b.
54574 * timezone/zic.c: Likewise.
54575
54576 * configure.in (libc_cv_as_needed): Remove test.
54577 * configure: Regenerated.
54578 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54579 conditional definition.
54580 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54581 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54582 * config.make.in (have-as-needed): Remove variable.
54583
54584 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54585 Paul Pluzhnikov <ppluzhnikov@google.com>
54586
54587 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54588 strings correctly.
54589
54590 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54591
54592 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54593 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54594 * sysdeps/sh/strlen.S: Likewise.
54595
54596 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54597
54598 * sysdeps/unix/fork.S: Remove file.
54599 * sysdeps/unix/i386/fork.S: Likewise.
54600 * sysdeps/unix/sparc/fork.S: Likewise.
54601
54602 * sysdeps/unix/system.c: Remove file.
54603 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54604
54605 * sysdeps/unix/getegid.S: Remove file.
54606 * sysdeps/unix/geteuid.S: Likewise.
54607
54608 2012-04-24 Roland McGrath <roland@hack.frob.com>
54609
54610 * scripts/check-localplt.awk: New file.
54611 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54612 of diff.
54613 * scripts/data/localplt-generic.data: Add a comment.
54614
54615 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54616 NODE when __dir_mkfile failed.
54617 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54618 Reported by Ludovic Courtès <ludo@gnu.org>.
54619
54620 2012-04-24 Andreas Jaeger <aj@suse.de>
54621
54622 * Makerules (common-clean): Also remove gen-as-const-headers
54623 files.
54624
54625 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54626
54627 * Makerules (native-compile): Do not change working directory for
54628 build. Use $(OUTPUT_OPTION) in command.
54629 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54630
54631 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54632
54633 [BZ #13886]
54634 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54635 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54636 * math/libm-test.inc (floor_test): Add more tests.
54637 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54638
54639 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54640
54641 * sysdeps/unix/getdents.c: Remove file.
54642 * sysdeps/unix/sysv/getdents.c: Likewise.
54643 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54644
54645 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54646 sysdeps/unix/mman/syscalls.list.
54647 (mmap): Likewise.
54648 (mprotect): Likewise.
54649 (msync): Likewise.
54650 (munmap): Likewise.
54651 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54652 * sysdeps/unix/mman/syscalls.list: Remove.
54653 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54654
54655 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54656 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54657 * configure: Regenerated.
54658 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54659 $(libgcc_s_suffix).
54660 * config.make.in (libgcc_s_suffix): Remove variable.
54661
54662 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54663
54664 * sysdeps/unix/sysv/gethostname.c: Move to ...
54665 * sysdeps/posix/gethostname.c: ... here.
54666
54667 * sysdeps/unix/execve.S: Remove file.
54668
54669 * sysdeps/unix/_exit.S: Remove file.
54670
54671 2012-04-23 Andreas Jaeger <aj@suse.de>
54672
54673 [BZ #13739]
54674 * manual/Makefile: Remove make dist support, there's no
54675 need for a stand-alone documentation tar ball.
54676 (TEXI2DVI): Define always, it's not in Makeconfig.
54677 (dist): Removed.
54678 (tar-it): Removed.
54679 (edition): Removed.
54680 (glibc-doc-$(edition).tar): Removed
54681 (%.Z): Removed.
54682 (%.gz): Removed.
54683 (%.uu): Removed.
54684 (ETAGS): Remove, it's in Makeconfig.
54685 (move-if-change): Remove, it's in Makeconfig.
54686
54687 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54688
54689 [BZ #13970]
54690 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54691 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54692 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54693 (strtod_l, strtof_l, strtold_l): Remove __wur.
54694 It is not necessarily an error to ignore strtol's return value.
54695 One can reliably look at the stored endptr to decide whether
54696 the number had valid syntax.
54697
54698 2012-04-21 Andreas Jaeger <aj@suse.de>
54699
54700 [BZ #13739]
54701 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54702
54703 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54704
54705 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54706 * sysdeps/unix/sysv/Versions: Remove file.
54707
54708 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54709
54710 [BZ #13927]
54711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54712
54713 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54714
54715 [BZ #7064]
54716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54717 version from __vm86.
54718
54719 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54720
54721 * sysdeps/unix/common/lxstat.c: Remove file.
54722 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54723
54724 * sysdeps/unix/sysv/Makefile: Remove file.
54725
54726 * sysdeps/unix/sysv/direct.h: Remove file.
54727
54728 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54729 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54730 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54731 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54732 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54733 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54734 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54735
54736 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54737
54738 * sysdeps/unix/xmknod.c: Remove file.
54739 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54740
54741 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54742
54743 * sysdeps/unix/sysv/i386/time.S: Remove file.
54744
54745 * sysdeps/unix/fxstat.c: Remove file.
54746 * sysdeps/unix/xstat.c: Likewise.
54747 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54748
54749 * sysdeps/unix/sysv/sigaction.c: Remove file.
54750
54751 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54752 (sysdep_headers): Remove variable.
54753 [termio.h not in sysdep_headers] (generated): Likewise.
54754 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54755 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54756 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54757 * sysdeps/unix/sysv/tcflow.c: Likewise.
54758 * sysdeps/unix/sysv/tcflush.c: Likewise.
54759 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54760 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54761 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54762 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54763 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54764
54765 * sysdeps/unix/siglist.c: Remove file.
54766
54767 * sysdeps/unix/getppid.S: Remove file.
54768
54769 * sysdeps/unix/mkdir.c: Remove file.
54770 * sysdeps/unix/rmdir.c: Likewise.
54771
54772 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54773
54774 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54775 ERR_MAX value.
54776 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54777 errlist-compat value.
54778
54779 2012-04-18 David S. Miller <davem@davemloft.net>
54780
54781 * sysdeps/generic/memcopy.h (reg_char): Delete.
54782 * debug/strcat_chk.c: Use char, not reg_char.
54783 * debug/strcpy_chk.c: Likewise.
54784 * debug/strncat_chk.c: Likewise.
54785 * debug/strncpy_chk.c: Likewise.
54786 * string/memchr.c: Likewise.
54787 * string/memrchr.c: Likewise.
54788 * string/rawmemchr.c: Likewise.
54789 * string/strcat.c: Likewise.
54790 * string/strchr.c: Likewise.
54791 * string/strchrnul.c: Likewise.
54792 * string/strcmp.c: Likewise.
54793 * string/strcpy.c: Likewise.
54794 * string/strncat.c: Likewise.
54795 * string/strncmp.c: Likewise.
54796 * string/strncpy.c: Likewise.
54797
54798 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54799
54800 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54801 __builtin_memcopy is called when src and dest ranges are known to not
54802 overlap.
54803
54804 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54805
54806 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54807 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54808 fwd_align_merge macro call.
54809 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54810 bwd_align_merge macro call.
54811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54812
54813 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54814
54815 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54816 bwd_align_merge macros.
54817 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54818 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54819 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54820
54821 2012-04-18 David S. Miller <davem@davemloft.net>
54822
54823 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54824
54825 2012-04-18 Andreas Jaeger <aj@suse.de>
54826
54827 [BZ# 6794]
54828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54829 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54831
54832 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54833 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54835
54836 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54837 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54838 Adjust for changed ldbl-128 files.
54839
54840 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54841 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54842 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54843
54844 2012-04-17 David S. Miller <davem@davemloft.net>
54845
54846 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54847
54848 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54849
54850 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54851 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54852 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54853 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54854 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54855 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54856
54857 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54858
54859 [BZ #6794]
54860 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54861 * math/libm-test.inc: Add ilogb errno and exception tests.
54862 * math/w_ilogb.c: New file: ilogb wrapper.
54863 * math/w_ilogbf.c: New file: ilogbf wrapper.
54864 * math/w_ilogbl.c: New file: ilogbl wrapper.
54865 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54866 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54867 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54868 exception being thrown with 0.0 as argument.
54869 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54870 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54871 exception being thrown with 0.0 as argument.
54872 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54873 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54874 exception being thrown with 0.0 as argument.
54875 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54876 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54877 exception being thrown with 0.0 as argument.
54878 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54879 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54881 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54882 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54883 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54884 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54885 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54886 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54887
54888 2012-04-17 Petr Baudis <pasky@ucw.cz>
54889
54890 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54891 with altivec.
54892
54893 2012-04-16 Marek Polacek <polacek@redhat.com>
54894
54895 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54896
54897 2012-04-16 Marek Polacek <polacek@redhat.com>
54898
54899 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54900 operands of fdivp instruction.
54901
54902 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54903
54904 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54905 * elf/tst-auditmod3b.c: Likewise.
54906 * elf/tst-auditmod4b.c: Likewise.
54907 * elf/tst-auditmod5b.c: Likewise.
54908 * elf/tst-auditmod6b.c: Likewise.
54909 * elf/tst-auditmod6c.c: Likewise.
54910 * elf/tst-auditmod7b.c: Likewise.
54911 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54912 * sysdeps/x86_64/preconfigure.in: Likewise.
54913 * sysdeps/x86_64/preconfigure: Regenerated.
54914
54915 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54916
54917 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54918 __ILP32__.
54919
54920 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54921
54922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54923 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54924
54925 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54926
54927 [BZ #13973]
54928 * locale/iso-639.def: Fix gl language name. Spotted by
54929 Yaron Shahrabani.
54930
54931 2012-04-12 Roland McGrath <roland@hack.frob.com>
54932
54933 [BZ #2074]
54934 * libio/libio.h (__io_write_fn): Update comment.
54935
54936 2012-04-12 Petr Baudis <pasky@ucw.cz>
54937
54938 [BZ #2074]
54939 * stdio.texi (Hook Functions): The user provided writer function
54940 is not allowed to return -1.
54941
54942 2012-04-11 David S. Miller <davem@davemloft.net>
54943
54944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54945
54946 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54947
54948 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54949 Add a leading slash to rtkaio.
54950
54951 2012-04-11 Jim Meyering <meyering@redhat.com>
54952
54953 [BZ #11959]
54954 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54955 It is not necessarily an error to ignore fwrite's return
54956 value. One can reliably use ferror to test for errors after
54957 the fact.
54958
54959 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54960
54961 * bits/types.h (__snseconds_t): New type.
54962 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54963
54964 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54965 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54966 (__SNSECONDS_T_TYPE): Likewise.
54967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54968 (__SNSECONDS_T_TYPE): Likewise.
54969 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54970 (__SNSECONDS_T_TYPE): Likewise.
54971
54972 2012-04-10 Andreas Jaeger <aj@suse.de>
54973
54974 [BZ #2636]
54975 * manual/time.texi (Processor Time): Return type of times is
54976 elapsed real time since an arbitrary point in the past.
54977 (CPU Time): Move CLK_TCK from here...
54978 (Processor Time): ...to here. Correct description.
54979 * manual/conf.texi (Constants for Sysconf): Correct description of
54980 _SC_CLK_TCK.
54981
54982 2012-04-10 David S. Miller <davem@davemloft.net>
54983
54984 [BZ #13967]
54985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54986 where the is a gap between DT_REL(A) and DT_JMPREL.
54987
54988 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54989
54990 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54991 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54992 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54993
54994 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54995
54996 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54997 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54998 (dl_main): Handle --inhibit-cache.
54999 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55000 _dl_inhibit_cache.
55001 * elf/dl-load.c (_dl_map_object): Use it.
55002 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55003
55004 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55005
55006 [BZ #13872]
55007 * sysdeps/i386/fpu/e_powl.S (p78): New object.
55008 (__ieee754_powl): Saturate large exponents rather than testing for
55009 overflow of y*log2(x).
55010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55011 * math/libm-test.inc (pow_test): Do not permit spurious overflow
55012 exceptions.
55013
55014 [BZ #11521]
55015 * math/s_ctan.c: Include <float.h>.
55016 (__ctan): Avoid internal overflow or cancellation in calculating
55017 denominator.
55018 * math/s_ctanf.c: Likewise.
55019 * math/s_ctanl.c: Likewise.
55020 * math/s_ctanh.c: Likewise.
55021 * math/s_ctanhf.c: Likewise.
55022 * math/s_ctanhl.c: Likewise.
55023 * math/libm-test.inc (ctan_test): Add more tests.
55024 (ctanh_test): Likewise.
55025 * sysdeps/i386/fpu/libm-test-ulps: Update.
55026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55027
55028 2012-04-09 Andreas Jaeger <aj@suse.de>
55029
55030 [BZ #6894]
55031 * manual/filesys.texi (Directory Entries): Mention that d_namlen
55032 is an optional BSD extension.
55033
55034 [BZ #10254]
55035 * manual/stdio.texi (Opening Streams): Document additional fopen
55036 parameters.
55037
55038 2012-04-09 Roland McGrath <roland@hack.frob.com>
55039
55040 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55041 %eax without telling the compiler.
55042
55043 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
55044
55045 [BZ # 13963]
55046 * manual/install.texi: Use sourceware.org.
55047
55048 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55049
55050 [BZ #13873]
55051 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55052 (__ieee754_pow): Generate overflow and underflow using huge*huge
55053 and tiny*tiny rather than just returning constant infinity or zero
55054 for large exponents.
55055 * math/libm-test.inc (pow_test): Require overflow exceptions for
55056 applicable cases of large exponents.
55057
55058 [BZ #706]
55059 * sysdeps/i386/fpu/e_pow.S (p10): New object.
55060 (__ieee754_pow): Use iterative multiplication algorithm only for
55061 integer exponents with absolute value below 1024. Check for odd
55062 integer exponents when using algorithm for real exponents.
55063 * math/libm-test.inc (pow_test): Add more tests.
55064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55065
55066 2012-04-08 Joseph Myers <joseph@codesourcery.com>
55067
55068 [BZ #13705]
55069 * math/libm-test.inc (exp_test): Do not allow overflow exception
55070 on underflow test.
55071
55072 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55073
55074 [BZ #13705]
55075 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55076 instead of __kernel_standard_f.
55077
55078 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55079
55080 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55081 * sysdeps/x86_64/memset_chk.S: Likewise.
55082
55083 2012-04-08 Andreas Jaeger <aj@suse.de>
55084
55085 [BZ #10153]
55086 * manual/startup.texi (Environment Access): Describe return value
55087 for putenv and setenv.
55088
55089 [BZ #6895]
55090 * manual/filesys.texi (Directory Entries): Add description for
55091 DT_LNK.
55092
55093 [BZ #6890]
55094 * manual/filesys.texi (Directory Entries): Clarify that it's file
55095 system not operating system in the description of DT_UNKNOWN.
55096
55097 [BZ #6578]
55098 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55099
55100 2012-04-08 Stephen Compall <s11@member.fsf.org>
55101
55102 [BZ #6649]
55103 * manual/llio.texi (Opening and Closing Files): Add cross
55104 reference to explain mode argument.
55105
55106 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55107
55108 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55109 * sysdeps/x86_64/memset_chk.S: Likewise.
55110
55111 2012-04-07 David S. Miller <davem@davemloft.net>
55112
55113 * elf/elf.h (R_SPARC_WDISP10): Define.
55114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55115 R_SPARC_SIZE32.
55116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55117 R_SPARC_SIZE64 and R_SPARC_H34.
55118
55119 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55120
55121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55122 conditions and remove no longer applicable assertion.
55123
55124 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55125
55126 * bits/byteswap.h: Include <features.h>.
55127 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55128 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55129
55130 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55131
55132 * bits/byteswap.h (__bswap_16): Removed.
55133 Include <bits/byteswap-16.h> to get __bswap_16.
55134 * sysdeps/i386/bits/byteswap.h: Likewise.
55135 * sysdeps/s390/bits/byteswap.h: Likewise.
55136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55137 * bits/byteswap-16.h: New file.
55138 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55139 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55140 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55141 * string/Makefile (headers): Add bits/byteswap-16.h.
55142
55143 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55144
55145 [BZ #13895]
55146 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55147 extra indirection.
55148 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55149 * nss/tst-nss-static.c: New.
55150
55151 2012-04-06 Robert Millan <rmh@gnu.org>
55152
55153 [BZ #6486]
55154 * manual/llio.texi (File Position Primitive): lseek
55155 refers to WHENCE when it really means OFFSET.
55156
55157 2012-04-06 Andreas Jaeger <aj@suse.de>
55158
55159 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55160 strncmp declarations.
55161
55162 * abilist/libc.abilist: Add __poll and __ppoll.
55163
55164 2012-04-05 David S. Miller <davem@davemloft.net>
55165
55166 * scripts/check-local-headers.sh: Accept a host triplet in the
55167 path matched by the exclude regexp.
55168
55169 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55170 definition.
55171 * sysdeps/powerpc/powerpc32/dl-machine.h
55172 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55173 * sysdeps/s390/s390-32/dl-machine.h
55174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55175 * sysdeps/sparc/sparc32/dl-machine.h
55176 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55177 * sysdeps/sparc/sparc64/dl-machine.h
55178 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55179
55180 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55181 lazy binding.
55182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55183 undefined symbol errors.
55184
55185 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55186 DT_NEEDED entries.
55187
55188 2012-04-05 Michael Matz <matz@suse.de>
55189
55190 [BZ #13592]
55191 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55192
55193 2012-04-05 Andreas Jaeger <aj@suse.de>
55194
55195 [BZ #13908]
55196 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55197 comment.
55198
55199 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55200
55201 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55202 which ROUND is no valid rounding mode.
55203
55204 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55205
55206 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55207 read again.
55208 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55209
55210 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55211
55212 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55213 an exception using FPU order intentionally.
55214
55215 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55216
55217 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55218 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55219 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55220 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55221
55222 2012-04-05 Simon Josefsson <simon@josefsson.org>
55223
55224 [BZ #12340]
55225 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55226 EINVAL when BUFLEN is too smal.
55227
55228 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55229
55230 [BZ #13553]
55231 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55232 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55233
55234 2012-04-03 Andreas Jaeger <aj@suse.de>
55235
55236 [BZ #13938]
55237 * manual/setjmp.texi (System V contexts): Fix sentence.
55238
55239 [BZ #13926]
55240 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55241 New macro for this case.
55242 [!__GNUC__] (__bswap_64): New inline function for this case.
55243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55244 * bits/byteswap.h: Likewise.
55245 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55246 ull, guard with __GLIBC_HAVE_LONG_LONG.
55247
55248 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55249 __GLIBC_HAVE_LONG_LONG.
55250
55251 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55252 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55253
55254 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55255
55256 [BZ #13691]
55257 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55258 inptr and inend, rather than using last_ch.
55259
55260 2012-04-02 David S. Miller <davem@davemloft.net>
55261
55262 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55263 * stdio-common/printf-parse.h (read_int): Change return type to
55264 'int', return -1 on INT_MAX overflow.
55265 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55266 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55267 overflows INT_MAX. Check for overflow of in-format-string precision
55268 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55269 SIZE_MAX not INT_MAX for integer overflow test.
55270 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55271 skip the construct in the format string but do not record anything.
55272 * stdio-common/bug22.c: Adjust to test both width/prevision
55273 INT_MAX overflow as well as total length INT_MAX overflow. Check
55274 explicitly for proper errno values.
55275
55276 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55277
55278 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55279 CHAR_MAX.
55280 * string/test-strcmp.c [! WIDE]: Likewise.
55281 * time/tst-mktime2.c: Likewise for INT_MAX.
55282 * string/test-string.h: #include <sys/param.h> for MIN.
55283
55284 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55285 * sysdeps/i386/init-first.c (init): Likewise.
55286 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55287 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55288 * sysdeps/sh/init-first.c (init): Likewise.
55289
55290 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55291
55292 * po/ru.po: Update from translation team.
55293 * po/vi.po: Likewise.
55294
55295 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55296
55297 * resolv/nss_dns/dns-host.c: Merge copyright years.
55298
55299 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55300
55301 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55302 Optimize memcpy with prefetch if
55303 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55304 src, dst pointers have unequal 16 byte alignments.
55305
55306 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55307
55308 [BZ #13928]
55309 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55310 from a CNAME entry and return the minimum ttl for the query.
55311 (gaih_getanswer_slice): Likewise.
55312
55313 2012-03-30 Jeff Law <law@redhat.com>
55314
55315 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55316 due to long keys.
55317 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55318 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55319
55320 * resolv/nss_dns/dns-host.c: Update copyright year.
55321
55322 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55323
55324 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55325 requests to save a system call. Fix check that all bytes are sent.
55326
55327 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55328 comments for sendmmsg.
55329
55330 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55331
55332 [BZ #13691]
55333 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55334 with only 1 character between 0x0041 and 0x01b0.
55335 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55336 * wcsmbs/tst-mbsnrtowcs.c: New file.
55337
55338 2012-03-29 David S. Miller <davem@davemloft.net>
55339
55340 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55341 small copies by hand.
55342
55343 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55344
55345 [BZ #13761]
55346 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55347 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55348 group memberships.
55349
55350 2012-03-28 David S. Miller <davem@davemloft.net>
55351
55352 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55353 that branches into memcpy.
55354 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55355 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55357 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55359 bits.
55360 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55361 implementation too.
55362 * sysdeps/sparc/mempcpy.S: New file.
55363
55364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55365 the IFUNC routine in the libc case.
55366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55367
55368 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55369 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55370 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55371 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55372 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55373 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55374 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55375 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55376
55377 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55378 loop to 256 bytes instead of 64 bytes and fix test signedness.
55379
55380 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55381 * sysdeps/sparc/sparc32/Makefile: rather than here...
55382 * sysdeps/sparc/sparc64/Makefile: and here.
55383
55384 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55385
55386 * malloc/mallocbug.c: Avoid warnings about unused variables.
55387
55388 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55389
55390 [BZ #13760]
55391 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55392 in the right place. Discard and retry query if response is
55393 larger than input buffer size.
55394
55395 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55396
55397 [BZ #369]
55398 [BZ #2678]
55399 [BZ #3866]
55400 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55401 x for large integer exponent.
55402 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55403 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55404 sign of result as needed afterwards.
55405 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55406 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55407 result for underflowing pow the same as for overflow.
55408 (__kernel_standard_l): Handle powl overflow and underflow here
55409 rather than calling __kernel_standard.
55410 * math/libm-test.inc (pow_test): Add more tests.
55411
55412 [BZ #3868]
55413 [BZ #13879]
55414 [BZ #13910]
55415 [BZ #13911]
55416 [BZ #13912]
55417 [BZ #13913]
55418 [BZ #13915]
55419 [BZ #13916]
55420 [BZ #13917]
55421 [BZ #13918]
55422 [BZ #13919]
55423 [BZ #13920]
55424 [BZ #13921]
55425 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55426 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55427 (__kernel_standard_l): New function.
55428 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55429 __kernel_standard.
55430 * math/w_acosl.c (__acosl): Likewise.
55431 * math/w_asinl.c (__asinl): Likewise.
55432 * math/w_atan2l.c (__atan2l): Likewise.
55433 * math/w_atanhl.c (__atanhl): Likewise.
55434 * math/w_coshl.c (__coshl): Likewise.
55435 * math/w_exp10l.c (__exp10l): Likewise.
55436 * math/w_exp2l.c (__exp2l): Likewise.
55437 * math/w_fmodl.c (__fmodl): Likewise.
55438 * math/w_hypotl.c (__hypotl): Likewise.
55439 * math/w_j0l.c (__j0l, __y0l): Likewise.
55440 * math/w_j1l.c (__j1l, __y1l): Likewise.
55441 * math/w_jnl.c (__jnl, __ynl): Likewise.
55442 * math/w_lgammal.c (__lgammal): Likewise.
55443 * math/w_log10l.c (__log10l): Likewise.
55444 * math/w_log2l.c (__log2l): Likewise.
55445 * math/w_logl.c (__logl): Likewise.
55446 * math/w_powl.c (__powl): Likewise.
55447 * math/w_remainderl.c (__remainderl): Likewise.
55448 * math/w_scalbl.c (sysv_scalbl): Likewise.
55449 * math/w_sinhl.c (__sinhl): Likewise.
55450 * math/w_sqrtl.c (__sqrtl): Likewise.
55451 * math/w_tgammal.c (__tgammal): Likewise.
55452 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55453 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55454 * math/libm-test.inc (acos_test): Add more tests.
55455 (acosh_test): Likewise.
55456 (asin_test): Likewise.
55457 (atanh_test): Likewise.
55458 (exp_test): Likewise.
55459 (exp10_test): Likewise.
55460 (exp2_test): Likewise.
55461 (expm1_test): Likewise.
55462 (lgamma_test): Likewise.
55463 (log_test): Likewise.
55464 (log10_test): Likewise.
55465 (log1p_test): Likewise.
55466 (log2_test): Likewise.
55467 (pow_test): Do not allow some spurious overflow exceptions.
55468 (sqrt_test): Add more tests.
55469 (tgamma_test): Likewise.
55470 (y0_test): Likewise.
55471 (y1_test): Likewise.
55472 (yn_test): Likewise.
55473
55474 2012-03-27 Anton Blanchard <anton@samba.org>
55475
55476 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55477 MAP_HUGETLB.
55478 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55480 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55481
55482 2012-03-27 David S. Miller <davem@davemloft.net>
55483
55484 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55485
55486 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55487 have-as-vis3 check.
55488
55489 2012-03-27 Andreas Jaeger <aj@suse.de>
55490
55491 * sysdeps/x86_64/elf/configure.in: Moved to ...
55492 * sysdeps/x86_64/configure.in: ... here.
55493 * sysdeps/x86_64/elf/start.S: Moved to ...
55494 * sysdeps/x86_64/start.S: ... here.
55495 * sysdeps/x86_64/elf/configure: Delete.
55496
55497 * sysdeps/x86_64/configure.in: Merge contents from
55498 sysdeps/i386/configure.in (without i686 check).
55499
55500 * sysdeps/i386/elf/Versions: Merge into ...
55501 * sysdeps/i386/Versions: ... this.
55502 * sysdeps/i386/elf/Versions: Delete file.
55503 * sysdeps/i386/elf/start.S: Moved to ...
55504 * sysdeps/i386/start.S: ...here.
55505 * sysdeps/i386/elf/configure.in: Merge into...
55506 * sysdeps/i386/configure.in: ...here.
55507 * sysdeps/i386/elf/configure.in: Delete file.
55508 * sysdeps/i386/elf/configure: Delete file.
55509
55510 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55511 * debug/backtracesyms.c: ... here.
55512 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55513 * debug/backtracesymsfd.c: ... here.
55514 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55515 * sysdeps/generic/ifunc-sel.h: ... here.
55516
55517 * sysdeps/unix/i386/start.c: Delete file.
55518 * sysdeps/unix/sparc/start.c: Delete file.
55519 * sysdeps/unix/start.c: Delete file.
55520
55521 * sysdeps/sh/elf/configure.in: Moved to ...
55522 * sysdeps/sh/configure.in: ... here.
55523 * sysdeps/sh/elf/start.S: Moved to ...
55524 * sysdeps/sh/start.S: ... here.
55525 * sysdeps/sh/elf/configure: Delete file.
55526
55527 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55528 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55529 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55530 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55531 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55532 * sysdeps/powerpc/powerpc64/start.S: here.
55533 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55534 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55535 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55536 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55537 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55538
55539 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55540 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55541 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55542 * sysdeps/powerpc/powerpc32/start.S: ... here.
55543 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55544 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55545 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55546
55547 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55548 * sysdeps/powerpc/ifunc-sel.h: ... here.
55549 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55550 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55551
55552 * sysdeps/sparc/elf/configure.in: Moved to ...
55553 * sysdeps/sparc/configure.in: ... here.
55554 * sysdeps/sparc/elf/configure: Delete file.
55555 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55556 * sysdeps/sparc/sparc32/start.S: ... here.
55557 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55558 * sysdeps/sparc/sparc64/start.S: ... here.
55559 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55560 * sysdeps/sparc/sparc32/Makefile: ... this.
55561 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55562 * sysdeps/sparc/sparc64/Makefile: ... this.
55563
55564 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55565 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55566 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55567 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55568 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55569 * sysdeps/s390/s390-32/setjmp.S: ... here.
55570 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55571 * sysdeps/s390/s390-32/configure.in: ... here.
55572 * sysdeps/s390/s390-32/elf/configure: Delete file.
55573 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55574 * sysdeps/s390/s390-32/start.S: ... here.
55575
55576 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55577 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55578 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55579 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55580 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55581 * sysdeps/s390/s390-64/setjmp.S: ... here.
55582 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55583 * sysdeps/s390/s390-64/configure.in: ... here
55584 * sysdeps/s390/s390-64/elf/configure: Delete file.
55585 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55586 * sysdeps/s390/s390-64/start.S: ... here.
55587 * sysdeps/s390/s390-64/elf/configure: Delete.
55588
55589 * configure.in: Remove support for elf directories in sysdeps.
55590
55591 * configure: Regenerated.
55592 * sysdeps/i386/configure: Regenerated.
55593 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55594 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55595 * sysdeps/s390/s390-32/configure: Regenerated.
55596 * sysdeps/s390/s390-64/configure: Regenerated.
55597 * sysdeps/sh/configure: Regenerated.
55598 * sysdeps/sparc/configure: Regenerated.
55599 * sysdeps/x86_64/configure: Regenerated.
55600
55601 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55602
55603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55604
55605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55606 denormal result into account.
55607
55608 2012-03-25 Roland McGrath <roland@hack.frob.com>
55609
55610 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55611 Reported by Allan McRae <allan@archlinux.org>.
55612
55613 2012-03-23 Jeff Law <law@redhat.com>
55614
55615 * nss/getnssent.c (__nss_getent): Fix typo.
55616
55617 2012-03-23 David S. Miller <davem@davemloft.net>
55618
55619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55620
55621 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55622
55623 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55624 to pad to uint64_t for each field.
55625 (dl_tls_index): Replace unsigned long with uint64_t.
55626
55627 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55628 Paul Pluzhnikov <ppluzhnikov@google.com>
55629
55630 [BZ #6528]
55631 * grp/Makefile (otherlibs): Don't set it.
55632 * inet/Makefile (otherlibs): Likewise.
55633 * login/Makefile (otherlibs): Likewise.
55634 * nscd/Makefile (otherlibs): Likewise.
55635 * posix/Makefile (otherlibs): Likewise.
55636 * pwd/Makefile (otherlibs): Likewise.
55637 * rt/Makefile (otherlibs): Likewise.
55638 * sunrpc/Makefile (otherlibs): Likewise.
55639 * nss/Makefile (otherlibs): Likewise.
55640 Add libnss_files to routines and static-only-routines.
55641 ($(objpfx)getent): Remove rule.
55642 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55643 static-only-routines.
55644
55645 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55646
55647 [BZ #13892]
55648 * math/s_cexp.c: Include <float.h>.
55649 (__cexp): Handle exp result overflowing not necessarily
55650 overflowing both real and imaginary parts of result.
55651 * math/s_cexpf.c: Likewise.
55652 * math/s_cexpl.c: Likewise.
55653 * math/libm-test.inc (cexp_test): Add more tests.
55654 * sysdeps/i386/fpu/libm-test-ulps: Update.
55655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55656
55657 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55658
55659 * include/link.h (ELFW): New macro.
55660 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55661 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55662
55663 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55664
55665 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55666 with uint64_t.
55667
55668 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55669
55670 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55671 declaration.
55672 (struct La_x32_retval): Likewise.
55673
55674 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55675
55676 * sysdeps/x86_64/preconfigure.in: New file.
55677 * sysdeps/x86_64/preconfigure: New generated file.
55678
55679 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55680
55681 [BZ #13824]
55682 * math/e_exp2l.c: Include <float.h>.
55683 (__ieee754_exp2l): Handle overflow and underflow cases
55684 separately. Only pass fractional part of argument to
55685 __ieee754_expl.
55686 * math/libm-test.inc (exp2_test): Add more tests.
55687
55688 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55689 negating x to take absolute value.
55690 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55691 Likewise.
55692 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55693 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55694 Likewise.
55695 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55696 computing low part if x was negated.
55697 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55698
55699 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55700
55701 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55702 la_x32_gnu_pltexit.
55703 (pltexit): Cast int_retval to ptrdiff_t.
55704 * elf/tst-auditmod3b.c: Likewise.
55705 * elf/tst-auditmod4b.c: Likewise.
55706 * elf/tst-auditmod5b.c: Likewise.
55707 * elf/tst-auditmod6b.c: Likewise.
55708 * elf/tst-auditmod6c.c: Likewise.
55709 * elf/tst-auditmod7b.c: Likewise.
55710
55711 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55712 and x32_gnu_pltexit.
55713
55714 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55715 __ELF_NATIVE_CLASS.
55716 (La_x32_regs): New macro.
55717 (La_x32_retval): Likewise.
55718 (la_x32_gnu_pltenter): New function prototype.
55719 (la_x32_gnu_pltexit): Likewise.
55720
55721 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55722
55723 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55724 exponent.
55725
55726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55727
55728 * configure.in (libc_cv_cc_nofma): Check for option to disable
55729 generation of FMA instructions.
55730 * configure: Regenerate.
55731 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55732 * sysdeps/ieee754/dbl-64/Makefile: New file.
55733 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55734 Remove brandred-fma4.
55735 (CFLAGS-brandred-fma4.c): Remove.
55736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55737 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55738 define.
55739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55740 define.
55741
55742 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55743
55744 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55745 LLONG_MAX != LONG_MAX.
55746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55747 (_fitoa_word): Likewise.
55748 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55749 LLONG_MAX != LONG_MAX.
55750 * stdio-common/_itowa.h: Include <_itoa.h>.
55751 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55752 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55753 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55754 only if not defined.
55755 (_ITOA_WORD_TYPE): Likewise.
55756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55757 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55758
55759 2012-03-21 David S. Miller <davem@davemloft.net>
55760
55761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55762
55763 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55764
55765 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55766 of x86_64 when setting libc_cv_slibdir, libdir and
55767 libc_cv_localedir.
55768 * sysdeps/unix/sysv/linux/configure: Regenerated.
55769
55770 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55771
55772 * manual/lang.texi (Old Varargs): Remove section.
55773 (How Variadic): Update menu.
55774 (va_start): Do not mention varargs.h.
55775
55776 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55777 Joseph Myers <joseph@codesourcery.com>
55778
55779 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55780 link test.
55781 * configure: Regenerated.
55782
55783 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55784
55785 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55786 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55787 conformtest.pl
55788
55789 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55790
55791 * NOTES: Remove.
55792 * Makefile (files-for-dist): Remove NOTES.
55793 (NOTES): Remove rule.
55794 * README: Don't refer to NOTES.
55795 * manual/creature.texi: Don't include macros.texi.
55796 * manual/intro.texi (creature.texi): Remove comment referring to
55797 NOTES.
55798
55799 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55800 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55801 * configure: Regenerated.
55802 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55803 LIBC_TRY_CC_OPTION.
55804 (libc_cv_as_i686): Likewise.
55805 (libc_cv_cc_avx): Likewise.
55806 (libc_cv_cc_sse2avx): Likewise.
55807 (libc_cv_cc_fma4): Likewise.
55808 (libc_cv_cc_novzeroupper): Likewise.
55809 * sysdeps/i386/configure: Regenerated.
55810
55811 [BZ #13883]
55812 * sysdeps/i386/fpu/s_cexp.S: Remove.
55813 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55814 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55815 * math/libm-test.inc (cexp_test): Add more tests.
55816 * sysdeps/i386/fpu/libm-test-ulps: Update.
55817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55818
55819 2012-03-21 Allan McRae <allan@archlinux.org>
55820
55821 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55822
55823 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55824
55825 [BZ #13871]
55826 * math/w_exp2.c: Do not include <float.h>.
55827 (o_threshold, u_threshold): Remove.
55828 (__exp2): Calculate result before checking finiteness and calling
55829 __kernel_standard.
55830 * math/w_exp2f.c: Likewise.
55831 * math/w_exp2l.c: Likewise.
55832 * math/libm-test.inc (exp2_test): Require overflow exception for
55833 1e6 input.
55834
55835 [BZ #3866]
55836 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55837 range of signed 64-bit integers before using fistpll. Remove
55838 checks for whether integers fit in mantissa bits.
55839 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55840 the range of signed 32-bit integers before using fistpl. Remove
55841 checks for whether integers fit in mantissa bits.
55842 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55843 (__ieee754_powl): Test for y outside the range of signed 64-bit
55844 integers before using fistpll. Reduce 64-bit values to 63-bit
55845 ones as needed.
55846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55847 divide-by-zero is raised for zero to large negative powers.
55848 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55849 (__ieee754_powl): Test for y outside the range of signed 64-bit
55850 integers before using fistpll. Reduce 64-bit values to 63-bit
55851 ones as needed.
55852 * math/libm-test.inc (pow_test): Add more tests.
55853
55854 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55855
55856 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55857 <stdio-common/_itoa.h>.
55858 * debug/segfault.c: Likewise.
55859 * elf/dl-cache.c: Likewise.
55860 * elf/dl-minimal.c: Likewise.
55861 * elf/dl-misc.c: Likewise.
55862 * elf/dl-sysdep.c: Likewise.
55863 * elf/dl-version.c: Likewise.
55864 * elf/rtld.c: Likewise.
55865 * hurd/hurdsock.c: Likewise.
55866 * hurd/lookup-retry.c: Likewise.
55867 * malloc/malloc.c: Likewise.
55868 * malloc/mtrace.c: Likewise.
55869 * nscd/nscd_getgr_r.c: Likewise.
55870 * nscd/nscd_getpw_r.c: Likewise.
55871 * nscd/nscd_getserv_r.c: Likewise.
55872 * posix/getopt_init.c: Likewise.
55873 * posix/wordexp.c: Likewise.
55874 * stdio-common/_itoa.c: Likewise.
55875 * stdio-common/printf_fphex.c: Likewise.
55876 * stdio-common/vfprintf.c: Likewise.
55877 * string/_strerror.c: Likewise.
55878 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55879 * sysdeps/i386/i686/hp-timing.h: Likewise.
55880 * sysdeps/mach/_strerror.c: Likewise.
55881 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55882 * sysdeps/mach/hurd/sethostid.c: Likewise.
55883 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55884 * sysdeps/mach/xpg-strerror.c: Likewise.
55885 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55887 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55888 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55889 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55890 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55891 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55892 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55893 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55894 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55895 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55896 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55897 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55898 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55899 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55900 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55901 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55902 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55903 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55904 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55905 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55906
55907 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55908
55909 * stdio-common/_itoa.h: Moved to ...
55910 * sysdeps/generic/_itoa.h: Here.
55911
55912 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55913
55914 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55915 instead of "_itoa.h" and "_itowa.h".
55916 * stdio-common/vfprintf.: Likewise.
55917
55918 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55919
55920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55921 <bits/wordsize.h>.
55922 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55923 (__signbit): Likwise.
55924 (llrintf): Likwise.
55925 (llrint): Likwise.
55926
55927 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55928
55929 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55930 __WORDSIZE != 64.
55931
55932 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55933
55934 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55935 OVERFLOW_EXCEPTION_OK.
55936 * math/libm-test.inc ("Philosophy"): Update comment about
55937 exception testing.
55938 (OVERFLOW_EXCEPTION): Define.
55939 (OVERFLOW_EXCEPTION_OK): Likewise.
55940 (INVALID_EXCEPTION_OK): Renumber.
55941 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55942 (IGNORE_ZERO_INF_SIGN): Likewise.
55943 (test_exceptions): Handle FE_OVERFLOW.
55944 (exp10_test): Expect overflow exceptions.
55945 (exp2_test): Likewise.
55946 (expm1_test): Likewise.
55947 (nextafter_test): Likewise.
55948 (pow_test): Likewise.
55949 (scalbn_test): Likewise.
55950 (scalbln_test): Likewise.
55951
55952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55953
55954 * sysdeps/x86_64/bits/atomic.h
55955 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55956 64bit integer.
55957 (atomic_exchange_acq): Likewise.
55958 (__arch_exchange_and_add_body): Likewise.
55959 (__arch_add_body): Likewise.
55960 (atomic_add_negative): Likewise.
55961 (atomic_add_zero): Likewise.
55962
55963 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55964
55965 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55966 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55967
55968 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55969
55970 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55971 Check __x86_64__ instead of __WORDSIZE.
55972
55973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55974
55975 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55976
55977 2012-03-19 David S. Miller <davem@davemloft.net>
55978
55979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55980
55981 * sysdeps/sparc/fpu/fenv_private.h: New file.
55982 * sysdeps/sparc/fpu/math_private.h: Use it.
55983 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55984 Remove.
55985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55986 (libc_feholdexcept_setroundl): Remove.
55987 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55988 Remove.
55989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55991
55992 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55993
55994 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55995 int64_t instead of long int.
55996 (INSERT_WORDS64): Likwise.
55997
55998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55999
56000 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56001 _Unwind_GetCFA return to _Unwind_Ptr first.
56002
56003 2012-03-19 Joseph Myers <joseph@codesourcery.com>
56004
56005 [BZ #13629]
56006 * math/s_clog.c: Include <float.h>.
56007 (__clog): Scale large or subnormal inputs.
56008 * math/s_clogf.c: Likewise.
56009 * math/s_clogl.c: Likewise.
56010 * math/s_clog10.c: Include <float.h>.
56011 (M_LOG10_2): Define.
56012 (__clog10): Scale large or subnormal inputs.
56013 * math/s_clog10f.c: Likewise.
56014 * math/s_clog10l.c: Likewise.
56015 * math/libm-test.inc (clog_test): Add more tests.
56016 (clog10_test): Likewise.
56017 * sysdeps/i386/fpu/libm-test-ulps: Update.
56018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56019
56020 [BZ #11451]
56021 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56022 x and y.
56023 * math/libm-test.inc (atan2_test): Add another test.
56024
56025 * Makerules (common-objdir-compile): Remove.
56026 * sysdeps/unix/Makefile (config-generated): Do not add
56027 $(unix-generated) to variable.
56028 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56029 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56030 Remove rule.
56031 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56032 Likewise.
56033 [generic bits/local_lim.h] (before-compile): Do not append to
56034 variable.
56035 [generic bits/local_lim.h] (common-generated): Likewise.
56036 [generic sys/param.h] (before-compile): Do not append to variable.
56037 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56038 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56039 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56040 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56041 include.
56042 [generic sys/param.h] (sys/param.h-includes): Remove variable.
56043 [generic sys/param.h] (sys/param.h-includes): Remove rule.
56044 [generic sys/param.h] ($(addprefix
56045 $(common-objpfx),$(sys/param.h-includes))): Likewise.
56046 [generic sys/param.h] (common-generated): Do not append to
56047 variable.
56048 [generic sys/param.h] (sysdep_headers): Likewise.
56049 [generic bits/errno.h] (before-compile): Do not append to
56050 variable.
56051 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56052 rule.
56053 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56054 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56055 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56056 [generic bits/errno.h] (common-generated): Do not append to
56057 variable.
56058 [generic bits/ioctls.h] (before-compile): Do not append to
56059 variable.
56060 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56061 rule.
56062 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56063 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56064 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56065 rule.
56066 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56067 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56068 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56069 [generic bits/ioctls.h] (common-generated): Do not append to
56070 variable.
56071 [generic sys/syscall.h] (syscall.h): Remove variable.
56072 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56073 rule.
56074 [generic sys/syscall.h] (before-compile): Do not append to
56075 variable.
56076 [generic sys/syscall.h] (common-generated): Likewise.
56077 * sysdeps/unix/errnos-tmpl.c: Remove file.
56078 * sysdeps/unix/errnos.awk: Likewise.
56079 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56080 * sysdeps/unix/ioctls.awk: Likewise.
56081 * sysdeps/unix/mk-local_lim.c: Likewise.
56082 * sysdeps/unix/snarf-ioctls: Likewise.
56083
56084 2012-03-19 Richard Henderson <rth@twiddle.net>
56085
56086 * sysdeps/i386/fpu/fenv_private.h: New file.
56087 * sysdeps/i386/fpu/math_private.h: Use it.
56088 (math_opt_barrier, math_force_eval): Remove.
56089 (libc_feholdexcept_setround_53bit): Remove.
56090 (libc_feupdateenv_53bit): Remove.
56091 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56092 (math_opt_barrier, math_force_eval): Remove.
56093 (libc_feholdexcept): Remove.
56094 (libc_feholdexcept_setround): Remove.
56095 (libc_fetestexcept, libc_fesetenv): Remove.
56096 (libc_feupdateenv_test): Remove.
56097 (libc_feupdateenv, libc_feholdsetround): Remove.
56098 (libc_feresetround): Remove.
56099
56100 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56101 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56102
56103 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56104 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56105 (libc_feupdateenv_testl): New.
56106 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56107 (libc_feupdateenv_testf): New.
56108 (libc_feupdateenv): Use libc_feupdateenv_test.
56109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56110 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56111
56112 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56113 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56114 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56115 (libc_feresetround_noex): New.
56116 (libc_feresetround_noexf): New.
56117 (libc_feresetround_noexl): New.
56118 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56119 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56120 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56121 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56122 SET_RESTORE_ROUND.
56123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56125 (__cos): Likewise.
56126 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56127 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56128 SET_RESTORE_ROUND_NOEX.
56129 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56130 SET_RESTORE_ROUND_NOEXF.
56131 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56132 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56133 (libc_feholdsetroundf): New.
56134 (libc_feresetround, libc_feresetroundf): New.
56135
56136 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56137 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56138 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56139
56140 * sysdeps/generic/math_private.h: Include <fenv.h>.
56141 (default_libc_feholdexcept): New.
56142 (default_libc_feholdexcept_setround): New.
56143 (default_libc_fesetenv, default_libc_feupdateenv): New.
56144 (libc_feholdexcept): Only define if undefined.
56145 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56146 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56147 (libc_feholdexcept_setroundl): Likewise.
56148 (libc_feholdexcept_setround_53bit): Likewise.
56149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56150 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56151 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56152 (libc_feupdateenv_53bit): Likewise.
56153 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56154 (libc_feholdexcept): Convert from macro to inline function.
56155 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56156 (libc_fesetenv, libc_feupdateenv): Likewise.
56157
56158 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56159 not previously defined.
56160 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56161 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56162 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56163 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56164 * sysdeps/ieee754/flt-32/math_private.h: New file.
56165 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56166 math_private.h below SET_FLOAT_WORD.
56167 (__isnan, __isinf_ns, __finite): Remove.
56168 (__isnanf, __isinf_nsf, __finitef): Remove.
56169
56170 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56171
56172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56173
56174 2012-03-17 David S. Miller <davem@davemloft.net>
56175
56176 [BZ #6471]
56177 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56178 for 2.16.
56179
56180 2012-03-16 David S. Miller <davem@davemloft.net>
56181
56182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56183 warnings.
56184
56185 [BZ #6471]
56186 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56187 properly.
56188 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56189 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56190 sysdep_routines when subdir is sysvipc.
56191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56192 __getshmlba helper.
56193
56194 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56195
56196 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56197
56198 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56199 [__LP64__].
56200
56201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56202
56203 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56204 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56205 (__lround): Renamed to ...
56206 (__llround): This. Replace long int with long long int.
56207 Define lround functions as aliases of llround functions.
56208 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56209
56210 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56211
56212 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56213 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56214 adresses to uintptr_t. Replace "long int" and "unsigned long
56215 int" with "greg_t" on va_arg.
56216
56217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56218
56219 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56220 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56221
56222 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56223 Move e_machine check before EI_CLASS check. Handle x32
56224 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56225 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56226 SKIP_EM_IA_64 and include
56227 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56228
56229 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56230 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56231 (add_system_dir): New macro.
56232
56233 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56234 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56235
56236 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56237
56238 [BZ #2551]
56239 [BZ #2552]
56240 [BZ #2553]
56241 [BZ #2554]
56242 [BZ #2562]
56243 [BZ #2563]
56244 [BZ #2565]
56245 [BZ #2566]
56246 [BZ #2576]
56247 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56248 (y0): Likewise.
56249 * math/w_j0f.c (j0f): Likewise.
56250 (y0f): Likewise.
56251 * math/w_j0l.c (__j0l): Likewise.
56252 (__y0l): Likewise.
56253 * math/w_j1.c (j1): Likewise.
56254 (y1): Likewise.
56255 * math/w_j1f.c (j1f): Likewise.
56256 (y1f): Likewise.
56257 * math/w_j1l.c (__j1l): Likewise.
56258 (__y1l): Likewise.
56259 * math/w_jn.c (jn): Likewise.
56260 (yn): Likewise.
56261 * math/w_jnf.c (jnf): Likewise.
56262 (ynf): Likewise.
56263 * math/w_jnl.c (__jnl): Likewise.
56264 (__ynl): Likewise.
56265 * math/libm-test.inc (j0_test): Add more tests.
56266 (j1_test): Likewise.
56267 (jn_test): Likewise. Add trailing semicolon to existing test.
56268 (y0_test): Likewise.
56269 (y1_test): Likewise.
56270 * sysdeps/i386/fpu/libm-test-ulps: Update.
56271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56272
56273 [BZ #13851]
56274 [BZ #13854]
56275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56276 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56277 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56279 (__tanl): Set errno for infinite argument.
56280 * sysdeps/i386/fpu/mptan.c: Remove.
56281 * sysdeps/i386/fpu/s_tan.S: Likewise.
56282 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56283 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56284 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56285 * math/libm-test.inc (tan_test): Add more tests and enable more
56286 tests for double and long double.
56287 * sysdeps/i386/fpu/libm-test-ulps: Update.
56288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56289
56290 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56291
56292 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56293 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56294
56295 2012-03-16 Roland McGrath <roland@hack.frob.com>
56296
56297 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56298 * configure.in: Use it for both main tree and add-ons.
56299 * configure: Regenerated.
56300
56301 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56302
56303 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56304
56305 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56306
56307 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56308 in comment.
56309
56310 [BZ #13851]
56311 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56312 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56313 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56314 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56315 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56316 infinite argument.
56317 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56319 != 0 for prec == 2.
56320 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56321 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56322 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56323 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56324 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56325 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56326 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56327 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56328 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56329 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56330 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56331 * math/libm-test.inc (cos_test): Add more tests and enable more
56332 tests for long double.
56333 (sin_test): Likewise.
56334 (sincos_test): Likewise.
56335 * sysdeps/i386/fpu/libm-test-ulps: Update.
56336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56337
56338 2012-03-16 David S. Miller <davem@davemloft.net>
56339
56340 * sysdeps/sparc/fpu/math_private.h: New file.
56341
56342 2012-03-15 David S. Miller <davem@davemloft.net>
56343
56344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56345 file.
56346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56348 file.
56349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56355 sysdep routines.
56356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56357
56358 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56359 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56360
56361 * sysdeps/sparc/sparc-ifunc.h: New file.
56362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56363 sparc-ifunc.h
56364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56366 Likewise.
56367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56368 Likewise.
56369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56373 Likewise.
56374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56379 Likewise.
56380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56381 Likewise.
56382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56406
56407 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56408
56409 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56410 scaling.
56411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56412
56413 2012-03-15 Andreas Jaeger <aj@suse.de>
56414
56415 [BZ #13852]
56416 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56417 ieee754/flt-32 implementation for sin, cos and sincos.
56418 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56419 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56420 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56421 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56422 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56423 ieee754/flt-32 implementation for tan.
56424
56425 * math/libm-test.inc (cos_test): Enable some large input tests for
56426 float as well
56427 (sin_test): Likewise.
56428 (sincos_test): Likewise.
56429 (tan_test): Add tests for large input.
56430
56431 * sysdeps/i386/fpu/libm-test-ulps: Update.
56432
56433 2012-03-15 Andreas Jaeger <aj@suse.de>
56434
56435 [BZ #13658]
56436 * math/libm-test.inc (cos_test): Add more test cases.
56437 (sin_test): Likewise.
56438 (sincos_test): Likewise.
56439
56440 2012-03-15 Andreas Jaeger <aj@suse.de>
56441
56442 [BZ #13837]
56443 * math/libm-test.inc (cos_test): Add a test case for large input
56444 value.
56445 (sin_test): Likewise.
56446 (sincos_test): Likewise.
56447
56448 2012-03-15 Andreas Jaeger <aj@suse.de>
56449 Joseph Myers <joseph@codesourcery.com>
56450
56451 [BZ #13658]
56452 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56453 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56454 * sysdeps/i386/fpu/branred.c: Likewise.
56455 * sysdeps/i386/fpu/dosincos.c: Likewise.
56456 * sysdeps/i386/fpu/mpa.c: Likewise.
56457 * sysdeps/i386/fpu/s_cos.S: Likewise.
56458 * sysdeps/i386/fpu/s_sin.S: Likewise.
56459 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56460 * sysdeps/i386/fpu/sincos32.c: Likewise.
56461
56462 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56463 Define.
56464 (libc_feupdateenv_53bit): Define.
56465 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56466 Define.
56467 (libc_feupdateenv_53bit): Define.
56468
56469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56470 53 bit (without extend i386 double precision).
56471
56472 * math/libm-test.inc (sincos_test): Add tests for large input.
56473 (sin): Likewise.
56474 (cos): Likewise.
56475
56476 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56477
56478 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56479
56480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56481
56482 2012-03-15 David S. Miller <davem@davemloft.net>
56483
56484 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56485 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56486 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56487 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56500 file.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56503 file.
56504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56506 file.
56507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56509 file.
56510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56512 fmin/fmax sysdep routines.
56513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56514
56515 2012-03-14 David S. Miller <davem@davemloft.net>
56516
56517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56546 routines.
56547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56548 file.
56549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56551 file.
56552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56554 file.
56555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56557 file.
56558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56560 file.
56561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56563 file.
56564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56565 file.
56566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56567 file.
56568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56569 file.
56570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56571 New file.
56572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56573 file.
56574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56575 file.
56576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56578 file.
56579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56581 file.
56582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56584 file.
56585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56587 VIS3 routines.
56588
56589 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56590 New file.
56591
56592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56593
56594 * sysdeps/sparc/configure.in: New file.
56595 * sysdeps/sparc/configure: Generate.
56596 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56597 * configure: Regenerate.
56598 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56599 * config.make.in (have-as-vis3): New.
56600 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56601 available use -Av9d instead of -Av9a.
56602 * sysdeps/sparc/sparc64/Makefile: Likewise.
56603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56605 New file.
56606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56607 file.
56608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56609 New file.
56610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56611 file.
56612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56617
56618 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56619 fzeros/fnegs to load 0x80000000 into a float register instead of
56620 using the stack.
56621 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56622
56623 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56624
56625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56626 bits/syscall.h.
56627 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56628 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56629 ($(inst_includedir)/bits/syscall.h): Remove rule.
56630 ($(objpfx)bits/syscall.d): Include instead of
56631 $(objpfx)syscall-list.d.
56632 (generated): Change syscall-list.h and syscall-list.d to
56633 bits/syscall.h and bits/syscall.d.
56634
56635 2012-03-14 Roland McGrath <roland@hack.frob.com>
56636
56637 [BZ #13846]
56638 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56639
56640 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56641
56642 [BZ #13841]
56643 * math/s_csqrt.c: Include <float.h>.
56644 (__csqrt): Scale large or subnormal inputs.
56645 * math/s_csqrtf.c: Likewise.
56646 * math/s_csqrtl.c: Likewise.
56647 * math/libm-test.inc (csqrt_test): Add more tests.
56648 * sysdeps/i386/fpu/libm-test-ulps: Update.
56649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56650
56651 [BZ #13840]
56652 * math/libm-test.inc (hypot_test): Add more tests.
56653
56654 2012-03-13 David S. Miller <davem@davemloft.net>
56655
56656 [BZ #13840]
56657 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56658 double-precision for the calculation instead of scaling.
56659
56660 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56661
56662 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56663 manipulate bits before adding and subtracting TWO52[sx].
56664 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56666 Likewise.
56667 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56668
56669 2012-03-13 David S. Miller <davem@davemloft.net>
56670
56671 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56672 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56674 rtld-global-offsets.h
56675 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56676
56677 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56678 large parameters.
56679
56680 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56681
56682 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56683 'err' in the ifdef scope in which it is actually used.
56684
56685 * nss/nss_db/db-init.c: Include string.h
56686
56687 2012-03-12 David S. Miller <davem@davemloft.net>
56688
56689 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56690 masking out of the most significant byte of random value used.
56691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56692 Fix coding style in previous change.
56693
56694 * sysdeps/unix/sysv/linux/kernel-features.h
56695 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56696 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56697 expression.
56698 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56699 later.
56700
56701 2012-03-11 David S. Miller <davem@davemloft.net>
56702
56703 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56704 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56705 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56706 for 'resultvar' otherwise things get truncated on 64-bit.
56707
56708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56709 Fix masking out of the most significant byte of random value used.
56710
56711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56712
56713 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56714
56715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56716
56717 2012-03-09 David S. Miller <davem@davemloft.net>
56718
56719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56720 variables with appropriate CPP guards.
56721 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56722 from the frame pointer, not the stack pointer. Correct layout
56723 comments. Fix test on resulting framesize and the management of
56724 the outregs buffer for pltexit. Preserve floating point return
56725 values across _dl_call_pltexit call.
56726 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56727 framesize and the management of the outregs buffer for pltexit.
56728 Preserve floating point return values across _dl_call_pltexit
56729 call.
56730 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56731 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56732 (la_sparc64_gnu_pltexit): New functions.
56733 (print_exit): Fix format string for return register value.
56734
56735 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56736
56737 * sunrpc/Makefile (others): Add rpcgen.
56738 ($(objpfx)rpcgen): Remove special build rule and dependency on
56739 libc.
56740 * sunrpc/rpcgen.c: New file.
56741
56742 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56743
56744 [BZ #13673]
56745 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56746 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56747 * sysdeps/i386/crti.S: Likewise.
56748 * sysdeps/i386/crtn.S: Likewise.
56749 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56750 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56751 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56752 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56753 * sysdeps/sh/crti.S: Likewise.
56754 * sysdeps/sh/crtn.S: Likewise.
56755 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56756
56757 [BZ #13673]
56758 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56759 with URL.
56760 * locale/programs/locfile-kw.gperf: Likewise.
56761 * locale/programs/charmap-kw.h: Regenerated.
56762 * locale/programs/locfile-kw.h: Likewise.
56763
56764 [BZ #13673]
56765 * intl/plural.y: Replace FSF snail mail address with URL.
56766 * intl/plural.c: Regenerated.
56767
56768 2012-03-09 Richard Henderson <rth@twiddle.net>
56769
56770 * include/math_private.h: Remove file.
56771 * math/math_private.h: Move file ...
56772 * sysdeps/generic/math_private.h: ... here.
56773
56774 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56775 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56776 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56777
56778 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56779 and <math_private.h>.
56780 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56781 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56782 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56783 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56784 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56785 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56788 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56791 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56792 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56794 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56795 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56797 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56798 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56799 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56802 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56804 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56805 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56806 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56822 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56823 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56824 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56825 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56826 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56827 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56828 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56829 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56830 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56831 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56832 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56834 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56835 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56836 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56837 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56838 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56839 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56840 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56841 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56842 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56843 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56844 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56845 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56846 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56847 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56848 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56851 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56852 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56853 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56854 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56860 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56864 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56867 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56868 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56871 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56873 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56874 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56875 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56876 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56877 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56880 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56881 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56882 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56883 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56884 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56885 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56886 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56887 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56892 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56893 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56894 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56900 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56901 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56902 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56903 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56904 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56906 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56907 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56908 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56909 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56910 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56911 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56912 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56913 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56914 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56915 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56916 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56917 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56918 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56919 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56922 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56923 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56924 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56925 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56926 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56927 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56928 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56929 * sysdeps/ieee754/k_standard.c: Likewise.
56930 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56931 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56933 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56934 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56935 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56936 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56937 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56938 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56939 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56940 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56942 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56943 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56944 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56945 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56946 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56947 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56948 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56949 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56950 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56951 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56952 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56953 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56954 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56955 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56956 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56957 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56958 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56959 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56960 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56961 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56962 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56963 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56964 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56965 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56966 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56967 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56968 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56969 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56970 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56971 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56972 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56973 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56974 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56975 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56981 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56982 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56983 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56986 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56987 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56988 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56989 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56990 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56991 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56992 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56993 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56994 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56995 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56997 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56998 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56999 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57000 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57002 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57003 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57004 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57005 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57006 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57009 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57010 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57012 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57014 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57015 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57016 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57017 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57018 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57020 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57021 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57022 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57023 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57024 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57025 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57026 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57027 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57028 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57029 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57031 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57032 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57033 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57034 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57035 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57036 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57037 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57038 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57039 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57040 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57041 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57042 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57043 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57044 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57045 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57046 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57047 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57048 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57049 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57050 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57052 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57053 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57055 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57056 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57057 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57058 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57059 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57060 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57061 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57062 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57063 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57064 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57065 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57066 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57067 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57068 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57069 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57070 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57072 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57073 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57074 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57075 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57076 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57077 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57078 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57079 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57080 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57081 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57084 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57085 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57086 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57087 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57088 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57089 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57090 * sysdeps/ieee754/s_lib_version.c: Likewise.
57091 * sysdeps/ieee754/s_matherr.c: Likewise.
57092 * sysdeps/ieee754/s_signgam.c: Likewise.
57093 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57094 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57095 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57096 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57097 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57098 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57099 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57100 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57101 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57102 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57103 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57104 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57105 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57106 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57107 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57108 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57109 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57110 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57111 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57113 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57114
57115 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57116
57117 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57118 * sunrpc/rpc_main.c: Likewise.
57119 * sunrpc/rpc_svcout.c: Likewise.
57120
57121 2012-03-09 David S. Miller <davem@davemloft.net>
57122
57123 * include/math_private.h: New file.
57124
57125 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57126
57127 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57128 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57129 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57130 from <bits/socket_type.h>.
57131 (enum __socket_type): Don't define here.
57132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57134 bits/socket_type.h.
57135
57136 [BZ #13566]
57137 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57138 checking __USE_GNU.
57139
57140 * Makerules ($(inst_includedir)/%.h): New rule.
57141 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57142 (install-others): Remove variable setting.
57143 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57144
57145 2012-03-08 Richard Henderson <rth@twiddle.net>
57146
57147 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57148 from macro to inline function; merge with the
57149 !__LIBC_INTERNAL_MATH_INLINES version.
57150 (__ieee754_sqrtf): Likewise.
57151
57152 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57153 to inline function.
57154 (__rintf, __floor, __floorf): Likewise.
57155
57156 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57157 macro to inline function.
57158 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57159
57160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57161 not <math/math_private.h>.
57162
57163 2012-03-08 David S. Miller <davem@davemloft.net>
57164
57165 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57166 copyright year.
57167 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57168
57169 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57170
57171 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57172 normalization.
57173 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57174 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57175
57176 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57177
57178 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57179 be defined individually, they must be defined as a block. Define
57180 S for printing a string instead of hidint the different by using a
57181 macro for adding the 'l'.
57182 * stdio-common/tst-fphex-wide.c: Adjust.
57183
57184 2012-03-07 Marek Polacek <polacek@redhat.com>
57185
57186 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57187
57188 2012-03-08 Marek Polacek <polacek@redhat.com>
57189
57190 [BZ #13806]
57191 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57192 * stdio-common/tst-fphex.c: Define a few macros to make the
57193 test reusable. Use them.
57194 * stdio-common/tst-fphex-wide.c: New file.
57195
57196 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57197
57198 [BZ #6911]
57199 * manual/macros.texi (gnusystems): New macro.
57200 (nongnusystems): Likewise.
57201 (gnulinuxhurdsystems): Likewise.
57202 (gnuhurdsystems): Likewise..
57203 (gnulinuxsystems): Likewise.
57204 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57205 variants of the GNU system, not "GNU system".
57206 * manual/conf.texi: Likewise.
57207 * manual/errno.texi: Likewise. Update example of errno macro
57208 expansion.
57209 * manual/filesys.texi: Likewise.
57210 (getumask): Document as specific to GNU/Hurd.
57211 * manual/install.texi: Likewise. Reword some references to
57212 GNU/Linux.
57213 * manual/intro.texi: Likewise.
57214 * manual/io.texi: Likewise.
57215 (File Name Portability): Detail which constraints are inapplicable
57216 to all GNU systems and which are only inapplicable to GNU/Hurd.
57217 * manual/job.texi: Likewise.
57218 * manual/llio.texi: Likewise.
57219 (O_NOCTTY): Document as present on GNU/Linux.
57220 * manual/maint.texi: Likewise.
57221 * manual/memory.texi: Likewise.
57222 * manual/pattern.texi: Likewise.
57223 * manual/pipe.texi: Likewise.
57224 * manual/process.texi: Likewise.
57225 * manual/resource.texi: Likewise.
57226 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57227 child on GNU/Hurd.
57228 * manual/setjmp.texi: Likewise.
57229 * manual/signal.texi: Likewise.
57230 * manual/startup.texi: Likewise.
57231 * manual/stdio.texi: Likewise.
57232 * manual/terminal.texi: Likewise.
57233 (ONLCR): Document as POSIX.
57234 (OXTABS): Document availability on GNU/Linux as XTABS.
57235 (ONOEOT): Document availability separately from other bits.
57236 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57237 * manual/time.texi: Likewise.
57238 * manual/users.texi: Likewise.
57239 * INSTALL: Regenerated.
57240 * sysdeps/gnu/errlist.c: Regenerated.
57241
57242 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57243 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57244 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57245 puts.
57246 * configure: Regenerated.
57247
57248 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57249
57250 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57251 default includes instead of AC_HEADER_CHECK.
57252 * sysdeps/i386/configure: Regenerated.
57253
57254 [BZ #10716]
57255 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57256 * math/s_cacoshf.c (__cacoshf): Likewise.
57257 * math/s_cacoshl.c (__cacoshl): Likewise.
57258 * math/s_casinh.c (__casinh): Set signs of result from argument.
57259 * math/s_casinhf.c (__casinhf): Likewise.
57260 * math/s_casinhl.c (__casinhl): Likewise.
57261 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57262 (casinh_test): Add more tests.
57263 * sysdeps/i386/fpu/libm-test-ulps: Update.
57264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57265
57266 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57267
57268 * po/zh_TW.po: Update from translation team.
57269
57270 * login/Makefile (distribute): Remove variable.
57271 * catgets/Makefile: Likewise.
57272 * mach/Makefile: Likewise.
57273 * malloc/Makefile: Likewise.
57274 * misc/Makefile: Likewise.
57275 * iconv/Makefile: Likewise.
57276 * nscd/Makefile: Likewise.
57277 * hurd/Makefile: Likewise.
57278 * manual/Makefile: Likewise.
57279 * locale/Makefile: Likewise.
57280 * intl/Makefile: Likewise.
57281 * conform/Makefile: Likewise.
57282 * nss/Makefile: Likewise.
57283 * time/Makefile: Likewise.
57284 * soft-fp/Makefile: Likewise.
57285 * dirent/Makefile: Likewise.
57286 * gmon/Makefile: Likewise.
57287 * po/Makefile: Likewise.
57288 * rt/Makefile: Likewise.
57289 * socket/Makefile: Likewise.
57290 * math/Makefile: Likewise.
57291 * signal/Makefile: Likewise.
57292 * debug/Makefile: Likewise.
57293 * elf/Makefile: Likewise.
57294 * timezone/Makefile: Likewise.
57295 * stdlib/Makefile: Likewise.
57296 * iconvdata/Makefile: Likewise.
57297 * sunrpc/Makefile: Likewise.
57298 * io/Makefile: Likewise.
57299 * argp/Makefile: Likewise.
57300 * inet/Makefile: Likewise.
57301 * hesiod/Makefile: Likewise.
57302 * grp/Makefile: Likewise.
57303 * csu/Makefile: Likewise.
57304 * wctype/Makefile: Likewise.
57305 * crypt/Makefile: Likewise.
57306 * libio/Makefile: Likewise.
57307 * string/Makefile: Likewise.
57308 * nis/Makefile: Likewise.
57309 * resolv/Makefile: Likewise.
57310 * stdio-common/Makefile: Likewise.
57311 * wcsmbs/Makefile: Likewise.
57312 * dlfcn/Makefile: Likewise.
57313 * posix/Makefile: Likewise.
57314
57315 [BZ #6959]
57316 * timezone/Makefile: Don't install timezone files, just the programs
57317 and scripts.
57318
57319 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57320
57321 * nss/databases.def: Add missing gshadow entry.
57322
57323 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57324
57325 2012-03-06 Marek Polacek <polacek@redhat.com>
57326
57327 [BZ #13726]
57328 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57329 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57330 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57331 * stdio-common/tst-long-dbl-fphex.c: New file.
57332
57333 2012-03-06 David S. Miller <davem@davemloft.net>
57334
57335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57336 (set_obp_int): New function.
57337 (get_obp_int): New function.
57338 (__get_clockfreq_via_dev_openprom): Likewise.
57339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57340 Avoid unused variable warnings on 'val' and use builtin_expect.
57341 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57342 __builtin_expect.
57343 (INLINE_CLONE_SYSCALL): Likewise.
57344
57345 2012-03-05 David S. Miller <davem@davemloft.net>
57346
57347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57348
57349 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57350
57351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57352
57353 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57354 only for |x| >= 40.
57355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57356
57357 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57358
57359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57360 Replace gettimeofday with __vdso_gettimeofday.
57361
57362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57363 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57364 __vdso_clock_gettime and __vdso_getcpu.
57365
57366 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57367 time with __vdso_time.
57368
57369 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57370
57371 * manual/lang.texi (size_t): Note types to which size_t may be
57372 equivalent with the GNU C Library, but do not describe when
57373 differences between them are significant.
57374
57375 2012-03-05 Andreas Jaeger <aj@suse.de>
57376
57377 * sysdeps/i386/fpu/libm-test-ulps: Update.
57378
57379 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57380
57381 [BZ #3976]
57382 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57383 (__ieee754_pow): Save and restore rounding mode and use
57384 round-to-nearest for main computations.
57385 * math/libm-test.inc (pow_test_tonearest): New function.
57386 (pow_test_towardzero): Likewise.
57387 (pow_test_downward): Likewise.
57388 (pow_test_upward): Likewise.
57389 (main): Call the new functions.
57390 * sysdeps/i386/fpu/libm-test-ulps: Update.
57391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57392
57393 [BZ #3976]
57394 * math/libm-test.inc (cosh_test_tonearest): New function.
57395 (cosh_test_towardzero): Likewise.
57396 (cosh_test_downward): Likewise.
57397 (cosh_test_upward): Likewise.
57398 (sinh_test_tonearest): Likewise.
57399 (sinh_test_towardzero): Likewise.
57400 (sinh_test_downward): Likewise.
57401 (sinh_test_upward): Likewise.
57402 (main): Call the new functions.
57403 * sysdeps/i386/fpu/libm-test-ulps: Update.
57404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57405
57406 2012-03-05 Tom de Vries <tom@codesourcery.com>
57407
57408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57409 default stack guard is set in last bytes.
57410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57411
57412 2012-03-05 Kees Cook <keescook@chromium.org>
57413
57414 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57415
57416 [BZ #13656]
57417 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57418 possibly allocate from heap instead of stack.
57419 * stdio-common/bug-vfprintf-nargs.c: New file.
57420 * stdio-common/Makefile (tests): Add nargs overflow test.
57421
57422 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57423
57424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57425
57426 2012-03-03 Marek Polacek <polacek@redhat.com>
57427
57428 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57429 * math/math_private.h: Likewise.
57430 * stdlib/tst-strtod.c: Likewise.
57431 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57432 * sysdeps/x86_64/bits/atomic.h: Likewise.
57433
57434 2012-03-02 David S. Miller <davem@davemloft.net>
57435
57436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57440 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57441 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57442 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57443 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57444
57445 2012-03-02 Roland McGrath <roland@hack.frob.com>
57446
57447 [BZ #13792]
57448 * manual/examples/README: New file, says the example source files
57449 can be used under GPL>=2.
57450 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57451 line containing just "*/".
57452 * manual/examples/add.c: Add copyright header (GPL>=2).
57453 * manual/examples/argp-ex1.c: Likewise.
57454 * manual/examples/argp-ex2.c: Likewise.
57455 * manual/examples/argp-ex3.c: Likewise.
57456 * manual/examples/argp-ex4.c: Likewise.
57457 * manual/examples/atexit.c: Likewise.
57458 * manual/examples/db.c: Likewise.
57459 * manual/examples/dir.c: Likewise.
57460 * manual/examples/dir2.c: Likewise.
57461 * manual/examples/execinfo.c: Likewise.
57462 * manual/examples/filecli.c: Likewise.
57463 * manual/examples/filesrv.c: Likewise.
57464 * manual/examples/fmtmsgexpl.c: Likewise.
57465 * manual/examples/genpass.c: Likewise.
57466 * manual/examples/inetcli.c: Likewise.
57467 * manual/examples/inetsrv.c: Likewise.
57468 * manual/examples/isockad.c: Likewise.
57469 * manual/examples/longopt.c: Likewise.
57470 * manual/examples/memopen.c: Likewise.
57471 * manual/examples/memstrm.c: Likewise.
57472 * manual/examples/mkfsock.c: Likewise.
57473 * manual/examples/mkisock.c: Likewise.
57474 * manual/examples/mygetpass.c: Likewise.
57475 * manual/examples/pipe.c: Likewise.
57476 * manual/examples/popen.c: Likewise.
57477 * manual/examples/rprintf.c: Likewise.
57478 * manual/examples/search.c: Likewise.
57479 * manual/examples/select.c: Likewise.
57480 * manual/examples/setjmp.c: Likewise.
57481 * manual/examples/sigh1.c: Likewise.
57482 * manual/examples/sigusr.c: Likewise.
57483 * manual/examples/stpcpy.c: Likewise.
57484 * manual/examples/strdupa.c: Likewise.
57485 * manual/examples/strftim.c: Likewise.
57486 * manual/examples/strncat.c: Likewise.
57487 * manual/examples/subopt.c: Likewise.
57488 * manual/examples/swapcontext.c: Likewise.
57489 * manual/examples/termios.c: Likewise.
57490 * manual/examples/testopt.c: Likewise.
57491 * manual/examples/testpass.c: Likewise.
57492 * manual/examples/timeval_subtract.c: Likewise.
57493
57494 [BZ #13792]
57495 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57496 function to ...
57497 * manual/timeval_subtract.c.texi: ... here, new file.
57498
57499 2012-03-02 David S. Miller <davem@davemloft.net>
57500
57501 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57502
57503 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57504
57505 [BZ #3976]
57506 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57507 (__sin): Save and restore rounding mode and use round-to-nearest
57508 for all computations.
57509 (__cos): Save and restore rounding mode and use round-to-nearest
57510 for all computations.
57511 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57512 <fenv.h>.
57513 (tan): Save and restore rounding mode and use round-to-nearest for
57514 all computations.
57515 * math/libm-test.inc (cos_test_tonearest): New function.
57516 (cos_test_towardzero): Likewise.
57517 (cos_test_downward): Likewise.
57518 (cos_test_upward): Likewise.
57519 (sin_test_tonearest): Likewise.
57520 (sin_test_towardzero): Likewise.
57521 (sin_test_downward): Likewise.
57522 (sin_test_upward): Likewise.
57523 (tan_test_tonearest): Likewise.
57524 (tan_test_towardzero): Likewise.
57525 (tan_test_downward): Likewise.
57526 (tan_test_upward): Likewise.
57527 (main): Call the new functions.
57528 * sysdeps/i386/fpu/libm-test-ulps: Update.
57529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57530
57531 [BZ #10135]
57532 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57533 small n, then large n, before computing and testing k+n.
57534 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57536 Likewise.
57537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57538 Likewise.
57539 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57540 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57543 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57544 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57547 * math/libm-test.inc (scalbn_test): Add more tests.
57548 (scalbln_test): Likewise.
57549
57550 * manual/filesys.texi (mode_t): Describe constraints on size and
57551 signedness, not exact equivalence to a particular type.
57552 (ino_t): Likewise.
57553 (ino64_t): Likewise.
57554 (dev_t): Likewise.
57555 (nlink_t): Likewise.
57556 (blkcnt_t): Likewise.
57557 (blkcnt64_t): Likewise.
57558 * manual/llio.texi (off_t): Likewise.
57559
57560 [BZ #3976]
57561 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57562 (__ieee754_exp): Save and restore rounding mode and use
57563 round-to-nearest for all computations.
57564 * math/libm-test.inc (exp_test_tonearest): New function.
57565 (exp_test_towardzero): Likewise.
57566 (exp_test_downward): Likewise.
57567 (exp_test_upward): Likewise.
57568 (main): Call the new functions.
57569 * sysdeps/i386/fpu/libm-test-ulps: Update.
57570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57571
57572 2012-03-01 Chris Demetriou <cgd@google.com>
57573
57574 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57575 have predictable order.
57576
57577 2012-03-01 David S. Miller <davem@davemloft.net>
57578
57579 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57580
57581 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57582 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57583 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57584 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57585
57586 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57587 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57588 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57590 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57591 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57592 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57593 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57594 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57595
57596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57597
57598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57599 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57601
57602 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57603 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57604 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57605 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57606 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57610 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57615 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57616 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57618 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57619 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57620 * sysdeps/sparc/elf/configure: Regenerated.
57621
57622 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57623
57624 * configure.in (AS, LD): Require binutils 2.20 or later.
57625 * configure: Regenerated.
57626 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57627 as required minimum version.
57628 * INSTALL: Regenerated.
57629
57630 [BZ #2541]
57631 [BZ #4108]
57632 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57633 before squaring exponent.
57634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57635 bottom long double and 27 bits of top long double before squaring
57636 exponent.
57637 * math/libm-test.inc (erfc_test): Add more tests.
57638 * sysdeps/i386/fpu/libm-test-ulps: Update.
57639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57641
57642 2012-03-01 Kai Tietz <ktietz@redhat.com>
57643
57644 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57645 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57646 containing bit-fields.
57647 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57648 * soft-fp/single.h (_FP_UNION_S): Likewise.
57649 * soft-fp/double.h (_FP_UNION_D): Likewise.
57650
57651 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57652
57653 [BZ #13786]
57654 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57655 not include ../strcmp.S.
57656 [USE_AS_STRNCASECMP_L]: Likewise.
57657 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57658 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57659 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57660 (__strncasecmp_l_ia32): Define as alias to
57661 __strncasecmp_l_nonascii.
57662
57663 [BZ #5794]
57664 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57665 * sysdeps/i386/fpu/libm-test-ulps: Update.
57666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57667
57668 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57670
57671 2012-02-29 Jeff Law <law@redhat.com>
57672
57673 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57674 out of bounds read.
57675
57676 2012-02-29 Marek Polacek <polacek@redhat.com>
57677
57678 [BZ #13706]
57679 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57680 * elf/Makefile: Add rules to run tst-unused-dep.out.
57681
57682 2012-02-28 David S. Miller <davem@davemloft.net>
57683
57684 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57685 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57688 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57689 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57690
57691 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57692
57693 * math/libm-test.inc (llround_test): Move one test from
57694 lround_test. Use TEST_f_L in moved test.
57695 (lround_test): Move misplaced test to llround_test. Add testcase
57696 from bug 2561.
57697
57698 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57699
57700 * sysdeps/x86_64/fpu/e_expf.S: New file.
57701 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57702
57703 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57704
57705 [BZ #13637]
57706 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57707 of remain_len that may cause incomplete multi-byte character and
57708 false match.
57709 * posix/bug-regex33.c: New file.
57710 * posix/Makefile (tests): Add bug-regex33.
57711
57712 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57713
57714 * manual/macros.texi: New file.
57715 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57716 * manual/libc.texinfo: Include macros.texi.
57717 * manual/creatute.texi: Likewise.
57718 * manual/install.texi: Likewise.
57719 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57720 @glibcadj{} in references to the GNU C Library.
57721 * manual/charset.texi: Likewise.
57722 * manual/conf.texi: Likewise.
57723 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57724 when not using those macros.
57725 * manual/creature.texi: Likewise.
57726 * manual/crypt.texi: Likewise.
57727 * manual/errno.texi: Likewise.
57728 * manual/filesys.texi: Likewise.
57729 * manual/header.texi: Likewise.
57730 * manual/install.texi: Likewise.
57731 * manual/intro.texi: Likewise.
57732 * manual/io.texi: Likewise.
57733 * manual/job.texi: Likewise.
57734 * manual/lang.texi: Likewise.
57735 * manual/libc.texiinfo: Likewise.
57736 * manual/llio.texi: Likewise.
57737 * manual/locale.texi: Likewise.
57738 * manual/maint.texi: Likewise.
57739 * manual/math.texi: Likewise.
57740 * manual/memory.texi: Likewise.
57741 * manual/message.texi: Likewise.
57742 * manual/nss.texi: Likewise.
57743 * manual/pattern.texi: Likewise.
57744 * manual/process.texi: Likewise.
57745 * manual/resource.texi: Likewise.
57746 * manual/search.texi: Likewise.
57747 * manual/setjmp.texi: Likewise.
57748 * manual/signal.texi: Likewise.
57749 * manual/socket.texi: Likewise.
57750 * manual/startup.texi: Likewise.
57751 * manual/stdio.texi: Likewise.
57752 * manual/string.texi: Likewise.
57753 * manual/sysinfo.texi: Likewise.
57754 * manual/syslog.texi: Likewise.
57755 * manual/terminal.texi: Likewise.
57756 * manual/time.texi: Likewise.
57757 * manual/users.texi: Likewise.
57758 * INSTALL: Regenerated.
57759 * NOTES: Regenerated.
57760 * sysdeps/gnu/errlist.c: Regenerated.
57761
57762 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57763
57764 * include/dirent.h: Include <dirstream.h> before
57765 <dirent/dirent.h>.
57766
57767 2012-02-28 David S. Miller <davem@davemloft.net>
57768
57769 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57770 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57771 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57772 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57773
57774 2012-02-27 David S. Miller <davem@davemloft.net>
57775
57776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57778 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57779 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57780
57781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57782 frame pointer instead of stack pointer relative arg slot.
57783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57786
57787 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57788
57789 [BZ #3992]
57790 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57791
57792 2012-02-27 David S. Miller <davem@davemloft.net>
57793
57794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57798 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57799 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57800 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57801 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57802
57803 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57804
57805 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57806 later. Allow versions 5-9.
57807 * configure: Regenerated.
57808 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57809 required minimum version and 4.6 as recommended version. Do not
57810 mention bugs in GCC 2.7 and 2.8.
57811 * INSTALL: Regenerated.
57812
57813 2012-02-27 David S. Miller <davem@davemloft.net>
57814
57815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57821 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57822 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57823
57824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57825 manipulate bits before adding and subtracting TWO112[sx].
57826 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57827
57828 2012-02-27 Roland McGrath <roland@hack.frob.com>
57829
57830 [BZ #13775]
57831 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57832 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57833 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57834 being in POSIX, because they are in 1003.1-2008.
57835
57836 * rt/tst-aio.c: Include <fcntl.h>.
57837 * rt/tst-aio7.c: Likewise.
57838 * rt/tst-aio64.c: Likewise.
57839
57840 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57841
57842 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57843
57844 * manual/install.texi (--with-headers): Describe headers as
57845 interface headers, not private headers.
57846 (Specific advice for GNU/Linux systems): Describe use of headers
57847 from "make headers_install", not private headers from older
57848 kernels.
57849 * INSTALL: Regenerated.
57850 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57851 Change to 2.6.19.
57852 * sysdeps/unix/sysv/linux/configure: Regenerated.
57853
57854 * manual/llio.texi (fclean): Remove documentation.
57855
57856 * manual/Makefile (libc-texi-generated): New variable. Include
57857 version.texi.
57858 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57859 $(libc-texi-generated), not duplicated list of files.
57860 (version.texi, stamp-version): New rules.
57861 (realclean): Remove $(libc-texi-generated), not individual files
57862 from that list. Do not remove dir-add.texinfo.
57863 * manual/libc.texinfo: Comment out uses of edition numbers and
57864 references to printed manual. Remove last-updated dates.
57865 (EDITION): Comment out.
57866 (ISBN): Likewise.
57867 (VERSION, UPDATED): Remove.
57868 (version.texi): Include.
57869
57870 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57871
57872 * sysdeps/posix/spawni.c: Include <signal.h>.
57873 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57874 * sysdeps/pthread/aio_fsync.c: Likewise.
57875
57876 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57877
57878 * conform/Makefile (tests): Run only when not cross-compiling and
57879 when fast-check is not defined.
57880
57881 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57882 * conform/data/limits.h-data: Fixes for POSIX2008.
57883 * conform/run-conformtest.sh: Run all tests.
57884 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57885 headers.
57886 * include/bits/dlfcn.h: Likewise.
57887 * include/langinfo.h: Likewise.
57888 * include/monetary.h: Likewise.
57889 * include/sys/poll.h: Likewise.
57890
57891 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57892 for __USE_GNU.
57893 * posix/spawn.h: Define __need_sigset_t.
57894 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57895 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57896 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57897 to get sigevent_t only.
57898 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57899 only for __USE_GNU.
57900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57901 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57902 process_vm_writev only for __USE_GNU.
57903 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57904
57905 * conform/Makefile: For now ignore errors from run-conformtest.
57906 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57907 POSIX to avoid namespace pollution. Don't prepend headers.
57908 * conform/data/aio.h-data: Fixes for POSIX testing.
57909 * conform/data/fcntl.h-data: Likewise.
57910 * conform/data/glob.h-data: Likewise.
57911 * conform/data/grp.h-data: Likewise.
57912 * conform/data/pthread.h-data: Likewise.
57913 * conform/data/pwd.h-data: Likewise.
57914 * conform/data/signal.h-data: Likewise.
57915 * conform/data/spawn.h-data: Likewise.
57916 * conform/data/stdio.h-data: Likewise.
57917 * conform/data/stdlib.h-data: Likewise.
57918 * conform/data/stropts.h-data: Likewise.
57919 * conform/data/sys/mman.h-data: Likewise.
57920 * conform/data/sys/stat.h-data: Likewise.
57921 * conform/data/sys/types.h-data: Likewise.
57922 * conform/data/sys/wait.h-data: Likewise.
57923 * conform/data/time.h-data: Likewise.
57924 * conform/data/unistd.h-data: Likewise.
57925 * conform/data/utime.h-data: Likewise.
57926
57927 * io/sys/stat.h: fchmod was always in POSIX.
57928 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57929 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57930 * rt/aio.h: Define __need_timespec before including <time.h>.
57931 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57932 struct. Add forward declaration of pthread_attr_t and use it in
57933 sigevent.
57934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57936 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57937 always remove CLK_TCK definition.
57938
57939 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57940
57941 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57942
57943 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57944
57945 * conform/run-conformtest.sh: New file.
57946 * conform/Makefile: Run run-conformtest for tests.
57947 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57948 support.
57949
57950 * conform/data/uchar.h-data: New file.
57951 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57952 * conform/data/arpa/inet.h-data: Likewise.
57953 * conform/data/assert.h-data: Likewise.
57954 * conform/data/complex.h-data: Likewise.
57955 * conform/data/cpio.h-data: Likewise.
57956 * conform/data/ctype.h-data: Likewise.
57957 * conform/data/dirent.h-data: Likewise.
57958 * conform/data/dlfcn.h-data: Likewise.
57959 * conform/data/errno.h-data: Likewise.
57960 * conform/data/fcntl.h-data: Likewise.
57961 * conform/data/float.h-data: Likewise.
57962 * conform/data/fmtmsg.h-data: Likewise.
57963 * conform/data/fnmatch.h-data: Likewise.
57964 * conform/data/ftw.h-data: Likewise.
57965 * conform/data/glob.h-data: Likewise.
57966 * conform/data/grp.h-data: Likewise.
57967 * conform/data/iconv.h-data: Likewise.
57968 * conform/data/inttypes.h-data: Likewise.
57969 * conform/data/langinfo.h-data: Likewise.
57970 * conform/data/libgen.h-data: Likewise.
57971 * conform/data/limits.h-data: Likewise.
57972 * conform/data/locale.h-data: Likewise.
57973 * conform/data/math.h-data: Likewise.
57974 * conform/data/monetary.h-data: Likewise.
57975 * conform/data/mqueue.h-data: Likewise.
57976 * conform/data/ndbm.h-data: Likewise.
57977 * conform/data/net/if.h-data: Likewise.
57978 * conform/data/netdb.h-data: Likewise.
57979 * conform/data/netinet/in.h-data: Likewise.
57980 * conform/data/nl_types.h-data: Likewise.
57981 * conform/data/poll.h-data: Likewise.
57982 * conform/data/pthread.h-data: Likewise.
57983 * conform/data/pwd.h-data: Likewise.
57984 * conform/data/regex.h-data: Likewise.
57985 * conform/data/sched.h-data: Likewise.
57986 * conform/data/search.h-data: Likewise.
57987 * conform/data/semaphore.h-data: Likewise.
57988 * conform/data/setjmp.h-data: Likewise.
57989 * conform/data/signal.h-data: Likewise.
57990 * conform/data/spawn.h-data: Likewise.
57991 * conform/data/stdarg.h-data: Likewise.
57992 * conform/data/stdio.h-data: Likewise.
57993 * conform/data/stdlib.h-data: Likewise.
57994 * conform/data/string.h-data: Likewise.
57995 * conform/data/strings.h-data: Likewise.
57996 * conform/data/stropts.h-data: Likewise.
57997 * conform/data/sys/ipc.h-data: Likewise.
57998 * conform/data/sys/mman.h-data: Likewise.
57999 * conform/data/sys/msg.h-data: Likewise.
58000 * conform/data/sys/resource.h-data: Likewise.
58001 * conform/data/sys/select.h-data: Likewise.
58002 * conform/data/sys/sem.h-data: Likewise.
58003 * conform/data/sys/shm.h-data: Likewise.
58004 * conform/data/sys/socket.h-data: Likewise.
58005 * conform/data/sys/stat.h-data: Likewise.
58006 * conform/data/sys/statvfs.h-data: Likewise.
58007 * conform/data/sys/time.h-data: Likewise.
58008 * conform/data/sys/timeb.h-data: Likewise.
58009 * conform/data/sys/times.h-data: Likewise.
58010 * conform/data/sys/types.h-data: Likewise.
58011 * conform/data/sys/uio.h-data: Likewise.
58012 * conform/data/sys/un.h-data: Likewise.
58013 * conform/data/sys/utsname.h-data: Likewise.
58014 * conform/data/sys/wait.h-data: Likewise.
58015 * conform/data/syslog.h-data: Likewise.
58016 * conform/data/tar.h-data: Likewise.
58017 * conform/data/termios.h-data: Likewise.
58018 * conform/data/utime.h-data: Likewise.
58019 * conform/data/utmpx.h-data: Likewise.
58020 * conform/data/varargs.h-data: Likewise.
58021 * conform/data/wchar.h-data: Likewise.
58022 * conform/data/wctype.h-data: Likewise.
58023 * conform/data/wordexp.h-data: Likewise.
58024
58025 * include/stropts.h: New file.
58026 * include/uchar.h: New file.
58027 * include/aio.h: Changes to allow conformtest.pl to use the headers.
58028 * include/assert.h: Likewise.
58029 * include/ctype.h: Likewise.
58030 * include/dirent.h: Likewise.
58031 * include/dlfcn.h: Likewise.
58032 * include/fcntl.h: Likewise.
58033 * include/fnmatch.h: Likewise.
58034 * include/glob.h: Likewise.
58035 * include/grp.h: Likewise.
58036 * include/libio.h: Likewise.
58037 * include/locale.h: Likewise.
58038 * include/math.h: Likewise.
58039 * include/net/if.h: Likewise.
58040 * include/netdb.h: Likewise.
58041 * include/netinet/in.h: Likewise.
58042 * include/pthread.h: Likewise.
58043 * include/pwd.h: Likewise.
58044 * include/regex.h: Likewise.
58045 * include/sched.h: Likewise.
58046 * include/search.h: Likewise.
58047 * include/setjmp.h: Likewise.
58048 * include/signal.h: Likewise.
58049 * include/stdio.h: Likewise.
58050 * include/stdlib.h: Likewise.
58051 * include/string.h: Likewise.
58052 * include/sys/cdefs.h: Likewise.
58053 * include/sys/mman.h: Likewise.
58054 * include/sys/msg.h: Likewise.
58055 * include/sys/resource.h: Likewise.
58056 * include/sys/select.h: Likewise.
58057 * include/sys/socket.h: Likewise.
58058 * include/sys/stat.h: Likewise.
58059 * include/sys/statvfs.h: Likewise.
58060 * include/sys/time.h: Likewise.
58061 * include/sys/times.h: Likewise.
58062 * include/sys/uio.h: Likewise.
58063 * include/sys/utsname.h: Likewise.
58064 * include/sys/wait.h: Likewise.
58065 * include/termios.h: Likewise.
58066 * include/time.h: Likewise.
58067 * include/ulimit.h: Likewise.
58068 * include/unistd.h: Likewise.
58069 * include/utime.h: Likewise.
58070 * include/wchar.h: Likewise.
58071 * include/wctype.h: Likewise.
58072 * include/wordexp.h: Likewise.
58073
58074 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58075
58076 * time/time.h: TIME_UTC must be a macro.
58077 Make timespec_get available for ISO C11 only as well.
58078
58079 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58080
58081 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58082 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58083
58084 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58085
58086 * configure.in: Use -o not -a in test for unsupported multi-arch.
58087
58088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58089
58090 * manual/texinfo.tex: Update to version 2012-01-19.16.
58091
58092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58093
58094 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58095
58096 2012-02-24 Roland McGrath <roland@hack.frob.com>
58097
58098 [BZ #13738]
58099 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58100 * manual/fdl-1.3.texi: New file.
58101 * manual/fdl-1.1.texi: File removed.
58102
58103 [BZ #13738]
58104 * manual/libc.texinfo (FDL_VERSION): New @set.
58105 Use it for mention of FDL in cover text.
58106 (Documentation License): Use it in @include file name.
58107
58108 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58109 Roland McGrath <roland@hack.frob.com>
58110
58111 [BZ #5461]
58112 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58113 (not LONG_LONG_MAX and LONG_LONG_MIN.
58114 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58115 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58116 name.
58117 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58118
58119 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58120
58121 [BZ #2547]
58122 [BZ #11365]
58123 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58124 manipulate bits before adding and subtracting TWO23[sx].
58125 * math/libm-test.inc (nearbyint_test): Add more tests.
58126
58127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58128
58129 [BZ #2548]
58130 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58131 bits before adding and subtracting TWO23[sx].
58132 * math/libm-test.inc (rint_test): Add more tests.
58133 (rint_test_tonearest): Likewise.
58134 (rint_test_towardzero): Likewise.
58135 (rint_test_downward): Likewise.
58136 (rint_test_upward: Likewise.
58137
58138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58139
58140 [BZ #10110]
58141 * include/stdc-predef.h: New file. Extracted from features.h.
58142 * include/features.h: Include stdc-predef.h.
58143 * Makefile (headers): Add stdc-predef.h.
58144 * CONFORMANCE (Compiler limitations): Update.
58145
58146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58147
58148 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58149
58150 2012-02-21 David S. Miller <davem@davemloft.net>
58151
58152 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58153 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58154
58155 2012-02-20 David S. Miller <davem@davemloft.net>
58156
58157 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58158 using a normal save/restore sequence, rather than allocating a
58159 dummy stack frame just to store a frame pointer and restore.
58160 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58161
58162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58163
58164 * manual/install.texi: Fix stray word in line-wrapped comment.
58165
58166 2012-02-20 David S. Miller <davem@davemloft.net>
58167
58168 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58169 both binutils and gcc support GOTDATA.
58170
58171 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58172 "rd %pc" in the PIC register setup sequences.
58173
58174 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58175 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58176 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58177 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58178 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58180 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58181 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58183 (SYSCALL_ERROR_HANDLER): Likewise.
58184 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58185 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58187 (SYSCALL_ERROR_HANDLER): Likewise.
58188
58189 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58190 (HAVE_GCC_GOTDATA): New.
58191 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58192 relocation support in both binutils and gcc.
58193 * sysdeps/sparc/elf/configure: Regenerate.
58194
58195 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58196 * sysdeps/sparc/sparc32/elf/configure: Delete.
58197 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58198 * sysdeps/sparc/sparc64/elf/configure: Delete.
58199 * sysdeps/sparc/elf/configure.in: New file.
58200 * sysdeps/sparc/elf/configure: Generate.
58201
58202 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58203 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58204 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58205 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58206 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58207
58208 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58209
58210 * manual/install.texi: Do not mention specific glibc version
58211 numbers.
58212 * manual/libc.texinfo (VERSION, UPDATED): Update.
58213 (@copying): Use @copyright{} and range of years.
58214
58215 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58216
58217 [BZ #13695]
58218 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58219 [crti.S not in sysdirs] (generated): Do not append.
58220 [crti.S not in sysdirs] (omit-deps): Likewise.
58221 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58222 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58223 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58224 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58225 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58226 Likewise.
58227 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58228 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58229 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58230 * csu/defs.awk: Remove file.
58231 * sysdeps/generic/initfini.c: Likewise.
58232 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58233 variable.
58234 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58235 Likewise.
58236
58237 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58238
58239 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58240 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58241 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58244 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58245 <bits/epoll.h>.
58246 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58247 (__EPOLL_PACKED): Define to empty if not defined by
58248 <bits/epoll.h>.
58249 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58251 bits/epoll.h.
58252
58253 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58254
58255 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58256 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58257 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58258 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58259 <bits/timerfd.h>.
58260 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58262 bits/timerfd.h.
58263
58264 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58265
58266 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58267 in C locale.
58268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58269 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58270 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58272
58273 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58274
58275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58276 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58277
58278 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58279
58280 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58281 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58282 defined.
58283 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58284 Likewise.
58285 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58286 entry for 2.16.
58287
58288 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58289
58290 * math/w_acos.c: Use non-signaling floating-point comparisons.
58291 * math/w_acosf.c: Likewise.
58292 * math/w_acosh.c: Likewise.
58293 * math/w_acoshf.c: Likewise.
58294 * math/w_acoshl.c: Likewise.
58295 * math/w_acosl.c: Likewise.
58296 * math/w_asin.c: Likewise.
58297 * math/w_asinf.c: Likewise.
58298 * math/w_asinl.c: Likewise.
58299 * math/w_atanh.c: Likewise.
58300 * math/w_atanhf.c: Likewise.
58301 * math/w_atanhl.c: Likewise.
58302 * math/w_exp2.c: Likewise.
58303 * math/w_exp2f.c: Likewise.
58304 * math/w_exp2l.c: Likewise.
58305 * math/w_j0.c: Likewise.
58306 * math/w_j0f.c: Likewise.
58307 * math/w_j0l.c: Likewise.
58308 * math/w_j1.c: Likewise.
58309 * math/w_j1f.c: Likewise.
58310 * math/w_j1l.c: Likewise.
58311 * math/w_jn.c: Likewise.
58312 * math/w_jnf.c: Likewise.
58313 * math/w_log.c: Likewise.
58314 * math/w_log10.c: Likewise.
58315 * math/w_log10f.c: Likewise.
58316 * math/w_log10l.c: Likewise.
58317 * math/w_log2.c: Likewise.
58318 * math/w_log2f.c: Likewise.
58319 * math/w_log2l.c: Likewise.
58320 * math/w_logf.c: Likewise.
58321 * math/w_logl.c: Likewise.
58322 * math/w_sqrt.c: Likewise.
58323 * math/w_sqrtf.c: Likewise.
58324 * math/w_sqrtl.c: Likewise.
58325 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58326 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58327 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58328 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58329 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58330
58331 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58332
58333 [BZ #9739]
58334 * manual/string.texi (strnlen): Use correct parameter name in
58335 equivalent expression.
58336
58337 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58338
58339 [BZ #11174]
58340 * manual/users.texi (seteuid): Consistently use neweuid for
58341 argument name.
58342
58343 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58344
58345 [BZ #13704]
58346 * manual/nss.texi (Services in the NSS configuration): Correct
58347 list of services in example configuration file.
58348
58349 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58350
58351 [BZ #11322]
58352 * manual/arith.texi: Remove statements about negative zero
58353 behaving identically to zero.
58354
58355 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58356
58357 [BZ #5993]
58358 * manual/install.texi: Do not document upgrading from libc5.
58359
58360 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58361
58362 [BZ #4596]
58363 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58364
58365 2012-02-18 David S. Miller <davem@davemloft.net>
58366
58367 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58368 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58369 %o7 across the call.
58370 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58371 instead.
58372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58373 SETUP_PIC_REG_LEAF.
58374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58375 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58376 * sysdeps/sparc/crtn.S: Likewise.
58377
58378 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58379
58380 * aout/Makefile: Remove.
58381
58382 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58383
58384 [BZ #13058]
58385 * manual/examples/argp-ex1.c (main): Format definition in GNU
58386 style.
58387 * manual/examples/argp-ex2.c (main): Likewise.
58388 * manual/examples/argp-ex3.c (main): Likewise.
58389 * manual/examples/argp-ex4.c (main): Likewise.
58390 * manual/examples/longopt.c (main): Use new-style prototype
58391 definition.
58392 * manual/examples/strncat.c (main): Specify return type and use
58393 (void) for arguments.
58394 * manual/examples/subopt.c (main): Use char **argv argument.
58395
58396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58397
58398 [BZ #5077]
58399 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58400 rounding modes.
58401
58402 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58403
58404 [BZ #6907]
58405 * manual/string.texi (strchr): Change when strchrnul is
58406 recommended.
58407
58408 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58409
58410 [BZ #174]
58411 * manual/locale.texi (setlocale): Document LOCPATH.
58412
58413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58414
58415 [BZ #10210]
58416 * manual/process.texi (execle): Move @dots{} before last argument.
58417
58418 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58419
58420 [BZ #12047]
58421 * manual/charset.texi (Generic Charset Conversion): Fix typo
58422 (LC_TYPE -> LC_CTYPE).
58423
58424 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58425
58426 [BZ #5805]
58427 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58428 (scalbnf): Likewise.
58429 (scalbnl): Likewise.
58430 (scalbln): Likewise.
58431 (scalblnf): Likewise.
58432 (scalblnl): Likewise.
58433 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58434 (vwarnx): Likewise.
58435 (verr): Likewise.
58436 (verrx): Likewise.
58437 * manual/filesys.texi (telldir): Use braces around return type.
58438 * manual/llio.texi (mmap): Add space after comma.
58439 (mmap64): Likewise.
58440 * manual/math.texi (jn): Use @var{} on parameter names.
58441 (jnf): Likewise.
58442 (jnl): Likewise.
58443 (yn): Likewise.
58444 (ynf): Likewise.
58445 (ynl): Likewise.
58446 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58447 line.
58448 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58449 "...".
58450 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58451 (sched_get_priority_max): Likewise.
58452 * manual/signal.texi (sigvec): Add space after comma.
58453 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58454 names.
58455 (if_indextoname): Likewise.
58456 (if_freenameindex): Likewise.
58457 (sendto): Use ',' instead of '.' in prototype.
58458 * manual/startup.texi (syscall): Use @dots{} instead of literal
58459 "...".
58460 * manual/stdio.texi (__fpending): Separate initial words of
58461 paragraph from @deftypefun line.
58462 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58463 "...".
58464 (vsyslog): Use @var{} on parameter names.
58465 * manual/terminal.texi (stty): Use @var{} on parameter names.
58466 * manual/users.texi (getutmp): Use @var{} on parameter names.
58467 (getutmpx): Likewise.
58468
58469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58470
58471 [BZ #6884]
58472 * manual/stdio.texi (fopen): Fix typos in description of
58473 ",ccs=STRING".
58474
58475 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58476
58477 [BZ #4026]
58478 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58479 get clock_id definition.
58480
58481 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58482
58483 [BZ #4822]
58484 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58485 (madvise): Cast every argument to void on its own.
58486
58487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58488
58489 [BZ #9902]
58490 * manual/startup.texi (Exit Status): Fix typo.
58491
58492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58493
58494 [BZ #10140]
58495 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58496 * manual/examples/argp-ex2.c: Likewise.
58497 * manual/examples/argp-ex3.c: Likewise.
58498
58499 2012-02-16 Richard Henderson <rth@redhat.com>
58500
58501 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58502 * sysdeps/s390/s390-32/initfini.c: Remove.
58503 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58504 * sysdeps/s390/s390-64/initfini.c: Remove.
58505
58506 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58507
58508 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58509 compiler output for sysdeps/generic/initfini.c.
58510 * sysdeps/sh/elf/initfini.c: Remove file.
58511
58512 2012-02-16 David S. Miller <davem@davemloft.net>
58513
58514 [BZ #11494]
58515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58516
58517 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58518 * sysdeps/sparc/crti.S: New file.
58519 * sysdeps/sparc/crtn.S: New file.
58520 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58521 * sysdeps/sparc/sparc64/Makefile: Likewise.
58522
58523 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58524
58525 [BZ #3335]
58526 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58527
58528 2012-02-15 Roland McGrath <roland@hack.frob.com>
58529
58530 [BZ #4822]
58531 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58532
58533 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58534 (write, read, close): Likewise.
58535 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58536
58537 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58538
58539 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58540 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58541 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58542 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58543 <bits/signalfd.h>.
58544 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58546 bits/signalfd.h.
58547
58548 2012-02-14 Marek Polacek <polacek@redhat.com>
58549
58550 * sysdeps/x86_64/crti.S: New file.
58551 * sysdeps/x86_64/crtn.S: New file.
58552 * sysdeps/x86_64/elf/initfini.c: Remove file.
58553
58554 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58555
58556 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58557 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58558 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58559 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58560 <bits/inotify.h>.
58561 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58563 bits/inotify.h.
58564
58565 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58566
58567 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58568 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58569 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58570 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58571 <bits/eventfd.h>.
58572 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58574 bits/eventfd.h.
58575
58576 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58577
58578 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58579 __feraiseexcept instead of feraiseexcept.
58580
58581 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58582 nanosleep invocations.
58583 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58584 strings, and add error checking for a nanosleep invocations.
58585
58586 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58587
58588 Replace FSF snail mail address with URLs, as per GNU coding standards.
58589 Most of the snail mail addresses were wrong anyway, and omitting
58590 them makes the source code easier to maintain. Almost all of the
58591 changes are to license notices and to locale LC_IDENTIFICATION
58592 addresses, except for this one:
58593 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58594 not its snail mail address.
58595
58596 2012-02-09 Richard Henderson <rth@twiddle.net>
58597
58598 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58599 of kernel-features.h.
58600
58601 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58602
58603 2012-02-08 Marek Polacek <polacek@redhat.com>
58604
58605 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58606 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58607 * sysdeps/gnu/_G_config.h: Likewise.
58608 * sysdeps/generic/_G_config.h: Likewise.
58609
58610 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58611
58612 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58613 tests.
58614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58615
58616 * sysdeps/powerpc/powerpc32/crti.S: New file.
58617 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58618 * sysdeps/powerpc/powerpc64/crti.S: New file.
58619 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58620
58621 * Makeconfig (have-initfini): Don't set.
58622 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58623 * configure.in (nopic_initfini): Don't substitute.
58624 * config.h.in (HAVE_INITFINI): Don't #undef.
58625 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58626 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58627
58628 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58629
58630 Support crti.S and crtn.S provided directly by architectures.
58631 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58632 [crti.S in sysdirs] (omit-deps): Likewise.
58633 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58634 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58635 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58636 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58637 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58638 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58639 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58640 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58641 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58642 compiler output for sysdeps/generic/initfini.c.
58643 * sysdeps/i386/elf/Makefile: Remove file.
58644 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58645
58646 2012-02-07 Marek Polacek <polacek@redhat.com>
58647
58648 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58649 * sysdeps/gnu/_G_config.h: Likewise.
58650 * sysdeps/mach/hurd/_G_config.h: Likewise.
58651
58652 2012-02-07 Marek Polacek <polacek@redhat.com>
58653
58654 * math/Makefile (tests): Add tst-CMPLX2.
58655 * math/tst-CMPLX2.c: New file.
58656
58657 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58658
58659 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58660
58661 * math/libm-test.inc (jn_test): Add missing L suffix.
58662
58663 2012-02-06 Marek Polacek <polacek@redhat.com>
58664
58665 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58666 * sysdeps/i386/fpu/e_powf.S: Likewise.
58667 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58668 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58669 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58670 * sysdeps/i386/fpu/e_pow.S: Likewise.
58671 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58672 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58673 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58674 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58675 * sysdeps/i386/fpu/e_log2.S: Likewise.
58676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58677 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58678 * sysdeps/i386/fpu/e_powl.S: Likewise.
58679 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58680 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58681 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58682 * sysdeps/i386/fpu/e_logl.S: Likewise.
58683 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58684 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58685 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58686 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58689 * sysdeps/i386/fpu/e_log.S: Likewise.
58690 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58692 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58693 * sysdeps/i386/fpu/e_logf.S: Likewise.
58694 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58695 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58696 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58697 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58699 * sysdeps/i386/fpu/e_log10.S: Likewise.
58700 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58701 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58702 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58703 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58704 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58705 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58706 * sysdeps/i386/asm-syntax.h: Likewise.
58707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58710 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58711 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58712 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58713 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58714 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58715 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58716 * sysdeps/powerpc/sysdep.h: Likewise.
58717 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58718 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58719
58720 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58721
58722 [BZ #411]
58723 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58724
58725 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58726
58727 * sysdeps/i386/sysdep.h: Include <features.h>.
58728 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58729 version.
58730
58731 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58732
58733 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58734 Define.
58735 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58736 LOAD_PIC_REG_STR.
58737
58738 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58739
58740 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58741 (SETUP_PIC_REG): Use GET_PC_THUNK.
58742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58743 macro.
58744
58745 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58746
58747 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58748 for non-PIC compilation.
58749 (SETUP_PIC_REG): Add .p2align directive.
58750 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58751 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58752 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58753 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58755 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58756 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58758 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58759 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58760 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58761 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58762 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58763 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58764 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58765 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58766 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58767 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58768 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58769 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58770 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58771 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58772 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58773 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58774 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58776 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58778 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58779 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58780 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58781 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58782 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58783 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58784 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58785 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58786 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58787 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58788 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58789 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58790 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58791
58792 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58793
58794 * math/tst-CMPLX.c: Include <stdio.h>.
58795
58796 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58797
58798 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58799 float.
58800 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58801 * sysdeps/sparc/bits/mathdef.h: Likewise.
58802
58803 2012-01-31 Marek Polacek <polacek@redhat.com>
58804
58805 * libio/libio.h: Don't define _PARAMS.
58806 * locale/programs/config.h: Don't define PARAMS.
58807 * stdlib/strtol_l.c: Likewise.
58808 (__strtol_l): Remove PARAMS from the prototype.
58809
58810 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58811
58812 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58813 names. Just use the correct names. Remove unnecessary wrapper
58814 functions.
58815 * malloc/arena.c: Likewise.
58816 * malloc/hooks.c: Likewise.
58817
58818 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58819 ARENA_TEST says not to. Simplify test for creation of a new arena.
58820 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58821
58822 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58823
58824 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58825 into tail calls.
58826 (update_get_addr): New function.
58827 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58828 GET_ADDR_MODULE parameter.
58829
58830 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58831
58832 * crypt/cert.c: Remove __STDC__ conditionals.
58833 * crypt/crypt-entry.c: Likewise.
58834 * crypt/crypt_util.c: Likewise.
58835 * libio/filedoalloc.c: Likewise.
58836 * libio/fileops.c: Likewise.
58837 * libio/genops.c: Likewise.
58838 * libio/iofclose.c: Likewise.
58839 * libio/iofdopen.c: Likewise.
58840 * libio/iofopen.c: Likewise.
58841 * libio/iofopen64.c: Likewise.
58842 * libio/iogetdelim.c: Likewise.
58843 * libio/iopopen.c: Likewise.
58844 * libio/obprintf.c: Likewise.
58845 * libio/oldfileops.c: Likewise.
58846 * libio/oldiofclose.c: Likewise.
58847 * libio/oldiofdopen.c: Likewise.
58848 * libio/oldiofopen.c: Likewise.
58849 * libio/oldiopopen.c: Likewise.
58850 * libio/wfiledoalloc.c: Likewise.
58851 * libio/wgenops.c: Likewise.
58852 * locale/programs/xmalloc.c: Likewise.
58853 * misc/syslog.c: Likewise.
58854 * stdio-common/xbug.c: Likewise.
58855 * string/memchr.c: Likewise.
58856 * string/memcmp.c: Likewise.
58857 * string/memrchr.c: Likewise.
58858 * string/rawmemchr.c: Likewise.
58859 * sysdeps/posix/getcwd.c: Likewise.
58860 * time/strftime_l.c: Likewise.
58861
58862 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58863
58864 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58865 * config.make.in (config-cflags-sse2avx): Define.
58866 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58867 Fix typo.
58868
58869 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58870
58871 * scripts/config.guess: Update from upstream config git repository.
58872 * scripts/config.sub: Likewise.
58873
58874 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58875
58876 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58877 (EM_NUM): Update.
58878 (R_TILEPRO_*, R_TILEGX_*): New macros.
58879
58880 * scripts/firstversions.awk: Fix bug in version range handling.
58881
58882 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58883
58884 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58885
58886 * include/sys/epoll.h: New file.
58887 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58888 libc_hidden_def.
58889
58890 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58891
58892 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58893 Avoid unnecessary __WORDSIZE == 64 test.
58894 (fmaxf): Use VEX format if possible.
58895 (fmax): Likewise.
58896 (fminf): Likewise.
58897 (fmin): Likewise.
58898
58899 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58900 * math/math_private.h: Remove libc_fegetround* and
58901 libc_fesetround*.
58902 * sysdeps/i386/configure.in: Check for -msse2avx.
58903 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58904 also if SSE2AVX is defined.
58905 Remove libc_fegetround* and libc_fesetround*.
58906 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58907 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58909 of HAS_YMM_USABLE.
58910 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58911 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58912 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58915
58916 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58917
58918 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58919
58920 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58921 size is not set.
58922 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58923
58924 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58925
58926 [BZ #13618]
58927 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58928 relocation.
58929 * Makeconfig (libm): Define.
58930 * elf/Makefile: Add rules to build and run tst-relsort1.
58931 * elf/tst-relsort1.c: New file.
58932 * elf/tst-relsort1mod1.c: New file.
58933 * elf/tst-relsort1mod2.c: New file.
58934
58935 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58936
58937 * math/s_ldexp.c: Remove __STDC__ conditionals.
58938 * math/s_ldexpf.c: Likewise.
58939 * math/s_ldexpl.c: Likewise.
58940 * math/s_nextafter.c: Likewise.
58941 * math/s_nexttowardf.c: Likewise.
58942 * math/s_significand.c: Likewise.
58943 * math/s_significandf.c: Likewise.
58944 * math/s_significandl.c: Likewise.
58945 * math/w_jnl.c: Likewise.
58946 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58947 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58948 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58949 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58950 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58952 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58953 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58954 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58955 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58956 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58957 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58958 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58959 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58960 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58962 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58963 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58967 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58968 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58970 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58971 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58972 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58973 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58974 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58975 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58976 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58977 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58978 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58979 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58980 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58981 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58982 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58983 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58984 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58985 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58986 * sysdeps/ieee754/k_standard.c: Likewise.
58987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58989 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58990 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58991 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58992 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58993 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58994 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58995 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58996 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58997 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58999 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59000 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59001 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59003 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59004 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59005 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59006 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59007 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59009 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59010 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59011 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59012 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59018 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59021 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59022 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59023 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59024 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59025 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59026 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59027 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59029 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59030 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59031 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59032 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59033 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59034 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59035 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59036 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59037 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59040 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59041 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59042 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59043 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59044 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59045 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59046 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59047 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59048 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59049 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59050 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59051 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59052 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59053 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59054 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59056 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59059 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59062 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59063 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59064 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59066 * sysdeps/ieee754/s_matherr.c: Likewise.
59067 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59068 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59070 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59071
59072 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59073
59074 * crypt/md5.h: Remove __STDC__ conditionals.
59075 * libio/libioP.h: Likewise.
59076 * locale/programs/config.h: Likewise.
59077 * sysdeps/generic/sysdep.h: Likewise.
59078 * sysdeps/i386/asm-syntax.h: Likewise.
59079 * sysdeps/s390/asm-syntax.h: Likewise.
59080 * sysdeps/unix/sysdep.h: Likewise.
59081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59083
59084 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59085
59086 * libio/libio.h: Remove __STDC__ conditionals.
59087 * malloc/obstack.h: Likewise.
59088 * math/complex.h: Likewise.
59089 * math/math.h: Likewise.
59090 * sysdeps/generic/_G_config.h: Likewise.
59091 * sysdeps/gnu/_G_config.h: Likewise.
59092 * sysdeps/mach/hurd/_G_config.h: Likewise.
59093 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59094 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59095 * sysdeps/sparc/bits/mathdef.h: Likewise.
59096
59097 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59098
59099 [BZ #13583]
59100 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59101 Clean up HAS_* macros.
59102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59103 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59104 possible.
59105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59106 HAS_AVX.
59107 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59108 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59109 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59110 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59111 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59112
59113 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59114
59115 * elf/tst-unique3.cc (gets): Remove declaration.
59116 * elf/tst-unique3lib.cc (gets): Likewise.
59117 * elf/tst-unique3lib2.cc (gets): Likewise.
59118 * elf/tst-unique4.cc (gets): Likewise.
59119
59120 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59121
59122 * include/stdio.h: Add C++ protection. Add gets declarations and
59123 definitions.
59124 * debug/tst-chk1.c: Don't declare gets here.
59125 * stdio-common/tst-gets.c: Likewise.
59126
59127 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59128
59129 * posix/glob: Remove directory.
59130
59131 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59132
59133 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59134
59135 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59136
59137 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59138 of the non-standard EPFNOSUPPORT.
59139
59140 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59141
59142 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59143 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59144 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59145
59146 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59147
59148 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59149
59150 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59151
59152 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59153 transient errors.
59154 * nscd/grpcache.c (cache_addgr): Likewise.
59155 * nscd/hstcache.c (cache_addhst): Likewise.
59156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59157 * nscd/pwdcache.c (cache_addpw): Likewise.
59158 * nscd/servicescache.c (cache_addserv): Likewise.
59159
59160 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59161
59162 * malloc/malloc.c: Various cleanups.
59163 * malloc/hooks.c: Likewise.
59164
59165 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59166 * stdlib/bug-fmtmsg1.c: New file.
59167
59168 * stdlib/fmtmsg.c (init): Add missing unlock.
59169 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59170
59171 2012-01-12 Marek Polacek <polacek@redhat.com>
59172
59173 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59174 and _GNU_SOURCE.
59175
59176 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59177
59178 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59179 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59180 macro to ensure uniqueness of label name.
59181 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59182 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59183
59184 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59185
59186 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59187
59188 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59189 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59190 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59192
59193 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59194
59195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59196
59197 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59198 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59199 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59200
59201 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59202
59203 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59204 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59205 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59207
59208 * math/bits/math-finite.h: Add ldexp support.
59209
59210 2012-01-10 Marek Polacek <polacek@redhat.com>
59211
59212 * locale/programs/localedef.h (show_archive_content): Add noreturn
59213 attribute.
59214
59215 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59216
59217 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59218
59219 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59220
59221 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59222
59223 * io/Makefile (headers): Add bits/poll2.h.
59224
59225 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59226
59227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59228 typo #include statement.
59229
59230 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59231
59232 * include/sys/cdefs.h: Define __attribute_alloc_size.
59233 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59234 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59235 * elf/pldd.c: Likewise.
59236 * iconv/iconv_charmap.c: Likewise.
59237 * iconv/iconvconfig.c: Likewise.
59238 * iconv/strtab.c: Likewise.
59239 * locale/programs/locale.c: Likewise.
59240 * locale/programs/localedef.h: Likewise.
59241 * locale/programs/simple-hash.c: Likewise.
59242 * nscd/nscd.h: Likewise.
59243 * nss/makedb.c: Likewise.
59244 * sysdeps/generic/ldconfig.h: Likewise.
59245 * locale/programs/localedef.c: Remove xmalloc prototype.
59246 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59247
59248 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59249
59250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59251 appropriate.
59252
59253 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59254
59255 * math/Makefile (tests): Add tst-CMPLX.
59256 * math/tst-CMPLX.c: New file.
59257
59258 * math/complex.h (CMPLXL): Fix typo.
59259
59260 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59261 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59262 GLIBC_2.16.
59263 * debug/tst-chk1.c: Add poll and ppoll tests.
59264 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59265 * include/sys/poll.h: Add hidden proto for ppoll.
59266 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59267 * sysdeps/mach/hurd/ppoll.c: Likewise.
59268 * io/ppoll.c: Likewise.
59269 * debug/poll_chk.c: New file.
59270 * debug/ppoll_chk.c: New file.
59271 * include/bits/poll2.h: New file.
59272 * io/bits/poll2.h: New file.
59273
59274 [BZ #1350]
59275 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59276
59277 * configure.in: static is always set to yes. Remove.
59278 * config.make.in: Don't set build-static.
59279 * Makeconfig: Remove use of build-static.
59280 * dlfcn/Makefile: Likewise.
59281 * elf/Makefile: Likewise.
59282 * math/Makefile: Likewise.
59283 * misc/Makefile: Likewise.
59284 * nptl/Makefile: Likewise.
59285 * sysdeps/mach/hurd/Makefile: Likewise.
59286
59287 * configure.in: PWD_P is not used anymore.
59288 * config.make.in: Remove PWD_P entry.
59289
59290 * configure.in: Remove last remnants of RANLIB.
59291 No need to check for signed size_t anymore.
59292 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59293 and IA-64.
59294 Remove __builtin_expect test because we require at least gcc 3.4.
59295 * aclocal.m4: Likewise.
59296
59297 * wcsmbs/mbrtoc16.c: Implement using towc function.
59298 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59299 * wcsmbs/wcsmbsload.c: Likewise.
59300 * iconv/gconv_simple.c: Likewise.
59301 * iconv/gconv_int.h: Likewise.
59302 * iconv/gconv_builtin.h: Likewise.
59303 * iconv/iconv_prog.c: Remove CHAR16 handling.
59304
59305 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59306
59307 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59308
59309 * configure.in: Remove --with-elf and --enable-bounded options.
59310 Dont set base_machine for ia64. More non-ELF conditions removed.
59311 Remove testing and setting of leading underscore information.
59312 * config.make.in (build-bounded): Set to no.
59313 * config.h.in: Remove NO_UNDERSCORES entry.
59314 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59315 them.
59316 * csu/start.c: Remove !NO_UNDERSCORE code.
59317 * locale/localeinfo.h: Likewise.
59318 * sysdeps/generic/machine-gmon.h: Likewise.
59319 * sysdeps/generic/sysdep.h: Likewise.
59320 * sysdeps/i386/sysdep.h: Likewise.
59321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59322 * sysdeps/mach/sysdep.h: Likewise.
59323 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59325 * sysdeps/sh/sysdep.h: Likewise.
59326 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59327 * sysdeps/unix/i386/sysdep.S: Likewise.
59328 * sysdeps/unix/sparc/start.c: Likewise.
59329 * sysdeps/unix/sparc/sysdep.S: Likewise.
59330 * sysdeps/unix/sparc/sysdep.h: Likewise.
59331 * sysdeps/unix/start.c: Likewise.
59332 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59333 * sysdeps/x86_64/sysdep.h: Likewise.
59334
59335 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59336
59337 [BZ #13553]
59338 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59339 for non-gcc.
59340 * argp/argp-fmtstream.h: Use const instead __const.
59341 * argp/argp.h: Likewise.
59342 * assert/assert.h: Likewise.
59343 * bits/fenv.h: Likewise.
59344 * bits/sched.h: Likewise.
59345 * bits/sigset.h: Likewise.
59346 * bits/sigthread.h: Likewise.
59347 * catgets/nl_types.h: Likewise.
59348 * conform/data/pthread.h-data: Likewise.
59349 * crypt/crypt-private.h: Likewise.
59350 * crypt/crypt.h: Likewise.
59351 * crypt/crypt_util.c: Likewise.
59352 * ctype/ctype.h: Likewise.
59353 * debug/execinfo.h: Likewise.
59354 * debug/mbsnrtowcs_chk.c: Likewise.
59355 * debug/mbsrtowcs_chk.c: Likewise.
59356 * debug/wcsnrtombs_chk.c: Likewise.
59357 * debug/wcsrtombs_chk.c: Likewise.
59358 * debug/wcstombs_chk.c: Likewise.
59359 * dirent/dirent.h: Likewise.
59360 * dlfcn/dlfcn.h: Likewise.
59361 * elf/neededtest4.c: Likewise.
59362 * grp/grp.h: Likewise.
59363 * gshadow/gshadow.h: Likewise.
59364 * iconv/gconv.h: Likewise.
59365 * iconv/gconv_int.h: Likewise.
59366 * iconv/gconv_simple.c: Likewise.
59367 * iconv/iconv.h: Likewise.
59368 * iconv/loop.c: Likewise.
59369 * iconv/skeleton.c: Likewise.
59370 * include/aio.h: Likewise.
59371 * include/aliases.h: Likewise.
59372 * include/argz.h: Likewise.
59373 * include/arpa/inet.h: Likewise.
59374 * include/assert.h: Likewise.
59375 * include/dirent.h: Likewise.
59376 * include/dlfcn.h: Likewise.
59377 * include/execinfo.h: Likewise.
59378 * include/fcntl.h: Likewise.
59379 * include/fenv.h: Likewise.
59380 * include/glob.h: Likewise.
59381 * include/grp.h: Likewise.
59382 * include/libintl.h: Likewise.
59383 * include/mntent.h: Likewise.
59384 * include/netdb.h: Likewise.
59385 * include/pwd.h: Likewise.
59386 * include/rpc/netdb.h: Likewise.
59387 * include/sched.h: Likewise.
59388 * include/search.h: Likewise.
59389 * include/shadow.h: Likewise.
59390 * include/signal.h: Likewise.
59391 * include/stdio.h: Likewise.
59392 * include/stdlib.h: Likewise.
59393 * include/string.h: Likewise.
59394 * include/sys/socket.h: Likewise.
59395 * include/sys/stat.h: Likewise.
59396 * include/sys/statfs.h: Likewise.
59397 * include/sys/statvfs.h: Likewise.
59398 * include/sys/syslog.h: Likewise.
59399 * include/sys/time.h: Likewise.
59400 * include/sys/uio.h: Likewise.
59401 * include/time.h: Likewise.
59402 * include/unistd.h: Likewise.
59403 * include/utmp.h: Likewise.
59404 * include/wchar.h: Likewise.
59405 * include/wctype.h: Likewise.
59406 * inet/aliases.h: Likewise.
59407 * inet/arpa/inet.h: Likewise.
59408 * inet/netinet/ether.h: Likewise.
59409 * inet/netinet/in.h: Likewise.
59410 * intl/libintl.h: Likewise.
59411 * io/bits/fcntl2.h: Likewise.
59412 * io/fcntl.h: Likewise.
59413 * io/ftw.h: Likewise.
59414 * io/sys/poll.h: Likewise.
59415 * io/sys/stat.h: Likewise.
59416 * io/sys/statfs.h: Likewise.
59417 * io/sys/statvfs.h: Likewise.
59418 * io/utime.h: Likewise.
59419 * libio/bits/stdio.h: Likewise.
59420 * libio/bits/stdio2.h: Likewise.
59421 * libio/libio.h: Likewise.
59422 * libio/libioP.h: Likewise.
59423 * libio/stdio.h: Likewise.
59424 * locale/lc-ctype.c: Likewise.
59425 * locale/locale.h: Likewise.
59426 * login/utmp.h: Likewise.
59427 * malloc/arena.c: Likewise.
59428 * malloc/malloc.c: Likewise.
59429 * malloc/malloc.h: Likewise.
59430 * malloc/mcheck.c: Likewise.
59431 * malloc/mtrace.c: Likewise.
59432 * math/bits/mathcalls.h: Likewise.
59433 * math/fenv.h: Likewise.
59434 * math/math_private.h: Likewise.
59435 * misc/bits/error.h: Likewise.
59436 * misc/bits/syslog.h: Likewise.
59437 * misc/err.h: Likewise.
59438 * misc/error.h: Likewise.
59439 * misc/fstab.h: Likewise.
59440 * misc/mntent.h: Likewise.
59441 * misc/regexp.h: Likewise.
59442 * misc/search.h: Likewise.
59443 * misc/sgtty.h: Likewise.
59444 * misc/sys/mman.h: Likewise.
59445 * misc/sys/syslog.h: Likewise.
59446 * misc/sys/uio.h: Likewise.
59447 * misc/sys/xattr.h: Likewise.
59448 * misc/ttyent.h: Likewise.
59449 * nis/rpcsvc/ypclnt.h: Likewise.
59450 * nss/nss.h: Likewise.
59451 * posix/bits/unistd.h: Likewise.
59452 * posix/fnmatch.h: Likewise.
59453 * posix/glob.h: Likewise.
59454 * posix/sched.h: Likewise.
59455 * posix/spawn.h: Likewise.
59456 * posix/sys/wait.h: Likewise.
59457 * posix/unistd.h: Likewise.
59458 * posix/wordexp.h: Likewise.
59459 * pwd/pwd.h: Likewise.
59460 * resolv/netdb.h: Likewise.
59461 * resource/sys/resource.h: Likewise.
59462 * rt/aio.h: Likewise.
59463 * rt/bits/mqueue2.h: Likewise.
59464 * rt/mqueue.h: Likewise.
59465 * shadow/shadow.h: Likewise.
59466 * signal/signal.h: Likewise.
59467 * socket/send.c: Likewise.
59468 * socket/sendto.c: Likewise.
59469 * socket/sys/socket.h: Likewise.
59470 * stdio-common/printf.h: Likewise.
59471 * stdlib/bits/stdlib.h: Likewise.
59472 * stdlib/fmtmsg.h: Likewise.
59473 * stdlib/monetary.h: Likewise.
59474 * stdlib/stdlib.h: Likewise.
59475 * stdlib/ucontext.h: Likewise.
59476 * streams/stropts.h: Likewise.
59477 * string/argz.h: Likewise.
59478 * string/bits/string2.h: Likewise.
59479 * string/string.h: Likewise.
59480 * string/strings.h: Likewise.
59481 * sunrpc/rpc/auth.h: Likewise.
59482 * sunrpc/rpc/auth_des.h: Likewise.
59483 * sunrpc/rpc/clnt.h: Likewise.
59484 * sunrpc/rpc/netdb.h: Likewise.
59485 * sunrpc/rpc/pmap_clnt.h: Likewise.
59486 * sunrpc/rpc/xdr.h: Likewise.
59487 * sysdeps/generic/inttypes.h: Likewise.
59488 * sysdeps/generic/net/if.h: Likewise.
59489 * sysdeps/generic/sys/swap.h: Likewise.
59490 * sysdeps/gnu/net/if.h: Likewise.
59491 * sysdeps/gnu/utmpx.h: Likewise.
59492 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59493 * sysdeps/i386/i486/bits/string.h: Likewise.
59494 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59495 * sysdeps/s390/bits/string.h: Likewise.
59496 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59497 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59498 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59499 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59500 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59501 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59502 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59503 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59504 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59505 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59506 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59507 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59508 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59509 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59510 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59511 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59512 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59517 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59518 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59519 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59520 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59521 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59522 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59523 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59524 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59525 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59526 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59527 * sysvipc/sys/ipc.h: Likewise.
59528 * sysvipc/sys/msg.h: Likewise.
59529 * sysvipc/sys/sem.h: Likewise.
59530 * sysvipc/sys/shm.h: Likewise.
59531 * termios/termios.h: Likewise.
59532 * time/sys/time.h: Likewise.
59533 * time/time.h: Likewise.
59534 * wcsmbs/bits/wchar2.h: Likewise.
59535 * wcsmbs/uchar.h: Likewise.
59536 * wcsmbs/wchar.h: Likewise.
59537 * wctype/wctype.h: Likewise.
59538
59539 [BZ #13551]
59540 * Makeconfig: Remove all but ELF support including AIX support.
59541 * Makerules: Likewise.
59542 * config.h.in: Likewise.
59543 * config.make.in: Likewise.
59544 * configure: Likewise.
59545 * configure.in: Likewise.
59546 * csu/Makefile: Likewise.
59547 * csu/version.c: Likewise.
59548 * debug/Makefile: Likewise.
59549 * dlfcn/Makefile: Likewise.
59550 * elf/Makefile: Likewise.
59551 * extra-lib.mk: Likewise.
59552 * iconv/Makefile: Likewise.
59553 * include/libc-symbols.h: Likewise.
59554 * include/shlib-compat.h: Likewise.
59555 * resolv/Makefile: Likewise.
59556 * resolv/res_libc.c: Likewise.
59557 * rt/Makefile: Likewise.
59558 * sysdeps/i386/asm-syntax.h: Likewise.
59559 * sysdeps/i386/sysdep.h: Likewise.
59560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59561 * sysdeps/mach/sysdep.h: Likewise.
59562 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59563 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59564 * sysdeps/s390/asm-syntax.h: Likewise.
59565 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59566 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59567 * sysdeps/sh/sysdep.h: Likewise.
59568 * sysdeps/unix/sparc/sysdep.h: Likewise.
59569 * sysdeps/wordsize-32/divdi3.c: Likewise.
59570 * sysdeps/x86_64/sysdep.h: Likewise.
59571
59572 * argp/Versions: Remove _argp_unlock_xxx.
59573
59574 [BZ #13559]
59575 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59576 * abilist/libBrokenLocale.abilist: Likewise.
59577 * abilist/libanl.abilist: Likewise.
59578 * abilist/libc.abilist: Likewise.
59579 * abilist/libcrypt.abilist: Likewise.
59580 * abilist/libdl.abilist: Likewise.
59581 * abilist/libm.abilist: Likewise.
59582 * abilist/libnsl.abilist: Likewise.
59583 * abilist/libpthread.abilist: Likewise.
59584 * abilist/libresolv.abilist: Likewise.
59585 * abilist/librt.abilist: Likewise.
59586 * abilist/libthread_db.abilist: Likewise.
59587 * abilist/libutil.abilist: Likewise.
59588 * abilist/libnss_db.abilist: New file.
59589
59590 * scripts/abilist.awk: Add support for indirect functions.
59591
59592 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59593
59594 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59595
59596 * shlib-versions: Remove entries for ports architectures.
59597
59598 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59599 files in ports.
59600 * elf/stackguard-macros.h: Remove support for IA-64.
59601 * elf/tst-auditmod1.c: Likewise.
59602 * sysdeps/generic/ldsodefs.h: Likewise.
59603
59604 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59605 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59606 configure files.
59607
59608 [BZ #13552]
59609 * configure.in: Remove --enable-omitfp support.
59610 * FAQ.in: Adjust.
59611 * config.make.in: Likewise.
59612 * Makeconfig: Likewise.
59613 * manual/install.texi: Likewise.
59614
59615 In case anyone cares, the IA-64 architecture could move to ports.
59616 * sysdeps/ia64/*: Removed.
59617 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59618 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59619
59620 [BZ #13555]
59621 * configure.in: Remove entries for unsupported architectures.
59622
59623 [BZ #13533]
59624 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59625 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59626 routines.
59627 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59628 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59629 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59630 fall back to using wcrtomb.
59631 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59632 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59633 renaming.
59634 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59635 * wcsmbs/tst-c16c32-1.c: New file.
59636
59637 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59638 local variable.
59639
59640 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59641
59642 * elf/tst-unique3.cc: Add explicit declaration of gets.
59643 * elf/tst-unique3lib.cc: Likewise.
59644 * elf/tst-unique3lib2.cc: Likewise.
59645 * elf/tst-unique4.cc: Likewise.
59646
59647 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59648
59649 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59650
59651 [BZ #13566]
59652 * assert/assert.h (static_assert): Don't define for C++.
59653 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59654 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59655
59656 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59657
59658 * iconv/loop.c (single loop): Fix assertion in storing of
59659 remaining bytes.
59660
59661 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59662
59663 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59664
59665 * posix/getconf.c: Update copyright year.
59666 * nss/getent.c: Likewise.
59667 * nss/makedb.c: Likewise.
59668 * iconv/iconvconfig.c: Likewise.
59669 * iconv/iconv_prog.c: Likewise.
59670 * elf/ldconfig.c: Likewise.
59671 * elf/pldd.c: Likewise.
59672 * elf/sotruss.ksh: Likewise.
59673 * catgets/gencat.c: Likewise.
59674 * csu/version.c: Likewise.
59675 * elf/ldd.bash.in: Likewise.
59676 * elf/sprof.c (print_version): Likewise.
59677 * locale/programs/locale.c: Likewise.
59678 * locale/programs/localedef.c: Likewise.
59679 * login/programs/pt_chown.c: Likewise.
59680 * nscd/nscd.c (print_version): Likewise.
59681 * debug/xtrace.sh: Likewise.
59682 * malloc/memusage.sh: Likewise.
59683 * malloc/mtrace.pl: Likewise.
59684 * debug/catchsegv.sh: Likewise.
59685
59686 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59687
59688 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59689 pure attribute.
59690
59691 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59692
59693 [BZ #13533]
59694 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59695 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59696 transformations.
59697 * iconv/gconv_int.h: Likewise.
59698 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59699 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59700 from libc for GLIBC_2.16.
59701 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59702 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59703 * wcsmbs/uchar.h: Really define mbstate_t.
59704 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59705 * wcsmbs/c16rtomb.c: New file.
59706 * wcsmbs/mbrtoc16.c: New file.
59707 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59708 for C/POSIX locale.
59709 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59710 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59711
59712 * wcsmbs/wchar.h: Add missing __restrict.
59713
59714 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59715
59716 [BZ #13532]
59717 * time/Makefile (routines): Add timespec_get.
59718 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59719 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59720 timespec for ISO C11.
59721 * time/timespec_get.c: New file.
59722 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59723 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59724
59725 [BZ #13531]
59726 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59727 * stdlib/stdlib.h: Declare aligned_alloc.
59728 * Versions.def: Add GLIBC_2.16 for libc.
59729 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59730
59731 [BZ 13527]
59732 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59733 ISO C11.
59734
59735 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59736 code.
59737
59738 [BZ #13528]
59739 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59740
59741 [BZ #13529]
59742 * assert/assert.h (static_assert): Define.
59743
59744 * version.h: Update for 2.16 development version.
59745
59746 [BZ #13526]
59747 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59748 _ISOC11_SOURCE.
59749
59750 * version.h (RELEASE): Bump for 2.15 release.
59751 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59752
59753 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59754 Patch by Marek Polacek <mpolacek@redhat.com>.
59755
59756 * bits/byteswap.h: Protect long long constants with __extension__.
59757 * sysdeps/i386/bits/byteswap.h: Likewise.
59758 * sysdeps/ia64/bits/byteswap.h: Likewise.
59759 * sysdeps/s390/bits/byteswap.h: Likewise.
59760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59761
59762 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59763
59764 [BZ #13540]
59765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59766 destination buffer.
59767 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59768
59769 2011-12-23 Marek Polacek <polacek@redhat.com>
59770
59771 * elf/dl-addr.c (determine_info): Add inline keyword.
59772 * elf/tst-auditmod4b.c (check_avx): Likewise.
59773 * elf/tst-auditmod6b.c (check_avx): Likewise.
59774 * elf/tst-auditmod6c.c (check_avx): Likewise.
59775 * elf/tst-auditmod7b.c (check_avx): Likewise.
59776
59777 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59778
59779 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59780 !__SSE_MATH__.
59781
59782 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59783
59784 [BZ #13540]
59785 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59786 processing for last bytes.
59787
59788 2011-08-06 Bruno Haible <bruno@clisp.org>
59789
59790 [BZ #13061]
59791 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59792 U+0385, not to U+1FEE.
59793
59794 [BZ #13062]
59795 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59796 entry for U+00A5 U+0301.
59797
59798 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59799
59800 [BZ #13166]
59801 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59802 buffer for the output is too small.
59803
59804 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59805 optimization.
59806
59807 [BZ #13185]
59808 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59809 SSE flags if possible.
59810
59811 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59812
59813 [BZ #13540]
59814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59815 processing for last bytes.
59816
59817 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59818
59819 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59820 (syscall-list-default-options, syscall-list-default-condition)
59821 (syscall-list-includes): Define.
59822 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59823 list of ABIs and options and #if conditions for each ABI. Do not
59824 handle common syscalls between ABIs specially.
59825 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59826 Remove.
59827 (syscall-list-variants, syscall-list-32bit-options)
59828 (syscall-list-32bit-condition, syscall-list-64bit-options)
59829 (syscall-list-64bit-condition): Define.
59830 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/Makefile (64bit-predefine):
59835 Remove.
59836 (syscall-list-variants, syscall-list-32bit-options)
59837 (syscall-list-32bit-condition, syscall-list-64bit-options)
59838 (syscall-list-64bit-condition): Define.
59839 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59840 Remove.
59841 (syscall-list-variants, syscall-list-32bit-options)
59842 (syscall-list-32bit-condition, syscall-list-64bit-options)
59843 (syscall-list-64bit-condition): Define.
59844
59845 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59846
59847 * locale/iso-639.def: Add brx entry.
59848
59849 [BZ #13328]
59850 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59851 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59852
59853 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59854 __feraiseexcept_renamed.
59855
59856 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59857
59858 [BZ #13538]
59859 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59860 EPOLLET with unsigned values.
59861 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59863
59864 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59865 to large cancellation.
59866 * math/s_cacoshf.c: Likewise.
59867 * math/s_cacoshl.c: Likewise.
59868
59869 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59870
59871 [BZ #13305]
59872 [BZ #12786]
59873 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59874 * math/s_cacoshf.c: Likewise.
59875 * math/s_cacoshl.c: Likewise.
59876
59877 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59878
59879 [BZ #13439]
59880 * iconv/gconv.h: Define __GCONV_SWAP.
59881 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59882 * iconvdata/utf-16.c: Likewise.
59883 * iconvdata/utf-32.c: Likewise.
59884
59885 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59886
59887 [BZ #13524]
59888 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59889 numerator after shifting it by one limb.
59890
59891 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59892
59893 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59894 under [__USE_EXTERN_INLINES].
59895
59896 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59897
59898 [BZ #13446]
59899 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59900
59901 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59902
59903 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59904 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59905 optimized code.
59906 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59907 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59908 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59909 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59910 for strncasecmp/strncasecmp_l compilation.
59911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59912 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59913
59914 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59915
59916 [BZ #13484]
59917 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59918 of __asm__.
59919
59920 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59921
59922 [BZ #13506]
59923 * time/tzfile.c (__tzfile_read): Check values from file header.
59924
59925 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59926
59927 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59928 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59929 * powerpc/powerpc32/dl-start.S: Likewise.
59930 * powerpc/powerpc32/elf/start.S: Likewise.
59931 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59932 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59933 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59934 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59935 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59936 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59937 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59938 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59939 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59940 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59941 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59942 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59943 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59944 * powerpc/powerpc32/memset.S: Likewise.
59945 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59946 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59947 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59948 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59949 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59950 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59951 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59952 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59953 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59954 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59955 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59956 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59957 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59958
59959 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59960
59961 * math/libm-test.inc: Added more nearbyint tests.
59962 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59963 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59964 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59965 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59966
59967 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59968
59969 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59970 FD_CLOEXEC.
59971
59972 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59973
59974 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59975 Add wcscpy-ssse3 wcscpy-c.
59976 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59977 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59978 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59979 * sysdeps/x86_64/wcschr.S: New file.
59980 * sysdeps/x86_64/wcsrchr.S: New file.
59981 * string/test-strcmp.c: Remove checking of wcscmp function for
59982 wrong alignments.
59983 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59984 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59985 wcsrchr-sse2 wcsrchr-c.
59986 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59987 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59988 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59989 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59990 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59991 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59992 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59993 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59994 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59995 * wcsmbc/wcschr.c (WCSCHR): New macro.
59996
59997 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59998
59999 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60000 * wcsmbs/test-wcsrchr.c: New file.
60001 * string/test-strrchr.c: Add wcsrchr support.
60002 (WIDE): New macro.
60003 * wcsmbs/test-wcscpy.c: New file.
60004 * string/test-strcpy.c: Add wcscpy support.
60005 (WIDE): New macro.
60006
60007 2011-12-10 Ulrich Drepper <drepper@gmail.com>
60008
60009 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60010 the inner loop.
60011
60012 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
60013
60014 [BZ #13472]
60015 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60016
60017 2011-12-04 Ulrich Drepper <drepper@gmail.com>
60018
60019 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60020 Minor optimizations.
60021
60022 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60023 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60024 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60025
60026 2011-12-03 Ulrich Drepper <drepper@gmail.com>
60027
60028 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60029 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60030 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60031 for gcc to avoid warnings.
60032 * inet/Makefile (tests): Add tst-checks.
60033 * inet/tst-checks.c: New file.
60034
60035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60036 warning.
60037
60038 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60039 __wmemcmp_sse2.
60040
60041 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60042 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60043
60044 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60045
60046 2011-12-02 Ulrich Drepper <drepper@gmail.com>
60047
60048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60049 problem.
60050
60051 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60052
60053 2011-11-29 Joseph Myers <joseph@codesourcery.com>
60054
60055 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60056 conditional on GCC version.
60057 (__arch_compare_and_exchange_val_8_acq)
60058 (__arch_compare_and_exchange_val_16_acq)
60059 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60060 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60061 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60062
60063 2011-12-02 Joseph Myers <joseph@codesourcery.com>
60064
60065 * sysdeps/sh/backtrace.c: New file.
60066
60067 2011-12-02 Andreas Schwab <schwab@redhat.com>
60068
60069 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
60070 parenthesis.
60071
60072 2011-12-01 Andreas Schwab <schwab@redhat.com>
60073
60074 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60075 falling back to utime.
60076
60077 2011-11-30 Andreas Schwab <schwab@redhat.com>
60078
60079 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60080 expectations for float.
60081
60082 2011-11-29 Andreas Schwab <schwab@redhat.com>
60083
60084 * locale/weight.h (findidx): Add parameter len.
60085 * locale/weightwc.h (findidx): Likewise.
60086 * posix/fnmatch_loop.c (FCT): Adjust caller.
60087 * posix/regcomp.c (build_equiv_class): Likewise.
60088 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60089 * posix/regexec.c (check_node_accept_bytes): Likewise.
60090 * string/strcoll_l.c (STRCOLL): Likewise.
60091 * string/strxfrm_l.c (STRXFRM): Likewise.
60092
60093 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60094
60095 * Makefile.in: Remove CVSOPT handling.
60096 * configure.in: Remove use of AC_REVISION.
60097 * iconvdata/Makefile (distribute): No need to filter out CVS.
60098 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60099 handling.
60100
60101 2011-11-16 Andreas Schwab <schwab@redhat.com>
60102
60103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60104 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60105 [USE_AS_STRNCASECMP_L]: Likewise.
60106 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60107 NO_TLS_DIRECT_SEG_REFS.
60108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60109 Fix argument offsets for non-PIC.
60110 [USE_AS_STRNCASECMP_L]: Likewise.
60111 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60112 NO_TLS_DIRECT_SEG_REFS.
60113
60114 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60115
60116 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60117 O_CLOEXEC.
60118 * locale/loadlocale.c (_nl_load_locale): Likewise.
60119
60120 2011-11-15 Andreas Schwab <schwab@redhat.com>
60121
60122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60123 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60124 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60125 (SYSCALL_GETTIME): Set errno on error.
60126
60127 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60128 count references to noai6ai_cached.
60129
60130 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60131
60132 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60133
60134 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60135 FD_CLOEXEC for /proc/self/maps.
60136
60137 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60138 FD_CLOEXEC for /proc/meminfo.
60139
60140 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60141 gai.conf.
60142
60143 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60144 FD_CLOEXEC for given file.
60145
60146 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60147
60148 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60149 FD_CLOEXEC for /etc/hosts.
60150 (_gethtent): Likewise.
60151
60152 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60153
60154 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60155 cancellation and set FD_CLOEXEC for /etc/netgroup.
60156
60157 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60158 reading /etc/publickey.
60159
60160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60161 allow cancellation when reading /etc/group.
60162
60163 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60164 cancellation.
60165 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60166
60167 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60168 when using data file.
60169
60170 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60171
60172 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60173 (write_nis_obj): Use "c" and "e" in fopen.
60174
60175 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60176
60177 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60178
60179 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60180
60181 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60182
60183 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60184 locale.alias.
60185
60186 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60187
60188 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60189
60190 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60191
60192 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60193 file parsing and set FD_CLOEXEC.
60194
60195 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60196
60197 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60198
60199 2011-11-14 Andreas Schwab <schwab@redhat.com>
60200
60201 * malloc/arena.c (arena_get2): Don't call reused_arena when
60202 _int_new_arena failed.
60203
60204 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60205
60206 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60207 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60209 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60210 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60211 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60212 to compile strcasecmp and strncasecmp.
60213 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60214 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60215
60216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60217
60218 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60219
60220 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60221 locale-defines.sym to gen-as-const-headers.
60222 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60223 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60225 to compile strcasecmp and strncasecmp.
60226 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60227 strcasecmp_l and strncasecmp_l.
60228 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60229 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60230 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60231 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60232 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60233 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60234 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60235 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60236 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60237 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60238 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60239
60240 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60241
60242 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60243 result of SYSDEP_GETTIME_CPU to retval.
60244 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60245 parameter list to macro. Remove trailing semicolon. Adjust users.
60246
60247 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60248 variable.
60249
60250 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60251 mantissa words.
60252 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60253
60254 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60255 from unused variable.
60256
60257 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60258 DWARF definitions.
60259 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60260 for assembling.
60261
60262 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60263 over namespaces.
60264
60265 * sunrpc/rpc_prot.c (rejected): Fix case value.
60266
60267 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60268 unsigned long long int to avoid warnings in shift.
60269
60270 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60271 of use of trans.
60272 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60273 variable tmp.
60274
60275 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60276 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60277 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60278
60279 * nis/nis_table.c (nis_list): Use variable of correct type for
60280 result of __follow_path call.
60281
60282 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60283
60284 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60285 of math functions ceil, trunc, floor, round, and sqrt, when
60286 avaliable on the platform.
60287 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60288 name clash.
60289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60290 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60291 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60292
60293 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60294
60295 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60296 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60297
60298 2011-11-11 Roland McGrath <roland@hack.frob.com>
60299
60300 * include/unistd.h: Fix __readlink return type.
60301 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60302
60303 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60304
60305 * stdlib/ucontext.h: Undo last change for makecontext.
60306
60307 2011-11-11 Andreas Schwab <schwab@redhat.com>
60308
60309 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60310
60311 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60312 * setjmp/setjmp.h: Mark functions as non-leaf.
60313 * setjmp/bits/setjmp2.h: Likewise.
60314 * stdlib/ucontext.h: Likewise.
60315
60316 2011-11-10 Andreas Schwab <schwab@redhat.com>
60317
60318 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60319 (reused_arena): Don't check arena limit.
60320 (arena_get2): Atomically check arena limit.
60321
60322 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60323
60324 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60325 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60326
60327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60328 instructions.
60329
60330 2011-11-07 Andreas Schwab <schwab@redhat.com>
60331
60332 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60333 handler when locking.
60334
60335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60336 Fix size of allocated buffer.
60337
60338 2011-11-04 Andreas Schwab <schwab@redhat.com>
60339
60340 [BZ #10103]
60341 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60342 declarations for long double functions.
60343 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60344
60345 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60346
60347 2011-11-03 Andreas Schwab <schwab@redhat.com>
60348
60349 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60350 installed.
60351
60352 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60353 is disabled.
60354
60355 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60356
60357 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60358
60359 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60360
60361 * include/alloca.h (stackinfo_alloca_round): Define.
60362 (extend_alloca): Use it.
60363 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60364 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60365 here.
60366
60367 * scripts/check-local-headers.sh: Ignore libaudit.h.
60368
60369 * nscd/Makefile (extra-objs): Make recursively expanded.
60370
60371 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60372
60373 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60374 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60375
60376 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60377 * posix/tst-rfc3484-2.c: Likewise.
60378 * posix/tst-rfc3484-3.c: Likewise.
60379
60380 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60381 process_vm_writev.
60382 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60383 process_vm_writev.
60384 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60385 process_vm_writev from libc using GLIBC_2.15 version.
60386
60387 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60388
60389 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60390
60391 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60392 stack usage.
60393
60394 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60395
60396 [BZ #13367]
60397 * nss/getent.c (initgroups_keys): Show error message in case no group
60398 names are given.
60399
60400 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60401 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60402 __bump_nl_timestamp.
60403 * nscd/connections (nscd_init): When host database is served open
60404 netlink socket and request notification about configuration changes.
60405 (main_loop_poll): Track netlink file descriptor and bump timestamp
60406 in case data becomes available.
60407 (main_loop_epoll): Likewise.
60408 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60409 (database_pers_head): Add extra_data fileds.
60410 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60411 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60412 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60413 Adjust caller.
60414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60415 in6ai data, call __free_in6ai.
60416 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60417 Add -DHAVE_NETLINK.
60418 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60419 interface information. Reuse previous data if netlink timestamp
60420 is not changed.
60421 (__bump_nl_timestamp): New function.
60422 (__free_in6ai): New function.
60423
60424 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60425
60426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60427 close_not_cancel_no_status here.
60428 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60429
60430 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60431
60432 [BZ #13276]
60433 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60434 return value.
60435
60436 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60437 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60438 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60439
60440 2011-07-03 Andreas Jaeger <aj@suse.de>
60441
60442 [BZ #10709]
60443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60444 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60445 * math/libm-test.inc (sin_test): Add test case.
60446
60447 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60448
60449 [BZ #13337]
60450 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60451 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60452
60453 * elf/chroot_canon.c (chroot_canon): Cleanups.
60454
60455 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60456
60457 [BZ #13335]
60458 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60460
60461 * string/test-strchr.c: Make usable for strchrnul testing.
60462 * string/test-strchrnul.c: New file.
60463 * string/Makefile (strop-tests): Add strchrnul.
60464
60465 * po/it.po: Update from translation team.
60466 * po/es.po: Likewise.
60467
60468 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60469
60470 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60471 the three constants needed as parameters. Drop the others.
60472 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60473 __m128i_strloadu_tolower.
60474 Create and initialize variable zero and use it in all the places
60475 where _mm_setzero_si128 was used.
60476
60477 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60478 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60479 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60481 anymore.
60482 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60483 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60484 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60485 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60486 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60487 __mpranred, __mptan.
60488 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60489 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60490 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60491 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60492 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60493 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60495 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60496 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60497
60498 2011-10-28 Andreas Schwab <schwab@redhat.com>
60499
60500 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60501 redefine if SHARED.
60502 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60503
60504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60505 wide char related routines to wcsmbs subdir.
60506
60507 2011-10-27 Andreas Schwab <schwab@redhat.com>
60508
60509 [BZ #13344]
60510 * misc/sys/cdefs.h (__THROWNL): Define.
60511 * posix/unistd.h: Use __THREADNL instead of __THREAD
60512 for memory synchronization functions.
60513
60514 2011-10-26 Roland McGrath <roland@hack.frob.com>
60515
60516 [BZ #13349]
60517 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60518 doesn't exist.
60519 * manual/stdio.texi (Obstack Streams): Node removed.
60520
60521 2011-10-26 Andreas Schwab <schwab@redhat.com>
60522
60523 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60524 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60526
60527 * math/math_private.h (math_force_eval): Allow non-addressable
60528 arguments.
60529 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60530
60531 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60532
60533 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60534 file is not needed.
60535
60536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60543 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60544 Add AVX variants.
60545 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60546 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60547 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60548 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60549 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60550 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60551 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60552 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60553 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60554 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60555 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60556 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60557 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60558 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60559 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60560 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60561 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60562 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60563 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60564
60565 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60566 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60567
60568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60569 place. Use VEX encoding when compiling for AVX.
60570
60571 2011-10-25 Andreas Schwab <schwab@redhat.com>
60572
60573 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60574 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60575
60576 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60577
60578 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60579
60580 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60581 useless if() expression.
60582 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60583 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60586 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60587 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60590 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60593 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60595 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60600 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60601
60602 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60603
60604 2011-10-25 Andreas Schwab <schwab@redhat.com>
60605
60606 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60607 condition.
60608 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60609
60610 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60611
60612 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60613 .text section. Avoid duplicate constants.
60614 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60616 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60622 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60623 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60624 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60625 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60626 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60627 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60628 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60630 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60631 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60632 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60634 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60635 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60636 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60637 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60638 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60639 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60640 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60641 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60642 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60643 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60644 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60645 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60646 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60647 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60648 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60649 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60650 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60651 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60652 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60653 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60655 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60656 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60657 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60658 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60659
60660 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60661
60662 * sysdeps/x86_64/dla.h: Move to ...
60663 * sysdeps/x86_64/fpu/dla.h: ...here.
60664 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60665 situations. Use __builtin_fma only for gcc 4.6 and up.
60666
60667 * config.make.in: Add have-mfma4 entry.
60668 * configure.in: Substitute libc_cv_cc_fma4.
60669 * math/Makefile (dbl-only-routines): Add sincostab.
60670 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60671 Use __sincostab not sincos.
60672 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60673 name is a macro.
60674 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60678 using __copysign.
60679 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60680 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60681 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60682 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60683 and __inv.
60684 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60685 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60686 __copysign.
60687 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60688 define aliases when function name is a macro.
60689 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60690 sysdeps/ieee754/dbl-64/sincos.tbl.
60691 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60692 fma4-enabled routines.
60693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60694 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60695 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60696 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60697 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60698 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60700 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60703 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60704 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60705 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60706 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60707 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60708 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60709 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60710 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60711 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60712 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60713 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60714 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60715 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60716 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60718 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60720 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60721 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60722 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60723
60724 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60725 rename.
60726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60734
60735 2011-10-24 Andreas Schwab <schwab@redhat.com>
60736
60737 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60738
60739 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60740
60741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60742
60743 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60744 prediction.
60745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60746
60747 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60748 Remove unused variable magic_bits.
60749 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60750
60751 * string/strnlen.c: Define and use STRNLEN macro.
60752 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60753 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60754 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60755 * wcsmbs/wcslen.c: Define and use WCSLEN.
60756 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60757 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60758 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60759 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60760 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60761 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60762 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60763
60764 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60765
60766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60767 strnlen-sse2-no-bsf.
60768 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60770 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60771 Add strnlen support.
60772 (USE_AS_STRNLEN): New macro.
60773 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60775 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60776 * sysdeps/x86_64/wcslen.S: New file.
60777
60778 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60779
60780 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60781 XMM-moves are used for copying on small sizes.
60782
60783 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60784
60785 * wcsmbs/Makefile (strop-tests): Add wcschr.
60786 * wcsmbs/test-wcschr.c: New file.
60787 * string/test-strchr.c: Update.
60788 Add wcschr support.
60789 (WIDE): New macro.
60790
60791 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60792
60793 * wcsmbs/Makefile (strop-tests): Add wcslen.
60794 * wcsmbs/test-wcslen.c: New file.
60795 * string/test-strlen.c: Update.
60796 Add wcslen support.
60797 (WIDE): New macro.
60798
60799 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60800
60801 * po/it.po: Update from translation team.
60802
60803 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60804
60805 * sysdeps/x86_64/wcscmp.S: Update.
60806 Fix wrong comparison semantics.
60807 wcscmp shall use signed comparison not unsigned.
60808 Don't use substraction to avoid overflow bug.
60809 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60810 * wcsmbc/wcscmp.c: Likewise.
60811 * string/test-strcmp.c: Likewise.
60812 Add new tests to check cases with negative values.
60813
60814 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60815
60816 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60817 * sysdeps/x86_64/dla.h: ...here. New file.
60818 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60827
60828 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60829
60830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60831 __ynl_finite aliases.
60832
60833 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60834
60835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60836
60837 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60838 define DLA_FMA.
60839 [DLA_FMA] (EMULV): Use DLA_FMA.
60840 [DLA_FMA] (MUL12): Use EMULV.
60841 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60842 that are not needed.
60843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60850
60851 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60852
60853 * math/s_nan.c: Undef __nan.
60854 * math/s_nanf.c: Undef __nanf.
60855 * math/s_nanl.c: Undef __nanl.
60856 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60857 "math_private.h".
60858
60859 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60860
60861 * math/s_catan.c: Add branch predictions.
60862 * math/s_catanf.c: Likewise.
60863 * math/s_catanh.c: Likewise.
60864 * math/s_catanhf.c: Likewise.
60865 * math/s_catanhl.c: Likewise.
60866 * math/s_catanl.c: Likewise.
60867 * math/s_cexp.c: Likewise.
60868 * math/s_cexpf.c: Likewise.
60869 * math/s_cexpl.c: Likewise.
60870 * math/s_clog.c: Likewise.
60871 * math/s_clog10.c: Likewise.
60872 * math/s_clog10f.c: Likewise.
60873 * math/s_clog10l.c: Likewise.
60874 * math/s_clogf.c: Likewise.
60875 * math/s_clogl.c: Likewise.
60876 * math/s_csqrt.c: Likewise.
60877 * math/s_csqrtf.c: Likewise.
60878 * math/s_csqrtl.c: Likewise.
60879 * math/s_ctanf.c: Likewise.
60880 * math/s_ctanh.c: Likewise.
60881 * math/s_ctanhf.c: Likewise.
60882 * math/s_ctanhl.c: Likewise.
60883 * math/s_ctanl.c: Likewise.
60884
60885 * math/math_private.h: Define __nan, __nanf, __nanl.
60886 * math/s_cacosh.c: Include <math_private.h>.
60887 * math/s_cacoshl.c: Likewise.
60888 * math/s_casinh.c: Likewise.
60889 * math/s_casinhf.c: Likewise.
60890 * math/s_casinhl.c: Likewise.
60891 * math/s_ccos.c: Rely entire on ccosh.
60892 * math/s_ccosf.c: Rely entire on ccoshf.
60893 * math/s_ccosl.c: Rely entirely on ccoshl.
60894 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60895 Remove tests for FE_INVALID.
60896 * math/s_ccoshf.c: Likewise.
60897 * math/s_ccoshl.c: Likewise.
60898 * math/s_csin.c: Likewise.
60899 * math/s_csinf.c: Likewise.
60900 * math/s_csinh.c Likewise.
60901 * math/s_csinhf.c: Likewise.
60902 * math/s_csinhl.c: Likewise.
60903 * math/s_csinl.c: Likewise.
60904 * math/s_ctan.c: Likewise.
60905 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60906 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60907 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60908
60909 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60910
60911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60912 compilation problems.
60913
60914 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60915 __builtin_expect.
60916
60917 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60918
60919 * sysdeps/i386/configure.in: Test for -mfma4 option.
60920 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60921 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60922 COMMON_CPUID_INDEX_80000001.
60923 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60924 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60925 use it if FMA3 is not supported.
60926 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60927
60928 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60929 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60930
60931 2011-10-20 Andreas Schwab <schwab@redhat.com>
60932
60933 [BZ #12892]
60934 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60935 it would create a cycle with a link time dependency.
60936
60937 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60938
60939 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60940 instruction.
60941 * string/Makefile (strop-tests): Add rawmemchr.
60942 * string/test-rawmemchr.c: New file.
60943
60944 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60946 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60947 when compiling str{,n}casecmp and when AVX is available. Hook up
60948 new optimized code in initializers.
60949
60950 2011-10-19 Andreas Schwab <schwab@redhat.com>
60951
60952 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60953 __feraiseexcept instead of feraiseexcept.
60954
60955 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60956
60957 * math/math_private.h: Define defaults for libc_fetestexcept and
60958 libc_feupdateenv.
60959 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60960 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60961 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60962 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60964 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60965 libc_fetestexcept and libc_feupdateenv.
60966
60967 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60968 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60969 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60970 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60971 libc_feholdexcept_setround.
60972
60973 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60974 Add s_nearbyint-c and s_nearbyintf-c.
60975 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60976 nearbyintf inlines.
60977 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60978 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60979 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60980 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60981
60982 * math/math_private.h: Define defaults for libc_fegetround,
60983 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60984 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60985 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60987 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60988 standard functions.
60989 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60990 Remove comments and hacks for old compiler versions.
60991 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60992 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60993 libc_feholdexceptl.
60994
60995 2011-10-18 Andreas Schwab <schwab@redhat.com>
60996
60997 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60998 (__feraiseexcept_renamed): Add __NTH.
60999 (feraiseexcept): Add __NTH. Rename local variables to fix
61000 namespace violations.
61001
61002 2011-10-17 Ulrich Drepper <drepper@gmail.com>
61003
61004 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61005
61006 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61007
61008 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61009 recently added interfaces.
61010 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61011
61012 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61013 about macro parameter expansion.
61014
61015 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61016 __NO_MATH_INLINES is defined. Cleanups.
61017
61018 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61019 and __floorf is target has SSE4.1.
61020 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61021 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61022 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61023 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61024
61025 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61026 name.
61027 (floorf): Likewise.
61028
61029 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61030
61031 2011-10-17 Andreas Schwab <schwab@redhat.com>
61032
61033 * misc/sys/cdefs.h: Fix last change.
61034
61035 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61036 database lookup.
61037
61038 2011-10-16 Ulrich Drepper <drepper@gmail.com>
61039
61040 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61041
61042 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61044 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61047 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61048 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61049 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61050 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61051 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61052 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61053 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61054 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61055 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61056 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61057 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61058 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61059 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61060 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61061 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61062 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61063 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61064
61065 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61066 ceil, ceilf, floor, floorf.
61067
61068 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61069 Perform IRELATIVE relocations last.
61070
61071 * elf/do-rel.h: Add another parameter nrelative, replacing the
61072 local variable with the same name. Change name of the function
61073 to end in Rel or Rela (uppercase).
61074 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61075 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61076 elf_dynamic_do_##reloc function.
61077
61078 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61079
61080 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61081 is sufficient, at least on modern CPUs.
61082
61083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61084
61085 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61087
61088 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61089 __expl_finite.
61090 * math/bits/math-finite.h: Add entries for exp.
61091 * math/e_expl.c: Add __*_finite alias.
61092 * sysdeps/i386/fpu/e_exp.S: Likewise.
61093 * sysdeps/i386/fpu/e_expf.S: Likewise.
61094 * sysdeps/i386/fpu/e_expl.c: Likewise.
61095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61096 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61097 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61099 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61100 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61101 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61102
61103 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61104 is sufficient, at least on modern CPUs.
61105
61106 * ctype/ctype-info.c (__ctype_init): Define.
61107 * include/ctype.h (__ctype_init): Declare.
61108 (__ctype_b_loc): The variable is always initialized.
61109 (__ctype_toupper_loc): Likewise.
61110 (__ctype_tolower_loc): Likewise.
61111 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61112 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61113
61114 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61115
61116 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61117
61118 * configure.in: Also look in $cxxmachine/include for C++ system
61119 headers.
61120
61121 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61122
61123 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61124 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61125 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61126 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61127 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61128 (USE_AS_WMEMCMP): New macro.
61129 Fixing indents.
61130 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61131 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61132 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61133 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61135 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61136 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61137 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61138 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61139 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61140 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61141 (USE_AS_WMEMCMP): New macro.
61142 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61143 * sysdeps/string/test-memcmp.c: Update.
61144 Fix simple_wmemcmp.
61145 Add new tests.
61146 * wcsmbs/wmemcmp.c: Update.
61147 (WMEMCMP): New macro.
61148 Fix overflow bug.
61149
61150 2011-10-12 Andreas Jaeger <aj@suse.de>
61151
61152 [BZ #13268]
61153 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61154
61155 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61156
61157 * libio/iofwide.c (do_length): Avoid warning.
61158
61159 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61160
61161 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61162
61163 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61164
61165 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61166 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61167 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61168 * sysdeps/i386/i686/fpu/e_log.S: New file.
61169 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61170 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61171
61172 * ctype/ctype.h: Add support for inlined isXXX functions when
61173 compiling C++ code.
61174
61175 2011-10-14 Andreas Schwab <schwab@redhat.com>
61176
61177 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61178
61179 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61180
61181 2011-10-13 Roland McGrath <roland@hack.frob.com>
61182
61183 [BZ #13291]
61184 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61185
61186 2011-10-13 Andreas Schwab <schwab@redhat.com>
61187
61188 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61189 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61190 feraiseexcept.
61191
61192 * sysdeps/x86_64/memrchr.S: Check for zero size.
61193
61194 * string/stratcliff.c: Add memrchr tests.
61195
61196 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61197
61198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61199 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61200 rawmemchr-sse2 rawmemchr-sse2-bsf.
61201 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61202 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61203 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61204 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61205 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61206 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61207 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61208 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61209 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61210 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61211 * string/memrchr.c (MEMRCHR): New macro.
61212
61213 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61214
61215 Add integration with gcc's -ffinite-math-only and optimize wrapper
61216 functions in libm.
61217 * Versions.def: Define GLIBC_2.15 version for libm.
61218 * math/Makefile (headers): Add bits/math-finite.h.
61219 * math/bits/math-finite.h: New file.
61220 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61221 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61222 * math/e_acoshl.c: Add __*_finite alias.
61223 * math/e_acosl.c: Likewise.
61224 * math/e_asinl.c: Likewise.
61225 * math/e_atan2l.c: Likewise.
61226 * math/e_atanhl.c: Likewise.
61227 * math/e_coshl.c: Likewise.
61228 * math/e_exp10.c: Likewise.
61229 * math/e_exp10f.c: Likewise.
61230 * math/e_exp10l.c: Likewise.
61231 * math/e_exp2l.c: Likewise.
61232 * math/e_fmodl.c: Likewise.
61233 * math/e_gammal_r.c: Likewise.
61234 * math/e_hypotl.c: Likewise.
61235 * math/e_j0l.c: Likewise.
61236 * math/e_j1l.c: Likewise.
61237 * math/e_jnl.c: Likewise.
61238 * math/e_lgammal_r.c: Likewise.
61239 * math/e_log10l.c: Likewise.
61240 * math/e_log2l.c: Likewise.
61241 * math/e_logl.c: Likewise.
61242 * math/e_powl.c: Likewise.
61243 * math/e_sinhl.c: Likewise.
61244 * math/e_sqrtl.c: Likewise.
61245 * math/e_scalb.c: Completely rewritten and optimized.
61246 * math/e_scalbf.c: Likewise.
61247 * math/e_scalbl.c: Likewise.
61248 * math/w_acos.c: Likewise.
61249 * math/w_acosf.c: Likewise.
61250 * math/w_acosl.c: Likewise.
61251 * math/w_acosh.c: Likewise.
61252 * math/w_acoshf.c: Likewise.
61253 * math/w_acoshl.c: Likewise.
61254 * math/w_asin.c: Likewise.
61255 * math/w_asinf.c: Likewise.
61256 * math/w_asinl.c: Likewise.
61257 * math/w_atan2.c: Likewise.
61258 * math/w_atan2f.c: Likewise.
61259 * math/w_atan2l.c: Likewise.
61260 * math/w_atanh.c: Likewise.
61261 * math/w_atanhf.c: Likewise.
61262 * math/w_atanhl.c: Likewise.
61263 * math/w_exp10.c: Likewise.
61264 * math/w_exp10f.c: Likewise.
61265 * math/w_exp10l.c: Likewise.
61266 * math/w_fmod.c: Likewise.
61267 * math/w_fmodf.c: Likewise.
61268 * math/w_fmodl.c: Likewise.
61269 * math/w_j0.c: Likewise.
61270 * math/w_j0f.c: Likewise.
61271 * math/w_j0l.c: Likewise.
61272 * math/w_j1.c: Likewise.
61273 * math/w_j1f.c: Likewise.
61274 * math/w_j1l.c: Likewise.
61275 * math/w_jn.c: Likewise.
61276 * math/w_jnf.c: Likewise.
61277 * math/w_log.c: Likewise.
61278 * math/w_logf.c: Likewise.
61279 * math/w_logl.c: Likewise.
61280 * math/w_log10.c: Likewise.
61281 * math/w_log10f.c: Likewise.
61282 * math/w_log10l.c: Likewise.
61283 * math/w_log2.c: Likewise.
61284 * math/w_log2f.c: Likewise.
61285 * math/w_log2l.c: Likewise.
61286 * math/w_pow.c: Likewise.
61287 * math/w_powf.c: Likewise.
61288 * math/w_powl.c: Likewise.
61289 * math/w_remainder.c: Likewise.
61290 * math/w_remainderf.c: Likewise.
61291 * math/w_remainderl.c: Likewise.
61292 * math/w_scalb.c: Likewise.
61293 * math/w_scalbf.c: Likewise.
61294 * math/w_scalbl.c: Likewise.
61295 * math/w_sqrt.c: Likewise.
61296 * math/w_sqrtf.c: Likewise.
61297 * math/w_sqrtl.c: Likewise.
61298 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61299 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61300 used.
61301 * math/math_private.h: Declare __kernel_standard_f.
61302 * math/w_cosh.c: Remove cruft and optimize a bit.
61303 * math/w_coshf.c: Likewise.
61304 * math/w_coshl.c: Likewise.
61305 * math/w_exp2.c: Likewise.
61306 * math/w_exp2f.c: Likewise.
61307 * math/w_exp2l.c: Likewise.
61308 * math/w_hypot.c: Likewise.
61309 * math/w_hypotf.c: Likewise.
61310 * math/w_hypotl.c: Likewise.
61311 * math/w_lgamma.c: Likewise.
61312 * math/w_lgamma_r.c: Likewise.
61313 * math/w_lgammaf.c: Likewise.
61314 * math/w_lgammaf_r.c: Likewise.
61315 * math/w_lgammal.c: Likewise.
61316 * math/w_lgammal_r.c: Likewise.
61317 * math/w_sinh.c: Likewise.
61318 * math/w_sinhf.c: Likewise.
61319 * math/w_sinhl.c: Likewise.
61320 * math/w_tgamma.c: Likewise.
61321 * math/w_tgammaf.c: Likewise.
61322 * math/w_tgammal.c: Likewise.
61323 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61325 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61326 Minor optimizations. Pretty printing. Remove cruft.
61327 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61330 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61331 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61332 * sysdeps/i386/fpu/e_asin.S: Likewise.
61333 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61334 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61335 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61336 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61337 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61338 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61339 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61340 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61341 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61342 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61343 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61344 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61345 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61346 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61347 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61348 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61349 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61350 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61351 * sysdeps/i386/fpu/e_log.S: Likewise.
61352 * sysdeps/i386/fpu/e_log10.S: Likewise.
61353 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61354 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61355 * sysdeps/i386/fpu/e_log2.S: Likewise.
61356 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61357 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61358 * sysdeps/i386/fpu/e_logf.S: Likewise.
61359 * sysdeps/i386/fpu/e_logl.S: Likewise.
61360 * sysdeps/i386/fpu/e_pow.S: Likewise.
61361 * sysdeps/i386/fpu/e_powf.S: Likewise.
61362 * sysdeps/i386/fpu/e_powl.S: Likewise.
61363 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61364 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61365 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61367 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61368 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61369 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61370 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61371 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61372 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61375 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61376 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61377 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61378 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61379 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61380 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61381 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61382 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61383 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61385 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61386 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61388 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61389 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61392 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61393 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61394 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61396 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61397 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61398 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61399 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61400 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61401 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61402 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61403 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61404 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61405 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61406 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61407 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61408 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61409 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61410 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61411 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61412 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61413 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61414 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61415 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61416 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61417 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61418 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61419 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61420 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61421 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61422 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61423 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61424 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61425 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61426 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61427 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61428 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61429 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61430 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61431 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61432 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61440 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61443 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61446 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61448 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61449 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61450 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61451 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61452 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61453 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61455 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61456 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61457 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61458 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61459 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61460 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61461 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61462 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61463 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61464 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61465 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61466 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61467 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61468 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61469 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61470 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61471 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61472 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61473 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61474 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61475 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61476 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61477 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61478 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61479 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61480 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61482 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61483 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61484 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61485 (__isnanf): Likewise.
61486 (__isinf_ns): Likewise.
61487 (__isinf_nsf): Likewise.
61488 (__finite): Likewise.
61489 (__finitef): Likewise.
61490 (__ieee754_sqrt): Define as macro.
61491 (__ieee754_sqrtf): Define as macro.
61492 (__ieee754_sqrtl): Define as macro.
61493 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61494 inlined copy.
61495 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61496 __FINITE_MATH_ONLY__ consistent.
61497 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61498
61499 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61500
61501 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61502 of rawmemchr.
61503
61504 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61505
61506 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61507
61508 * po/ja.po: Update from translation team.
61509
61510 2011-10-08 Roland McGrath <roland@hack.frob.com>
61511
61512 * locale/programs/locarchive.c (prepare_address_space): New function.
61513 (create_archive, enlarge_archive, open_archive): Use it.
61514
61515 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61516 inside [SHARED], where it is used.
61517
61518 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61519
61520 * nss/getent.c (netgroup_keys): Remove unused variable.
61521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61522
61523 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61524
61525 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61526 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61528 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61529 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61530 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61531 * math/Makefile (libm-calls): Add s_isinf_ns.
61532 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61533 * math/multc3.c: Likewise.
61534 * math/s_casin.c: Likewise.
61535 * math/s_casinf.c: Likewise.
61536 * math/s_casinl.c: Likewise.
61537 * math/s_ccos.c: Likewise.
61538 * math/s_ccosf.c: Likewise.
61539 * math/s_ccosl.c: Likewise.
61540 * math/s_ctan.c: Likewise.
61541 * math/s_ctanf.c: Likewise.
61542 * math/s_ctanh.c: Likewise.
61543 * math/s_ctanhf.c: Likewise.
61544 * math/s_ctanhl.c: Likewise.
61545 * math/s_ctanl.c: Likewise.
61546 * math/w_fmod.c: Likewise.
61547 * math/w_fmodf.c: Likewise.
61548 * math/w_fmodl.c: Likewise.
61549 * math/w_remainder.c: Likewise.
61550 * math/w_remainderf.c: Likewise.
61551 * math/w_remainderl.c: Likewise.
61552 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61553 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61554 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61556 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61557 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61558 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61559 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61560
61561 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61562 of the number.
61563 * stdio-common/printf_fphex.c: Likewise.
61564 * stdio-common/printf_size.c: Likewise.
61565
61566 * math/e_exp10.c: Include math_private.h using <...> not "...".
61567 * math/e_exp10f.c: Likewise.
61568 * math/e_exp10l.c: Likewise.
61569 * math/e_exp2l.c: Likewise.
61570 * math/e_j0l.c: Likewise.
61571 * math/e_j1l.c: Likewise.
61572 * math/e_jnl.c: Likewise.
61573 * math/e_lgammal_r.c: Likewise.
61574 * math/e_rem_pio2l.c: Likewise.
61575 * math/e_scalb.c: Likewise.
61576 * math/e_scalbf.c: Likewise.
61577 * math/e_scalbl.c: Likewise.
61578 * math/k_cosl.c: Likewise.
61579 * math/k_sinl.c: Likewise.
61580 * math/k_tanl.c: Likewise.
61581 * math/s_cacoshf.c: Likewise.
61582 * math/s_catan.c: Likewise.
61583 * math/s_catanf.c: Likewise.
61584 * math/s_catanh.c: Likewise.
61585 * math/s_catanhf.c: Likewise.
61586 * math/s_catanhl.c: Likewise.
61587 * math/s_catanl.c: Likewise.
61588 * math/s_ccosh.c: Likewise.
61589 * math/s_ccoshf.c: Likewise.
61590 * math/s_ccoshl.c: Likewise.
61591 * math/s_cexp.c: Likewise.
61592 * math/s_cexpf.c: Likewise.
61593 * math/s_cexpl.c: Likewise.
61594 * math/s_clog.c: Likewise.
61595 * math/s_clog10.c: Likewise.
61596 * math/s_clog10f.c: Likewise.
61597 * math/s_clog10l.c: Likewise.
61598 * math/s_clogf.c: Likewise.
61599 * math/s_clogl.c: Likewise.
61600 * math/s_csin.c: Likewise.
61601 * math/s_csinf.c: Likewise.
61602 * math/s_csinh.c: Likewise.
61603 * math/s_csinhf.c: Likewise.
61604 * math/s_csinhl.c: Likewise.
61605 * math/s_csinl.c: Likewise.
61606 * math/s_csqrt.c: Likewise.
61607 * math/s_csqrtf.c: Likewise.
61608 * math/s_csqrtl.c: Likewise.
61609 * math/s_ctan.c: Likewise.
61610 * math/s_ctanf.c: Likewise.
61611 * math/s_ctanh.c: Likewise.
61612 * math/s_ctanhf.c: Likewise.
61613 * math/s_ctanhl.c: Likewise.
61614 * math/s_ctanl.c: Likewise.
61615 * math/s_ldexp.c: Likewise.
61616 * math/s_ldexpf.c: Likewise.
61617 * math/s_ldexpl.c: Likewise.
61618 * math/s_significand.c: Likewise.
61619 * math/s_significandf.c: Likewise.
61620 * math/s_significandl.c: Likewise.
61621 * math/w_acos.c: Likewise.
61622 * math/w_acosf.c: Likewise.
61623 * math/w_acosh.c: Likewise.
61624 * math/w_acoshf.c: Likewise.
61625 * math/w_acoshl.c: Likewise.
61626 * math/w_acosl.c: Likewise.
61627 * math/w_asin.c: Likewise.
61628 * math/w_asinf.c: Likewise.
61629 * math/w_asinl.c: Likewise.
61630 * math/w_atan2.c: Likewise.
61631 * math/w_atan2f.c: Likewise.
61632 * math/w_atan2l.c: Likewise.
61633 * math/w_atanh.c: Likewise.
61634 * math/w_atanhf.c: Likewise.
61635 * math/w_atanhl.c: Likewise.
61636 * math/w_cosh.c: Likewise.
61637 * math/w_coshf.c: Likewise.
61638 * math/w_coshl.c: Likewise.
61639 * math/w_dremf.c: Likewise.
61640 * math/w_exp10.c: Likewise.
61641 * math/w_exp10f.c: Likewise.
61642 * math/w_exp10l.c: Likewise.
61643 * math/w_exp2.c: Likewise.
61644 * math/w_exp2f.c: Likewise.
61645 * math/w_fmod.c: Likewise.
61646 * math/w_fmodf.c: Likewise.
61647 * math/w_fmodl.c: Likewise.
61648 * math/w_hypot.c: Likewise.
61649 * math/w_hypotf.c: Likewise.
61650 * math/w_hypotl.c: Likewise.
61651 * math/w_j0.c: Likewise.
61652 * math/w_j0f.c: Likewise.
61653 * math/w_j0l.c: Likewise.
61654 * math/w_j1.c: Likewise.
61655 * math/w_j1f.c: Likewise.
61656 * math/w_j1l.c: Likewise.
61657 * math/w_jn.c: Likewise.
61658 * math/w_jnf.c: Likewise.
61659 * math/w_jnl.c: Likewise.
61660 * math/w_lgamma.c: Likewise.
61661 * math/w_lgamma_r.c: Likewise.
61662 * math/w_lgammaf.c: Likewise.
61663 * math/w_lgammaf_r.c: Likewise.
61664 * math/w_lgammal.c: Likewise.
61665 * math/w_lgammal_r.c: Likewise.
61666 * math/w_log.c: Likewise.
61667 * math/w_log10.c: Likewise.
61668 * math/w_log10f.c: Likewise.
61669 * math/w_log10l.c: Likewise.
61670 * math/w_log2.c: Likewise.
61671 * math/w_log2f.c: Likewise.
61672 * math/w_log2l.c: Likewise.
61673 * math/w_logf.c: Likewise.
61674 * math/w_logl.c: Likewise.
61675 * math/w_pow.c: Likewise.
61676 * math/w_powf.c: Likewise.
61677 * math/w_powl.c: Likewise.
61678 * math/w_remainder.c: Likewise.
61679 * math/w_remainderf.c: Likewise.
61680 * math/w_remainderl.c: Likewise.
61681 * math/w_scalb.c: Likewise.
61682 * math/w_scalbf.c: Likewise.
61683 * math/w_scalbl.c: Likewise.
61684 * math/w_sinh.c: Likewise.
61685 * math/w_sinhf.c: Likewise.
61686 * math/w_sinhl.c: Likewise.
61687 * math/w_sqrt.c: Likewise.
61688 * math/w_sqrtf.c: Likewise.
61689 * math/w_sqrtl.c: Likewise.
61690 * math/w_tgamma.c: Likewise.
61691 * math/w_tgammaf.c: Likewise.
61692 * math/w_tgammal.c: Likewise.
61693
61694 * po/ja.po: Update from translation team.
61695
61696 2011-09-29 Andreas Jaeger <aj@suse.de>
61697
61698 [BZ #13179]
61699 * sunrpc/netname.c (netname2host): Fix logic.
61700
61701 [BZ #6779]
61702 [BZ #6783]
61703 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61704 correctly.
61705 * math/w_remainder.c (__remainder): Likewise.
61706 * math/w_remainderf.c (__remainderf): Likewise.
61707 * math/libm-test.inc (remainder_test): Add test cases.
61708
61709 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61710
61711 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61712 sdiv_qrnnd.
61713
61714 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61715
61716 * string/test-memcmp.c: Avoid unncessary #defines.
61717 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61718
61719 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61720
61721 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61722 Use new sse2 version for core i3 - i7 as it's faster
61723 than sse42 version.
61724 (bit_Prefer_PMINUB_for_stringop): New.
61725 * sysdeps/x86_64/rawmemchr.S: Update.
61726 Replace with faster SSE2 version.
61727 * sysdeps/x86_64/memrchr.S: New file.
61728 * sysdeps/x86_64/memchr.S: Update.
61729 Replace with faster SSE2 version.
61730
61731 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61732
61733 * elf/dl-load.c (lose): Add cast to avoid warning.
61734
61735 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61736
61737 * po/ca.po: Update from translation team.
61738
61739 * inet/getnetgrent_r.c: Hook up nscd.
61740 * nscd/Makefile (routines): Add nscd_netgroup.
61741 (nscd-modules): Add netgroupcache.
61742 (CFLAGS-netgroupcache.c): Define.
61743 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61744 (cache_search): Add const to second parameter.
61745 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61746 INNETGR.
61747 (dbs): Add netgrdb entry.
61748 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61749 (verify_persistent_db): Handle netgrdb.
61750 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61751 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61752 GETFDNETGR.
61753 (netgroup_response_header): Define.
61754 (innetgroup_response_header): Define.
61755 (datahead): Add netgroup_response_header and innetgroup_response_header
61756 elements.
61757 * nscd/nscd.conf: Add entries for netgroup cache.
61758 * nscd/nscd.h (dbtype): Add netgrdb.
61759 (_PATH_NSCD_NETGROUP_DB): Define.
61760 (netgroup_iov_disabled): Declare.
61761 (xmalloc, xcalloc, xrealloc): Move declarations here.
61762 (cache_search): Adjust prototype.
61763 Add netgroup-related prototypes.
61764 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61765 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61766 (__nscd_innetgr): Declare.
61767 * nscd/selinux.c (perms): Use access_vector_t as element type and
61768 add netgroup-related initializers.
61769 * nscd/netgroupcache.c: New file.
61770 * nscd/nscd_netgroup.c: New file.
61771 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61772 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61773 For four parameters use innetgr.
61774 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61775 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61776 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61777 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61778
61779 * nscd/connections.c (register_traced_file): Don't register file
61780 for disabled databases.
61781
61782 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61783
61784 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61785
61786 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61787 from tree and freeing node.
61788
61789 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61790
61791 * nss/nsswitch.c (__nss_database_lookup): Handle
61792 nss_parse_service_list out of memory case.
61793
61794 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61795
61796 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61797 out of memory case.
61798
61799 2011-10-04 Andreas Schwab <schwab@redhat.com>
61800
61801 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61802 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61803 pass it down.
61804 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61805 elf_machine_rela, elf_machine_lazy_rel.
61806 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61807 (ELF_DYNAMIC_DO_REL): Likewise.
61808 (ELF_DYNAMIC_DO_RELA): Likewise.
61809 (ELF_DYNAMIC_RELOCATE): Likewise.
61810 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61811 to ELF_DYNAMIC_DO_REL.
61812 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61813 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61814 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61815 elf_machine_rela.
61816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61817 skip_ifunc, don't call ifunc function if non-zero.
61818 (elf_machine_rela): Likewise.
61819 (elf_machine_lazy_rel): Likewise.
61820 (elf_machine_lazy_rela): Likewise.
61821 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61822 (elf_machine_lazy_rel): Likewise.
61823 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61824 Likewise.
61825 (elf_machine_lazy_rel): Likewise.
61826 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61827 Likewise.
61828 (elf_machine_lazy_rel): Likewise.
61829 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61830 (elf_machine_lazy_rel): Likewise.
61831 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61832 (elf_machine_lazy_rel): Likewise.
61833 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61834 (elf_machine_lazy_rel): Likewise.
61835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61836 (elf_machine_lazy_rel): Likewise.
61837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61838 (elf_machine_lazy_rel): Likewise.
61839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61840 (elf_machine_lazy_rel): Likewise.
61841
61842 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61843
61844 * nss/nss_files/files-init.c (_nss_files_init): Use static
61845 initialization for all the *_traced_file variables.
61846
61847 2011-09-28 Andreas Schwab <schwab@redhat.com>
61848
61849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61850
61851 2011-09-27 Roland McGrath <roland@hack.frob.com>
61852
61853 [BZ #13226]
61854 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61855
61856 2011-09-27 Andreas Schwab <schwab@redhat.com>
61857
61858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61859 Reread the line before reparsing it.
61860
61861 2011-09-26 Andreas Schwab <schwab@redhat.com>
61862
61863 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61864
61865 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61866 Maxim Kuvyrkov <maxim@codesourcery.com>
61867 Joseph Myers <joseph@codesourcery.com>
61868
61869 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61870 if needed for __stack_chk_guard.
61871
61872 2011-09-19 Roland McGrath <roland@hack.frob.com>
61873
61874 * sysdeps/posix/spawni.c (script_execute): Always define it.
61875 It will be optimized away if unused.
61876 (maybe_script_execute): New function.
61877 (__spawni): Call it.
61878
61879 * Makerules: Don't include tls.make.
61880 (config-tls): Always set to thread.
61881 * tls.make.c: File removed.
61882
61883 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61884
61885 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61886 * config.make.in (CPPFLAGS-config): New substituted variable.
61887
61888 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61889
61890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61891
61892 [BZ #13192]
61893 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61894 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61895
61896 2011-09-15 Roland McGrath <roland@hack.frob.com>
61897
61898 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61899 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61901 (CALL_FAIL): Likewise.
61902 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61903 (CALL_FAIL): Macro removed.
61904 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61905
61906 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61907
61908 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61909 for __FINITE_MATH_ONLY__ == 1.
61910
61911 2011-09-15 Andreas Schwab <schwab@redhat.com>
61912
61913 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61914 __ieee754_sqrt instead of sqrt.
61915 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61916 __ieee754_sqrtf instead of sqrtf.
61917 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61918 __floorf instead of floorf.
61919 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61920 __floorf, __truncf instead of floorf, truncf.
61921
61922 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61923
61924 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61925
61926 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61927 __extern_always_inline.
61928 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61929 32-bit.
61930
61931 2011-09-14 Andreas Schwab <schwab@redhat.com>
61932
61933 * elf/rtld.c (dl_main): Also relocate in dependency order when
61934 doing symbol dependency testing.
61935
61936 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61937
61938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61939 Always define `refsym'.
61940
61941 2011-09-13 Andreas Schwab <schwab@redhat.com>
61942
61943 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61944 (__FD_ELT): Renamed from __FDELT.
61945 * misc/bits/select2.h (__FD_ELT): Likewise.
61946 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61947 __FD_MASK instead of __FDELT, __FDMASK.
61948 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61949 Likewise.
61950 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61951 Likewise.
61952
61953 * elf/Makefile (gen-ldd): Fix pattern.
61954
61955 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61956 (init_tls): Likewise.
61957
61958 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61959
61960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61961
61962 2011-09-12 Andreas Schwab <schwab@redhat.com>
61963
61964 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61965 `struct cmsghdr *' instead of `void *'.
61966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61967 Likewise.
61968
61969 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61970
61971 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61972 if non-absolute.
61973 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61974 ldd_rewrite_script.
61975
61976 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61977
61978 * configure.in: Remove --with-tls option.
61979 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61980 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61981 out in case it is missing.
61982 * sysdeps/ia64/elf/configure.in: Likewise.
61983 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61984 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61985 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61986 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61987 * sysdeps/sh/elf/configure.in: Likewise.
61988 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61990 * sysdeps/x86_64/elf/configure.in: Likewise.
61991 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61992 * sysdeps/mach/hurd/tls.h: Likewise.
61993
61994 [BZ #13067]
61995 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61996
61997 [BZ #13090]
61998 * configure.in: Fix use of AC_INIT.
61999
62000 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62001
62002 2011-09-10 Ulrich Drepper <drepper@gmail.com>
62003
62004 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62005 __set_errno.
62006 * malloc/hooks.c: Likewise.
62007
62008 [BZ #11929]
62009 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
62010 variables statically.
62011 (narenas): Initialize.
62012 (list_lock): Initialize.
62013 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
62014 initializtion of main_arena and list_lock. Small cleanups.
62015 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62016 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
62017 Add initializers to main_arena and mp_.
62018 (malloc_state): Remove pagesize member. Change all users to use
62019 GLRO(dl_pagesize).
62020
62021 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62022 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
62023 is always initialized.
62024
62025 * malloc/malloc.c: Removed unused configurations and dead code.
62026 * malloc/arena.c: Likewise.
62027 * malloc/hooks.c: Likewise.
62028 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62029
62030 * include/tls.h: Removed. USE___THREAD must always be defined.
62031 * bits/libc-tsd.h: Don't handle !USE___THREAD.
62032 * elf/dl-libc.c: Likewise.
62033 * elf/dl-tsd.c: Likewise.
62034 * include/errno.h: Likewise.
62035 * include/netdb.h: Likewise.
62036 * include/resolv.h: Likewise.
62037 * inet/herrno-loc.c: Likewise.
62038 * inet/herrno.c: Likewise.
62039 * malloc/arena.c: Likewise.
62040 * malloc/hooks.c: Likewise.
62041 * malloc/malloc.c: Likewise.
62042 * resolv/res-state.c: Likewise.
62043 * resolv/res_libc.c: Likewise.
62044 * sysdeps/i386/dl-machine.h: Likewise.
62045 * sysdeps/ia64/dl-machine.h: Likewise.
62046 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62047 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62048 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62049 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62050 * sysdeps/sh/dl-machine.h: Likewise.
62051 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62052 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62053 * sysdeps/unix/i386/sysdep.S: Likewise.
62054 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62055 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62060 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
62065 * sysdeps/x86_64/dl-machine.h: Likewise.
62066 * tls.make.c: Likewise.
62067
62068 * configure.in: Remove --with-__thread option. Make tests for
62069 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62070 tls_model attribute fail if no support is available. Remove
62071 USE_IN_LIBIO.
62072 * Makeconfig: Adjust for dropped configure option. All features are
62073 now mandatory.
62074 * Makerules: Likewise.
62075 * Versions.def: Likewise.
62076 * argp/argp-fmtstream.c: Likewise.
62077 * argp/argp-fmtstream.h: Likewise.
62078 * argp/argp-help.c: Likewise.
62079 * assert/assert.c: Likewise.
62080 * config.h.in: Likewise.
62081 * config.make.in: Likewise.
62082 * configure: Likewise.
62083 * configure.in: Likewise.
62084 * csu/Versions: Likewise.
62085 * csu/init.c: Likewise.
62086 * elf/tst-audit2.c: Likewise.
62087 * elf/tst-tls10.c: Likewise.
62088 * elf/tst-tls10.h: Likewise.
62089 * elf/tst-tls11.c: Likewise.
62090 * elf/tst-tls12.c: Likewise.
62091 * elf/tst-tls14.c: Likewise.
62092 * elf/tst-tlsmod11.c: Likewise.
62093 * elf/tst-tlsmod12.c: Likewise.
62094 * elf/tst-tlsmod13.c: Likewise.
62095 * elf/tst-tlsmod13a.c: Likewise.
62096 * elf/tst-tlsmod14a.c: Likewise.
62097 * elf/tst-tlsmod15b.c: Likewise.
62098 * elf/tst-tlsmod16a.c: Likewise.
62099 * elf/tst-tlsmod16b.c: Likewise.
62100 * elf/tst-tlsmod7.c: Likewise.
62101 * elf/tst-tlsmod8.c: Likewise.
62102 * elf/tst-tlsmod9.c: Likewise.
62103 * gmon/gmon.c: Likewise.
62104 * grp/fgetgrent_r.c: Likewise.
62105 * grp/putgrent.c: Likewise.
62106 * hurd/fopenport.c: Likewise.
62107 * include/libc-symbols.h: Likewise.
62108 * include/tls.h: Likewise.
62109 * intl/gettextP.h: Likewise.
62110 * intl/loadinfo.h: Likewise.
62111 * locale/global-locale.c: Likewise.
62112 * locale/localeinfo.h: Likewise.
62113 * mach/devstream.c: Likewise.
62114 * malloc/arena.c: Likewise.
62115 * malloc/set-freeres.c: Likewise.
62116 * misc/err.c: Likewise.
62117 * misc/getttyent.c: Likewise.
62118 * misc/mntent_r.c: Likewise.
62119 * posix/getopt.c: Likewise.
62120 * posix/wordexp.c: Likewise.
62121 * pwd/fgetpwent_r.c: Likewise.
62122 * resolv/Versions: Likewise.
62123 * resolv/res_hconf.c: Likewise.
62124 * shadow/fgetspent_r.c: Likewise.
62125 * shadow/putspent.c: Likewise.
62126 * stdio-common/printf_fphex.c: Likewise.
62127 * stdio-common/tmpfile.c: Likewise.
62128 * stdlib/abort.c: Likewise.
62129 * stdlib/fmtmsg.c: Likewise.
62130 * sunrpc/auth_unix.c: Likewise.
62131 * sunrpc/clnt_perr.c: Likewise.
62132 * sunrpc/clnt_tcp.c: Likewise.
62133 * sunrpc/clnt_udp.c: Likewise.
62134 * sunrpc/clnt_unix.c: Likewise.
62135 * sunrpc/openchild.c: Likewise.
62136 * sunrpc/svc_simple.c: Likewise.
62137 * sunrpc/svc_tcp.c: Likewise.
62138 * sunrpc/svc_udp.c: Likewise.
62139 * sunrpc/svc_unix.c: Likewise.
62140 * sunrpc/xdr.c: Likewise.
62141 * sunrpc/xdr_array.c: Likewise.
62142 * sunrpc/xdr_rec.c: Likewise.
62143 * sunrpc/xdr_ref.c: Likewise.
62144 * sunrpc/xdr_stdio.c: Likewise.
62145
62146 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62147
62148 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62149
62150 2011-07-03 Andreas Jaeger <aj@suse.de>
62151
62152 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62153 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62154 regenerate with gen-libm-tests.pl.
62155
62156 2010-05-12 Petr Baudis <pasky@suse.cz>
62157
62158 [BZ #11589]
62159 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62160 around j0() zero points by switching to j1().
62161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62164 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62165
62166 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62167
62168 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62169 instead of 0.
62170 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62171 instead of 0.
62172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62173 Patch in part by Pavel Roskin <proski@gnu.org>.
62174
62175 [BZ #13138]
62176 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62177 realloc.
62178 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62179 Free memory block if necessary.
62180
62181 [BZ #12847]
62182 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62183 be NULL. Don't lock in this case.
62184
62185 2011-09-09 Roland McGrath <roland@hack.frob.com>
62186
62187 * elf/elf.h (ELFOSABI_GNU): New macro.
62188 (ELFOSABI_LINUX): Define to that.
62189
62190 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62191
62192 * string/strncat.c (strncat): Undef the symbol in case it has been
62193 defined in bits/string.h.
62194
62195 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62196
62197 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62198
62199 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62200 link map.
62201
62202 2011-08-17 Andreas Jaeger <aj@suse.de>
62203
62204 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62205
62206 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62207 Ian Lance Taylor <iant@google.com>
62208
62209 * math/libm-test.inc (lround_test): New testcase.
62210 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62211
62212 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62213
62214 * Makefile: Remove support for automatic cvs check-ins.
62215 * Makerules: Likewise.
62216 * config.make.in: Likewise.
62217 * configure.in: Likewise.
62218 * intl/Makefile: Likewise.
62219 * locale/Makefile: Likewise.
62220 * po/Makefile: Likewise.
62221 * posix/Makefile: Likewise.
62222 * sysdeps/gnu/Makefile: Likewise.
62223 * sysdeps/mach/hurd/Makefile: Likewise.
62224 * sysdeps/sparc/sparc32/Makefile: Likewise.
62225
62226 [BZ #13118]
62227 * posix/Makefile (bug-regex32-ENV): Define.
62228 Patch by John Stanley <jpsinthemix@verizon.net>.
62229
62230 * misc/Makefile (headers): Add bits/select2.h.
62231 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62232 * misc/bits/select2.h: New file.
62233 * include/bits/select2.h: New file.
62234 * debug/Makefile (routines): Add fdelt_chk.
62235 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62236 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62237 FD_ISSET.
62238 * debug/fdelt_chk.c: New file.
62239
62240 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62241 * wcsmbs/test-wmemcmp.c: Likewise.
62242 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62243 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62244
62245 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62246
62247 * string/Makefile (strop-tests): Add memcmp.
62248 * string/test-wmemcmp.c: New file.
62249 * string/test-memcmp.c: Add wmemcmp support.
62250
62251 2011-09-08 Roland McGrath <roland@hack.frob.com>
62252
62253 [BZ #13153]
62254 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62255 2011-07-19 change.
62256
62257 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62258 garbage value in a __mach_port_mod_refs call in the cases of the
62259 task-self and thread-self ports.
62260
62261 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62262
62263 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62264
62265 2011-09-08 Andreas Schwab <schwab@redhat.com>
62266
62267 * elf/dl-load.c (lose): Check for non-null L.
62268
62269 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62270
62271 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62272
62273 * elf/dl-libc.c (dlerror_run): Pass back error code from
62274 dl_catch_error.
62275
62276 [BZ #13123]
62277 * elf/dl-load.c (lose): Free l_origin if it is valid.
62278
62279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62280 names.
62281 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62282 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62283 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62284 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62285 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62286 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62287
62288 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62289
62290 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62291 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62292 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62293 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62294 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62295 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62296 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62297 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62298 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62299 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62300
62301 2011-08-15 Alan Modra <amodra@gmail.com>
62302
62303 [BZ #13092]
62304 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62305 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62306 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62307 ppc_mcount to static-only-routines.
62308 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62309 __mcount_internal.
62310 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62311 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62312
62313 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62314
62315 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62316 for finite and infinity parameters.
62317
62318 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62319
62320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62321 and add nop instructions for throughput optimization.
62322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62323
62324 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62325
62326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62327 aligned copy for power7 with vector-scalar instructions.
62328 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62329
62330 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62331
62332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62333 AVX check.
62334
62335 2011-09-07 Andreas Schwab <schwab@redhat.com>
62336
62337 [BZ #13144]
62338 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62339 last change.
62340
62341 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62342
62343 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62344 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62345 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62346 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62347 clock_gettime.
62348
62349 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62350
62351 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62352 Forgot to demangle the pointer.
62353
62354 * sysdeps/i386/sysdep.h: Define atom_text_section.
62355 * sysdeps/x86_64/sysdep.h: Likewise.
62356 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62357 section with atom_text_section.
62358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62359 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62362 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62363
62364 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62365 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62366 already be defined. Change to take two parameters and don't assign
62367 result to variable. Adjust all users.
62368 Define INTERNAL_GETTIME if not already defined.
62369 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62370 call.
62371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62372 HAVE_CLOCK_GETTIME_VSYSCALL.
62373 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62374
62375 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62376 gettimeofday vsyscall, just use time.
62377
62378 2011-09-06 Andreas Schwab <schwab@redhat.com>
62379
62380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62381 <errno.h>.
62382
62383 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62384
62385 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62386 syscall on x86-64.
62387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62388 syscall.
62389 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62390 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62391 syscall if possible.
62392
62393 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62394
62395 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62396 e_ident. Don't pass to find_mapsXX.
62397 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62398
62399 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62400
62401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62402 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62403 * sysdeps/x86_64/multiarch/strchr.S: Update.
62404 Check bit_slow_BSF bit.
62405 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62406 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62407 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62408
62409 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62410
62411 [BZ #13134]
62412 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62413 before glibc 2.15.
62414 (tryshell): Define.
62415 (__spawni): Change last parameter to be flag. Test
62416 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62417 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62418 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62419 * posix/spawni.c: Likewise.
62420 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62421 * posix/spawnp.c: Likewise. Change normal version to use
62422 SPAWN_XFLAGS_USE_PATH.
62423 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62424 SPAWN_XFLAGS_TRY_SHELL.
62425
62426 [BZ #13150]
62427 * posix/glob.h: Remove gcc 1.x support.
62428
62429 [BZ #13068]
62430 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62431
62432 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62433
62434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62435 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62436 strrchr-sse2-bsf
62437 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62438 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62439 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62440 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62441 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62442 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62443
62444 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62445
62446 * sysdeps/x86_64/wcscmp.S: New file.
62447
62448 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62449 wcscmp-c wcscmp-sse2
62450 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62451 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62452 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62453 * wcsmbs/wcscmp.c: Allow renaming.
62454
62455 2011-09-05 David S. Miller <davem@davemloft.net>
62456
62457 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62458 stack slot, rather than the struct return pointer slot.
62459 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62460 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62462 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62463
62464 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62465
62466 * po/ja.po: Update from translation team.
62467
62468 [BZ #13144]
62469 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62470 kernel in 64-bit binaries.
62471
62472 2011-09-01 David S. Miller <davem@davemloft.net>
62473
62474 * elf/elf.h (HWCAP_SPARC_*): Move to..
62475 * sysdeps/sparc/sysdep.h: this new file and add new values.
62476 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62477 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62478 _DL_HWCAP_COUNT to 24.
62479 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62480 entries.
62481 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62482 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62483 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62485 instead of magic constants.
62486 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62487
62488 2011-08-31 David S. Miller <davem@davemloft.net>
62489
62490 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62492 Reimplement to do errno handling inline.
62493 (SYSCALL_ERROR_HANDLER): New macro.
62494 (__SYSCALL_STRING): Do not do errno handling in asm.
62495 (__CLONE_SYSCALL_STRING): Delete.
62496 (__INTERNAL_SYSCALL_STRING): Delete.
62497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62498 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62499 (PSEUDO): Reimplement to do errno handling inline.
62500 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62501 (SYSCALL_ERROR_HANDLER): New macro.
62502 (__SYSCALL_STRING): Do not do errno handling in asm.
62503 (__CLONE_SYSCALL_STRING): Delete.
62504 (__INTERNAL_SYSCALL_STRING): Delete.
62505 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62506 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62507 i386.
62508 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62509 (inline_syscall*): Add 'err' argument.
62510 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62511 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62512 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62513 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62514
62515 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62517
62518 2011-08-30 Andreas Schwab <schwab@redhat.com>
62519
62520 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62521
62522 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62523
62524 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62525 directive.
62526
62527 2011-08-24 David S. Miller <davem@davemloft.net>
62528
62529 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62530
62531 2011-08-24 Andreas Schwab <schwab@redhat.com>
62532
62533 * elf/Makefile: Add rules to build and run unload8 test.
62534 * elf/unload8.c: New file.
62535 * elf/unload8mod1.c: New file.
62536 * elf/unload8mod1x.c: New file.
62537 * elf/unload8mod2.c: New file.
62538 * elf/unload8mod3.c: New file.
62539
62540 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62541 it wasn't used.
62542
62543 2011-08-23 David S. Miller <davem@davemloft.net>
62544
62545 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62546 subtract stack bias.
62547 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62548 %sp not %fp in calculations.
62549 (_JMPBUF_UNWINDS_ADJ): Likewise.
62550
62551 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62552 (aio_suspend): Call it to force an exception region around the
62553 AIO_MISC_WAIT() invocation.
62554
62555 2011-08-23 Andreas Schwab <schwab@redhat.com>
62556
62557 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62558 backslash.
62559
62560 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62561
62562 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62563 protection macro.
62564 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62565 and <dl-machine.h>.
62566 (Elf64_FuncDesc): Remove.
62567
62568 2011-08-22 David S. Miller <davem@davemloft.net>
62569
62570 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62571 sigaltstack check, add missing cfi directives.
62572 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62573 missing cfi directives, and sigaltstack handling.
62574
62575 2011-08-16 Andreas Schwab <schwab@redhat.com>
62576
62577 [BZ #11724]
62578 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62579 object is seen twice.
62580 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62581
62582 * elf/Makefile (distribute): Add tst-initorder2.c.
62583 (tests): Add tst-initorder2.
62584 (modules-names): Add tst-initorder2a tst-initorder2b
62585 tst-initorder2c tst-initorder2d. Add rules to build them.
62586 ($(objpfx)tst-initorder2.out): New rule.
62587 * elf/tst-initorder2.c: New file.
62588 * elf/tst-initorder2.exp: New file.
62589
62590 2011-08-22 Andreas Schwab <schwab@redhat.com>
62591
62592 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62593
62594 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62595 dependencies back to end of function.
62596
62597 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62598 $(elfobjdir)/ld.so.
62599
62600 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62601
62602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62603 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62605 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62606 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62607 of __vdso_gettimeofday.
62608 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62609 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62610 attribute_hidden.
62611 (_libc_vdso_platform_setup): Remove initialization of
62612 __vdso_gettimeofday and __vdso_time.
62613
62614 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62615
62616 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62617 and fgetc_unlocked.
62618 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62619 getc_unlocked.
62620
62621 * elf/dl-open.c (add_to_global): Report additions to the global scope
62622 for LD_DEBUG=scopes.
62623 (dl_open_worker): Also print scope of newly loaded dependencies.
62624 (_dl_show_scope): Indicate if there is no scope.
62625
62626 [BZ #13114]
62627 * stdio-common/Makefile (tests): Add bug24.
62628 * stdio-common/bug24.c: New file.
62629
62630 2011-08-19 Andreas Jaeger <aj@suse.de>
62631
62632 [BZ #13114]
62633 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62634 non-existant file when using close-on-exec mode.
62635
62636 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62637
62638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62639 the very first instruction.
62640
62641 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62642 the CFI state in the end.
62643 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62644 inclusion of dl-trampoline.h.
62645 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62646
62647 2011-08-19 Andreas Schwab <schwab@redhat.com>
62648
62649 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62650 expectations for long double.
62651
62652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62653 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62654
62655 2011-08-14 David S. Miller <davem@davemloft.net>
62656
62657 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62658 artificual limit depends upon the system page size.
62659
62660 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62661
62662 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62663 * resolv/Makefile: Define CFLAGS-libresolv.
62664
62665 2011-08-17 Andreas Schwab <schwab@redhat.com>
62666
62667 * nss/makedb.c (compute_tables): Make variables used in nested
62668 function static.
62669
62670 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62671
62672 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62673 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62674 if buffer was too small.
62675
62676 * elf/pldd.c (main): Attach to all threads in the process.
62677 Rewrite /proc handling to use *at functions.
62678
62679 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62680
62681 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62682 specifies first scope to show.
62683 (dl_open_worker): Update callers. Move printing scope of new
62684 object to before the relocation.
62685 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62686 * sysdeps/generic/ldsodefs.h: Update declaration.
62687
62688 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62689 string for the scope number.
62690
62691 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62692
62693 * nscd/servicescache.c (cache_addserv): Make sure written is always
62694 initialized.
62695
62696 2011-08-14 Roland McGrath <roland@hack.frob.com>
62697
62698 * sysdeps/i386/i486/bits/atomic.h
62699 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62700 statement expression, so as to suppress "set but not used" warning.
62701 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62702
62703 * string/strncat.c (STRNCAT): Use prototype definition.
62704
62705 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62706 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62707 -Iprograms here.
62708 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62709 (localedef-modules): Add localedef.
62710 (locale-modules): Add locale.
62711
62712 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62713 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62714 to avoid a warning.
62715
62716 2011-08-14 David S. Miller <davem@davemloft.net>
62717
62718 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62719 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62720
62721 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62722
62723 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62724 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62725 * elf/rtld.c (dl_main): Set l_name of vDSO.
62726 Call _dl_show_scope when DL_DEBUG_SCOPES.
62727 (process_dl_debug): Recognize scopes flag and also set it for all.
62728 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62729 Declare _dl_show_scope.
62730
62731 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62732 (do_dlopen): Pass caller_dlopen to dl_open.
62733 (__libc_dlopen_mode): Initialize caller_dlopen.
62734
62735 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62736 of libc. Make tolower call locale-independent. Optimize a bit by
62737 using isdigit instead of isalnum.
62738 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62739
62740 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62741
62742 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62743 was a dependency or dynamically loaded.
62744
62745 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62746
62747 * intl/l10nflist.c: Allow architecture-specific pop function.
62748 * sysdeps/x86_64/l10nflist.c: New file.
62749
62750 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62751 classification.
62752
62753 2011-08-10 Andreas Schwab <schwab@redhat.com>
62754
62755 * include/dirent.h: Add libc_hidden_proto for scandirat and
62756 scandirat64. Don't declare __scandirat64.
62757 * dirent/scandirat.c: Add libc_hidden_def.
62758 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62759 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62760
62761 2011-08-10 David S. Miller <davem@davemloft.net>
62762
62763 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62764 enum.
62765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62768
62769 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62770
62771 * Versions.def [libc]: Add GLIBC_2.15.
62772 * dirent/Makefile (routines): Add scandirat and scandirat64.
62773 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62774 GLIBC_2.15.
62775 * dirent/dirent.h: Declare scandirat and scandirat64.
62776 * dirent/scandirat.c: New file.
62777 * dirent/scandirat64.c: New file.
62778 * sysdeps/wordsize-64/scandirat.c: New file.
62779 * sysdeps/wordsize-64/scandirat64.c: New file.
62780 * dirent/opendir.c: Define opendirat.
62781 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62782 using scandirat.
62783 * dirent/scandir64.c: Adjust for scandir.c change.
62784 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62785 __scandirat64, and __scandir_cancel_handler.
62786 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62787 additional parameter and use openat instead of open (outside of ld.so).
62788 Add new __opendir as wrapper around __opendirat.
62789 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62790 here without requiring old scandirat implementation.
62791
62792 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62793
62794 * dirent/scandir.c (cancel_handler): Renamed to
62795 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62796 defined. Adjust users.
62797 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62798 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62799
62800 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62801
62802 * string/test-string.h (IMPL): Use __STRING to expand name and then
62803 stringify it.
62804
62805 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62806 of cleanups.
62807
62808 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62809
62810 * string/Makefile: Update.
62811 (strop-tests): Append strncat.
62812 * string/test-wcscmp.c: New file.
62813 New comprehensive test for wcscmp.
62814 * string/test-strcmp.c: Update.
62815 (WIDE): New define.
62816
62817 2011-07-22 Andreas Schwab <schwab@redhat.com>
62818
62819 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62820 line.
62821
62822 2011-07-26 Andreas Schwab <schwab@redhat.com>
62823
62824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62825 encoding to ACE if AI_IDN.
62826
62827 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62828
62829 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62830 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62831
62832 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62833
62834 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62835 Fix overflow bug in strncat.
62836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62837
62838 * string/test-strncat.c: Update.
62839 Add new tests for checking overflow bugs.
62840
62841 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62842
62843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62844 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62845 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62846 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62848 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62849 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62850 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62851 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62852
62853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62854 (USE_AS_STRCAT): Define.
62855 Add strcat and strncat support.
62856 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62857
62858 2011-07-25 Andreas Schwab <schwab@redhat.com>
62859
62860 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62861 __n bigger than INT_MAX+1.
62862 (__strncmp_g): Likewise.
62863
62864 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62865
62866 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62867 * libio/stido.h: Likewise.
62868
62869 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62870 (AF_NFC): Define.
62871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62872 (AF_NFC): Define.
62873
62874 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62875 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62876 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62877 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62879
62880 [BZ #13021]
62881 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62882 installed.
62883
62884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62885 typo.
62886 (_dl_x86_64_save_sse): Likewise.
62887
62888 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62889
62890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62891 OSXSAVE.
62892 (_dl_x86_64_save_sse): Likewise.
62893
62894 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62895
62896 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62897
62898 2011-07-21 Andreas Schwab <schwab@redhat.com>
62899
62900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62901 change.
62902 (_dl_x86_64_save_sse): Use correct AVX check.
62903
62904 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62905
62906 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62907 bug in strncpy/strncat.
62908 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62909
62910 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62911
62912 * string/tester.c (test_strcat): Add tests for different alignments
62913 of source and destination.
62914 (test_strncat): Likewise.
62915
62916 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62917
62918 [BZ #12852]
62919 * posix/glob.c (glob): Check passed in values before using them in
62920 expressions to avoid some overflows.
62921 (glob_in_dir): Likewise.
62922
62923 [BZ #13007]
62924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62925 check for AVX enablement so that we don't crash with old kernels and
62926 new hardware.
62927 * elf/tst-audit4.c: Add same checks here.
62928 * elf/tst-audit6.c: Likewise.
62929
62930 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62931
62932 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62933
62934 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62935
62936 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62937
62938 * po/cs.po: Update from translation team.
62939 * po/bg.po: Likewise.
62940
62941 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62942
62943 * misc/sys/cdefs.h: Add support for const attribute.
62944 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62945 to gnu_dev_{major,minor,makedev} functions.
62946
62947 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62948
62949 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62950
62951 2011-07-20 Andreas Schwab <schwab@redhat.com>
62952
62953 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62954 strlen results.
62955
62956 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62957
62958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62959 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62960 register in order to avoid conflicts with the soft frame pointer
62961 being held in r11 when necessary.
62962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62963 (INTERNAL_VSYSCALL_NCS): Likewise.
62964
62965 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62966
62967 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62968 * elf/dl-fini.c (_dl_fini): Adjust caller.
62969 * elf/dl-close.c (_dl_close_worker): Likewise.
62970 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62971
62972 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62973
62974 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62975 "aux_cache->nlibs < 0".
62976
62977 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62978 in the reload-count case.
62979
62980 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62981
62982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62983 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62984 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62985 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62986 * sysdeps/x86_64/multiarch/strcat.S: New file.
62987 * sysdeps/x86_64/multiarch/strncat.S: New file.
62988 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62989 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62990 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62991 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62993 (USE_AS_STRCAT): Define.
62994 Add strcat and strncat support.
62995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62997 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62998 * string/strncat.c: Update.
62999 (USE_AS_STRNCAT): Define.
63000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63001 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63002 and i7.
63003 * sysdeps/x86_64/multiarch/init-arch.h
63004 (bit_Prefer_PMINUB_for_stringop): New.
63005 (index_Prefer_PMINUB_for_stringop): Likewise.
63006 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63007 bit_Prefer_PMINUB_for_stringop.
63008
63009 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63010
63011 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63012 buffer64.
63013 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63014 of casting of buffer.
63015 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63016 buffer32 and buffer64.
63017 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63018 writes instead of casting of buffer.
63019 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63020 buffer32.
63021 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63022 casting of buffer.
63023
63024 2011-07-19 Andreas Schwab <schwab@redhat.com>
63025
63026 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63027
63028 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63029
63030 * nscd/nscd.c (termination_handler): Don't do anything for a database
63031 if it has not yet been initialized.
63032
63033 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63034
63035 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63036
63037 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63038
63039 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63040
63041 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63042
63043 * po/nl.po: Update from translation team.
63044 * po/sv.po: Likewise.
63045
63046 2011-07-16 Roland McGrath <roland@hack.frob.com>
63047
63048 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63049 now disallowed by GCC.
63050
63051 * configure.in (use-default-link): Default to yes if a test -shared
63052 link meets our qualifications.
63053 * configure: Regenerated.
63054
63055 * config.make.in (output-format): New variable.
63056 * configure.in: Check for ld --print-output-format support.
63057 * configure: Regenerated.
63058 * Makerules ($(common-objpfx)format.lds)
63059 [$(output-format) != unknown]: Just use $(output-format),
63060 instead of the linker-script munging.
63061
63062 2011-07-14 Roland McGrath <roland@hack.frob.com>
63063
63064 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63065 of $(common-objpfx)shlib.lds.
63066 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63067
63068 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63069 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63070
63071 * configure.in (-z relro check): Adjust test code to add a large
63072 writable data section after it.
63073 * configure: Regenerated.
63074
63075 2011-07-11 Roland McGrath <roland@hack.frob.com>
63076
63077 * configure.in (-z relro check): Fix test code to make the variable
63078 truly const.
63079 * configure: Regenerated.
63080
63081 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63082
63083 * nscd/nscd.h (struct traced_file): Define.
63084 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63085 elements. Add traced_files.
63086 (inotify_fd): Declare.
63087 (register_traced_file): Declare.
63088 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63089 (inotify_fd): Export.
63090 (resolv_conf_descr): Remove.
63091 (nscd_init): Move inotify descriptor creation to main.
63092 Don't register files for notification here.
63093 (register_traced_file): New function.
63094 (invalidate_cache): Don't use reset_res to determine whether to call
63095 res_init, go through the list of registered files.
63096 (main_loop_poll): The inotify descriptors are now stored in the
63097 structures for the traced files.
63098 (main_loop_epoll): Likewise
63099 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63100 to __nss_disable_nscd.
63101 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63102 for a database anymore. Check the records for all the registered
63103 files instead.
63104 * nss/Makefile (libnss_files-routines): Add files-init.
63105 (libnss_db-routines): Add db-init.
63106 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63107 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63108 * nss/nss_db/db-init.c: New file.
63109 * nss/nss_files/files-init.c: New file.
63110 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63111 __nss_lookup_function.
63112 (__nss_lookup_function): Call nss_load_library.
63113 (nss_load_all_libraries): New function.
63114 (__nss_disable_nscd): Take parameter with callback function for files
63115 to register. Set is_nscd. Load all the DSOs for the NSS modules
63116 used for the cached services.
63117 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63118 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63119 options for features to all the files in nscd.
63120
63121 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63122
63123 2011-07-10 Roland McGrath <roland@hack.frob.com>
63124
63125 * csu/elf-init.c (__libc_csu_init): Comment typo.
63126
63127 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63128
63129 * po/pl.po: Update from translation team.
63130 * po/ja.po: Likewise.
63131 * po/ru.po: Likewise.
63132 * po/ko.po: Likewise.
63133 * po/fr.po: Likewise.
63134
63135 2011-07-09 Roland McGrath <roland@hack.frob.com>
63136
63137 * configure.in (.ctors/.dtors header and trailer check):
63138 Use an empirical test on a built program.
63139 * configure: Regenerated.
63140
63141 * configure.in (-z relro check): Use an empirical test on a built DSO.
63142 Detect, but do not require, on ia64.
63143 * configure: Regenerated.
63144
63145 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63146 Update tests that use readelf to use $READELF instead.
63147 * configure: Regenerated.
63148
63149 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63150
63151 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63152 if the result is not used.
63153
63154 2011-07-05 Andreas Jaeger <aj@suse.de>
63155
63156 [BZ#9696]
63157 * stdlib/tst-strtod.c: Add testcase.
63158
63159 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63160
63161 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63162 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63163 The latter has a higher limit. Take additional parameter to pass to
63164 the new function.
63165 (__pathconf): Pass file to __statfs_link_max.
63166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63167 __statfs_link_max.
63168 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63169 __statfs_link_max.
63170
63171 [BZ #12868]
63172 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63174 Handle Lustre.
63175 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63176 (__statfs_filesize_max): Likewise.
63177 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63178
63179 2011-07-05 Andreas Jaeger <aj@suse.de>
63180
63181 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63182
63183 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63184
63185 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63186 `status' variable.
63187 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63188 Likewise.
63189
63190 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63191
63192 * Makefile (strop-tests): Add strncat.
63193 * string/test-strncat.c: New file.
63194
63195 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63196
63197 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63198
63199 2011-06-21 Andreas Jaeger <aj@suse.de>
63200
63201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63202 Copy rule from iconvdata/Makefile.
63203
63204 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63205
63206 [BZ #12922]
63207 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63208 but no long options are defined, just return 'W'.
63209
63210 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63211
63212 [BZ #9696]
63213 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63214
63215 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63216
63217 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63218 netgroups to read.
63219 (innetgr): Likewise.
63220
63221 2011-07-05 Roland McGrath <roland@hack.frob.com>
63222
63223 * config.make.in (install_root): Default to $(DESTDIR).
63224
63225 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63226
63227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63228
63229 2011-07-02 Roland McGrath <roland@hack.frob.com>
63230
63231 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63232
63233 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63234 containing directory rather than embedding absolute directory names.
63235
63236 * scripts/check-local-headers.sh: Rewritten using awk.
63237 Match by word, not by line. Print error messages for matches.
63238 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63239
63240 * Makerules [shlib-lds-flags empty]:
63241 ($(common-objpfx)libc_pic.opts): New target.
63242 ($(common-objpfx)libc_pic.os.clean): New target.
63243 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63244
63245 * config.make.in (OBJCOPY): New variable.
63246 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63247 * configure: Regenerated.
63248
63249 * config.make.in (use-default-link): New variable.
63250 * configure.in (use_default_link): Grok --with-default-link to set it.
63251 * configure: Regenerated.
63252 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63253 (shlib-lds, shlib-lds-flags): Define to empty.
63254
63255 * Makerules (shlib-lds): New variable.
63256 (shlib-lds-flags): New variable.
63257 (build-shlib, build-moduile, build-module-asneeded): Use it.
63258 ($(common-objpfx)libc.so): Use $(shlib-lds).
63259 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63260 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63261
63262 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63263 DT_FLAGS/DT_FLAGS_1 with zero flags.
63264
63265 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63266 linker script munging.
63267
63268 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63269
63270 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63271 as 128-bit value.
63272 * crypt/sha512.c (sha512_process_block): Perform total addition using
63273 128-bit if possible.
63274 (__sha512_finish_ctx): Likewise.
63275 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63276 as 64-bit value.
63277 * crypt/sha256.c (SWAP64): Define.
63278 (sha256_process_block): Perform total addition using 64-bit if
63279 possible.
63280 (__sha256_finish_ctx): Likewise.
63281
63282 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63283
63284 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63286 * nscd/hstcache.c (cache_addhst): Likewise.
63287 * nscd/grpcache.c (cache_addgr): Likewise.
63288 * nscd/aicache.c (addhstaiX): Likewise
63289 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63290
63291 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63292
63293 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63294 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63295 * nscd/hstcache.c (cache_addhst): Likewise.
63296 * nscd/grpcache.c (cache_addgr): Likewise.
63297 * nscd/aicache.c (addhstaiX): Likewise
63298
63299 2011-07-01 Andreas Schwab <schwab@redhat.com>
63300
63301 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63302 domain only when needed.
63303
63304 2011-06-30 Andreas Schwab <schwab@redhat.com>
63305
63306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63307 is always restored.
63308
63309 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63310
63311 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63312 are re-adding the entry.
63313 * nscd/servicescache.c (cache_addserv): Likewise.
63314
63315 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63316
63317 * sysdeps/generic/dl-irel.h: fix protection against multiple
63318 inclusions.
63319 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63320
63321 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63322
63323 [BZ #12935]
63324 * malloc/memusage.sh: Fix quoting in message.
63325 * debug/xtrace.sh: Likewise.
63326
63327 * configure.in: Remove support for --experimental-malloc option, make
63328 it the default.
63329 * config.make.in: Likewise.
63330 * malloc/Makefile: Likewise.
63331
63332 2011-06-27 Andreas Schwab <schwab@redhat.com>
63333
63334 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63335 two-byte characters.
63336
63337 2011-06-27 Roland McGrath <roland@hack.frob.com>
63338
63339 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63340 AC_CACHE_CHECK invocation.
63341 * configure: Regenerated.
63342
63343 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63344
63345 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63346
63347 [BZ #12350]
63348 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63349 bit from old_res_options.
63350
63351 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63352
63353 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63354 value type for setfct.
63355
63356 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63357
63358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63359 __gettimeofday instead of gettimeofday.
63360
63361 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63362
63363 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63364
63365 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63366
63367 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63368
63369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63370 info.
63371
63372 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63373
63374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63375 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63376 strcpy-sse2-unaligned strncpy-sse2-unaligned
63377 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63378 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63379 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63380 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63381 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63382 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63383 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63384 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63385 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63386 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63387 (STRCPY): Support SSE2 and SSSE3 versions.
63388
63389 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63390
63391 [BZ #12874]
63392 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63393 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63394 kernels which artificially limit size of requests.
63395
63396 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63397
63398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63399 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63400 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63401 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63402 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63403 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63404 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63405 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63408 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63409 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63410 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63411 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63412 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63414 Enable unaligned load optimization for Intel Core i3, i5 and i7
63415 processors.
63416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63417 Define.
63418 (index_Fast_Unaligned_Load): Define.
63419 (HAS_FAST_UNALIGNED_LOAD): Define.
63420
63421 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63422
63423 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63424
63425 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63426
63427 [BZ #12907]
63428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63429 until it is clear that the information is realy needed.
63430 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63431
63432 2011-06-22 Andreas Schwab <schwab@redhat.com>
63433
63434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63435
63436 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63437
63438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63439 /sys/devices/system/cpu/online if it is usable.
63440
63441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63442 reading the information from the /proc filesystem to once a second.
63443
63444 2011-06-21 Andreas Jaeger <aj@suse.de>
63445
63446 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63447 NULL after inclusion of kernel headers.
63448
63449 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63450
63451 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63452 calls to internal_setent.
63453
63454 [BZ #12885]
63455 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63456 addresses using gethostbyname4_r ignore IPv4 addresses.
63457
63458 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63459 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63460
63461 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63462
63463 2011-06-20 David S. Miller <davem@davemloft.net>
63464
63465 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63466 inclusions.
63467 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63468
63469 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63470 (elf_irel): Use it.
63471 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63472 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63473 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63474 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63475 * sysdeps/x86_64/dl-irel.h: Likewise.
63476
63477 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63478 * elf/dl-sym.c: Likewise.
63479
63480 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63481
63482 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63483 need to dereference resplen2.
63484
63485 2011-06-14 Andreas Schwab <schwab@redhat.com>
63486
63487 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63488
63489 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63490
63491 * Makeconfig: Define vardbdir and inst_vardbdir.
63492 * nss/Makefile: Add rules to install db-Makefile.
63493
63494 * nss/nss_db/db-XXX.c: Cleanup.
63495
63496 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63497 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63498 GLIBC_PRIVATE.
63499 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63500 * nss/makedb.c: Implement -g option to specify that value strings
63501 are generated and should not be added to table iterated over for
63502 get*ent calls.
63503 * nss/nss_db/db-initgroups.c: New file.
63504
63505 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63506 interface.
63507
63508 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63509 (internal_getgrouplist): Adjust to name change.
63510 Update use_initgroups_entry if this is not the first call.
63511 * nss/databases.def: Add initgroups entry.
63512
63513 * nss/makedb.c (compute_tables): Check result of multiple hash table
63514 sizes to minimize maximum chain length.
63515
63516 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63517
63518 * Versions.def: Add entry for libnss_db.
63519 * shlib-versions: Likewise.
63520 * nss/Makefile: Add rules to build libnss_db.
63521 * nss/Versions: Add libnss_db information. Organize libnss_files
63522 entries better.
63523 * nss/db-Makefile: Add gshadow support. Change rules for the new
63524 makedb progra. Some minor improvements to generate smaller files.
63525 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63526 here from...
63527 * nss/makedb.c: ...here.
63528 Improve database format to be smaller and require less memory at
63529 runtime.
63530 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63531 db anymore.
63532 * nss/nss_db/db-netgrp.c: Likewise.
63533 * nss/nss_db/db-open.c: Likewise.
63534 * nss/nss_files/flies-XXX.x: Adjust comments.
63535 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63536 * nss/nss_files/files-grp.c: Likewise.
63537 * nss/nss_files/files-hosts.c: Likewise.
63538 * nss/nss_files/files-network.c: Likewise.
63539 * nss/nss_files/files-proto.c: Likewise.
63540 * nss/nss_files/files-pwd.c: Likewise.
63541 * nss/nss_files/files-rpc.c: Likewise.
63542 * nss/nss_files/files-service.c: Likewise.
63543 * nss/nss_files/files-sgrp.c: Likewise.
63544 * nss/nss_files/files-spwd.c: Likewise.
63545 * nss/nss_db/db-alias.c: Removed.
63546 * nss/nss_db/dummy-db.h: Removed.
63547
63548 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63549
63550 * nss/makedb.c: Rewritten to not use database library.
63551 * nss/Makefile: Update to build new makedb program.
63552
63553 2011-06-14 Andreas Jaeger <aj@suse.de>
63554
63555 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63556 memset declaration.
63557
63558 2011-06-10 Andreas Schwab <schwab@redhat.com>
63559
63560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63561 tmpbuf.
63562
63563 2011-06-10 Roland McGrath <roland@hack.frob.com>
63564
63565 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63566 * elf/Makefile ($(objpfx)ld.so): Likewise.
63567
63568 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63569 Don't list ld.so twice in dependencies.
63570
63571 * posix/bug-regex31.c: Include <stdlib.h>.
63572
63573 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63574
63575 * nis/nss_compat/compat-spwd.c
63576 (getspent_next_nss_netgr): Remove unused variable.
63577 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63578
63579 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63580 nonmembers" output to use the right array.
63581
63582 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63583
63584 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63585
63586 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63587 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63588 * catgets/gencat.c (read_input_file): Likewise.
63589 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63590
63591 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63592 variable definition inside #if's controlling its use.
63593
63594 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63595
63596 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63597
63598 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63599
63600 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63601 unreachable code.
63602
63603 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63604
63605 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63606 * configure: Regenerated.
63607
63608 * Makerules: Revert last change.
63609 * elf/Makefile: Likewise.
63610
63611 2011-06-09 Roland McGrath <roland@hack.frob.com>
63612
63613 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63614 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63615 (reloc-link): Likewise.
63616
63617 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63618
63619 * elf/Makefile: Add rules to build pldd.
63620 * elf/pldd.c: New file.
63621 * elf/pldd-xx.c: New file.
63622
63623 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63624
63625 * version.h: Update for 2.15 development version.
63626
63627 2011-06-07 David S. Miller <davem@davemloft.net>
63628
63629 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63630 ifuncs.
63631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63632 elf_machine_lazy_rel): Likewise.
63633 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63635 elf_machine_lazy_rel): Likewise.
63636 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63637 dl_hwcap via passed in argument.
63638 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63639 Likewise.
63640
63641 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63642
63643 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63644
63645 2011-06-06 Roland McGrath <roland@hack.frob.com>
63646
63647 [BZ #12849]
63648 * manual/fdl-1.1.texi: New file, verbatim from:
63649 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63650 * manual/lgpl-2.1.texi: New file, verbatim from:
63651 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63652 * manual/Makefile (licenses): New variable, list those new file names.
63653 (texis): Use it.
63654 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63655
63656 * manual/fdl.texi: File removed.
63657 * manual/lesser.texi: File removed.
63658 * manual/libc.texinfo (Copying, Documentation License):
63659 Use new @include file names, put @appendix directive before @include.
63660
63661 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63662
63663 [BZ #12841]
63664 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63665 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63666 (mq_open): Add __NTH.
63667
63668 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63669
63670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63671 Assume Intel Core i3/i5/i7 processor if AVX is available.
63672
63673 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63674
63675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63676 typo.
63677
63678 2011-05-31 Andreas Schwab <schwab@redhat.com>
63679
63680 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63681 memory. Use alloca_account. Fix memory leak when retrying.
63682
63683 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63684
63685 * version.h (RELEASE): Bump for 2.14 release.
63686 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63687
63688 * config.make.in (RANLIB): Remove entry.
63689
63690 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63691
63692 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63693 (libc.pot): Work around missing support for .ksh extension in xgettext.
63694
63695 [BZ #12684]
63696 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63697 if both request failed.
63698 (send_dg): In case of server errors clear resplen or *resplen2.
63699
63700 [BZ #12454]
63701 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63702 when there are multiple maps.
63703 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63704 (_dl_fini): Remove test here.
63705
63706 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63707
63708 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63709
63710 [BZ #12350]
63711 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63712 bit from old_res_options.
63713 (gaih_inet): Likewise.
63714
63715 [BZ #11099]
63716 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63717 as signed.
63718
63719 * resolv/res_init.c (res_setoptions): Make the code more compact.
63720
63721 [BZ #11558]
63722 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63723 set RES_USEVC.
63724
63725 [BZ #11634]
63726 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63727
63728 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63729
63730 [BZ #11781]
63731 * malloc/malloc.h: Declare malloc hook variables as volatile.
63732
63733 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63734 in last patch.
63735
63736 [BZ #11799]
63737 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63738 raise in the comment.
63739 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63741 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63742
63743 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63744
63745 [BZ #12811]
63746 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63747 grow the buffers more if it already has to be sufficient.
63748 (build_wcs_upper_buffer): Likewise.
63749 * posix/regexec.c (check_matching): Likewise.
63750 (clean_state_log_if_needed): Likewise.
63751 (extend_buffers): Don't enlarge buffers beyond size of the input
63752 buffer.
63753 Patches mostly by Emil Wojak <emil@wojak.eu>.
63754 * posix/bug-regex32.c: New file.
63755 * posix/Makefile (tests): Add bug-regex32.
63756
63757 * locale/findlocale.c (_nl_find_locale): Return right away if
63758 _nl_explode_name failed.
63759 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63760
63761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63762
63763 * debug/xtrace.sh: Unify messages.
63764 * malloc/memusage.sh: Likewise.
63765
63766 [BZ #12813]
63767 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63768 time symbol from vDSO. Substitute with vsyscall if not available.
63769 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63770 __vdso_time.
63771
63772 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63773 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63774 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63775 Add sendmmsg and internal_sendmmsg.
63776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63777 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63778 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63779
63780 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63781 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63782 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63783
63784 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63785
63786 [BZ #12813]
63787 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63788 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63789 available.
63790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63791 __vdso_getcpu.
63792
63793 [BZ #12814]
63794 * iconvdata/Makefile (tests): Add bug-iconv9.
63795 * iconvdata/bug-iconv9.c: New file.
63796
63797 2011-05-27 Andreas Schwab <schwab@redhat.com>
63798
63799 [BZ #12814]
63800 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63801
63802 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63803
63804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63805 (struct user_regs_struct): Change intcs field back to cs.
63806
63807 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63808
63809 * po/ja.po: Update from translation team.
63810
63811 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63812
63813 [BZ #12795]
63814 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63815 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63816
63817 2011-05-20 Andreas Schwab <schwab@redhat.com>
63818
63819 * stdlib/longlong.h: Update from GCC.
63820
63821 2011-05-23 Andreas Schwab <schwab@redhat.com>
63822
63823 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63824 parameter name.
63825 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63826 Add parameter name.
63827 (__sysconf): Pass it down.
63828
63829 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63830
63831 [BZ #12671]
63832 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63833 some situations.
63834 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63835 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63836 add in in __libc_use_alloca calls. Adjust callers.
63837 (glob): Use malloc in some situations.
63838
63839 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63840 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63841 pltexit.
63842
63843 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63844
63845 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63846 and CLOCK_BOOTTIME_ALARM.
63847
63848 [BZ #12782]
63849 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63850 is returned.
63851
63852 * string/_strerror.c (__strerror_r): Print negative errors as signed
63853 numbers.
63854
63855 [BZ #12777]
63856 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63857 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63858 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63859
63860 * configure.in: Fix typo in redirection and correct removal of test
63861 files in two cases.
63862
63863 [BZ #12788]
63864 * locale/setlocale.c (new_composite_name): Fix test to check for
63865 identical name of all categories.
63866
63867 [BZ #12792]
63868 * libio/filedoalloc.c (local_isatty): New function.
63869 (_IO_file_doallocate): Use local_isatty.
63870 * stdio-common/perror.c (perror): In case a new stream is used
63871 forward the stream error.
63872 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63873 error flag.
63874
63875 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63876
63877 [BZ #11869]
63878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63879 alloca.
63880 * include/alloca.h (extend_alloca_account): Define.
63881
63882 [BZ #11857]
63883 * posix/regex.h: Fix comments with documentation of user-accessible
63884 fields after compilation and describe correct free'ing of pattern
63885 after re_compile_pattern.
63886 Patch by Reuben Thomas <rrt@sc3d.org>.
63887
63888 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63889
63890 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63891 and -mno-altivec to prevent the compiler from using Altivec and/or
63892 VSX instructions when the corresponding registers are not available.
63893
63894 2011-05-19 Andreas Schwab <schwab@redhat.com>
63895
63896 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63897
63898 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63899
63900 * libio/freopen.c (freopen): Use __dup2, not dup2.
63901 * libio/freopen64.c (freopen64): Likewise.
63902
63903 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63904
63905 [BZ #12775]
63906 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63907 * math/Makefile (tests): Add test-powl.
63908 (CFLAGS-test-powl.c): Define.
63909 * math/test-powl.c: New file.
63910
63911 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63912
63913 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63914
63915 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63916
63917 [BZ #11837]
63918 * iconvdata/gb18030.c: Update to GB18020-2005.
63919
63920 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63921
63922 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63923 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63924 Patch by Aharon Robbins <arnold@skeeve.com>.
63925
63926 [BZ #11892]
63927 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63928 on the stack.
63929
63930 [BZ #11895]
63931 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63932 through underflows.
63933
63934 [BZ #12766]
63935 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63936 point to strings before performing equality test for error_one_per_line
63937 mode.
63938
63939 [BZ #11697]
63940 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63941
63942 [BZ #11820]
63943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63944 (struct user_fpregs_struct): Avoid __uint*_t types.
63945
63946 [BZ #6420]
63947 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63948 symbol info. Use it instead of calling _dl_addr locally.
63949 (lock_and_info): New function.
63950 (tr_freehook): Call lock_and_info and pass symbol info as additional
63951 parameter to tr_where.
63952 (tr_mallochook): Likewise.
63953 (tr_reallochook): Likewise.
63954 (tr_memalignhook): Likewise.
63955
63956 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63957 used and couldn't be at all thread-safe.
63958
63959 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63960
63961 * libio/freopen.c (freopen): Don't close old file descriptor
63962 before the new one is opened. Instead dup the new file descriptor
63963 to the old one after the new stream is created.
63964 * libio/freopen64.c (freopen64): Likewise.
63965 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63966 * libio/fileops.c (_IO_new_file_close_it): Handle new
63967 _IO_FLAGS2_NOCLOSE flag.
63968 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63969 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63970 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63971 _IO_FLAGS2_NOCLOSE flag.
63972 * include/unistd.h: Add hidden_proto for dup3.
63973 Define __have_dup3.
63974 * io/dup3.c: Define hidden symbol.
63975 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63976
63977 [BZ #7101]
63978 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63979 when an incomplete long option is used.
63980 * posix/tst-getopt_long1.c: New file.
63981 * posix/Makefile (tests): Add tst-getopt_long1.
63982
63983 [BZ #10138]
63984 * scripts/config.guess: Update from autoconf-2.68.
63985 * scripts/config.sub: Likewise.
63986
63987 [BZ #10157]
63988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63989 tests into ...
63990 (has_cpuclock): ...this. New function.
63991 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63992 macro here based on has_cpuclock code.
63993
63994 [BZ #10149]
63995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63996 First byte (not low byte) is now always NUL.
63997 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63998
63999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64000 Use non-cancelable interfaces.
64001
64002 [BZ #9809]
64003 * locale/iso-639.def: Add entry for Sorani.
64004
64005 [BZ #11901]
64006 * include/stdlib.h: Move include protection to the right place.
64007 Define abort_msg_s. Declare __abort_msg with it.
64008 * stdlib/abort.c (__abort_msg): Adjust type.
64009 * assert/assert.c (__assert_fail_base): New function. Majority
64010 of code from __assert_fail. Allocate memory for __abort_msg with
64011 mmap.
64012 (__assert_fail): Now call __assert_fail_base.
64013 * assert/assert-perr.c: Remove bulk of implementation. Use
64014 __assert_fail_base.
64015 * include/assert.hL Declare __assert_fail_base.
64016 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64017 mmap.
64018 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64019
64020 2011-05-14 Ulrich Drepper <drepper@gmail.com>
64021
64022 [BZ #11952]
64023 [BZ #12453]
64024 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64025 until all modules are registered in the DTV.
64026 * elf/Makefile: Add rules to build and run tst-tls19.
64027 * elf/tst-tls19.c: New file.
64028 * elf/tst-tls19mod1.c: New file.
64029 * elf/tst-tls19mod2.c: New file.
64030 * elf/tst-tls19mod3.c: New file.
64031 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64032
64033 [BZ #12083]
64034 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64035 correctly.
64036
64037 [BZ #12601]
64038 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64039 two-byte sequence errors.
64040 * iconvdata/Makefile (tests): Add bug-iconv8.
64041 * iconvdata/bug-iconv8.c: New file.
64042
64043 [BZ #12626]
64044 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64045 buf2 definition.
64046
64047 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64048
64049 [BZ #12432]
64050 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64051 (dummy_getcfa): New function.
64052 (init): Get _Unwind_GetCFA address, use dummy if not found.
64053 (backtrace_helper): In recursion check, also check whether CFA changes.
64054 (__backtrace): Completely initialize arg.
64055
64056 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64057 storing incomplete byte sequence in state object. Avoid testing for
64058 guaranteed too small input if we know there is enough data available.
64059
64060 2011-05-11 Andreas Schwab <schwab@redhat.com>
64061
64062 * Makeconfig (+link-pie): Indent.
64063 * Rules (binaries-pie): Define if $(have-fpie) and
64064 $(build-shared).
64065 (binaries-shared): Also filter out $(binaries-pie).
64066 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64067 * nscd/Makefile (others-pie): Add nscd.
64068 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64069 ($(objpfx)nscd): Remove command override.
64070 * login/Makefile (others-pie): Add pt_chown.
64071 ($(objpfx)pt_chown): Remove command override.
64072 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64073 remove command overrides.
64074
64075 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64076
64077 * libio/tst_putwc.c: Fix error messages.
64078
64079 [BZ #12724]
64080 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64081 currently writing and seek to current position when not.
64082 * libio/Makefile (tests): Add bug-fclose1.
64083 * libio/bug-fclose1.c: New file.
64084
64085 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64086
64087 [BZ #12511]
64088 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64089 don't set DF_1_NODELETE here.
64090 (do_lookup_x): When entering new entry test for copy relocation
64091 and if necessary set DF_1_NODELETE flag.
64092 * elf/tst-unique4.cc: New file.
64093 * elf/tst-unique4.h: New file.
64094 * elf/tst-unique4lib.cc: New file.
64095 * elf/Makefile: Add rules to build and run tst-unique4.
64096 Patch by Piotr Bury <pbury@goahead.com>.
64097
64098 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64099
64100 [BZ #12052]
64101 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64102
64103 [BZ #12625]
64104 * misc/mntent_r.c (addmntent): Flush the stream after the output
64105
64106 [BZ #12393]
64107 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64108 (is_trusted_path_normalize): Skip initial colon. Append slash
64109 to empty buffer. Duplicate is_trusted_path code but allow
64110 constructed patch to be prefix.
64111 (is_dst): Allow $ORIGIN followed by /.
64112 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64113 Correct testing of result of is_trusted_path_normalize
64114 (decompose_rpath): Fix warning.
64115
64116 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64117
64118 [BZ #11257]
64119 * grp/initgroups.c (internal_getgrouplist): When we found the service
64120 list through the initgroups entry in nsswitch.conf do not always
64121 continue on a successful lookup. Don't always use the
64122 __nss_group_database value if it is set.
64123 * nss/nsswitch.conf (initgroups): Change action for successful db
64124 lookup to continue for compatibility.
64125
64126 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64127
64128 [BZ #11532]
64129 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64130 and CP774 modules.
64131 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64132 and CP774 modules.
64133 * iconvdata/tst-tables.sh: Likewise.
64134 * iconvdata/cp770.c: New file.
64135 * iconvdata/cp771.c: New file.
64136 * iconvdata/cp772.c: New file.
64137 * iconvdata/cp773.c: New file.
64138 * iconvdata/cp774.c: New file.
64139 * iconvdata/testdata/CP770: New file.
64140 * iconvdata/testdata/CP770..UTF8: New file.
64141 * iconvdata/testdata/CP771: New file.
64142 * iconvdata/testdata/CP771..UTF8: New file.
64143 * iconvdata/testdata/CP772: New file.
64144 * iconvdata/testdata/CP772..UTF8: New file.
64145 * iconvdata/testdata/CP773: New file.
64146 * iconvdata/testdata/CP773..UTF8: New file.
64147 * iconvdata/testdata/CP774: New file.
64148 * iconvdata/testdata/CP774..UTF8: New file.
64149
64150 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64151 END CHARMAP line.
64152 * iconvdata/gen-8bit-gap.sh: Likewise.
64153 * iconvdata/gen-8bit.sh: Likewise.
64154
64155 * locale/iso-639.def: Add ary entry.
64156
64157 [BZ #11258]
64158 * locale/C-translit.h.in: Add U20A1 transliteration.
64159
64160 [BZ #12178]
64161 * locale/iso-639.def: Add wae entry.
64162 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64163
64164 [BZ #12545]
64165 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64166 for n.
64167
64168 [BZ #12711]
64169 * locale/C-translit.h.in: Add entry for U20B9.
64170 Patch by pravin.d.s@gmail.com.
64171
64172 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64173
64174 [BZ #12713]
64175 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64176 ENAMETOOLONG use generic getcwd.
64177 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64178 in rtld. Use *stat64.
64179 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64180 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64181 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64182 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64183 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64184 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64185 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64186 __fstatat64 macros.
64187 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64188 * dirent/rewinddir.c: Add libc_hidden_def.
64189 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64190 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64191
64192 * include/dirent.h (__alloc_dir): Add flags parameter.
64193 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64194 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64195 __alloc_dir.
64196 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64197 from fdopendir if O_CLOEXEC is already set.
64198
64199 2011-03-15 Alan Modra <amodra@gmail.com>
64200
64201 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64202 l_tls_firstbyte_offset non-zero. Save padding offset in
64203 l_tls_firstbyte_offset for later use.
64204 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64205 freeing static tls block.
64206
64207 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64208
64209 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64210 where #ifdef was intended. The intent is to prevent ARG_MAX from
64211 being defined by the kernel headers.
64212
64213 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64214
64215 [BZ #12734]
64216 * resolv/resolv.h: Define RES_NOTLDQUERY.
64217 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64218 no-tld-query and set RES_NOTLDQUERY.
64219 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64220 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64221 modern BIND to search name as TLD unless forbidden.
64222
64223 2011-05-07 Petr Baudis <pasky@suse.cz>
64224 Ulrich Drepper <drepper@gmail.com>
64225
64226 [BZ #12393]
64227 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64228 (is_trusted_path): ...to here.
64229 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64230 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64231 using is_trusted_path_normalize() in setuid scripts.
64232
64233 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64234
64235 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64236 __BEGIN/__END_DECLS.
64237
64238 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64239
64240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64241 NSS_STATUS_NOTFOUND if no record was found.
64242
64243 2011-05-05 Andreas Schwab <schwab@redhat.com>
64244
64245 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64246 (headers-not-in-tirpc): Remove rpc/netdb.h
64247 * resolv/netdb.h: Revert last change.
64248
64249 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64250
64251 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64252 circular dependency between libgcc.a and libc.a.
64253
64254 2011-05-05 Andreas Schwab <schwab@redhat.com>
64255
64256 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64257 * nis/Makefile: Don't install rpcsvc/*.
64258 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64259 instead of <rpc/types.h>.
64260 (MAXHOSTNAMELEN): Define.
64261
64262 2011-05-03 Andreas Schwab <schwab@redhat.com>
64263
64264 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64265
64266 2011-04-28 Maciej Babinski <mbabinski@google.com>
64267
64268 [BZ #12714]
64269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64270 gethostbyname4_r when IPv6 results are possible.
64271
64272 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64273
64274 [BZ #12723]
64275 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64276 _PC_PIPE_BUF handling.
64277
64278 2011-04-30 Bruno Haible <bruno@clisp.org>
64279
64280 [BZ #12717]
64281 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64282 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64283 to 'int'.
64284 * inet/getnameinfo.c (getnameinfo): Likewise.
64285
64286 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64287
64288 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64289 to groups setting in database lookup.
64290 * nss/nsswitch.conf: Add initgroups entry.
64291
64292 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64293
64294 [BZ #12685]
64295 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64296 mode string.
64297 Patch by Eric Blake <eblake@redhat.com>.
64298
64299 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64300
64301 * sunrpc/Makefile (need-export-routines): Add svc_run.
64302 (routines): Remove svc_run.
64303 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64304 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64305 * sunrpc/svc_run.c (svc_run): Likewise.
64306 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64307
64308 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64309
64310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64311 problem in reallocation in last patch.
64312
64313 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64314
64315 * sunrpc/Makefile: Move inclusion of Rules.
64316
64317 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64318
64319 * nss/nss_files/files-initgroups.c: New file.
64320 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64321 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64322 _nss_files_initgroups_dyn.
64323
64324 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64325
64326 * elf/elf.h (R_ARM_IRELATIVE): Define.
64327
64328 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64329
64330 * po/ru.po: Update from translation team.
64331
64332 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64333
64334 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64335 dependencies.
64336
64337 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64338
64339 [BZ #12653]
64340 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64341 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64343 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64345
64346 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64347
64348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64349 differing bytes.
64350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64351 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64353
64354 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64355
64356 [BZ #12420]
64357 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64358 storing it.
64359 * stdlib/bug-getcontext.c: New file.
64360 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64361
64362 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64363
64364 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64365 instructions into .machine "z9-109".
64366 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64367 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64368
64369 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64370
64371 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64372 between environment variables and auxiliary vector.
64373
64374 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64375
64376 * Makefile: Add rules to build linkobj/libc.so.
64377 * include/libc-symbols.h: Define libc_hidden_nolink.
64378 * include/rpc/auth.h: Mark functions which are to be hidden.
64379 * include/rpc/auth_des.h: Likewise.
64380 * include/rpc/auth_unix.h: Likewise.
64381 * include/rpc/clnt.h: Likewise.
64382 * include/rpc/des_crypt.h: Likewise.
64383 * include/rpc/key_prot.h: Likewise.
64384 * include/rpc/pmap_clnt.h: Likewise.
64385 * include/rpc/pmap_prot.h: Likewise.
64386 * include/rpc/pmap_rmt.h: Likewise.
64387 * include/rpc/rpc_msg.h: Likewise.
64388 * include/rpc/svc.h: Likewise.
64389 * include/rpc/svc_auth.h: Likewise.
64390 * include/rpc/xdr.h: Likewise.
64391 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64392 * nss/Makefile: Likewise.
64393 * sunrpc/Makefile: Don't install headers. Build library with normal
64394 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64395 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64396 for the compat linking library. Remove use of INTDEF/INTUSE.
64397 * sunrpc/auth_none.c: Likewise.
64398 * sunrpc/auth_unix.c: Likewise.
64399 * sunrpc/authdes_prot.c: Likewise.
64400 * sunrpc/authuxprot.c: Likewise.
64401 * sunrpc/clnt_gen.c: Likewise.
64402 * sunrpc/clnt_perr.c: Likewise.
64403 * sunrpc/clnt_raw.c: Likewise.
64404 * sunrpc/clnt_simp.c: Likewise.
64405 * sunrpc/clnt_tcp.c: Likewise.
64406 * sunrpc/clnt_udp.c: Likewise.
64407 * sunrpc/clnt_unix.c: Likewise.
64408 * sunrpc/des_crypt.c: Likewise.
64409 * sunrpc/des_soft.c: Likewise.
64410 * sunrpc/get_myaddr.c: Likewise.
64411 * sunrpc/key_call.c: Likewise.
64412 * sunrpc/key_prot.c: Likewise.
64413 * sunrpc/netname.c: Likewise.
64414 * sunrpc/pm_getmaps.c: Likewise.
64415 * sunrpc/pm_getport.c: Likewise.
64416 * sunrpc/pmap_clnt.c: Likewise.
64417 * sunrpc/pmap_prot.c: Likewise.
64418 * sunrpc/pmap_prot2.c: Likewise.
64419 * sunrpc/pmap_rmt.c: Likewise.
64420 * sunrpc/publickey.c: Likewise.
64421 * sunrpc/rpc_cmsg.c: Likewise.
64422 * sunrpc/rpc_common.c: Likewise.
64423 * sunrpc/rpc_dtable.c: Likewise.
64424 * sunrpc/rpc_prot.c: Likewise.
64425 * sunrpc/rpc_thread.c: Likewise.
64426 * sunrpc/rtime.c: Likewise.
64427 * sunrpc/svc.c: Likewise.
64428 * sunrpc/svc_auth.c: Likewise.
64429 * sunrpc/svc_authux.c: Likewise.
64430 * sunrpc/svc_raw.c: Likewise.
64431 * sunrpc/svc_run.c: Likewise.
64432 * sunrpc/svc_simple.c: Likewise.
64433 * sunrpc/svc_tcp.c: Likewise.
64434 * sunrpc/svc_udp.c: Likewise.
64435 * sunrpc/svc_unix.c: Likewise.
64436 * sunrpc/svcauth_des.c: Likewise.
64437 * sunrpc/xcrypt.c: Likewise.
64438 * sunrpc/xdr.c: Likewise.
64439 * sunrpc/xdr_array.c: Likewise.
64440 * sunrpc/xdr_float.c: Likewise.
64441 * sunrpc/xdr_intXX_t.c: Likewise.
64442 * sunrpc/xdr_mem.c: Likewise.
64443 * sunrpc/xdr_rec.c: Likewise.
64444 * sunrpc/xdr_ref.c: Likewise.
64445 * sunrpc/xdr_sizeof.c: Likewise.
64446 * sunrpc/xdr_stdio.c: Likewise.
64447
64448 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64449
64450 [BZ #12650]
64451 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64452 * sysdeps/ia64/dl-tls.h: Likewise.
64453 * sysdeps/powerpc/dl-tls.h: Likewise.
64454 * sysdeps/s390/dl-tls.h: Likewise.
64455 * sysdeps/sh/dl-tls.h: Likewise.
64456 * sysdeps/sparc/dl-tls.h: Likewise.
64457 * sysdeps/x86_64/dl-tls.h: Likewise.
64458 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64459
64460 2011-03-14 Andreas Schwab <schwab@redhat.com>
64461
64462 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64463 rpath element also skip the following colon.
64464 (expand_dynamic_string_token): Add is_path parameter and pass
64465 down to DL_DST_REQUIRED and _dl_dst_substitute.
64466 (decompose_rpath): Call expand_dynamic_string_token with
64467 non-zero is_path. Ignore empty rpaths.
64468 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64469 with zero is_path.
64470
64471 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64472
64473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64474 Make cancelable.
64475
64476 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64477
64478 [BZ #12655]
64479 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64480 Patch by Filipe David Manana <fdmanana@apache.org>.
64481
64482 2011-04-07 Andreas Schwab <schwab@redhat.com>
64483
64484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64485 Maintain aligned stack.
64486 (CHECK_RSP): Remove unused macro.
64487
64488 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64489
64490 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64492
64493 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64494
64495 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64496
64497 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64498
64499 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64500
64501 [BZ #12518]
64502 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64503 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64504 * sysdeps/x86_64/memmove.c: New file.
64505 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64506 (memcpy): Renamed to ...
64507 (__new_memcpy): This.
64508 (memcpy): Provide GLIBC_2_14 memcpy.
64509 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64510 (memcpy): Provide GLIBC_2_2_5 memcpy.
64511
64512 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64513
64514 [BZ #12631]
64515 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64516
64517 2011-03-30 Andreas Schwab <schwab@redhat.com>
64518
64519 * misc/syncfs.c: New file.
64520 * misc/Makefile (routines): Add syncfs.
64521 * posix/unistd.h: Declare syncfs.
64522 * sysdeps/unix/syscalls.list: Add syncfs.
64523
64524 2011-04-01 Andreas Schwab <schwab@redhat.com>
64525
64526 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64527 open_by_handle_at.
64528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64533 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64535
64536 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64537
64538 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64545
64546 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64547 sync_file_range.c with -fexceptions.
64548 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64549 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64550 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64551 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64552 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64553 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64555 sync_file_range as cancellation point
64556 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64557 now a wrapper around __call_sync_file_range with cancellation handling.
64558 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64559 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64560 function name to __call_sync_file_range.
64561 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64562 Add call_sync_file_range.
64563
64564 2011-04-01 Andreas Schwab <schwab@redhat.com>
64565
64566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64567 bits/timex.h.
64568
64569 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64570
64571 * iconv/iconv.h: Fix typo in comment.
64572 * io/fcntl.h: Likewise.
64573 * libio/stdio.h: Likewise.
64574 * posix/spawn.h: Likewise.
64575 * posix/unistd.h: Likewise.
64576 * stdlib/stdlib.h: Likewise.
64577 * time/time.h: Likewise.
64578 * wcsmbs/wchar.h: Likewise.
64579
64580 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64581 open_by_handle): Add.
64582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64583 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64584 Augment a few comments.
64585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64590 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64591 open_by_handle.
64592
64593 * io/fcntl.h (AT_EMPTY_PATH): Define.
64594
64595 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64596
64597 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64598 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64599 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64600 to...
64601 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64602 * Versions.def: Add GLIBC_2.14.
64603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64604 Export.
64605
64606 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64607
64608 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64609 round counter.
64610 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64611
64612 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64613
64614 [BZ #12597]
64615 * string/test-strncmp.c (do_page_test): New function.
64616 (check2): Likewise.
64617 (test_main): Call check2.
64618 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64619
64620 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64621
64622 [BZ #12587]
64623 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64624 Handle cache information in CPU leaf 4.
64625 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64626
64627 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64628
64629 [BZ #12583]
64630 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64631 character representation.
64632 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64633
64634 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64635
64636 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64637 END(__isnan) to END(__isnanf) to match function entry point/label
64638 EALIGN(__isnanf,...).
64639
64640 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64641
64642 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64643
64644 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64645
64646 [BZ #12510]
64647 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64648 copy from the symbol referenced in the relocation to initialize the
64649 used variable.
64650 Patch by Piotr Bury <pbury@goahead.com>.
64651 * elf/Makefile: Add rules to build and tst-unique3.
64652 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64653 * elf/tst-unique3.cc: New file.
64654 * elf/tst-unique3.h: New file.
64655 * elf/tst-unique3lib.cc: New file.
64656 * elf/tst-unique3lib2.cc: New file.
64657
64658 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64659
64660 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64661
64662 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64663 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64664 to _start.
64665
64666 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64667
64668 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64669 to-be-loaded object along a path to loader is ld.so.
64670
64671 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64672 Ulrich Drepper <drepper@gmail.com>
64673
64674 * sysdeps/x86_64/memset.S: After aligning destination, code
64675 branches to different locations depending on the value of
64676 misalignment, when multiarch is enabled. Fix this.
64677
64678 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64679
64680 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64681 Set _x86_64_preferred_memory_instruction for AMD processsors.
64682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64683 Set bit_Prefer_SSE_for_memop for AMD processors.
64684
64685 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64686
64687 * libio/fmemopen.c (fmemopen): Optimize a bit.
64688
64689 2011-03-03 Andreas Schwab <schwab@redhat.com>
64690
64691 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64692
64693 2011-03-03 Roland McGrath <roland@redhat.com>
64694
64695 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64696
64697 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64698
64699 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64700 __bzero_ultra1 instead of __memset_ultra1.
64701
64702 2011-02-23 Andreas Schwab <schwab@redhat.com>
64703 Ulrich Drepper <drepper@gmail.com>
64704
64705 [BZ #12509]
64706 * include/link.h (struct link_map): Add l_orig_initfini.
64707 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64708 returning unsuccessfully.
64709 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64710 close of a file loaded at startup, restore the original l_initfini
64711 list.
64712 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64713 list, store the pointer.
64714 * elf/Makefile ($(objpfx)noload-mem): New rule.
64715 (noload-ENV): Define.
64716 (tests): Add $(objpfx)noload-mem.
64717 * elf/noload.c: Include <memcheck.h>.
64718 (main): Call mtrace. Close all opened handles.
64719
64720 2011-02-17 Andreas Schwab <schwab@redhat.com>
64721
64722 [BZ #12454]
64723 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64724 dependencies are missing.
64725
64726 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64727
64728 Fix __if_freereq crash: Unlike the generic version which uses free,
64729 Hurd needs munmap.
64730 * sysdeps/mach/hurd/ifreq.h: New file.
64731
64732 2011-01-27 Petr Baudis <pasky@suse.cz>
64733 Ulrich Drepper <drepper@gmail.com>
64734
64735 [BZ 12445]#
64736 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64737 to extend_alloca().
64738 * stdio-common/bug23.c: New file.
64739 * stdio-common/Makefile (tests): Add bug23.
64740
64741 2010-09-28 Andreas Schwab <schwab@redhat.com>
64742 Ulrich Drepper <drepper@gmail.com>
64743
64744 [BZ #12489]
64745 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64746 before performing relro protection. At old place add assertion
64747 to make sure nothing changed.
64748
64749 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64750 Glauber de Oliveira Costa <glommer@gmail.com>
64751
64752 * elf/elf.h: Add new ARM TLS relocs.
64753
64754 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64755
64756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64757 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64758 cast from r3.
64759 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64760 'tests' variable.
64761 * sysdeps/wordsize-64/tst-writev.c: New file.
64762
64763 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64764
64765 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64766 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64767 insns in _dl_start to prevent a TOC reference before relocs are
64768 resolved.
64769
64770 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64771
64772 [BZ #12469]
64773 * Makeconfig: Remove RANLIB definition.
64774 * Makerules: Don't use RANLIB.
64775 * aclocal.m4: Remove ranlib test.
64776 * configure.in: No need to check for ranlib.
64777 * elf/rtld-Rules: Don't use RANLIB.
64778
64779 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64780
64781 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64782 protection macro.
64783 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64784 inclusion protection macro.
64785
64786 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64787 SIGRTMIN and SIGRTMAX and print information in that case only when
64788 SIGRTMIN is defined.
64789
64790 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64791
64792 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64793 arginfo fn returning -1.
64794
64795 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64796 and thousands string is zero terminated.
64797
64798 2011-02-03 Andreas Schwab <schwab@redhat.com>
64799
64800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64801 sysdeps/unix/sysv/linux/bits/socket.h.
64802
64803 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64804
64805 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64806 (__CPU_COUNT): Remove old macros.
64807 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64808 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64809 (__CPU_ALLOC, __CPU_FREE): Add macros.
64810 (__sched_cpualloc, __sched_cpufree): Add declarations.
64811
64812 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64813
64814 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64815 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64816 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64817 (readdhstai): Return value of addhstaiX call.
64818 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64819 (addgrbyX): Return value returned by cache_addgr.
64820 (readdgrbyname): Return value returned by addgrbyX.
64821 (readdgrbygid): Likewise.
64822 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64823 (addpwbyX): Return value returned by cache_addpw.
64824 (readdpwbyname): Return value returned by addhstbyX.
64825 (readdpwbyuid): Likewise.
64826 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64827 (addservbyX): Return value returned by cache_addserv.
64828 (readdservbyname): Return value returned by addservbyX:
64829 (readdservbyport): Likewise.
64830 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64831 (addhstbyX): Return value returned by cache_addhst.
64832 (readdhstbyname): Return value returned by addhstbyX.
64833 (readdhstbyaddr): Likewise.
64834 (readdhstbynamev6): Likewise.
64835 (readdhstbyaddrv6): Likewise.
64836 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64837 (readdinitgroups): Return value returned by addinitgroupsX.
64838 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64839 (prune_cache): Keep track of timeout value of re-added entries.
64840 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64841 * nscd/nscd.h: Adjust prototypes of readd* functions.
64842
64843 2011-02-04 Roland McGrath <roland@redhat.com>
64844
64845 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64846 (nis_stats): Likewise.
64847 * nis/nis_modify.c (nis_modify): Likewise.
64848 * nis/nis_remove.c (nis_remove): Likewise.
64849 * nis/nis_add.c (nis_add): Likewise.
64850
64851 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64852
64853 * posix/fnmatch_loop.c: Add some consts.
64854
64855 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64856
64857 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64858
64859 [BZ #12460]
64860 * config.make.in (config-cflags-novzeroupper): Define.
64861 * configure.in: Substitute libc_cv_cc_novzeroupper.
64862 * elf/Makefile (AVX-CFLAGS): Define.
64863 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64864 (CFLAGS-tst-auditmod4a.c): Likewise.
64865 (CFLAGS-tst-auditmod4b.c): Likewise.
64866 (CFLAGS-tst-auditmod6b.c): Likewise.
64867 (CFLAGS-tst-auditmod6c.c): Likewise.
64868 (CFLAGS-tst-auditmod7b.c): Likewise.
64869 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64870
64871 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64872
64873 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64874 function to the callback.
64875 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64876
64877 2011-02-02 Andreas Schwab <schwab@redhat.com>
64878
64879 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64880 of errno.
64881
64882 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64883
64884 [BZ #11724]
64885 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64886 of constructors.
64887 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64888 of destructors.
64889 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64890
64891 [BZ #11724]
64892 * elf/Makefile: Add rules to build and run new test.
64893 * elf/tst-initorder.c: New file.
64894 * elf/tst-initorder.exp: New file.
64895 * elf/tst-initordera1.c: New file.
64896 * elf/tst-initordera2.c: New file.
64897 * elf/tst-initordera3.c: New file.
64898 * elf/tst-initordera4.c: New file.
64899 * elf/tst-initorderb1.c: New file.
64900 * elf/tst-initorderb2.c: New file.
64901 * elf/tst-order-a1.c: New file.
64902 * elf/tst-order-a2.c: New file.
64903 * elf/tst-order-a3.c: New file.
64904 * elf/tst-order-a4.c: New file.
64905 * elf/tst-order-b1.c: New file.
64906 * elf/tst-order-b2.c: New file.
64907 * elf/tst-order-main.c: New file.
64908 New test case by George Gensure <werkt0@gmail.com>.
64909
64910 2010-10-01 Andreas Schwab <schwab@redhat.com>
64911
64912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64913 decoding ACE if AI_CANONIDN.
64914
64915 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64916
64917 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64918
64919 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64920
64921 * version.h (RELEASE): Bump for 2.13 release.
64922 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64923
64924 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64925
64926 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64927 MADV_NOHUGEPAGE.
64928 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64931 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64934
64935 * posix/getconf.c: Update copyright year.
64936 * catgets/gencat.c: Likewise.
64937 * csu/version.c: Likewise.
64938 * debug/catchsegv.sh: Likewise.
64939 * debug/xtrace.sh: Likewise.
64940 * elf/ldconfig.c: Likewise.
64941 * elf/ldd.bash.in: Likewise.
64942 * elf/sprof.c (print_version): Likewise.
64943 * iconv/iconv_prog.c: Likewise.
64944 * iconv/iconvconfig.c: Likewise.
64945 * locale/programs/locale.c: Likewise.
64946 * locale/programs/localedef.c: Likewise.
64947 * malloc/memusage.sh: Likewise.
64948 * malloc/mtrace.pl: Likewise.
64949 * nscd/nscd.c (print_version): Likewise.
64950 * nss/getent.c: Likewise.
64951
64952 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64953 PF_CAIF, and PF_ALG.
64954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64955
64956 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64957
64958 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64959 (modules-names): Use them.
64960 (ifunc-test-modules, ifunc-pie-tests): Define.
64961 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64962 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64963 (test-extras): Likewise.
64964 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64965 $(compile-command.c).
64966 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64967 (all-built-dso): Define.
64968 (check-textrel.out, check-execstack.out): Depend on it.
64969
64970 * configure.in: Don't override --enable-multi-arch.
64971
64972 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64973
64974 [BZ #6812]
64975 * nscd/hstcache.c (tryagain): Define.
64976 (cache_addhst): Return tryagain not notfound for temporary errors.
64977 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64978 failed.
64979
64980 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64981
64982 [BZ #10563]
64983 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64984 to make the syscall.
64985 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64986
64987 [BZ #12378]
64988 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64989 and fall back to matching as normal character if the string ends before
64990 the matching ']' is found. This is what POSIX requires.
64991 * posix/testfnm.c: Adjust test result.
64992 * posix/globtest.sh: Adjust test result. Add new test.
64993 * posix/tst-fnmatch.input: Likewise.
64994 * posix/tst-fnmatch2.c: Add new test.
64995
64996 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64997
64998 * elf/Makefile (check-execstack): Revert last change. Depend on
64999 check-execstack.h.
65000 (check-execstack.h): New target.
65001 (generated): Add check-execstack.h.
65002 * elf/check-execstack.c: Include "check-execstack.h".
65003 (main): Revert last change.
65004 (handle_file): Return zero if GNU_STACK is absent and
65005 DEFAULT_STACK_PERMS doesn't include PF_X.
65006
65007 2011-01-13 Ulrich Drepper <drepper@gmail.com>
65008
65009 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65010 in child fails because the descriptor is already closed.
65011 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65012 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65013 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65014
65015 [BZ #12397]
65016 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65017 syscall.
65018
65019 [BZ #10484]
65020 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65021 temporary buffer used to handle multi lookups locally.
65022 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65023
65024 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65025
65026 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65027 loader is ld.so.
65028
65029 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
65030
65031 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65032 alignment for SSE2.
65033
65034 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65035
65036 [BZ #12394]
65037 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65038 characters. When rounding increased number of integer digits recompute
65039 number of groups.
65040 * stdio-common/tst-grouping.c: New file.
65041 * stdio-common/Makefile: Add rules to build and run tst-grouping.
65042
65043 2011-01-09 Ulrich Drepper <drepper@gmail.com>
65044
65045 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65046 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
65047
65048 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65049 void.
65050 * bits/select.h: Likewise.
65051
65052 2011-01-08 Ulrich Drepper <drepper@gmail.com>
65053
65054 * po/ja.po: Update from translation team.
65055
65056 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
65057
65058 [BZ #11155]
65059 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65060 implementation just like for lxstat, fxstatat, et al.
65061
65062 2010-12-27 Jim Meyering <meyering@redhat.com>
65063
65064 [BZ #12348]
65065 * posix/regexec.c (build_trtable): Return failure indication upon
65066 calloc failure. Otherwise, re_search_internal could infloop on OOM.
65067
65068 2010-12-25 Ulrich Drepper <drepper@gmail.com>
65069
65070 [BZ #12201]
65071 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65072 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65073 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65075
65076 [BZ #12207]
65077 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65078
65079 [BZ #12204]
65080 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65081 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65082
65083 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65084
65085 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65086 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65087 script has SORT_BY_INIT_PRIORITY.
65088 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65089 NO_CTORS_DTORS_SECTIONS is defined.
65090 * elf/soinit.c: Likewise.
65091 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65092 NO_CTORS_DTORS_SECTIONS is defined.
65093 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65094 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65095 * sysdeps/sh/init-first.c: Likewise.
65096 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65097
65098 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65099
65100 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65101 always use the slow path.
65102
65103 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65104
65105 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65106 similar rule which adds the sysdep directories to the header search in
65107 order to pick up the correct platform stackinfo.h.
65108 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65109 perform test if it is, otherwise return successfully without testing.
65110 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65111 DEFAULT_STACK_PERMS define in stackinfo.h.
65112 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65113 defined in stackinfo.h.
65114 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65115 DEFAULT_STACK_PERMS defined in stackinfo.h.
65116 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65117 * sysdeps/ia64/stackinfo.h: Likewise.
65118 * sysdeps/s390/stackinfo.h: Likewise.
65119 * sysdeps/sh/stackinfo.h: Likewise.
65120 * sysdeps/sparc/stackinfo.h: Likewise.
65121 * sysdeps/x86_64/stackinfo.h: Likewise.
65122 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65123 PF_X for powerpc64. Retain PF_X for powerpc32.
65124
65125 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65126
65127 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65128 accurately.
65129 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65130 GETDENTS_64BIT_ALIGNED.
65131
65132 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65133
65134 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65135
65136 2010-12-10 Andreas Schwab <schwab@redhat.com>
65137
65138 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65139 _GNU_SOURCE.
65140
65141 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65142 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65143 Remove __restrict.
65144 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65145 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65146
65147 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65148
65149 [BZ #11655]
65150 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65151 are initialized.
65152
65153 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65154
65155 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65156
65157 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65158
65159 * po/it.po: Update from translation team.
65160
65161 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65162
65163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65164 unused codes.
65165
65166 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65167
65168 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65169
65170 2010-11-24 Andreas Schwab <schwab@redhat.com>
65171
65172 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65173 specially.
65174 (gaih_getanswer_slice): Likewise.
65175
65176 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65177
65178 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65179
65180 2010-05-31 Petr Baudis <pasky@suse.cz>
65181
65182 [BZ #11149]
65183 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65184 silently even in the chroot mode.
65185
65186 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65187
65188 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65189 last patch a bit. Pretty printing
65190
65191 2010-05-31 Petr Baudis <pasky@suse.cz>
65192
65193 [BZ #10085]
65194 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65195 initialization of skip_initgroups_dyn.
65196
65197 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65198
65199 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65200 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65201
65202 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65203
65204 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65205
65206 2010-11-11 Andreas Schwab <schwab@redhat.com>
65207
65208 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65209 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65210 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65211 ($(objpfx)tst-fnmatch-mem): New rule.
65212 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65213 * posix/tst-fnmatch.c (main): Call mtrace.
65214
65215 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65216
65217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65218 Support Intel processor model 6 and model 0x2c.
65219
65220 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65221
65222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65223 signed comparison.
65224
65225 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65226
65227 [BZ #12205]
65228 * string/test-strncasecmp.c (check_result): New function.
65229 (do_one_test): Use it.
65230 (check1): New function.
65231 (test_main): Use it.
65232 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65233 Support strcasecmp and strncasecmp.
65234
65235 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65236
65237 [BZ #12194]
65238 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65240
65241 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65242
65243 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65244 IFUNC support.
65245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65246 memset-x86-64.
65247 * sysdeps/x86_64/multiarch/bzero.S: New file.
65248 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65249 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65250 * sysdeps/x86_64/multiarch/memset.S: New file.
65251 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65253 Set bit_Prefer_SSE_for_memop for Intel processors.
65254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65255 Define.
65256 (index_Prefer_SSE_for_memop): Define.
65257 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65258
65259 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65260
65261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65262 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65263
65264 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65265
65266 [BZ #12191]
65267 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65268 (__x86_64_raw_data_cache_size_half): Likewise.
65269 (__x86_64_raw_shared_cache_size): Likewise.
65270 (__x86_64_raw_shared_cache_size_half): Likewise.
65271
65272 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65273 (__x86_64_raw_data_cache_size_half): Likewise.
65274 (__x86_64_raw_shared_cache_size): Likewise.
65275 (__x86_64_raw_shared_cache_size_half): Likewise.
65276 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65277 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65278 and __x86_64_raw_shared_cache_size_half. Round
65279 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65280 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65281 to multiple of 256 bytes.
65282
65283 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65284
65285 [BZ #12167]
65286 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65287 of inacessible symlinks. Verify result of symlink before returning it.
65288 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65289 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65290
65291 2010-10-28 Erich Ritz <erichritz@gmail.com>
65292
65293 * math/math.h (isinf): Fix typo in comment.
65294
65295 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65296
65297 * po/da.po: Update from translation team.
65298
65299 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65300
65301 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65302 is added to the list.
65303
65304 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65305 Ulrich Drepper <drepper@gmail.com>
65306
65307 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65308 the global list here. Move code to...
65309 (_dl_add_to_namespace_list): ...here. New function.
65310 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65311 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65312 * elf/dl-load.c (lose): Don't remove the element from the list.
65313 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65314 (_dl_map_object): Likewise.
65315
65316 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65317
65318 [BZ #12159]
65319 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65320 into all bytes of SSE register.
65321 Patch by Richard Li <richardpku@gmail.com>.
65322
65323 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65324
65325 [BZ #12140]
65326 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65327 perturbing.
65328
65329 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65330
65331 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65332 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65333 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65334 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65336 submachine.
65337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65338
65339 2010-10-22 Andreas Schwab <schwab@redhat.com>
65340
65341 * include/dlfcn.h (__RTLD_SECURE): Define.
65342 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65343 mode & __RTLD_SECURE instead.
65344 (open_path): Rename preloaded parameter to secure.
65345 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65346 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65347 * elf/dl-deps.c (openaux): Likewise.
65348 * elf/rtld.c (struct map_args): Remove is_preloaded.
65349 (map_doit): Don't use it.
65350 (dl_main): Likewise.
65351 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65352 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65353
65354 2010-09-09 Andreas Schwab <schwab@redhat.com>
65355
65356 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65357 (sysd-rules-targets): Remove duplicates.
65358 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65359 rtld-%.$o dependency.
65360
65361 2010-10-18 Andreas Schwab <schwab@redhat.com>
65362
65363 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65364 _dl_map_object do it.
65365
65366 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65367
65368 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65369 fast fma builtins, define the macros in the C99 standard.
65370 (FP_FAST_FMAF): Likewise.
65371 (FP_FAST_FMAL): Likewise.
65372 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65373
65374 * bits/mathdef.h: Update copyright year.
65375 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65376
65377 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65378
65379 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65380 builtins, define the macros in the C99 standard.
65381 (FP_FAST_FMAF): Likewise.
65382 (FP_FAST_FMAL): Likewise.
65383 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65384 multiply/add.
65385 (FP_FAST_FMAF): Likewise.
65386
65387 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65388
65389 [BZ #3268]
65390 * math/libm-test.inc (fma_test): Some new testcases.
65391 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65393 y and infinite z. Do multiplication by C already in long double.
65394 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65396 y and infinite z. Do bitwise or of inexact bit into u.d.
65397 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65398 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65399 * sysdeps/i386/fpu/s_fma.S: Removed.
65400 * sysdeps/i386/fpu/s_fmal.S: Removed.
65401
65402 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65403
65404 [BZ #3268]
65405 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65407 computation is not scheduled after fetestexcept. Fix value
65408 of minimum denormal long double.
65409
65410 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65411
65412 [BZ #3268]
65413 * math/libm-test.inc (fma_test): Add some more tests.
65414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65415 correctly.
65416
65417 2010-10-15 Andreas Schwab <schwab@redhat.com>
65418
65419 * scripts/data/localplt-s390-linux-gnu.data: New file.
65420 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65421
65422 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65423
65424 [BZ #3268]
65425 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65426 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65427 instead of dbl-64.
65428 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65429 inlines.
65430 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65432 if one of x and y is very large and the other is subnormal.
65433 * sysdeps/s390/fpu/s_fmaf.c: New file.
65434 * sysdeps/s390/fpu/s_fma.c: New file.
65435 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65436 * sysdeps/powerpc/fpu/s_fma.S: New file.
65437 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65438 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65439 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65440
65441 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65442
65443 [BZ #3268]
65444 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65445 fma tests.
65446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65447 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65448 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65449 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65450 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65451 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65452 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65453
65454 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65455
65456 [BZ #12078]
65457 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65458 * posix/bug-regex31.input: Add test case.
65459
65460 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65461
65462 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65463 * posix/bug-regex31.input: New file.
65464
65465 [BZ #12078]
65466 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65467 (parse_sub_exp): Fix last change, use postorder.
65468
65469 * posix/bug-regex31.c: New file.
65470 * posix/Makefile: Add rules to build and run bug-regex31.
65471
65472 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65473
65474 [BZ #12078]
65475 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65476
65477 [BZ #12108]
65478 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65479 to have entries in sys_siglist.
65480
65481 [BZ #12093]
65482 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65483 be NULL.
65484
65485 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65486
65487 [BZ #3268]
65488 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65489 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65490 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65491 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65492 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65493 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65494 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65495 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65496 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65497 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65498 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65499 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65500 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65501 * math/ftestexcept.c (fetestexcept): Likewise.
65502 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65503 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65504 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65505 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65506 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65507 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65508 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65509
65510 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65511
65512 [BZ #12107]
65513 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65514 newline.
65515
65516 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65517
65518 * string/bug-strstr1.c: New file.
65519 * string/Makefile: Add rules to build and run bug-strstr1.
65520
65521 2010-10-05 Eric Blake <eblake@redhat.com>
65522
65523 [BZ #12092]
65524 * string/str-two-way.h (two_way_long_needle): Always clear memory
65525 when skipping input due to the shift table.
65526
65527 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65528
65529 [BZ #12005]
65530 * malloc/mcheck.c: Handle large requests.
65531
65532 [BZ #12077]
65533 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65534 for strncmp and strncasecmp.
65535 * string/stratcliff.c: Add tests for strcmp and strncmp.
65536 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65537
65538 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65539
65540 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65541 __set_fpscr.
65542
65543 2010-09-30 Andreas Jaeger <aj@suse.de>
65544
65545 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65546 (CGROUP_SUPER_MAGIC): Define.
65547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65548 Handle btrfs and cgroup file systems.
65549 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65550 Likewise.
65551
65552 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65553
65554 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65555 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65556
65557 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65558
65559 [BZ #12067]
65560 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65561 trying to locate the ELF header.
65562
65563 2010-09-27 Andreas Schwab <schwab@redhat.com>
65564
65565 [BZ #11611]
65566 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65567 Mask out sign-bit copies when constructing f_fsid.
65568
65569 2010-09-24 Petr Baudis <pasky@suse.cz>
65570
65571 * debug/stack_chk_fail_local.c: Add missing licence exception.
65572 * debug/warning-nop.c: Likewise.
65573
65574 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65575
65576 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65577 implementing getdents64 using getdents syscall, set d_type if
65578 __ASSUME_GETDENTS32_D_TYPE.
65579
65580 2010-09-16 Andreas Schwab <schwab@redhat.com>
65581
65582 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65583 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65584
65585 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65586
65587 [BZ #12037]
65588 * posix/unistd.h: Undo change of feature selection for ftruncate from
65589 2010-01-11.
65590
65591 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65592
65593 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65594 detection.
65595
65596 2010-09-20 Andreas Schwab <schwab@redhat.com>
65597
65598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65599 fanotify_mark.
65600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65601
65602 2010-09-14 Andreas Schwab <schwab@redhat.com>
65603
65604 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65605 variables after CHECK_SP call.
65606 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65607
65608 2010-09-13 Andreas Schwab <schwab@redhat.com>
65609 Ulrich Drepper <drepper@redhat.com>
65610
65611 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65612 re-relocationg ld.so.
65613 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65614 _dl_init_paths call.
65615 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65616 here anymore.
65617
65618 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65619
65620 * resolv/res_init.c (__res_vinit): Count the default server we added.
65621
65622 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65623 Ulrich Drepper <drepper@redhat.com>
65624
65625 [BZ #11968]
65626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65627 (____longjmp_chk): Use %ebx for saving value across system call.
65628 Add unwind info.
65629
65630 2010-09-06 Andreas Schwab <schwab@redhat.com>
65631
65632 * manual/Makefile: Don't mix pattern rules with normal rules.
65633
65634 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65635
65636 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65637 operation.
65638 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65639 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65640 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65641 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65643 Likewise.
65644
65645 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65646
65647 [BZ #11979]
65648 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65649 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65650
65651 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65652
65653 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65654 * sysdeps/x86_64/addmul_1.S: Likewise.
65655 * sysdeps/x86_64/lshift.S: Likewise.
65656 * sysdeps/x86_64/mul_1.S: Likewise.
65657 * sysdeps/x86_64/rshift.S: Likewise.
65658 * sysdeps/x86_64/sub_n.S: Likewise.
65659 * sysdeps/x86_64/submul_1.S: Likewise.
65660
65661 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65662
65663 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65664 Define __sched_param instead of SCHED_* and sched_param when
65665 <bits/sched.h> is included with __need_schedparam defined.
65666 * bits/sched.h [__need_schedparam]
65667 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65668 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65669 (__defined_schedparam): Define to 1.
65670 (__sched_param): New structure, identical to sched_param.
65671 (__need_schedparam): Undefine.
65672
65673 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65674
65675 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65676 (epoll_create1): Declare.
65677
65678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65679
65680 2010-08-31 Andreas Schwab <schwab@redhat.com>
65681
65682 [BZ #7066]
65683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65684 shifting retval into place.
65685
65686 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65687
65688 * nis/rpcsvc/nis.h: Update copyright notice.
65689 * nis/rpcsvc/nis.x: Likewise.
65690 * nis/rpcsvc/nis_callback.h: Likewise.
65691 * nis/rpcsvc/nis_callback.x: Likewise.
65692 * nis/rpcsvc/nis_object.x: Likewise.
65693 * nis/rpcsvc/nis_tags.h: Likewise.
65694 * nis/rpcsvc/yp.h: Likewise.
65695 * nis/rpcsvc/yp.x: Likewise.
65696 * nis/rpcsvc/ypupd.h: Likewise.
65697 * nis/yp_xdr.c: Likewise.
65698 * nis/ypupdate_xdr.c: Likewise.
65699
65700 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65701 mainly the body of pmap_getport. Add parameters to specify timeouts.
65702 (pmap_getport): Use __libc_rpc_getport.
65703 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65704 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65705 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65706
65707 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65708
65709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65710 fanotify_mark.
65711
65712 2010-08-27 Roland McGrath <roland@redhat.com>
65713
65714 * sysdeps/i386/i686/multiarch/Makefile
65715 (CFLAGS-varshift.c): New variable.
65716
65717 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65718
65719 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65720 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65721
65722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65723
65724 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65725
65726 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65727
65728 * sysdeps/x86_64/strlen.S: Unroll the loop.
65729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65730 strlen-sse2 strlen-sse2-bsf.
65731 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65732 __strlen_no_bsf if bit_Slow_BSF is set.
65733 (__strlen_sse42): Removed.
65734 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65735 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65736
65737 2010-08-25 Roland McGrath <roland@redhat.com>
65738
65739 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65740 * sysdeps/x86_64/multiarch/varshift.c: New file.
65741 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65742 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65743 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65744 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65745
65746 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65747
65748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65749 strlen-sse2 strlen-sse2-bsf.
65750 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65751 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65752 (__strlen_sse2): Removed.
65753 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65754 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65756 bit_Slow_BSF for Atom.
65757 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65758 (index_Slow_BSF): Define.
65759 (HAS_SLOW_BSF): Define.
65760
65761 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65762
65763 [BZ #10851]
65764 * resolv/res_init.c (__res_vinit): When no server address at all
65765 is given default to loopback.
65766
65767 2010-08-24 Roland McGrath <roland@redhat.com>
65768
65769 * configure.in: Remove config-name.h generation.
65770 * configure: Regenerated.
65771 * config-name.in: File removed.
65772 * scripts/config-uname.sh: New file.
65773 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65774 ($(objdir)config-name.h): New target.
65775
65776 * sunrpc/rpc_parse.h: Avoid nested comment.
65777
65778 2010-08-24 Richard Henderson <rth@redhat.com>
65779 Ulrich Drepper <drepper@redhat.com>
65780 H.J. Lu <hongjiu.lu@intel.com>
65781
65782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65784 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65785 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65786 _mm_alignr_epi8 with _mm_loadu_si128.
65787 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65788 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65789 (__m128i_shift_right): Removed.
65790 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65791 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65792 * sysdeps/x86_64/multiarch/varshift.h: New file.
65793 * sysdeps/x86_64/multiarch/varshift.S: New file.
65794
65795 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65796
65797 * configure.in: Move assembler checks to before sysdep dir checking.
65798
65799 2010-08-20 Petr Baudis <pasky@suse.cz>
65800
65801 * LICENSES: Sync the sunrpc license.
65802
65803 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65804
65805 * sunrpc/auth_des.c: Update copyright notice once again.
65806 * sunrpc/auth_none.c: Likewise.
65807 * sunrpc/auth_unix.c: Likewise.
65808 * sunrpc/authdes_prot.c: Likewise.
65809 * sunrpc/authuxprot.c: Likewise.
65810 * sunrpc/bindrsvprt.c: Likewise.
65811 * sunrpc/clnt_gen.c: Likewise.
65812 * sunrpc/clnt_perr.c: Likewise.
65813 * sunrpc/clnt_raw.c: Likewise.
65814 * sunrpc/clnt_simp.c: Likewise.
65815 * sunrpc/clnt_tcp.c: Likewise.
65816 * sunrpc/clnt_udp.c: Likewise.
65817 * sunrpc/clnt_unix.c: Likewise.
65818 * sunrpc/des_crypt.c: Likewise.
65819 * sunrpc/des_soft.c: Likewise.
65820 * sunrpc/get_myaddr.c: Likewise.
65821 * sunrpc/getrpcport.c: Likewise.
65822 * sunrpc/key_call.c: Likewise.
65823 * sunrpc/key_prot.c: Likewise.
65824 * sunrpc/openchild.c: Likewise.
65825 * sunrpc/pm_getmaps.c: Likewise.
65826 * sunrpc/pm_getport.c: Likewise.
65827 * sunrpc/pmap_clnt.c: Likewise.
65828 * sunrpc/pmap_prot.c: Likewise.
65829 * sunrpc/pmap_prot2.c: Likewise.
65830 * sunrpc/pmap_rmt.c: Likewise.
65831 * sunrpc/rpc/auth.h: Likewise.
65832 * sunrpc/rpc/auth_unix.h: Likewise.
65833 * sunrpc/rpc/clnt.h: Likewise.
65834 * sunrpc/rpc/des_crypt.h: Likewise.
65835 * sunrpc/rpc/key_prot.h: Likewise.
65836 * sunrpc/rpc/netdb.h: Likewise.
65837 * sunrpc/rpc/pmap_clnt.h: Likewise.
65838 * sunrpc/rpc/pmap_prot.h: Likewise.
65839 * sunrpc/rpc/pmap_rmt.h: Likewise.
65840 * sunrpc/rpc/rpc.h: Likewise.
65841 * sunrpc/rpc/rpc_des.h: Likewise.
65842 * sunrpc/rpc/rpc_msg.h: Likewise.
65843 * sunrpc/rpc/svc.h: Likewise.
65844 * sunrpc/rpc/svc_auth.h: Likewise.
65845 * sunrpc/rpc/types.h: Likewise.
65846 * sunrpc/rpc/xdr.h: Likewise.
65847 * sunrpc/rpc_clntout.c: Likewise.
65848 * sunrpc/rpc_cmsg.c: Likewise.
65849 * sunrpc/rpc_common.c: Likewise.
65850 * sunrpc/rpc_cout.c: Likewise.
65851 * sunrpc/rpc_dtable.c: Likewise.
65852 * sunrpc/rpc_hout.c: Likewise.
65853 * sunrpc/rpc_main.c: Likewise.
65854 * sunrpc/rpc_parse.c: Likewise.
65855 * sunrpc/rpc_parse.h: Likewise.
65856 * sunrpc/rpc_prot.c: Likewise.
65857 * sunrpc/rpc_sample.c: Likewise.
65858 * sunrpc/rpc_scan.c: Likewise.
65859 * sunrpc/rpc_scan.h: Likewise.
65860 * sunrpc/rpc_svcout.c: Likewise.
65861 * sunrpc/rpc_tblout.c: Likewise.
65862 * sunrpc/rpc_util.c: Likewise.
65863 * sunrpc/rpc_util.h: Likewise.
65864 * sunrpc/rpcinfo.c: Likewise.
65865 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65866 * sunrpc/rpcsvc/key_prot.x: Likewise.
65867 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65868 * sunrpc/rpcsvc/mount.x: Likewise.
65869 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65870 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65871 * sunrpc/rpcsvc/rex.x: Likewise.
65872 * sunrpc/rpcsvc/rstat.x: Likewise.
65873 * sunrpc/rpcsvc/rusers.x: Likewise.
65874 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65875 * sunrpc/rpcsvc/spray.x: Likewise.
65876 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65877 * sunrpc/rtime.c: Likewise.
65878 * sunrpc/svc.c: Likewise.
65879 * sunrpc/svc_auth.c: Likewise.
65880 * sunrpc/svc_authux.c: Likewise.
65881 * sunrpc/svc_raw.c: Likewise.
65882 * sunrpc/svc_run.c: Likewise.
65883 * sunrpc/svc_simple.c: Likewise.
65884 * sunrpc/svc_tcp.c: Likewise.
65885 * sunrpc/svc_udp.c: Likewise.
65886 * sunrpc/svc_unix.c: Likewise.
65887 * sunrpc/svcauth_des.c: Likewise.
65888 * sunrpc/xcrypt.c: Likewise.
65889 * sunrpc/xdr.c: Likewise.
65890 * sunrpc/xdr_array.c: Likewise.
65891 * sunrpc/xdr_float.c: Likewise.
65892 * sunrpc/xdr_mem.c: Likewise.
65893 * sunrpc/xdr_rec.c: Likewise.
65894 * sunrpc/xdr_ref.c: Likewise.
65895 * sunrpc/xdr_sizeof.c: Likewise.
65896 * sunrpc/xdr_stdio.c: Likewise.
65897
65898 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65899 handling.
65900
65901 2010-08-19 Andreas Schwab <schwab@redhat.com>
65902
65903 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65904
65905 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65906
65907 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65909 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65910 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65911 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65912 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65913 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65914 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65916 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65917 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65918 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65919 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65920 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65921
65922 2010-07-26 Anton Blanchard <anton@samba.org>
65923
65924 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65925 * malloc/arena.c (heap_trim): Likewise.
65926
65927 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65928
65929 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65930 here. Not...
65931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65932 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65933
65934 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65935
65936 * sysdeps/i386/elf/Makefile: New file.
65937
65938 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65939
65940 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65941 from fanotify_init.
65942 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65944
65945 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65946
65947 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65948 of strncasecmp_l.
65949 * sysdeps/multiarch/strcmp.S: Likewise.
65950
65951 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65952
65953 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65954 strncase_l-nonascii.
65955 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65956 Add strncase_l-ssse3.
65957 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65958 * sysdeps/x86_64/strcmp.S: Likewise.
65959 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65960 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65961 * sysdeps/x86_64/strncase.S: New file.
65962 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65963 * sysdeps/x86_64/strncase_l.S: New file.
65964 * string/Makefile (strop-tests): Add strncasecmp.
65965 * string/test-strncasecmp.c: New file.
65966
65967 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65968 warning.
65969
65970 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65971 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65972
65973 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65974
65975 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65976
65977 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65978
65979 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65980 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65981 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65982
65983 2010-05-01 Alan Modra <amodra@gmail.com>
65984
65985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65986 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65987 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65988 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65989 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65990 tidying. Don't tail-call __sigjmp_save for static lib.
65991 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65992 save location.
65993 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65994 (CALL_MCOUNT): Add eh info, and nop after bl.
65995 (TAIL_CALL_SYSCALL_ERROR): New macro.
65996 (PSEUDO_RET): Use it.
65997 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65998 Correct save location of integer regs and cr.
65999 (_dl_profile_resolve): Correct cr save location. Delete nops
66000 after bl when SHARED. Reduce cfi size a little by better
66001 placement of cfi directives.
66002 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66003 make a stack frame. Instead use parm save area as a temp.
66004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66005 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
66006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66007 Don't make a stack frame for parent, use parm save area.
66008 Increase child stack frame to 112 bytes. Don't save unused reg,
66009 and adjust reg usage. Set up cfi on error recovery and
66010 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66012 (__makecontext): Add dummy nop after jump to exit.
66013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66014 Use correct parm save area and cr save, reduce stack frame.
66015 Correct cfi for possible PSEUDO_RET frame setup.
66016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66017 Branch to local label emitted by PSEUDO_RET rather than
66018 __syscall_error.
66019
66020 2010-08-12 Andreas Schwab <schwab@redhat.com>
66021
66022 [BZ #11904]
66023 * locale/programs/locale.c (print_assignment): New function.
66024 (show_locale_vars): Use it.
66025
66026 2010-08-11 Ulrich Drepper <drepper@redhat.com>
66027
66028 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66029 field.
66030 (struct statfs64): Likewise.
66031 (_STATFS_F_FLAGS): Define.
66032 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66034 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66035 (ST_VALID): Define locally.
66036 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66037 __statvfs_getflags, use the provided value.
66038 * sysdeps/unix/sysv/linux/kernel-features.h: Define
66039 __ASSUME_STATFS_F_FLAGS.
66040
66041 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66042
66043 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66044 Add sys/fanotify.h.
66045 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66046 fanotify_mask for GLIBC_2.13.
66047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66048 fanotify_init and fanotify_mark.
66049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66050 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66051
66052 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66053 Add prlimit.
66054 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66055 prlimit64 for GLIBC_2.13.
66056 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66057 prlimit64.
66058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66059 syscall.
66060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66061 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66062 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66063 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
66065 add prlimit alias.
66066 * sysdeps/unix/sysv/linux/prlimit.c: New file.
66067
66068 [BZ #11903]
66069 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66070 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66071
66072 * nss/Makefile: Add rules to build and run tst-nss-test1.
66073 * shlib-versions: Add entry for libnss_test1.
66074 * nss/nss_test1.c: New file.
66075 * nss/tst-nss-test1.c: New file.
66076
66077 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66078 (__nss_configure_lookup): Set appropriate entry in
66079 __nss_configure_lookup to true.
66080 * nss/nsswitch.h: Define enum with indeces of databases in
66081 databases and __nss_database_custom arrays. Declare
66082 __nss_database_custom.
66083 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66084 to avoid using nscd when custom rules are installed.
66085 * nss/getXXbyYY_r.c: Likewise.
66086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66087
66088 * nss/nss_files/files-parse.c: Whitespace fixes.
66089
66090 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66091
66092 [BZ #11883]
66093 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66094 * posix/fnmatch_loop.c: Likewise.
66095
66096 2010-07-17 Andi Kleen <ak@linux.intel.com>
66097
66098 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66099 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66100 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66101 * Versions.def [GLIBC_2.13]: Add.
66102
66103 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66104
66105 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66106 Also fail if tpwd after pwuid call is NULL.
66107
66108 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66109
66110 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66111 when converting to ms.
66112
66113 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66114
66115 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66116 EOPNOTSUPP errors with ENOTTY.
66117 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66118 EOPNOTSUPP errors with ENOTTY.
66119
66120 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66121
66122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66123 Add strcasecmp_l-ssse3.
66124 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66125 strcasecmp.
66126 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66127 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66128 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66129
66130 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66131
66132 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66133
66134 * string/Makefile (strop-tests): Add strcasecmp.
66135 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66136 strcasecmp_l-nonascii.
66137 (gen-as-const-headers): Add locale-defines.sym.
66138 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66139 * sysdeps/x86_64/strcasecmp.S: New file.
66140 * sysdeps/x86_64/strcasecmp_l.S: New file.
66141 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66142 * sysdeps/x86_64/locale-defines.sym: New file.
66143 * string/test-strcasecmp.c: New file.
66144
66145 * string/test-strcasestr.c: Test both ends of the range of characters.
66146 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66147
66148 2010-07-29 Roland McGrath <roland@redhat.com>
66149
66150 [BZ #11856]
66151 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66152
66153 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66154
66155 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66156 for ld.so.
66157
66158 2010-07-27 Andreas Schwab <schwab@redhat.com>
66159
66160 * manual/memory.texi (Malloc Tunable Parameters): Document
66161 M_PERTURB.
66162
66163 2010-07-26 Roland McGrath <roland@redhat.com>
66164
66165 [BZ #11840]
66166 * configure.in (-fgnu89-inline check): Set and substitute
66167 gnu89_inline, not libc_cv_gnu89_inline.
66168 * configure: Regenerated.
66169 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66170
66171 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66172
66173 * string/test-strnlen.c: New file.
66174 * string/Makefile (strop-tests): Add strnlen.
66175 * string/tester.c (test_strnlen): Add a few more test cases.
66176 * string/tst-strlen.c: Better error reporting.
66177
66178 * sysdeps/x86_64/strnlen.S: New file.
66179
66180 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66181
66182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66183 lower-latency instructions.
66184
66185 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66186
66187 * string/test-strcasestr.c: New file.
66188 * string/test-strstr.c: New file.
66189 * string/Makefile (strop-tests): Add strstr and strcasestr.
66190 * string/str-two-way.h: Don't undefine MAX.
66191 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66192
66193 2010-07-21 Andreas Schwab <schwab@redhat.com>
66194
66195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66196 strcasestr-nonascii.
66197 (CFLAGS-strcasestr-nonascii.c): Define.
66198 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66200 Remove unused attribute.
66201
66202 2010-07-20 Roland McGrath <roland@redhat.com>
66203
66204 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66205 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66206 ld.so.cache was broken. With it, there is no way to disable dsocaps
66207 like LD_HWCAP_MASK can disable hwcaps.
66208
66209 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66210
66211 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66212
66213 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66214
66215 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66216 call in strcasestr.
66217 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66218 __strcasestr_sse42_nonascii.
66219 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66220 strcasestr-nonascii.c.
66221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66222
66223 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66224
66225 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66226 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66227 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66228 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66229
66230 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66231
66232 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66233 fcntl.
66234
66235 2010-07-06 Andreas Schwab <schwab@redhat.com>
66236
66237 [BZ #11577]
66238 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66239 dl_signal_cerror.
66240
66241 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66242
66243 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66244 _PC_PIPE_BUF using F_GETPIPE_SZ.
66245
66246 2010-07-05 Roland McGrath <roland@redhat.com>
66247
66248 * manual/arith.texi (Rounding Functions): Fix rint description
66249 implicit in round description.
66250
66251 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66252
66253 * elf/Makefile: Fix linking for a few tests to make recent linker
66254 happy.
66255
66256 2010-06-30 Andreas Schwab <schwab@redhat.com>
66257
66258 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66259 $(common-objpfx)libc_nonshared.a.
66260
66261 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66262
66263 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66264 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66265 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66266 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66267 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66269 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66270 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66285 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66286 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66287 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66288 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66289 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66290 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66291 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66292 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66293 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66294 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66295 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66296 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66311
66312 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66313
66314 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66315 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66316 * string/memmove.c (memmove): Renamed to ...
66317 (MEMMOVE): ...this. Default to memmove.
66318 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66319 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66320 (END_CHK): Define.
66321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66322 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66323 mempcpy-ssse3-back memmove-ssse3-back.
66324 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66325 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66327 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66328 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66329 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66330 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66331 * sysdeps/x86_64/multiarch/memmove.c: New file.
66332 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66333 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66334 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66335 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66336 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66337 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66338 Define.
66339 (index_Fast_Copy_Backward): Define.
66340 (HAS_ARCH_FEATURE): Define.
66341 (HAS_FAST_REP_STRING): Define.
66342 (HAS_FAST_COPY_BACKWARD): Define.
66343
66344 2010-06-21 Andreas Schwab <schwab@redhat.com>
66345
66346 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66347 Restore proper fallback handling.
66348
66349 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66350
66351 [BZ #11701]
66352 * posix/group_member.c (__group_member): Correct checking loop.
66353
66354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66355 OOM in getpwuid_r correctly. Return error number when the caller
66356 should return, otherwise -1.
66357 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66358 call returning > 0 value.
66359 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66360
66361 2010-06-07 Andreas Schwab <schwab@redhat.com>
66362
66363 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66364 libc_nonshared.a from targets in modules-names.
66365
66366 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66367
66368 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66369 requires it.
66370
66371 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66372
66373 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66375 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66376 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66377
66378 2010-06-02 Andreas Schwab <schwab@redhat.com>
66379
66380 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66381
66382 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66383
66384 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66385 and F_GETPIPE_SZ.
66386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66390 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66392
66393 2010-06-14 Roland McGrath <roland@redhat.com>
66394
66395 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66396
66397 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66398
66399 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66400 __REDIRECT followed by __THROW.
66401 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66402 * posix/getopt.h (getopt): Likewise.
66403
66404 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66405
66406 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66407 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66408 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66409 in AT_FLAGS.
66410 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66411 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66412
66413 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66414
66415 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66416
66417 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66418
66419 [BZ #11640]
66420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66421 Properly check family and model.
66422
66423 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66424
66425 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66426
66427 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66428
66429 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66430
66431 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66432
66433 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66434 symbol reference.
66435
66436 2010-05-19 Andreas Schwab <schwab@redhat.com>
66437
66438 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66439 symbol reference.
66440
66441 2010-05-21 Andreas Schwab <schwab@redhat.com>
66442
66443 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66444 and internal_recvmmsg.
66445 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66446 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66447 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66448 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66449
66450 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66451 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66452 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66453
66454 2010-05-20 Andreas Schwab <schwab@redhat.com>
66455
66456 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66457
66458 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66459
66460 POWER7 optimizations.
66461 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66462 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66463
66464 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66465
66466 * version.h: Update for 2.13 development version.
66467
66468 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66469
66470 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66471 exceptions. Return 0.
66472
66473 2010-05-07 Roland McGrath <roland@redhat.com>
66474
66475 * elf/ldconfig.c (main): Add a const.
66476
66477 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66478
66479 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66480 (args_options): Add no-idn option.
66481 (ahosts_keys_int): Add idn_flags to ai_flags.
66482 (parse_option): Handle 'i' option to clear idn_flags.
66483
66484 * malloc/malloc.c (_int_free): Possible race in the most recently
66485 added check. Only act on the data if no current modification
66486 happened.
66487
66488 See ChangeLog.17 for earlier changes.