]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
6dfe82554aeda4e299e9bbaf55614bfbe151371e
[thirdparty/glibc.git] / ChangeLog
1 2015-10-07 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6
7 [BZ #19079]
8 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9 file, conditioned on [!_LP64].
10 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11 [!_LP64] (__lround): Do not define as function or alias.
12 [!_LP64] (lround): Likewise.
13 [!_LP64] (__lroundl): Likewise.
14 [!_LP64] (lroundl): Likewise.
15 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16 macro.
17 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18 Likewise.
19
20 2015-10-06 Joseph Myers <joseph@codesourcery.com>
21
22 * math/libm-test.inc (lrint_test_data): Add more tests.
23 (llrint_test_data): Likewise.
24 (lround_test_data): Likewise.
25 (llround_test_data): Likewise.
26
27 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28 (llrint_test_data): Add tests used for lrint.
29
30 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
31 test.
32 * sysdeps/i386/configure: Regenerated.
33 * sysdeps/i386/i686/multiarch/Makefile
34 [$(config-cflags-sse4) = yes]: Make code unconditional.
35 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
36 Likewise.
37 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
38 Likewise.
39 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
40 test.
41 * sysdeps/x86_64/configure: Regenerated.
42 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
43 Make code unconditional.
44 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
45 Likewise.
46 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
47 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
48
49 * scripts/rpm2dynsym.sh: Remove file.
50
51 2015-10-06 Florian Weimer <fweimer@redhat.com>
52
53 * configure.ac (libc_cv_cxx_thread_local): Define.
54 * configure: Regenerate.
55 * config.make.in (have-cxx-thread_local): Define.
56 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
57 (LDLIBS-tst-thread_local1): Define.
58 (tests): Add tst-thread_local1.
59 [have-cxx-thread_local != yes] (tests-unsupported): Add
60 tst-thread_local1.
61 * nptl/tst-thread_local1.cc: New file.
62
63 2015-10-06 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #19078]
66 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
67 (u_thres): Likewise.
68 (__expl): Determine whether to call __kernel_standard_l based on
69 value of result, not argument.
70
71 * math/libm-test.inc (scalb_test_data): Add more expectations for
72 the "inexact" exception.
73
74 [BZ #19077]
75 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
76 0.0L for argument 1.0L.
77
78 [BZ #19076]
79 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
80 constant 0.0L when computing infinite result.
81
82 2015-10-06 Florian Weimer <fweimer@redhat.com>
83
84 [BZ #10432]
85 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
86 malloc_usable_size.
87
88 2015-10-06 Florian Weimer <fweimer@redhat.com>
89
90 [BZ #19018]
91 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
92 Mangle function pointer before storing it.
93 (__call_tls_dtors): Demangle function pointer before calling it.
94
95 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
96
97 [BZ #19012]
98 * iconv/gconv_db.c (gen_steps): Check for additional errors.
99 Clean up on failure.
100
101 2015-10-05 Joseph Myers <joseph@codesourcery.com>
102
103 [BZ #19071]
104 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
105 long int variable to store possibly incremented high part of
106 mantissa.
107 * math/libm-test.inc (lround_test_data): Add tests used for
108 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
109 for tests requiring 64-bit long. Do not condition tests on
110 [TEST_FLOAT] unnecessarily.
111 (llround_test_data): Add tests used for lround. Add another
112 expectation for the "inexact" exception. Do not condition tests
113 on [TEST_FLOAT] unnecessarily.
114
115 [BZ #887]
116 [BZ #19049]
117 [BZ #19050]
118 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
119 * sysdeps/ieee754/dbl-64/e_log10.c: Include
120 <fix-int-fp-convert-zero.h>.
121 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
122 * sysdeps/ieee754/dbl-64/e_log2.c: Include
123 <fix-int-fp-convert-zero.h>.
124 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
125 * sysdeps/ieee754/dbl-64/s_erf.c: Include
126 <fix-int-fp-convert-zero.h>.
127 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
128 * sysdeps/ieee754/dbl-64/s_logb.c: Include
129 <fix-int-fp-convert-zero.h>.
130 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
131 * sysdeps/ieee754/flt-32/e_log10f.c: Include
132 <fix-int-fp-convert-zero.h>.
133 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
134 * sysdeps/ieee754/flt-32/e_log2f.c: Include
135 <fix-int-fp-convert-zero.h>.
136 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
137 * sysdeps/ieee754/flt-32/s_erff.c: Include
138 <fix-int-fp-convert-zero.h>.
139 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
140 * sysdeps/ieee754/flt-32/s_logbf.c: Include
141 <fix-int-fp-convert-zero.h>.
142 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
144 <fix-int-fp-convert-zero.h>.
145 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
147 <fix-int-fp-convert-zero.h>.
148 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
149 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
150 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
151 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
152 file.
153 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
154
155 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
156
157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
158
159 2015-10-02 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #19059]
162 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
163 overflowing computation.
164 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
165 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
167 Likewise.
168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
169 Likewise.
170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
171 Likewise.
172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
173 Likewise.
174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
176 Likewise.
177 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
178 Likewise.
179 * math/libm-test.inc (nexttoward_test_data): Add more tests.
180
181 * nss/rewrite_field.c (__nss_rewrite_field): Use
182 internal_function.
183 * nss/valid_field.c (__nss_valid_field): Likewise.
184 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
185
186 2015-10-02 Florian Weimer <fweimer@redhat.com>
187
188 [BZ #18724]
189 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
190 (__nss_invalid_field_characters, __nss_valid_field)
191 (__nss_valid_list_field, __nss_rewrite_field): Declare.
192 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
193 tst-field.c: New file.
194 * nss/Makefile (routines): Add valid_field, rewrite_field.
195 (tests-static): Define unconditionally.
196 (tests): Include tests-static.
197 [build-static-nss] (tests-static): Use append.
198 [build-static-nss] (tests): Remove modification.
199 * nss/getent.c (print_group): Call putgrent. Report error.
200 (print_gshadow): Call putsgent. Report error.
201 (print_passwd): Call putpwent. Report error.
202 (print_shadow): Call putspent. Report error.
203 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
204 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
205 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
206 name, password, directory, shell fields for valid syntax. Rewrite
207 GECOS field to match syntax.
208 * pwd/Makefile (tests): Add tst-putpwent.
209 * pwd/tst-putpwent.c: New file.
210 * grp/putgrent.c (putgrent): Convert to ISO function definition.
211 Check grName, grpasswd, gr_mem fields for valid syntax.
212 Change loop variable i to size_t.
213 * grp/Makefile (tests): Add tst-putgrent.
214 * grp/tst-putgrent.c: New file.
215 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
216 valid syntax.
217 * shadow/Makefile (tests): Add tst-putspent.
218 * shadow/tst-putspent.c: New file.
219 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
220 sg_mem fields for valid syntax.
221 * gshadow/Makefile (tests): Add tst-putsgent.
222 * gshadow/tst-putsgent.c: New file.
223
224 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
227 assembly instructions.
228
229 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
230
231 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
232 prefix from operands.
233
234 2015-10-01 Joseph Myers <joseph@codesourcery.com>
235
236 [BZ #16347]
237 [BZ #19046]
238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
239 <libc-internal.h>.
240 (MAXLGM): Do not use diagnostic control macros.
241 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
242 threshold for ldbl-128ibm.
243 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
244 instead of multiplying by log then subtracting.
245 * math/auto-libm-test-in: Add more tests of lgamma.
246 * math/auto-libm-test-out: Regenerated.
247
248 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
249 (TYPE_HEX_DIG): Likewise.
250 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
251 precisions when printing floating-point numbers.
252 (check_float_internal): Likewise.
253
254 2015-09-30 Joseph Myers <joseph@codesourcery.com>
255
256 [BZ #16620]
257 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
258 of log (10) rounded downward to 48 bits.
259 (log10_low): Use corresponding low part of log (10).
260
261 [BZ #19032]
262 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
263 compute result as (x - x) / (x - x) not as 0 / 0.
264 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
265 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
266
267 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
268 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
269 and expm1.
270 * math/auto-libm-test-out: Regenerated.
271 * math/libm-test.inc (acos_test_data): Add more tests.
272 (asin_test_data): Likewise.
273 (asinh_test_data): Likewise.
274 (atan_test_data): Likewise.
275 (atanh_test_data): Likewise.
276 (atan2_test_data): Likewise.
277 (cbrt_test_data): Likewise.
278 (ceil_test_data): Likewise.
279 (copysign_test_data): Likewise.
280 (cos_test_data): Likewise.
281 (cosh_test_data): Likewise.
282 (erf_test_data): Likewise.
283 (erfc_test_data): Likewise.
284 (exp_test_data): Likewise.
285 (exp10_test_data): Likewise.
286 (exp2_test_data): Likewise.
287 (expm1_test_data): Likewise.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
289
290 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
291
292 [BZ #19006]
293 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
294 to ...
295 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
296 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
297 to ...
298 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
299 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
300 to ...
301 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
302 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
303 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
304 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
305 to ...
306 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
307 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
308 Moved to ...
309 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
311 Moved to ...
312 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
313 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
314 to ...
315 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
316 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
317 Moved to ...
318 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
319 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
320 to ...
321 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
322 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
323 Removed.
324 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
325 Likewise.
326 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
327 Likewise.
328 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
329 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
330 Likewise.
331 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
332 Likewise.
333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
334 Likewise.
335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
336 Likewise.
337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
338 Likewise.
339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
340 Likewise.
341 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
342 Likewise.
343 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
344 Likewise.
345 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
346 Likewise.
347 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
348 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
349 Likewise.
350 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
351 Likewise.
352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
353 Likewise.
354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
355 Likewise.
356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
357 Likewise.
358 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
359 Replace ../i486/pthread_cond_timedwait.S with
360 ../pthread_cond_timedwait.S.
361
362 2015-09-30 Joseph Myers <joseph@codesourcery.com>
363
364 * math/libm-test.inc (acos_test_data): Refine expectations for
365 errno and "inexact" exceptions.
366 (acosh_test_data): Likewise.
367 (asin_test_data): Likewise.
368 (asinh_test_data): Likewise.
369 (atan_test_data): Likewise.
370 (atanh_test_data): Likewise.
371 (atan2_test_data): Likewise.
372 (cbrt_test_data): Likewise.
373 (ceil_test_data): Likewise.
374 (copysign_test_data): Likewise.
375 (cosh_test_data): Likewise.
376 (erf_test_data): Likewise.
377 (erfc_test_data): Likewise.
378 (exp_test_data): Likewise.
379 (exp10_test_data): Likewise.
380 (exp2_test_data): Likewise.
381 (expm1_test_data): Likewise.
382 (fabs_test_data): Likewise.
383 (floor_test_data): Likewise.
384 (fma_test_data): Likewise.
385 (fmax_test_data): Likewise.
386 (fmin_test_data): Likewise.
387 (fmod_test_data): Likewise.
388 (fpclassify_test_data): Likewise.
389 (frexp_test_data): Likewise.
390 (hypot_test_data): Likewise.
391 (ilogb_test_data): Likewise.
392 (isgreater_test_data): Likewise.
393 (isgreaterequal_test_data): Likewise.
394 (isinf_test_data): Likewise.
395 (isless_test_data): Likewise.
396 (islessequal_test_data): Likewise.
397 (islessgreater_test_data): Likewise.
398 (isnan_test_data): Likewise.
399 (isnormal_test_data): Likewise.
400 (issignaling_test_data): Likewise.
401 (isunordered_test_data): Likewise.
402 (j0_test_data): Likewise.
403 (j1_test_data): Likewise.
404 (jn_test_data): Likewise.
405 (lgamma_test_data): Likewise.
406 (lrint_test_data): Likewise.
407 (llrint_test_data): Likewise.
408 (log_test_data): Likewise.
409 (log10_test_data): Likewise.
410 (log1p_test_data): Likewise.
411 (log2_test_data): Likewise.
412 (logb_test_data): Likewise.
413 (lround_test_data): Likewise.
414 (llround_test_data): Likewise.
415 (modf_test_data): Likewise.
416 (nearbyint_test_data): Likewise.
417 (nextafter_test_data): Likewise.
418 (nexttoward_test_data): Likewise.
419 (pow_test_data): Likewise.
420 (remainder_test_data): Likewise.
421 (remquo_test_data): Likewise.
422 (rint_test_data): Likewise.
423 (round_test_data): Likewise.
424 (signbit_test_data): Likewise.
425 (sinh_test_data): Likewise.
426 (sqrt_test_data): Likewise.
427 (tanh_test_data): Likewise.
428 (tgamma_test_data): Likewise.
429 (trunc_test_data): Likewise.
430 (y0_test_data): Likewise.
431 (y1_test_data): Likewise.
432 (yn_test_data): Likewise.
433 (significand_test_data): Likewise.
434
435 2015-09-29 Carlos O'Donell <carlos@redhat.com>
436
437 * manual/filesys.texi (Storage Allocation): Document that
438 posix_fallocate emulation fails when fd is open with O_WRONLY.
439
440 2015-09-28 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #19016]
443 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
444 allow more cases with X^2 + Y^2 >= 0.5.
445 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
446 normal element in sum instead of special-casing based on values of
447 arguments.
448 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
449 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
450 -1 as normal element in sum instead of special-casing based on
451 values of arguments.
452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
453 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
454 (__x2y2m1): Update comment.
455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
456 as normal element in sum instead of special-casing based on values
457 of arguments.
458 * math/s_clog.c (__clog): Handle more cases using log1p without
459 hypot.
460 * math/s_clog10.c (__clog10): Likewise.
461 * math/s_clog10f.c (__clog10f): Likewise.
462 * math/s_clog10l.c (__clog10l): Likewise.
463 * math/s_clogf.c (__clogf): Likewise.
464 * math/s_clogl.c (__clogl): Likewise.
465 * math/auto-libm-test-in: Add more tests of clog and clog10.
466 * math/auto-libm-test-out: Regenerated.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
469
470 2015-09-28 Martin Sebor <msebor@redhat.com>
471
472 [BZ #18969]
473 * string/Makefile (LOCALES): Define.
474 (gen-locales.mk): Include.
475 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
476 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
477 * string/tst-strxfrm2.c (do_test): Print the name of the locale
478 on setlocale failure.
479
480 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
481
482 [BZ #18985]
483 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
484 (__strftime_internal): Likewise.
485 * time/tst-strftime.c (do_bz18985): New test.
486 (do_test): Call it.
487
488 2015-09-26 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #18956]
491 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
492 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
493 extracting high part.
494 * math/auto-libm-test-in: Add another test of pow.
495 * math/auto-libm-test-out: Regenerated.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
497
498 2015-09-25 Joseph Myers <joseph@codesourcery.com>
499
500 [BZ #18825]
501 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
502 New macro.
503 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
504 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
505 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
506 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
507 DBL_NARROW_EVAL, reloading the PIC register as needed.
508 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
509 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
510 FLT_NARROW_EVAL. Use separate return path for case when first
511 argument is NaN.
512 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
513 DEFINE_LDBL_MIN.
514 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
515 PIC register.
516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
517 math_check_force_underflow_nonneg.
518 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
519 underflow for subnormal result.
520 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
522 math_check_force_underflow_nonneg.
523 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
524 math_check_force_underflow.
525 * sysdeps/x86_64/fpu/x86_64-math-asm.h
526 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
527 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
528 DEFINE_LDBL_MIN.
529 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
530 * math/auto-libm-test-in: Add more tests of pow.
531 * math/auto-libm-test-out: Regenerated.
532
533 2015-09-25 Florian Weimer <fweimer@redhat.com>
534
535 * nss/bug17079.c (init_test_items): Add diagnostic for
536 inconsistent entries.
537 (test_buffer_size): Skip inconsistent entries.
538
539 2015-09-25 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #13304]
542 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
543 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
544 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
545
546 [BZ #13304]
547 * sysdeps/microblaze/s_fma.c: New file.
548 * sysdeps/microblaze/s_fmaf.c: Likewise.
549 * sysdeps/microblaze/sfp-machine.h: Likewise.
550
551 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
552
553 [BZ #17250]
554 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
555 member.
556
557 2015-09-24 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #18803]
560 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
561 (MO): New macro.
562 (__ieee754_hypot) [PIC]: Load PIC register.
563 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
564 DBL_NARROW_EVAL.
565 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
566 math_check_force_underflow_nonneg in case where result might be
567 tiny.
568 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
569 Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
571 Likewise.
572 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
573 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
574 * math/auto-libm-test-in: Add more tests of hypot.
575 * math/auto-libm-test-out: Regenerated.
576
577 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
578
579 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
580
581 2015-09-24 Joseph Myers <joseph@codesourcery.com>
582
583 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
584 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
585 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
586 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
587 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
588 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
589 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
590
591 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
592 LOAD_PIC_REG.
593
594 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
595 (FLT_CHECK_FORCE_UFLOW): Likewise.
596 (DBL_CHECK_FORCE_UFLOW): Likewise.
597 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
598 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
599 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
600 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
601 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
602 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
603 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
604 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
605 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
606 (dbl_min): Replace with use of DEFINE_DBL_MIN.
607 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
608 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
609 (flt_min): Replace with use of DEFINE_FLT_MIN.
610 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
611 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
612 (dbl_min): Replace with use of DEFINE_DBL_MIN.
613 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
614 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
615 (flt_min): Replace with use of DEFINE_FLT_MIN.
616 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
617 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
618 (dbl_min): Replace with use of DEFINE_DBL_MIN.
619 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
620 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
621 (flt_min): Replace with use of DEFINE_FLT_MIN.
622 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
623 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
624 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
625 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
626 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
627 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
628 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
629 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
630 (dbl_min): Replace with use of DEFINE_DBL_MIN.
631 (__atan): Use DBL_CHECK_FORCE_UFLOW.
632 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
633 (flt_min): Replace with use of DEFINE_FLT_MIN.
634 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
635 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
636 (dbl_min): Replace with use of DEFINE_DBL_MIN.
637 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
638 main computation.
639 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
640 (flt_min): Replace with use of DEFINE_FLT_MIN.
641 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
642 main computation.
643 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
644 (dbl_min): Replace with use of DEFINE_DBL_MIN.
645 (MO): New macro.
646 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
647 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
648 (flt_min): Replace with use of DEFINE_FLT_MIN.
649 (MO): New macro.
650 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
651 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
652 (__log1pl): Use MO.
653
654 [BZ #19003]
655 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
656 $(config-cflags-nofma).
657
658 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
659
660 * sysdeps/aarch64/libm-test-ulps: Regenerated.
661
662 2015-09-23 Joseph Myers <joseph@codesourcery.com>
663
664 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
665 (TWO127): Likewise.
666
667 * sysdeps/generic/math_private.h (fabs_tg): New macro.
668 (min_of_type): Likewise.
669 (math_check_force_underflow): Likewise.
670 (math_check_force_underflow_nonneg): Likewise.
671 (math_check_force_underflow_complex): Likewise.
672 * math/e_exp2l.c (__ieee754_exp2l): Use
673 math_check_force_underflow_nonneg.
674 * math/k_casinh.c (__kernel_casinh): Likewise.
675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
677 * math/s_catan.c (__catan): Use
678 math_check_force_underflow_complex.
679 * math/s_catanf.c (__catanf): Likewise.
680 * math/s_catanh.c (__catanh): Likewise.
681 * math/s_catanhf.c (__catanhf): Likewise.
682 * math/s_catanhl.c (__catanhl): Likewise.
683 * math/s_catanl.c (__catanl): Likewise.
684 * math/s_ccosh.c (__ccosh): Likewise.
685 * math/s_ccoshf.c (__ccoshf): Likewise.
686 * math/s_ccoshl.c (__ccoshl): Likewise.
687 * math/s_cexp.c (__cexp): Likewise.
688 * math/s_cexpf.c (__cexpf): Likewise.
689 * math/s_cexpl.c (__cexpl): Likewise.
690 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
691 * math/s_clog10.c (__clog10): Likewise.
692 * math/s_clog10f.c (__clog10f): Likewise.
693 * math/s_clog10l.c (__clog10l): Likewise.
694 * math/s_clogf.c (__clogf): Likewise.
695 * math/s_clogl.c (__clogl): Likewise.
696 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
697 * math/s_csinf.c (__csinf): Likewise.
698 * math/s_csinh.c (__csinh): Likewise.
699 * math/s_csinhf.c (__csinhf): Likewise.
700 * math/s_csinhl.c (__csinhl): Likewise.
701 * math/s_csinl.c (__csinl): Likewise.
702 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
703 * math/s_csqrtf.c (__csqrtf): Likewise.
704 * math/s_csqrtl.c (__csqrtl): Likewise.
705 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
706 * math/s_ctanf.c (__ctanf): Likewise.
707 * math/s_ctanh.c (__ctanh): Likewise.
708 * math/s_ctanhf.c (__ctanhf): Likewise.
709 * math/s_ctanhl.c (__ctanhl): Likewise.
710 * math/s_ctanl.c (__ctanl): Likewise.
711 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
712 instead of volatile.
713 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
714 math_check_force_underflow.
715 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
716 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
717 volatile when forcing underflow.
718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
719 math_check_force_underflow_nonneg.
720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
721 Likewise.
722 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
723 math_check_force_underflow.
724 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
725 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
726 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
728 math_check_force_underflow_nonneg.
729 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
730 math_check_force_underflow.
731 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
733 instead of volatile.
734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
735 math_check_force_underflow.
736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
738 math_check_force_underflow_nonneg.
739 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
740 math_check_force_underflow.
741 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
742 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
743 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
744 math_check_force_underflow_nonneg.
745 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
746 Likewise.
747 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
748 math_check_force_underflow.
749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
750 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
751 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
752 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
753 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
754 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
755 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
756 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
757 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
758 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
759 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
760 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
761 Likewise.
762 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
763 math_check_force_underflow_nonneg.
764 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
765 Likewise.
766 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
767 math_check_force_underflow.
768 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
769 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
770 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
771 Likewise.
772 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
773 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
774 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
775 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
776 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
777 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
779 instead of volatile.
780 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
781 math_check_force_underflow.
782 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
784 math_check_force_underflow.
785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
786 Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
788 Use math_check_force_underflow_nonneg.
789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
790 math_check_force_underflow.
791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
792 Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
794 Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
801 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
802 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
804 math_check_force_underflow_nonneg.
805 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
806 math_check_force_underflow.
807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
808 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
809 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
810 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
811 math_check_force_underflow_nonneg.
812 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
813 math_check_force_underflow.
814 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
816 instead of volatile.
817 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
818 math_check_force_underflow.
819
820 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
821 * stdlib/strtod_l.c: Include <math_private.h>.
822 (overflow_value): Use math_narrow_eval.
823 (underflow_value): Likewise.
824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
825 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
826 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
827 (__ieee754_gamma_r): Likewise.
828 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
829 Likewise.
830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
831 Likewise.
832 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
833 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
834 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
835 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
837 (__ieee754_gammaf_r): Likewise.
838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
839 Likewise.
840 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
841 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
842 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
843 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
844 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
845 volatile.
846 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
848 math_narrow_eval.
849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
850 Likewise.
851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
852 Likewise.
853 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
854 Likewise.
855 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
856 volatile.
857 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
859 math_narrow_eval.
860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
861 Likewise.
862 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
863 Likewise.
864
865 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
866
867 * nptl/Versions: Remove ignored symbols.
868
869 2015-09-22 Florian Weimer <fweimer@redhat.com>
870
871 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
872 * nss/Makefile (tests): Update.
873
874 2015-09-22 Florian Weimer <fweimer@redhat.com>
875
876 * nss/bug18287.c: New file.
877 * nss/Makefile (tests): Add bug18287.
878
879 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
880
881 * mach/Versions (__mach_host_self_): Add symbol.
882
883 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
884
885 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
886 vm_page_size.
887
888 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
889
890 Really fix sysdeps/i386/fpu/s_scalbn.S build
891
892 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
893 (libc: GLIBC_2_22): Remove unused version set.
894
895 2015-09-18 Mike Frysinger <vapier@gentoo.org>
896
897 * config.make.in (enable-timezone-tools): New variable.
898 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
899 (enable_timezone_tools): Export to generated files.
900 * configure: Regenerate.
901 * INSTALL: Regenerate.
902 * manual/install.texi (--disable-timezone-tools): Document new flag.
903 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
904 ifeq ($(enable-timezone-tools),yes) check.
905
906 2015-09-18 Joseph Myers <joseph@codesourcery.com>
907
908 * timezone/Makefile: Revert previous change.
909
910 [BZ #18980]
911 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
912 (DEFINE_DBL_MIN): Likewise.
913 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
914 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
915 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
916 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
917 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
918 (dbl_min): Replace with use of DEFINE_DBL_MIN.
919 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
920 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
921 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
922 (dbl_min): Replace with use of DEFINE_DBL_MIN.
923 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
924 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
925 (flt_min): Replace with use of DEFINE_FLT_MIN.
926 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
927 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
928 (dbl_min): Replace with use of DEFINE_DBL_MIN.
929 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
930 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
931 (flt_min): Replace with use of DEFINE_FLT_MIN.
932 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
933 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
934 (flt_min): Replace with use of DEFINE_FLT_MIN.
935 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
936 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
937 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
938 (__ieee754_hypot): Use DBL_NARROW_EVAL.
939 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
940 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
941 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
942 (__ieee754_pow): Use DBL_NARROW_EVAL.
943 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
944 (__ieee754_powf): Use FLT_NARROW_EVAL.
945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
946 (__ieee754_expf_sse2): Convert double-precision result to single
947 precision.
948 * sysdeps/i386/fpu/libm-test-ulps: Update.
949
950 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
951
952 * timezone/Makefile: Ignore unused variable errors due to private.h
953 (time_t_min) and (time_t_max).
954 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
955 Likewise.
956
957 2015-09-18 Joseph Myers <joseph@codesourcery.com>
958
959 [BZ #18981]
960 * sysdeps/i386/fpu/i386-math-asm.h: New file.
961 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
962 (__ieee754_scalb): Use DBL_NARROW_EVAL.
963 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
964 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
965 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
966 (__scalbn): Use DBL_NARROW_EVAL.
967 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
968 (__scalbnf): Use FLT_NARROW_EVAL.
969
970 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
971
972 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
973 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
974 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
975 * stdio-common/printf_fp.c (___printf_fp):
976 Use signbit to get the sign. Use isinf macro to allow inlining.
977 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
978 * stdio-common/printf_size.c (__printf_size): Likewise.
979
980 2015-09-18 Mike Frysinger <vapier@gentoo.org>
981
982 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
983
984 2015-09-18 Joseph Myers <joseph@codesourcery.com>
985
986 [BZ #18980]
987 * sysdeps/generic/math_private.h: Include <float.h>.
988 (math_narrow_eval): New macro.
989 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
990 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
991 math_narrow_eval on overflowing return value.
992 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
993 Likewise.
994 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
995 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
997 Likewise.
998 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
999
1000 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1001
1002 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1003 * math/Makefile: Remove isinf_ns.c.
1004 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1005 * math/multc3.c (__multc3): Likewise.
1006 * math/s_casin.c (__casin): Likewise.
1007 * math/s_casinf.c (__casinf): Likewise.
1008 * math/s_casinl.c (__casinl): Likewise.
1009 * math/s_cproj.c (__cproj): Likewise.
1010 * math/s_cprojf.c (__cprojf): Likewise.
1011 * math/s_cprojl.c (__cprofl): Likewise.
1012 * math/s_ctan.c (__ctan): Likewise.
1013 * math/s_ctanf.c (__ctanf): Likewise.
1014 * math/s_ctanh.c (__ctanh): Likewise.
1015 * math/s_ctanhf.c (__ctanhf): Likewise.
1016 * math/s_ctanhl.c (__ctanhl): Likewise.
1017 * math/s_ctanl.c (__ctanl): Likewise.
1018 * math/w_fmod.c (__fmod): Likewise.
1019 * math/w_fmodf.c (__fmodf): Likewise.
1020 * math/w_fmodl.c (_fmodl): Likewise.
1021 * math/w_remainder.c (__remainder): Likewise.
1022 * math/w_remainderf.c (__remainderf): Likewise.
1023 * math/w_remainderl.c (__remainderl): Likewise.
1024 * math/w_scalb.c (__scalb): Likewise.
1025 * math/w_scalbf.c (__scalbf): Likewise.
1026 * math/w_scalbl.c (__scalbl): Likewise.
1027 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1028 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1029 with isinf.
1030 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1032 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1033 __isinf_nsf with isinf.
1034 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1035 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1036 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1037 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1038 with isinf.
1039 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1040 __isinf_nsl with isinf.
1041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1042 with isinf.
1043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1044 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1045 __isinf_nsl with isinf.
1046 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1047 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1048 with isinf.
1049
1050 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1051
1052 * resolv/base64.c (rcsid): Remove unused static.
1053 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1054 static. (tqpi1): Likewise.
1055 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1056 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1057 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1058 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1060 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1061 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1062 * timezone/private.h (time_t_min): Likewise. (time_t_max):
1063 Likewise.
1064
1065 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1068 <nptl/pthreadP.h>.
1069 (_longjmp_unwind): Use __libc_ptf_call.
1070 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1071
1072 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
1073
1074 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1075 * sysdeps/arm/__longjmp.S: Likewise
1076
1077 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1078
1079 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1080 Use __builtin_signbit.
1081 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1082 Use __builtin_signbitf.
1083 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1084 Use __builtin_signbitl.
1085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1086 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1087
1088 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1089
1090 [BZ #15367]
1091 [BZ #17441]
1092
1093 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1094 * math/math.h (fpclassify): Use __builtin_fpclassify when
1095 available. (signbit): Use __builtin_signbit(f/l).
1096 (isfinite): Use__builtin_isfinite. (isnormal): Use
1097 __builtin_isnormal. (isnan): Use __builtin_isnan.
1098 (isinf): Use __builtin_isinf_sign.
1099
1100 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1101
1102 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1103 * benchtests/bench-math-inlines.c: New benchmark.
1104 * benchtests/bench-util.h: New file.
1105 * benchtests/bench-util.c: New file.
1106 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1107
1108 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1109
1110 * elf/tst-dlmopen1.c: Define TEST_SO.
1111 (do_test): Use TEST_SO.
1112
1113 * elf/dl-load.c: Include libc-internal.h.
1114 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1115
1116 2015-09-18 Vincent Bernat <vincent@bernat.im>
1117
1118 [BZ #17887]
1119 * time/strptime_l.c (__strptime_internal): Make %z accept
1120 [+-]HH:MM time zones.
1121
1122 2015-09-18 Vincent Bernat <vincent@bernat.im>
1123
1124 [BZ #17886]
1125 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1126 valid time zone.
1127
1128 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1129
1130 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1131 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1133 (__ASSUME_FDATASYNC): Delete.
1134
1135 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1136
1137 * conform/linknamespace.pl: Require weak undefined symbols to be
1138 in the standard namespace.
1139 (%strong_syms): Rename to %seen_syms.
1140 (%strong_seen): Rename to %seen_where.
1141
1142 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 [BZ #18970]
1145 * misc/error.c (error): Replace pthread_setcancelstate with
1146 __pthread_setcancelstate.
1147 (error_at_line): Likewise.
1148 * posix/wordexp.c (parse_comm): Likewise.
1149 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1150 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1151 (__pthread_setcancelstate): This.
1152 (pthread_setcancelstate): Add an alias.
1153 * nptl/nptl-init.c (pthread_functions): Replace
1154 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1155 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1156 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1157 hidden_proto.
1158 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1159 it with hidden_def.
1160 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1161 (pthread_setcancelstate): Renamed to ...
1162 (__pthread_setcancelstate): This.
1163 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1164 __libc_ptf_call with __pthread_setcancelstate.
1165
1166 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1167 Andreas Schwab <schwab@suse.de>
1168
1169 [BZ #17118]
1170 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1171 result when imaginary part of argument is infinite using sine and
1172 cosine.
1173 * math/s_ctanf.c (__ctanf): Likewise.
1174 * math/s_ctanl.c (__ctanl): Likewise.
1175 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1176 of result when real part of argument is infinite using sine and
1177 cosine.
1178 * math/s_ctanhf.c (__ctanhf): Likewise.
1179 * math/s_ctanhl.c (__ctanhl): Likewise.
1180 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1181 (ctanh_test_data): Add more tests of ctanh.
1182
1183 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #15384]
1186 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1187 bit-mask as in subtraction.
1188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1189 Likewise.
1190 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1191 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1193
1194 [BZ #18951]
1195 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1196 underflow exception for small results.
1197 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1198 Likewise.
1199 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1200 Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1202 Likewise.
1203 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1204 Likewise.
1205 * math/auto-libm-test-in: Add more tests of tgamma.
1206 * math/auto-libm-test-out: Regenerated.
1207
1208 2015-09-17 Andreas Schwab <schwab@suse.de>
1209
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1211
1212 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1213
1214 [BZ #18977]
1215 * math/bits/mathcalls.h
1216 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1217 not declare.
1218 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1219 Likewise.
1220 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1221 Likewise.
1222 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1223 Likewise.
1224 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1225 Likewise.
1226 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1227 Likewise.
1228 * conform/data/math.h-data
1229 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1230 function.
1231 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1232 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1233 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1234 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1235 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1236 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1237 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1238 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1239 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1240 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1241 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1242
1243 [BZ #6803]
1244 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1245 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1246 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1247 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1248 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1249 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1250 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1251 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1252 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1254 Likewise.
1255 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1256 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1259 long_double_symbol calls.
1260 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1261 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1262 strong alias of __ldexpl.
1263 (scalbnl): Define using long_double_symbol.
1264 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1265 Remove alias.
1266 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1267 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1268 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1269 (scalbln_test_data): Add more errno expectations.
1270
1271 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1272
1273 Cache the host port like we cache the task port. This way we do not
1274 need to call the kernel just to get the port. Furthermore, we no
1275 longer increase the reference count on every invocation of
1276 `mach_host_self'.
1277
1278 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1279 Protect declarations against the macro expansion.
1280 * mach/mach_init.c (__mach_host_self_): New variable.
1281 (mach_init): Initialize `__mach_host_self_'.
1282 * mach/mach_init.h (__mach_host_self_): New declaration.
1283 (__mach_host_self, mach_host_self): New macros.
1284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1285 Release reference.
1286
1287 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1288
1289 [BZ #4404]
1290 * po/de.po: Update from Translation Project.
1291
1292 [BZ #16415]
1293 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1294 (__expm1l): Remove code to handle positive infinity and overflow.
1295 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1296 variable.
1297 (__expm1l): Remove code to handle positive infinity and overflow.
1298
1299 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1300 Paul Pluzhnikov <ppluzhnikov@google.com>
1301
1302 [BZ #18872]
1303 * stdio-common/Makefile (tst-printf-bz18872): New test.
1304 (tst-printf-bz18872-mem.out): Likewise.
1305 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1306 * stdio-common/vfprintf.c: Fix memory leaks.
1307
1308 2015-09-16 Andreas Schwab <schwab@suse.de>
1309
1310 [BZ #17244]
1311 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1312 Remove extra va_start/va_end calls.
1313
1314 [BZ #17243]
1315 * posix/execl.c (execl): Add missing va_end.
1316 * posix/execle.c (execle): Likewise.
1317 * posix/execlp.c (execlp): Likewise.
1318
1319 2015-09-15 Roland McGrath <roland@hack.frob.com>
1320
1321 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1322 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1323
1324 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1325
1326 [BZ #18967]
1327 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1328 undefine around includes of <bits/mathcalls.h>.
1329 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1330 not declare function.
1331 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1332 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1333 (scalb): Likewise.
1334 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1335 not define macro.
1336 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1337 variable.
1338 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1339 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1340 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1341
1342 [BZ #18857]
1343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1344 return non-finite argument without doing ordered comparisons on
1345 it.
1346
1347 [BZ #16296]
1348 * math/fenv.h (fegetround): Use __attribute_pure__.
1349 * include/fenv.h (__fegetround): Likewise.
1350
1351 [BZ #18595]
1352 * math/s_ctan.c (__ctan): Force underflow exception for results
1353 whose real or imaginary part has small absolute value.
1354 * math/s_ctanf.c (__ctanf): Likewise.
1355 * math/s_ctanh.c (__ctanh): Likewise.
1356 * math/s_ctanhf.c (__ctanhf): Likewise.
1357 * math/s_ctanhl.c (__ctanhl): Likewise.
1358 * math/s_ctanl.c (__ctanl): Likewise.
1359 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1360 and ctanh. Add more tests of ctan and ctanh.
1361
1362 [BZ #15918]
1363 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1364 handling of cases where one argument is an infinity.
1365
1366 [BZ #18875]
1367 [BZ #18966]
1368 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1369 (MO): New macro.
1370 (__ieee754_exp10): For small results, force underflow exception
1371 and remove excess range and precision from return value.
1372 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1373 (MO): New macro.
1374 (__ieee754_exp10f): For small results, force underflow exception
1375 and remove excess range and precision from return value.
1376 * math/auto-libm-test-in: Add more tests of exp10.
1377 * math/auto-libm-test-out: Regenerated.
1378
1379 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1380
1381 [BZ #18875]
1382 [BZ #18961]
1383 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1384 (MO): New macro.
1385 (__ieee754_exp): For small results, force underflow exception and
1386 remove excess range and precision from return value.
1387 (__exp_finite): Likewise.
1388 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1389 (MO): New macro.
1390 (__ieee754_expf): For small results, force underflow exception and
1391 remove excess range and precision from return value.
1392 (__expf_finite): Likewise.
1393 * math/auto-libm-test-in: Add more tests of exp.
1394 * math/auto-libm-test-out: Regenerated.
1395
1396 [BZ #16521]
1397 [BZ #18875]
1398 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1399 small results.
1400 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1401 (MO): New macro.
1402 (__ieee754_exp2): For small results, force underflow exception and
1403 remove excess range and precision from return value.
1404 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1405 (MO): New macro.
1406 (__ieee754_exp2f): For small results, force underflow exception
1407 and remove excess range and precision from return value.
1408 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1409 (MO): New macro.
1410 (__ieee754_exp2l): Force underflow exception for small results.
1411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1412 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1413 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1414 (MO): New macro.
1415 (__ieee754_exp2l): Force underflow exception for small results.
1416 * math/auto-libm-test-in: Add more tests or exp2.
1417 * math/auto-libm-test-out: Regenerated.
1418
1419 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1420
1421 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1422
1423 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1424 /dev/null.
1425
1426 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1427
1428 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1429 io fs process)): Drop spurious backslash.
1430
1431 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1432
1433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1434 Use sysinfo system call instead of parsing /proc/meminfo.
1435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1436 Likewise.
1437
1438 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1439
1440 [BZ #16985]
1441 * programs/localedef.c (main): Display argv[remaining] when
1442 output_path is NULL.
1443
1444 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1445
1446 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1447 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1448 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1449 tanh.
1450 * math/auto-libm-test-out: Regenerated.
1451 * sysdeps/i386/fpu/libm-test-ulps: Update.
1452 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1453 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1455
1456 2015-09-11 Roland McGrath <roland@hack.frob.com>
1457
1458 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1459 Use 'override' keyword to freeze the value here, preventing
1460 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1461
1462 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1463
1464 [BZ #14912]
1465 * sysdeps/aarch64/bits/atomic.h: Move to ...
1466 * sysdeps/aarch64/atomic-machine.h: ...here.
1467 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1468 _AARCH64_ATOMIC_MACHINE_H.
1469 * sysdeps/alpha/bits/atomic.h: Move to ...
1470 * sysdeps/alpha/atomic-machine.h: ...here.
1471 * sysdeps/arm/bits/atomic.h: Move to ...
1472 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1473 * bits/atomic.h: Move to ...
1474 * sysdeps/generic/atomic-machine.h: ...here.
1475 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1476 * sysdeps/i386/bits/atomic.h: Move to ...
1477 * sysdeps/i386/atomic-machine.h: ...here.
1478 * sysdeps/ia64/bits/atomic.h: Move to ...
1479 * sysdeps/ia64/atomic-machine.h: ...here.
1480 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1481 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1482 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1483 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1484 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1485 * sysdeps/microblaze/bits/atomic.h: Move to ...
1486 * sysdeps/microblaze/atomic-machine.h: ...here.
1487 * sysdeps/mips/bits/atomic.h: Move to ...
1488 * sysdeps/mips/atomic-machine.h: ...here.
1489 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1490 * sysdeps/powerpc/bits/atomic.h: Move to ...
1491 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1492 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1493 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1494 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1496 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1497 <atomic-machine.h> instead of <bits/atomic.h>.
1498 * sysdeps/s390/bits/atomic.h: Move to ...
1499 * sysdeps/s390/atomic-machine.h: ...here.
1500 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1501 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1502 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1503 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1504 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1505 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1506 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1507 * sysdeps/tile/bits/atomic.h: Move to ...
1508 * sysdeps/tile/atomic-machine.h: ...here.
1509 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1510 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1511 <sysdeps/tile/atomic-machine.h> instead of
1512 <sysdeps/tile/bits/atomic.h>.
1513 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1514 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1515 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1516 <sysdeps/tile/atomic-machine.h> instead of
1517 <sysdeps/tile/bits/atomic.h>.
1518 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1519 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1520 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1521 <sysdeps/arm/atomic-machine.h> instead of
1522 <sysdeps/arm/bits/atomic.h>.
1523 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1524 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1525 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1526 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1527 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1528 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1529 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1530 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1531 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1532 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1533 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1534 * sysdeps/x86_64/bits/atomic.h: Move to ...
1535 * sysdeps/x86_64/atomic-machine.h: ...here.
1536 * include/atomic.h: Include <atomic-machine.h> instead of
1537 <bits/atomic.h>.
1538
1539 * sysdeps/mips/mips32/libm-test-ulps: Update.
1540 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1541
1542 [BZ #18952]
1543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1544 not convert non-integer negative arguments to int to determine the
1545 value of signgam.
1546 * math/auto-libm-test-in: Add more tests of lgamma.
1547 * math/auto-libm-test-out: Regenerated.
1548
1549 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1550 cosh, csqrt, erfc, expm1 and lgamma.
1551 * math/auto-libm-test-out: Regenerated.
1552 * sysdeps/i386/fpu/libm-test-ulps: Update.
1553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1554
1555 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1556
1557 [BZ #2542]
1558 [BZ #2543]
1559 [BZ #2558]
1560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1561 __lgamma_neg for arguments from -28.0 to -2.0.
1562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1563 __lgamma_negf for arguments from -15.0 to -2.0.
1564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1565 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1567 Call __lgamma_negl for arguments from -33.0 to -2.0.
1568 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1569 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1570 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1579 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1580 (__lgamma_neg): Likewise.
1581 (__lgamma_negl): Likewise.
1582 (__lgamma_product): Likewise.
1583 (__lgamma_productl): Likewise.
1584 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1585 * math/auto-libm-test-in: Add more tests of lgamma.
1586 * math/auto-libm-test-out: Regenerated.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589
1590 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1591
1592 [BZ #18675]
1593 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1594
1595 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1596
1597 [BZ #14912]
1598 * bits/libc-lock.h: Move to ...
1599 * sysdeps/generic/libc-lock.h: ...here.
1600 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1601 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1602 * sysdeps/mach/hurd/libc-lock.h: ...here.
1603 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1604 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1605 * sysdeps/mach/bits/libc-lock.h: Move to ...
1606 * sysdeps/mach/libc-lock.h: ...here.
1607 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1608 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1609 * sysdeps/nptl/libc-lock.h: ...here.
1610 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1611 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1612 * sysdeps/nptl/libc-lockP.h: ...here.
1613 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1614 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1615 <bits/libc-lock.h>.
1616 * dirent/scandir-tail.c: Likewise.
1617 * dlfcn/dlerror.c: Likewise.
1618 * elf/dl-close.c: Likewise.
1619 * elf/dl-iteratephdr.c: Likewise.
1620 * elf/dl-lookup.c: Likewise.
1621 * elf/dl-open.c: Likewise.
1622 * elf/dl-support.c: Likewise.
1623 * elf/dl-writev.h: Likewise.
1624 * elf/rtld.c: Likewise.
1625 * grp/fgetgrent.c: Likewise.
1626 * gshadow/fgetsgent.c: Likewise.
1627 * gshadow/sgetsgent.c: Likewise.
1628 * iconv/gconv_conf.c: Likewise.
1629 * iconv/gconv_db.c: Likewise.
1630 * iconv/gconv_dl.c: Likewise.
1631 * iconv/gconv_int.h: Likewise.
1632 * iconv/gconv_trans.c: Likewise.
1633 * include/link.h: Likewise.
1634 * inet/getnameinfo.c: Likewise.
1635 * inet/getnetgrent.c: Likewise.
1636 * inet/getnetgrent_r.c: Likewise.
1637 * intl/bindtextdom.c: Likewise.
1638 * intl/dcigettext.c: Likewise.
1639 * intl/finddomain.c: Likewise.
1640 * intl/gettextP.h: Likewise.
1641 * intl/loadmsgcat.c: Likewise.
1642 * intl/localealias.c: Likewise.
1643 * intl/textdomain.c: Likewise.
1644 * libidn/idn-stub.c: Likewise.
1645 * libio/libioP.h: Likewise.
1646 * locale/duplocale.c: Likewise.
1647 * locale/freelocale.c: Likewise.
1648 * locale/newlocale.c: Likewise.
1649 * locale/setlocale.c: Likewise.
1650 * login/getutent_r.c: Likewise.
1651 * login/getutid_r.c: Likewise.
1652 * login/getutline_r.c: Likewise.
1653 * login/utmp-private.h: Likewise.
1654 * login/utmpname.c: Likewise.
1655 * malloc/mtrace.c: Likewise.
1656 * misc/efgcvt.c: Likewise.
1657 * misc/error.c: Likewise.
1658 * misc/fstab.c: Likewise.
1659 * misc/getpass.c: Likewise.
1660 * misc/mntent.c: Likewise.
1661 * misc/syslog.c: Likewise.
1662 * nis/nis_call.c: Likewise.
1663 * nis/nis_callback.c: Likewise.
1664 * nis/nss-default.c: Likewise.
1665 * nis/nss_compat/compat-grp.c: Likewise.
1666 * nis/nss_compat/compat-initgroups.c: Likewise.
1667 * nis/nss_compat/compat-pwd.c: Likewise.
1668 * nis/nss_compat/compat-spwd.c: Likewise.
1669 * nis/nss_nis/nis-alias.c: Likewise.
1670 * nis/nss_nis/nis-ethers.c: Likewise.
1671 * nis/nss_nis/nis-grp.c: Likewise.
1672 * nis/nss_nis/nis-hosts.c: Likewise.
1673 * nis/nss_nis/nis-network.c: Likewise.
1674 * nis/nss_nis/nis-proto.c: Likewise.
1675 * nis/nss_nis/nis-pwd.c: Likewise.
1676 * nis/nss_nis/nis-rpc.c: Likewise.
1677 * nis/nss_nis/nis-service.c: Likewise.
1678 * nis/nss_nis/nis-spwd.c: Likewise.
1679 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1680 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1681 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1682 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1683 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1684 * nis/nss_nisplus/nisplus-network.c: Likewise.
1685 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1686 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1687 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1688 * nis/nss_nisplus/nisplus-service.c: Likewise.
1689 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1690 * nis/ypclnt.c: Likewise.
1691 * nptl/libc_pthread_init.c: Likewise.
1692 * nss/getXXbyYY.c: Likewise.
1693 * nss/getXXent.c: Likewise.
1694 * nss/getXXent_r.c: Likewise.
1695 * nss/nss_db/db-XXX.c: Likewise.
1696 * nss/nss_db/db-netgrp.c: Likewise.
1697 * nss/nss_db/nss_db.h: Likewise.
1698 * nss/nss_files/files-XXX.c: Likewise.
1699 * nss/nss_files/files-alias.c: Likewise.
1700 * nss/nsswitch.c: Likewise.
1701 * posix/regex_internal.h: Likewise.
1702 * posix/wordexp.c: Likewise.
1703 * pwd/fgetpwent.c: Likewise.
1704 * resolv/res_hconf.c: Likewise.
1705 * resolv/res_libc.c: Likewise.
1706 * shadow/fgetspent.c: Likewise.
1707 * shadow/lckpwdf.c: Likewise.
1708 * shadow/sgetspent.c: Likewise.
1709 * socket/opensock.c: Likewise.
1710 * stdio-common/reg-modifier.c: Likewise.
1711 * stdio-common/reg-printf.c: Likewise.
1712 * stdio-common/reg-type.c: Likewise.
1713 * stdio-common/vfprintf.c: Likewise.
1714 * stdio-common/vfscanf.c: Likewise.
1715 * stdlib/abort.c: Likewise.
1716 * stdlib/cxa_atexit.c: Likewise.
1717 * stdlib/fmtmsg.c: Likewise.
1718 * stdlib/random.c: Likewise.
1719 * stdlib/setenv.c: Likewise.
1720 * string/strsignal.c: Likewise.
1721 * sunrpc/auth_none.c: Likewise.
1722 * sunrpc/bindrsvprt.c: Likewise.
1723 * sunrpc/create_xid.c: Likewise.
1724 * sunrpc/key_call.c: Likewise.
1725 * sunrpc/rpc_thread.c: Likewise.
1726 * sysdeps/arm/backtrace.c: Likewise.
1727 * sysdeps/generic/ldsodefs.h: Likewise.
1728 * sysdeps/generic/stdio-lock.h: Likewise.
1729 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1730 * sysdeps/i386/backtrace.c: Likewise.
1731 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1732 * sysdeps/m68k/backtrace.c: Likewise.
1733 * sysdeps/mach/hurd/cthreads.c: Likewise.
1734 * sysdeps/mach/hurd/dirstream.h: Likewise.
1735 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1736 * sysdeps/nptl/malloc-machine.h: Likewise.
1737 * sysdeps/nptl/stdio-lock.h: Likewise.
1738 * sysdeps/posix/dirstream.h: Likewise.
1739 * sysdeps/posix/getaddrinfo.c: Likewise.
1740 * sysdeps/posix/system.c: Likewise.
1741 * sysdeps/pthread/aio_suspend.c: Likewise.
1742 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1743 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1744 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1745 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1749 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1750 * sysdeps/unix/sysv/linux/system.c: Likewise.
1751 * sysdeps/x86_64/backtrace.c: Likewise.
1752 * time/alt_digit.c: Likewise.
1753 * time/era.c: Likewise.
1754 * time/tzset.c: Likewise.
1755 * wcsmbs/wcsmbsload.c: Likewise.
1756 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1757 instead of <bits/libc-lock.h> in comment.
1758
1759 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1760
1761 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1762 Only use .set mips2 if the current ISA is below mips2.
1763 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1764 Likewise.
1765 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1766 mips32r2 if the current ISA is below mips32r2.
1767 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1768 (TLS_IE): Updated to use the TLD_RDHWR macro.
1769 (TLS_LE): Likewise.
1770 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1771 __ASSEMBLER__ condition.
1772
1773 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1774
1775 Fix parallel build of before-compile targets.
1776
1777 * sysdeps/mach/Makefile ($(patsubst
1778 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1779 mach-before-compile target.
1780 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1781 io fs process)): Move rule to dedicated hurd-before-compile target.
1782
1783 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1784
1785 Fix rules generating headers in hurd/ and mach/ when initial make call
1786 has subdir= explicitly set.
1787
1788 * sysdeps/mach/Makefile ($(patsubst
1789 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1790 calling $(MAKE).
1791 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1792 io fs process)): Force subdir to hurd when calling $(MAKE).
1793 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1794 subdir to mach when calling $(MAKE).
1795
1796 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1797
1798 Check sysheaders when looking for Mach and Hurd headers
1799
1800 * sysdeps/mach/configure.ac: Add sysheaders check.
1801 * sysdeps/mach/configure: Regenerate.
1802 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1803 * sysdeps/mach/hurd/configure: Regenerate.
1804
1805 2015-09-04 Roland McGrath <roland@hack.frob.com>
1806
1807 [BZ #18921]
1808 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1809 Fix inverted sense of test of 'o_directory_works' value.
1810 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1811 Bernhard Voelker <mail@bernhard-voelker.de>.
1812
1813 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1814
1815 [BZ #14912]
1816 * bits/linkmap.h: Move to ...
1817 * sysdeps/generic/linkmap.h: ...here.
1818 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1819 * sysdeps/aarch64/linkmap.h: ...here.
1820 * sysdeps/arm/bits/linkmap.h: Move to ...
1821 * sysdeps/arm/linkmap.h: ...here.
1822 * sysdeps/hppa/bits/linkmap.h: Move to ...
1823 * sysdeps/hppa/linkmap.h: ...here.
1824 * sysdeps/ia64/bits/linkmap.h: Move to ...
1825 * sysdeps/ia64/linkmap.h: ...here.
1826 * sysdeps/mips/bits/linkmap.h: Move to ...
1827 * sysdeps/mips/linkmap.h: ...here.
1828 * sysdeps/s390/bits/linkmap.h: Move to ...
1829 * sysdeps/s390/linkmap.h: ...here.
1830 * sysdeps/sh/bits/linkmap.h: Move to ...
1831 * sysdeps/sh/linkmap.h: ...here.
1832 * sysdeps/x86/bits/linkmap.h: Move to ...
1833 * sysdeps/x86/linkmap.h: ...here.
1834 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1835
1836 2015-09-04 Andreas Schwab <schwab@suse.de>
1837
1838 [BZ #18635]
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1840 (__makecontext): Terminate FDE before return label.
1841 (__novec_makecontext): Likewise.
1842
1843 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1844
1845 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1846 first member of struct sv in syscall macro.
1847
1848 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1849
1850 [BZ #14912]
1851 * bits/stdio-lock.h: Move to ...
1852 * sysdeps/generic/stdio-lock.h: ...here.
1853 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1854 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1855 * sysdeps/nptl/stdio-lock.h: ...here.
1856 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1857 * include/libio.h: Include <stdio-lock.h> instead of
1858 <bits/stdio-lock.h>.
1859 * sysdeps/nptl/fork.c: Likewise.
1860 * sysdeps/pthread/flockfile.c: Likewise.
1861 * sysdeps/pthread/ftrylockfile.c: Likewise.
1862 * sysdeps/pthread/funlockfile.c: Likewise.
1863
1864 [BZ #14912]
1865 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1866 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1867 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1868 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1869 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1870 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1871 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1872
1873 2015-09-03 Roland McGrath <roland@hack.frob.com>
1874
1875 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1876 (test-xfail-tst-protected1b): New variable.
1877
1878 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #14912]
1881 * bits/libc-tsd.h: Move to ...
1882 * sysdeps/generic/libc-tsd.h: ...here.
1883 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1884 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1885 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1886 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1887 * include/ctype.h: Include <libc-tsd.h> instead of
1888 <bits/libc-tsd.h>.
1889 * include/rpc/rpc.h: Likewise.
1890 * locale/localeinfo.h: Likewise.
1891 * sunrpc/rpc_thread.c: Likewise.
1892 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1893 * sysdeps/nptl/malloc-machine.h: Likewise.
1894
1895 * Makefile (headers): Remove bits/libc-lock.h.
1896 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1897
1898 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1899 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1900 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1901 <bits/stdio-lock.h>.
1902 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1903 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1904
1905 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1906
1907 [BZ #18757]
1908 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1909 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1910 BZ #18757.
1911
1912 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1913
1914 * malloc/mtrace.pl: Filter out NULL entries.
1915
1916 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1917
1918 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1919 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1920 macro.
1921
1922 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1923 (TCP_CC_INFO): Likewise.
1924 (TCP_SAVE_SYN): Likewise.
1925 (TCP_SAVED_SYN): Likewise.
1926
1927 2015-08-31 Brett Neumeier <brett@neumeier.us>
1928
1929 [BZ #18870]
1930 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1931
1932 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1933
1934 [BZ #18873]
1935 Fix broken overflow check in posix_fallocate
1936 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1937 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1938 Fix parenthesization typo.
1939
1940 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1941
1942 [BZ #18887]
1943 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1944 tst-mntent-blank-passno.
1945 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1946 * misc/tst-mntent-blank-corrupt.c: New test.
1947 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1948 * misc/tst-mntent.c (do_test): ... here.
1949
1950 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1951
1952 [BZ #4404]
1953 * po/de.po: Fix SIGALRM typo.
1954
1955 2015-08-28 James Perkins <james@loowit.net>
1956
1957 * time/tst-strptime2.c (tests): Replace short list of test
1958 strings for strptime %z specifier with code which exhaustively
1959 tests every combination of sign and 0 to 5 digits. Tests for
1960 rejection of invalid strings.
1961
1962 2015-08-28 James Perkins <james@loowit.net>
1963
1964 [BZ #16141]
1965 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1966 calculation, removing incorrect decimal time rounding, so that
1967 all minute values result in a valid seconds value.
1968 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1969 offset range limits to UTC-99:59 through UTC+99:59 to parse
1970 current and historical use cases.
1971 * time/tst-strptime2.c (tests): Modify and add tests for the
1972 strptime %z input field descriptor, specifically conversion of
1973 minutes to seconds and validating an offset range of -9959 to
1974 +9959.
1975
1976 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1977 Dmitry V. Levin <ldv@altlinux.org>
1978
1979 [BZ #18877]
1980 * posix/Makefile (tests): Add tst-mmap-offset.
1981 * posix/tst-mmap.c: New file.
1982 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1983 offset calculation for negative values.
1984
1985 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * sysdeps/i386/init-arch.h: New file.
1988 * sysdeps/i386/i586/init-arch.h: Likewise.
1989 * sysdeps/i386/i686/init-arch.h: Likewise.
1990 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1991 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1992 * sysdeps/x86/cpu-features.h (bit_I586): New.
1993 (bit_I686): Likewise.
1994 (bit_CX8): Likewise.
1995 (bit_CMOV): Likewise.
1996 (index_CX8): Likewise.
1997 (index_CMOV): Likewise.
1998 (index_I586): Likewise.
1999 (index_I686): Likewise.
2000 (reg_CX8): Likewise.
2001 (reg_CMOV): Likewise.
2002 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2003 available at compile-time.
2004 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2005 available at compile-time.
2006 * sysdeps/x86/init-arch.h (USE_I586): New macro.
2007 (USE_I686): Likewise.
2008
2009 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * sysdeps/i386/bcopy.S: New file.
2012 * sysdeps/i386/bzero.S: Likewise.
2013 * sysdeps/i386/memcpy.S: Likewise.
2014 * sysdeps/i386/memmove.S: Likewise.
2015 * sysdeps/i386/mempcpy.S: Likewise.
2016 * sysdeps/i386/memset.S: Likewise.
2017 * sysdeps/i386/bzero.c: Removed.
2018 * sysdeps/i386/memset.c: Likewise.
2019 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2020 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2021 * sysdeps/i386/i586/memset_chk.S: Likewise.
2022 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2023 * sysdeps/i386/memcpy_chk.S: Here.
2024 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2025 * sysdeps/i386/memmove_chk.S: Here.
2026 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2027 * sysdeps/i386/mempcpy_chk.S: Likewise.
2028 * sysdeps/i386/i686/memset_chk.S: Moved to ...
2029 * sysdeps/i386/memset_chk.S: Likewise.
2030
2031 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
2032
2033 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2034 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2035 file, move DIAG_POP_NEEDS_COMMENT to end of file.
2036 * soft-fp/fmadf4.c: Ditto.
2037 * soft-fp/fmatf4.c: Ditto.
2038
2039 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 * sysdeps/i386/i586/Implies: Removed.
2042 * sysdeps/i386/i686/Implies: Likewise.
2043
2044 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/i386/i486/strlen.S: Moved to ...
2047 * sysdeps/i386/strlen.S: Here.
2048
2049 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/i386/i486/strcat.S: Moved to ...
2052 * sysdeps/i386/strcat.S: Here.
2053
2054 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2057 * sysdeps/i386/pthread_spin_trylock.S: Here.
2058 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2059 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2060
2061 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 * sysdeps/i386/i486/string-inlines.c: Moved to ...
2064 * sysdeps/i386/string-inlines.c: Here.
2065
2066 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * sysdeps/i386/i486/htonl.S: Moved ...
2069 * sysdeps/i386/htonl.S: here.
2070
2071 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2074 * sysdeps/i386/bits/atomic.h: Here.
2075
2076 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/i386/i486/Versions: Removed.
2079
2080 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2081
2082 [BZ #2898]
2083 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2084 Based on patch by Aurelien Jarno.
2085
2086 2015-08-26 Stan Shebs <stanshebs@google.com>
2087
2088 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2089 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2090
2091 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2092
2093 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2094 * sysdeps/powerpc/dl-procinfo.c:
2095 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2096 feature so it shows when LD_SHOW_AUXV=1.
2097
2098 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2099
2100 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2101 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2102 definition. ISA 2.07B no longer requires full sync.
2103
2104 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2105
2106 [BZ #18863]
2107 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2108 (si_call_addr): Define.
2109 (si_syscall): Define.
2110 (si_arch): Define.
2111
2112 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2115 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2116 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2117 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2118 (__memset_zero_constant_len_parameter): New.
2119 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2120 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2121 (__memset_zero_constant_len_parameter): Don't define if
2122 __memset_chk or USE_AS_BZERO are defined.
2123
2124 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2125 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2126 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2127
2128 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2129 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2130 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2131 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2132 comments.
2133 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2134 -mno-mmx for $(all-rtld-routines).
2135 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2136 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2137 i386.
2138
2139 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2140
2141 * sysdeps/generic/unwind.h
2142 (_Unwind_Word): Use __mode__(__unwind_word__)
2143 instead of __mode__(__word__).
2144 (_Unwind_Sword): Likewise.
2145
2146 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2147 (MAX_NEEDED_INPUT): New define.
2148 (MAX_NEEDED_OUTPUT): New define.
2149
2150 * NEWS: New item for IBM z13 string optimizations.
2151
2152 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2153 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2154 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2155 * sysdeps/s390/multiarch/Makefile
2156 (sysdep_routines): Add memrchr functions.
2157 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2158 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2159
2160 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2161 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2162 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2163 * sysdeps/s390/multiarch/Makefile
2164 (sysdep_routines): Add wmemcmp functions.
2165 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2166 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2167 * benchtests/bench-wmemcmp.c: New File.
2168 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2169
2170 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2171 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2172 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2173 * sysdeps/s390/multiarch/Makefile
2174 (sysdep_routines): Add wmemset functions.
2175 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2176 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2177 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2178 * string/test-memset.c: Add wmemset support.
2179 * wcsmbs/test-wmemset.c: New File.
2180 * wcsmbs/Makefile (strop-tests): Add wmemset.
2181 * benchtests/bench-memset.c: Add wmemset support.
2182 * benchtests/bench-wmemset.c: New File.
2183 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2184
2185 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2186 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2187 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2188 * sysdeps/s390/multiarch/Makefile
2189 (sysdep_routines): Add memccpy functions.
2190 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2191 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2192 * string/memccpy.c: Use MEMCCPY if defined.
2193
2194 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2195 * sysdeps/s390/multiarch/memchr.c: Likewise.
2196 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2197 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2198 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2199 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2200 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2201 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2202 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2203 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2204 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2205 and rawmemchr functions.
2206 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2207 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2208 and wmemchr.
2209 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2210 * string/test-memchr.c: Add wmemchr support.
2211 * wcsmbs/test-wmemchr.c: New File.
2212 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2213 * benchtests/bench-memchr.c: Add wmemchr support.
2214 * benchtests/bench-wmemchr.c: New File.
2215 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2216
2217 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2218 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2219 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2220 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2221 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2222 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2223 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2224 wcscspn functions.
2225 * sysdeps/s390/multiarch/ifunc-impl-list.c
2226 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2227 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2228 * string/test-strcspn.c: Add wcscspn support.
2229 * wcsmbs/test-wcscspn.c: New File.
2230 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2231 * benchtests/bench-strcspn.c: Add wcscspn support.
2232 * benchtests/bench-wcscspn.c: New File.
2233 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2234
2235 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2236 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2237 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2238 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2239 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2240 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2241 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2242 wcspbrk functions.
2243 * sysdeps/s390/multiarch/ifunc-impl-list.c
2244 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2245 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2246 * string/test-strpbrk.c: Add wcspbrk support.
2247 * wcsmbs/test-wcspbrk.c: New File.
2248 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2249 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2250 * benchtests/bench-wcspbrk.c: New File.
2251 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2252
2253 * sysdeps/s390/multiarch/strspn-c.c: New File.
2254 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2255 * sysdeps/s390/multiarch/strspn.c: Likewise.
2256 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2257 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2258 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2259 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2260 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2261 wcsspn functions.
2262 * sysdeps/s390/multiarch/ifunc-impl-list.c
2263 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2264 * string/test-strspn.c: Add wcsspn support.
2265 * wcsmbs/test-wcsspn.c: New File.
2266 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2267 * benchtests/bench-strspn.c: Add wcsspn support.
2268 * benchtests/bench-wcsspn.c: New File.
2269 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2270
2271 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2272 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2273 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2274 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2275 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2276 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2277 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2278 wcsrchr functions.
2279 * sysdeps/s390/multiarch/ifunc-impl-list.c
2280 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2281 * benchtests/bench-wcsrchr.c: New File.
2282 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2283
2284 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2285 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2286 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2287 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2288 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2289 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2291 wcschrnul functions.
2292 * sysdeps/s390/multiarch/ifunc-impl-list.c
2293 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2294 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2295 * string/test-strchr.c: Add wcschrnul support.
2296 * wcsmbs/test-wcschrnul.c: New File.
2297 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2298 * benchtests/bench-strchr.c: Add wcschrnul support.
2299 * benchtests/bench-wcschrnul.c: New File.
2300 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2301
2302 * sysdeps/s390/multiarch/strchr-c.c: New File.
2303 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2304 * sysdeps/s390/multiarch/strchr.c: Likewise.
2305 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2306 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2307 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2308 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2309 wcschr functions.
2310 * sysdeps/s390/multiarch/ifunc-impl-list.c
2311 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2312 * string/strchr.c (STRCHR): Define and use macro.
2313 * benchtests/bench-wcschr.c: New File.
2314 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2315
2316 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2317 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2318 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2319 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2320 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2321 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2322 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2323 wcsncmp functions.
2324 * sysdeps/s390/multiarch/ifunc-impl-list.c
2325 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2326 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2327 * benchtests/bench-strncmp.c: Add wcsncmp support.
2328 * benchtests/bench-wcsncmp.c: New File.
2329 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2330
2331 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2332 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2333 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2334 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2335 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2336 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2337 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2338 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2339 wcscmp functions.
2340 * sysdeps/s390/multiarch/ifunc-impl-list.c
2341 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2342 * string/strcmp.c (STRCMP): Define and use macro.
2343 * benchtests/bench-wcscmp.c: New File.
2344 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2345 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2346 instead of _HAVE_STRING_ARCH_memchr.
2347
2348 * sysdeps/s390/multiarch/strncat-c.c: New File.
2349 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2350 * sysdeps/s390/multiarch/strncat.c: Likewise.
2351 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2352 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2353 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2354 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2355 wcsncat functions.
2356 * sysdeps/s390/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2358 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2359 * string/test-strncat.c: Add wcsncat support.
2360 * wcsmbs/test-wcsncat.c: New File.
2361 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2362 * benchtests/bench-strncat.c: Add wcsncat support.
2363 * benchtests/bench-wcsncat.c: New File.
2364 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2365
2366 * sysdeps/s390/multiarch/strcat-c.c: New File.
2367 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2368 * sysdeps/s390/multiarch/strcat.c: Likewise.
2369 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2370 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2371 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2372 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2373 wcscat functions.
2374 * sysdeps/s390/multiarch/ifunc-impl-list.c
2375 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2376 * string/strcat.c (STRCAT): Define and use macro.
2377 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2378 * string/test-strcat.c: Add wcscat support.
2379 * wcsmbs/test-wcscat.c: New File.
2380 * wcsmbs/Makefile (strop-tests): Add wcscat.
2381 * benchtests/bench-strcat.c: Add wcscat support.
2382 * benchtests/bench-wcscat.c: New File.
2383 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2384
2385 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2386 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2387 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2388 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2389 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2390 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2391 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2392 wcpncpy functions.
2393 * sysdeps/s390/multiarch/ifunc-impl-list.c
2394 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2395 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2396 * string/test-stpncpy.c: Add wcpncpy support.
2397 * wcsmbs/test-wcpncpy.c: New File.
2398 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2399 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2400 * benchtests/bench-wcpncpy.c: New File.
2401 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2402
2403 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2404 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2405 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2406 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2407 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2408 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2409 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2410 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2411 wcsncpy functions.
2412 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2413 * sysdeps/s390/multiarch/ifunc-impl-list.c
2414 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2415 * string/test-strncpy.c: Add wcsncpy support.
2416 * wcsmbs/test-wcsncpy.c: New File.
2417 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2418 * benchtests/bench-strncpy.c: Add wcsncpy support.
2419 * benchtests/bench-wcsncpy.c: New File.
2420 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2421
2422 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2423 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2424 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2425 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2426 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2427 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2428 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2429 wcpcpy functions.
2430 * string/stpcpy.c: Use STPCPY if defined.
2431 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2432 * sysdeps/s390/multiarch/ifunc-impl-list.c
2433 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2434 * string/test-stpcpy.c: Add wcpcpy support.
2435 * wcsmbs/test-wcpcpy.c: New File.
2436 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2437 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2438 * benchtests/bench-wcpcpy.c: New File.
2439 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2440
2441 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2442 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2443 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2444 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2445 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2446 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2447 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2448 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2449 wcscpy functions.
2450 * sysdeps/s390/multiarch/ifunc-impl-list.c
2451 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2452 * benchtests/bench-wcscpy.c: New File.
2453 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2454
2455 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2456 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2457 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2458 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2459 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2460 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2461 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2462 wcsnlen functions.
2463 * sysdeps/s390/multiarch/ifunc-impl-list.c
2464 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2465 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2466 * string/test-strnlen.c: Add wcsnlen support.
2467 * wcsmbs/test-wcsnlen.c: New File.
2468 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2469 * benchtests/bench-strnlen.c: Add wcsnlen support.
2470 * benchtests/bench-wcsnlen.c: New File.
2471 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2472
2473 * sysdeps/s390/multiarch/Makefile: New File.
2474 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2475 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2476 * sysdeps/s390/multiarch/strlen.c: Likewise.
2477 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2478 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2479 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2480 * string/strlen.c (STRLEN): Define and use macro.
2481 * sysdeps/s390/multiarch/ifunc-impl-list.c
2482 (IFUNC_VX_IMPL): New macro function.
2483 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2484 * benchtests/Makefile (wcsmbs-bench): New variable.
2485 (string-bench-all): Added wcsmbs-bench.
2486 * benchtests/bench-wcslen.c: New File.
2487
2488 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2489 s390_vx_libc_ifunc2): New macro function.
2490
2491 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2492 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2493 assembler support.
2494 * sysdeps/s390/configure: Regenerated.
2495
2496 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2497 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2498
2499 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2500 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2501 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2502
2503 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2504 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2505 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2506 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2507 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2508 (memcmp, bcmp): Use __memcmp_default as alias source.
2509 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2510 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2511 Rename to __memcmp_default.
2512 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2513 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2514 (memcpy): Use __memcpy_default as alias source.
2515 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2516 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2517 Rename to __memcpy_default.
2518 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2519 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2520 (memset): Use __memset_default as alias source.
2521 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2522 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2523 Rename to __memset_default.
2524 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2525 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2527 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2528 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2529 (memcmp, bcmp): Use __memcmp_default as alias source.
2530 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2531 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2532 Rename to __memcmp_default.
2533 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2534 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2535 (memcpy): Use __memcpy_default as alias source.
2536 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2537 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2538 Rename to __memcpy_default.
2539 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2540 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2541 (memset): Use __memset_default as alias source.
2542 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2543 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2544 Rename to __memset_default.
2545 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2546 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2547
2548 [BZ #18610]
2549 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2550 __ieee_instruction_pointer to __unused.
2551 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2552 __ieee_instruction_pointer.
2553 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2554 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2555 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2556 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2557 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2558 Mark dxc-field as reserved.
2559
2560 2015-08-25 Roland McGrath <roland@hack.frob.com>
2561
2562 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2563 if the weak reference is not null.
2564
2565 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2568
2569 [BZ #11214]
2570 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2571
2572 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2573
2574 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2575 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2576 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2577 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2578 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2579 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2580 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2581 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2582 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2583 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2584 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2585 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2586 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2587 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2588 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2589 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2590 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2591 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2592
2593 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2594
2595 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2596 register other than r0 for tabort, it has special meaning.
2597 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2598 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2599 transaction before starting syscall.
2600
2601 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2602
2603 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2604
2605 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2606
2607 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2608
2609 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2610 * sysdeps/x86_64/rtld-memset.S: Likewise.
2611 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2612 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2613 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2614 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2615
2616 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2617
2618 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2619
2620 * debug/strcpy_chk.c: Improve performance.
2621 * debug/stpcpy_chk.c: Likewise.
2622 * sysdeps/x86_64/strcpy_chk.S: Remove.
2623 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2624
2625 [BZ #18240]
2626 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2627
2628 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 [BZ #15128]
2631 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2632 ifuncmain8.
2633 (modules-names): Add ifuncmod8.
2634 ($(objpfx)ifuncmain8): New rule.
2635 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2636 <cpuid.h>.
2637 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2638 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2639 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2640 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2641 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2642 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2643 * sysdeps/x86_64/ifuncmain8.c: New file.
2644 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2645 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2646 Removed.
2647 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2648 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2649 Change rtld_savespace_sse to __glibc_unused2.
2650 (RTLD_CHECK_FOREIGN_CALL): Removed.
2651 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2652 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2653 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2654
2655 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2656
2657 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2658
2659 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2660
2661 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2662 Unconditionally set __fpcr to avoid uninialized warning.
2663 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2664
2665 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2666
2667 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2668 is corrupt.
2669
2670 * malloc/arena.c (arena_get2): Drop unused argument.
2671 (arena_lock): Adjust.
2672 (arena_get_retry): Likewise.
2673
2674 2015-08-24 Andreas Schwab <schwab@suse.de>
2675
2676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2677 Don't define.
2678 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2679 (__ASSUME_IPC64): Don't undef.
2680 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2681 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2682 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2684 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2686 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2687 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2688 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2690 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2691 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2692 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2693 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2694 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2697 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2700 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2701
2702 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2703
2704 * manual/Makefile (install): Only build manual when perl is available.
2705
2706 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2709 '#undef memcpy' by '#undef memchr'.
2710
2711 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2712
2713 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2714 memchr not point to the internal __GI_memchr implementation.
2715
2716 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2717
2718 * timezone/Makefile (CFLAGS-zdump.c): Remove
2719 -Wno-strict-prototypes.
2720 (CFLAGS-zic.c): Likewise.
2721 (CFLAGS-ialloc.c): Likewise.
2722 (CFLAGS-scheck.c): Likewise.
2723
2724 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2725 -Wno-error=undef.
2726
2727 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * i386/i686/multiarch/strcasestr-c.c: Removed.
2730 * x86_64/multiarch/strcasestr.c: Likewise.
2731 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2732 Remove strcasestr.
2733
2734 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2735
2736 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2737
2738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2739 variables for high and low parts before possibly modifying them.
2740
2741 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2744 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2745 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2746 of "multiarch/init-arch.h".
2747 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2748 * sysdeps/x86/init-arch.h: This.
2749
2750 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2753 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2754
2755 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2756
2757 [BZ #17787]
2758 * manual/macros.texi: Add twoexp macro.
2759 * manual/filesys.texi: Fix exponents.
2760 * manual/llio.texi: Likewise.
2761 * manual/stdio.texi: Likewise.
2762
2763 2015-08-20 Florian Weimer <fweimer@redhat.com>
2764
2765 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2766 incorrect use.
2767
2768 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2769
2770 [BZ #18370]
2771 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2772 whose real or imaginary part has small absolute value.
2773 * math/s_csqrtf.c (__csqrtf): Likewise.
2774 * math/s_csqrtl.c (__csqrtl): Likewise.
2775 * math/auto-libm-test-in: Add more tests of csqrt.
2776 * math/auto-libm-test-out: Regenerated.
2777 * sysdeps/i386/fpu/libm-test-ulps: Update.
2778
2779 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2780
2781 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2782 __ppc_set_ppr_very_low): New functions.
2783 * manual/platform.texi: Add documentation about
2784 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2785
2786 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2787
2788 * string/stpncpy.c (stpncpy): Improve performance using
2789 __strnlen/memcpy/memset.
2790
2791 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2792
2793 [BZ #18796]
2794 * scripts/test-installation.pl: Don't add -lmvec to build options if
2795 libmvec wasn't built.
2796
2797 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2798
2799 [BZ #14341]
2800 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2801 case when there is a gap between DT_REL and DT_JMPREL sections.
2802 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2803 (LDFLAGS-tst-split-dynreloc): New.
2804 (tst-split-dynreloc-ENV): Likewise.
2805 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2806 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2807
2808 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 [BZ #18822]
2811 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2812 attribute_hidden.
2813 (__xstat64_conv): Likewise.
2814 (__xstat32_conv): Likewise.
2815
2816 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 [BZ #18822]
2819 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2820 Don't load %ebx when calling __setcontext. Call __setcontext
2821 with HIDDEN_JUMPTARGET.
2822 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2823 libc_hidden_def.
2824
2825 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/i386/i686/Makefile
2828 [$(subdir) == string] (sysdep_routines): Moved to ...
2829 * sysdeps/i386/Makefile: Here.
2830 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2831 * sysdeps/i386/cacheinfo.c: Here.
2832 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2833 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2834 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2835 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2836
2837 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2840 __i586__ is defined.
2841 (HAS_I686): Defined to 1 if __i686__ is defined.
2842
2843 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2844
2845 * elf/Makefile [$(have-z-execstack) = yes]
2846 (CPPFLAGS-tst-execstack.c): New variable.
2847
2848 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2849 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2850 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2851 UTMPX || _HAVE_UT_TV].
2852 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2853 UTMPX || _HAVE_UT_TV - 0].
2854
2855 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2856
2857 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2858 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2859 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2860
2861 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2862
2863 * sysdeps/powerpc/dl-procinfo.c:
2864 (_dl_powerpc_cap_flags): Added missing strings for some
2865 hwcap features.
2866 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2867
2868 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2869
2870 Port the 0x7efe...feff pattern to GCC 6.
2871 See Steve Ellcey's bug report in:
2872 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2873 * string/memrchr.c (MEMRCHR):
2874 * string/rawmemchr.c (RAWMEMCHR):
2875 * string/strchr.c (strchr):
2876 * string/strchrnul.c (STRCHRNUL):
2877 Rewrite code to avoid issues with signed shift overflow.
2878
2879 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2880
2881 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2882 whether cpuid is available only if HAS_CPUID is 0.
2883 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2884 (HAS_I586): Likewise.
2885 (HAS_I686): Likewise.
2886
2887 2015-08-18 Zack Weinberg <zackw@panix.com>
2888
2889 * misc/Versions (libc): Add GLIBC_2.23.
2890
2891 2015-08-18 Alan Modra <amodra@gmail.com>
2892
2893 [BZ #18421]
2894 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2895 .Lp__global.
2896 (_start): Load %dp via .Lp__global.
2897 [!SHARED]: Use .section .rodata.
2898
2899 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2900
2901 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2902 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2903
2904 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2905
2906 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2907 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2908
2909 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2910
2911 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2912 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2913
2914 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2915
2916 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2917 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2918
2919 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2920
2921 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2922 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2923
2924 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2925
2926 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2927 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2928
2929 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2930
2931 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2932
2933 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2934
2935 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2936 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2937 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2938 (__ASSUME_LWS_CAS): Delete.
2939
2940 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2941
2942 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2943 * sysdeps/hppa/configure: Regenerated.
2944 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2945 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2946 * sysdeps/hppa/nptl/tls.h: Likewise.
2947
2948 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #18823]
2951 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2952 for scaling up small arguments.
2953 * math/s_csqrtf.c (__csqrtf): Likewise.
2954 * math/s_csqrtl.c (__csqrtl): Likewise.
2955 * math/auto-libm-test-in: Add more tests of csqrt.
2956 * math/auto-libm-test-out: Regenerated.
2957
2958 2015-08-17 Andreas Schwab <schwab@suse.de>
2959
2960 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2961 version set GLIBC_2.19.
2962
2963 2015-08-16 Zack Weinberg <zackw@panix.com>
2964
2965 [BZ #18681]
2966 * misc/regexp.h: This interface is no longer supported.
2967 Remove all contents, leaving only an #error directive.
2968 * misc/regexp.c (loc1, loc2, locs, step, advance):
2969 Demote to compatibility symbols.
2970
2971 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2972
2973 [BZ #18084]
2974 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2975 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2976 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2977 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2978 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2979 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2980 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2981 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2982 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2983
2984 2015-08-15 Zack Weinberg <zackw@panix.com>
2985
2986 [BZ #18795]
2987 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2988 buffer length is known to be too large, not if it's known to be
2989 small enough.
2990 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2991 overflow at runtime, involving a length parameter, twice: once
2992 with a compile-time constant length parameter, once without.
2993
2994 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2995
2996 [BZ #18824]
2997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2998 scaling x * y up instead of down.
2999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3001 * math/auto-libm-test-in: Add more tests of fma.
3002 * math/auto-libm-test-out: Regenerated.
3003
3004 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3005
3006 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3007
3008 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
3010 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3011 unnecessary movq.
3012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3013 Likewise.
3014
3015 2015-08-13 Joseph Myers <joseph@codesourcery.com>
3016
3017 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3018 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3019 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3020 and tgamma.
3021 * math/auto-libm-test-out: Regenerated.
3022 * sysdeps/i386/fpu/libm-test-ulps: Update.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3024
3025 [BZ #16520]
3026 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3027 (__tanh): Force underflow exception for arguments with small
3028 absolute value.
3029 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3030 (__tanhf): Force underflow exception for arguments with small
3031 absolute value.
3032 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3033 (__tanhl): Force underflow exception for arguments with small
3034 absolute value.
3035 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3036 (__tanhl): Force underflow exception for arguments with small
3037 absolute value.
3038 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3039 (__tanhl): Force underflow exception for arguments with small
3040 absolute value.
3041 * math/auto-libm-test-in: Add more tests of tanh.
3042 * math/auto-libm-test-out: Regenerated.
3043 * sysdeps/i386/fpu/libm-test-ulps: Update.
3044
3045 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3046
3047 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3048 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3049
3050 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3051
3052 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3053 <cpuid.h>.
3054
3055 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3058 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3059
3060 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3063 Remove $(objpfx)init-arch.o.
3064 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3065 init-arch.
3066 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3067 (INIT_ARCH_EXT): Defined as empty.
3068 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3069 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3070 __init_cpu_features call. Replace HAS_XXX with
3071 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3074 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3075 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3076 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3077 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3078 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3079 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3080 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3082 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3083 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3092 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3093 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3094 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3100 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3101 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3104 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3105 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3106 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3107
3108 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3109
3110 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3111 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3112 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3113 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3114 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3115 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3116 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3117 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3119 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3120 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3121 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3122 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3153
3154 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3157 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3159 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3161 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3163 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3164 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3167 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3168 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3170 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3171 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3174 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3175 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3177 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3178 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3179 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3181 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3182 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3183 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3184 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3185 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3186 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3187 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3189 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3190 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3191 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3192 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3194 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3195 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3196 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3197 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3198 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3199
3200 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3203 (dl_platform_init): Call init_cpu_features.
3204 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3205 * sysdeps/i386/i686/cacheinfo.c
3206 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3207 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3208 * sysdeps/i386/i686/multiarch/Versions: Removed.
3209 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3210 Removed.
3211 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3212 * sysdeps/unix/sysv/linux/x86/Makefile
3213 (libpthread-sysdep_routines): Remove init-arch.
3214 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3215 <sysdeps/x86_64/dl-procinfo.c> instead of
3216 sysdeps/generic/dl-procinfo.c>.
3217 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3218 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3219 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3220 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3221 [$(subdir) == elf] (tests-static): Add
3222 tst-get-cpu-features-static.
3223 * sysdeps/x86/Versions: New file.
3224 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3225 * sysdeps/x86/cpu-features.c: Likewise.
3226 * sysdeps/x86/cpu-features.h: Likewise.
3227 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3228 * sysdeps/x86/libc-start.c: Likewise.
3229 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3230 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3231 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3232 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3233 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3234 Assume USE_MULTIARCH is defined and don't check it.
3235 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3236 (is_amd): Likewise.
3237 (max_cpuid): Likewise.
3238 (intel_check_word): Likewise.
3239 (__cache_sysconf): Don't call __init_cpu_features.
3240 (__x86_preferred_memory_instruction): Removed.
3241 (init_cacheinfo): Don't call __init_cpu_features. Replace
3242 __cpu_features with GLRO(dl_x86_cpu_features).
3243 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3244 (dl_platform_init): Call init_cpu_features.
3245 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3246 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3247 * sysdeps/x86_64/multiarch/Versions: Removed.
3248 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3249 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3250 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3251 Removed.
3252 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3253
3254 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3255
3256 [BZ #18820]
3257 * libio/Makefile (test-fmemopen-mem): New test.
3258 * libio/test-fmemopen.c (do_bz18820): New test.
3259 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3260 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3261
3262 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3263
3264 [BZ #16734]
3265 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3266 (FREE_BUF): Delete.
3267 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3268 * libio/genops.c (_IO_setb): Use malloc and free directly.
3269 (_IO_default_doallocate, _IO_default_finish): Likewise.
3270 ( _IO_unbuffer_all): Likewise.
3271 ( libc_freeres_fn): Likewise.
3272 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3273 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3274 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3275 (_IO_wdefault_doallocate): Likewise.
3276
3277 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3278
3279 [BZ #18086]
3280 * sysdeps/posix/nice.c (nice): Restore old errno.
3281 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3282
3283 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3284
3285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3286
3287 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3288
3289 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3290 __bcopy and add a weak_alias to bcopy.
3291 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3292 for static build.
3293
3294 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3295 cleanup macro usage.
3296 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3304 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3305 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3307 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3308 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3309 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3314 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3315
3316 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3317 libc_hidden_def.
3318 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3319
3320 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3321 (sysdep_routines): Add strstr-ppc64.
3322 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3323
3324 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3325
3326 [BZ #18778]
3327 * elf/Makefile (tests): Add Add tst-nodelete2.
3328 (modules-names): Add tst-nodelete2mod.
3329 (tst-nodelete2mod.so-no-z-defs): New.
3330 ($(objpfx)tst-nodelete2): Likewise.
3331 ($(objpfx)tst-nodelete2.out): Likewise.
3332 (LDFLAGS-tst-nodelete2): Likewise.
3333 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3334 out of loop through all loaded libraries.
3335 * elf/tst-nodelete2.c: New file.
3336 * elf/tst-nodelete2mod.c: Likewise.
3337 * elf/tst-znodelete-zlib.cc: Delete.
3338
3339 2015-08-11 Andreas Schwab <schwab@suse.de>
3340
3341 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3342 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3343 (__openat64_nocancel): Likewise.
3344
3345 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3346
3347 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3348 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3349 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3350 * math/auto-libm-test-out: Regenerated.
3351 * sysdeps/i386/fpu/libm-test-ulps: Update.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
3354 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3355
3356 [BZ #18790]
3357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3358 threshold for returning +/- 1.
3359 * math/auto-libm-test-in: Add more tests of tanh.
3360 * math/auto-libm-test-out: Regenerated.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362
3363 2015-08-10 Andreas Schwab <schwab@suse.de>
3364
3365 [BZ #18781]
3366 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3367 MORE_OFLAGS to oflag.
3368 * io/test-lfs.c (do_test): Test openat64.
3369
3370 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3371
3372 [BZ #18789]
3373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3374 smaller threshold for returning the argument.
3375 * math/auto-libm-test-in: Add more tests of sinh.
3376 * math/auto-libm-test-out: Regenerated.
3377 * sysdeps/i386/fpu/libm-test-ulps: Update.
3378
3379 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 [BZ #18674]
3382 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3383 break.
3384
3385 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3386
3387 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3388 (generated): Don't add $(addprefix z.,$(tzfiles)).
3389
3390 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3391
3392 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3393 * scripts/sysd-rules.awk: Likewise.
3394
3395 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3396
3397 * iconvdata/tst-tables.sh: Change echo -n to printf.
3398 * nss/db-Makefile: Likewise.
3399 * posix/tst-getconf.sh: Likewise.
3400 * stdio-common/tst-unbputc.sh: Likewise.
3401
3402 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3403
3404 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3405 MADV_*_PAGES defines behind this feature check.
3406
3407 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3408
3409 [BZ #18480]
3410 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3411 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3412 Define.
3413 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3414 LOAD_REGS_5, LOAD_REGS_6): Update.
3415 (INTERNAL_SYSCALL): Update using new LOAD defines.
3416 (INTERNAL_SYSCALL_NCS): Likewise.
3417 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3418
3419 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3420
3421 [BZ #16734]
3422 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3423
3424 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3425
3426 [BZ #17905]
3427 * catgets/Makefile (tst-catgets-mem): New test.
3428 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3429 * catgets/open_catalog.c (__open_catalog): Likewise.
3430 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3431
3432 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3433
3434 [BZ #18787]
3435 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3436 clobber registers.
3437 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3438 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3439 Cast return to __typeof (oldval).
3440
3441 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3442
3443 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3444 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3445 and delete sys/syscall.h include.
3446
3447 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3448
3449 [BZ #16517]
3450 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3451 (tan): Force underflow exception for arguments with small absolute
3452 value.
3453 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3454 (__kernel_tanf): Force underflow exception for arguments with
3455 small absolute value.
3456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3457 (__kernel_tanl): Force underflow exception for arguments with
3458 small absolute value.
3459 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3460 (__kernel_tanl): Force underflow exception for arguments with
3461 small absolute value.
3462 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3463 (__kernel_tanl): Force underflow exception for arguments with
3464 small absolute value.
3465 * math/auto-libm-test-in: Add more tests of tan.
3466 * math/auto-libm-test-out: Regenerated.
3467
3468 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3469
3470 Fix sysdeps/i386/fpu/s_scalbn.S build
3471
3472 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3473
3474 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3475
3476 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3477
3478 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3479
3480 Fix gcrt0.o compilation
3481
3482 When static-start-installed-name is different from
3483 start-installed-name, we must not use the shared objects.
3484
3485 * csu/Makefile
3486 (extra-objs): Add gmon-start.o when building shared library and
3487 $(static-start-installed-name) is different from
3488 $(start-installed-name).
3489 $(objpfx)g$(static-start-installed-name): When building shared
3490 library and $(static-start-installed-name) is different from
3491 $(static-start-installed-name), revert to non-shared rule,
3492 i.e. using $(objpfx)% and gmon-start.o.
3493
3494 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3495
3496 [BZ #16519]
3497 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3498 (__ieee754_sinh): Force underflow exception for arguments with
3499 small absolute value.
3500 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3501 (__ieee754_sinhf): Force underflow exception for arguments with
3502 small absolute value.
3503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3504 (__ieee754_sinhl): Force underflow exception for arguments with
3505 small absolute value.
3506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3507 (__ieee754_sinhl): Force underflow exception for arguments with
3508 small absolute value.
3509 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3510 (__ieee754_sinhl): Force underflow exception for arguments with
3511 small absolute value.
3512 * math/auto-libm-test-in: Add more tests of sinh.
3513 * math/auto-libm-test-out: Regenerated.
3514 * sysdeps/i386/fpu/libm-test-ulps: Update.
3515
3516 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3517
3518 * libio/oldfileops.c: Include unistd.h.
3519
3520 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3521
3522 * stdlib/isomac.c: Include ctype.h.
3523
3524 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3525
3526 * dirent/tst-seekdir.c (main): Converted to ...
3527 (do_test): ... this.
3528 (TEST_FUNCTION): New macro.
3529 Include test-skeleton.c.
3530 * elf/tst-dlmodcount.c (main): Converted to ...
3531 (do_test): ... this.
3532 (TEST_FUNCTION): New macro.
3533 Include test-skeleton.c.
3534 * elf/tst-order-main.c (main): Converted to ...
3535 (do_test): ... this.
3536 (TEST_FUNCTION): New macro.
3537 Include test-skeleton.c.
3538 * elf/tst-pie2.c (main): Converted to ...
3539 (do_test): ... this.
3540 (TEST_FUNCTION): New macro.
3541 Include test-skeleton.c.
3542 * inet/tst-ether_aton.c (main): Converted to ...
3543 (do_test): ... this.
3544 (TEST_FUNCTION): New macro.
3545 Include test-skeleton.c.
3546 * misc/tst-mntent.c (main): Converted to ...
3547 (do_test): ... this.
3548 (TEST_FUNCTION): New macro.
3549 Include test-skeleton.c.
3550 * misc/tst-tsearch.c (main): Converted to ...
3551 (do_test): ... this.
3552 (TEST_FUNCTION): New macro.
3553 Include test-skeleton.c.
3554 * posix/tst-regexloc.c (main): Converted to ...
3555 (do_test): ... this.
3556 (TEST_FUNCTION): New macro.
3557 Include test-skeleton.c.
3558 * resolv/tst-aton.c (main): Converted to ...
3559 (do_test): ... this.
3560 (TEST_FUNCTION): New macro.
3561 Include test-skeleton.c.
3562 * stdio-common/test-fwrite.c (main): Converted to ...
3563 (do_test): ... this.
3564 (TEST_FUNCTION): New macro.
3565 Include test-skeleton.c.
3566 * stdio-common/tst-ferror.c (main): Converted to ...
3567 (do_test): ... this.
3568 (TEST_FUNCTION): New macro.
3569 Include test-skeleton.c.
3570 * stdio-common/tst-printf.c (main): Converted to ...
3571 (do_test): ... this.
3572 (TEST_FUNCTION): New macro.
3573 Include test-skeleton.c.
3574 * stdio-common/tst-printfsz.c (main): Converted to ...
3575 (do_test): ... this.
3576 (TEST_FUNCTION): New macro.
3577 Include test-skeleton.c.
3578 * stdlib/tst-strtod.c (main): Converted to ...
3579 (do_test): ... this.
3580 (TEST_FUNCTION): New macro.
3581 Include test-skeleton.c.
3582 * string/tst-strlen.c (main): Converted to ...
3583 (do_test): ... this.
3584 (TEST_FUNCTION): New macro.
3585 Include test-skeleton.c.
3586 * string/tst-svc.c (main): Converted to ...
3587 (do_test): ... this.
3588 (TEST_FUNCTION): New macro.
3589 Include test-skeleton.c.
3590 * time/tst-strptime.c (main): Converted to ...
3591 (do_test): ... this.
3592 (TEST_FUNCTION): New macro.
3593 Include test-skeleton.c.
3594 * timezone/tst-timezone.c (main): Converted to ...
3595 (do_test): ... this.
3596 (TEST_FUNCTION): New macro.
3597 Include test-skeleton.c.
3598
3599 2015-08-05 Zack Weinberg <zackw@panix.com>
3600
3601 * misc/regexp.h: Update comments.
3602
3603 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3604
3605 [BZ #18635]
3606 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3607 before return label.
3608
3609 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 [BZ #18661]
3612 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3613 when calling __errno_location.
3614 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3615 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3616
3617 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3618
3619 [BZ #18661]
3620 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3621 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3622 __gettimeofday.
3623
3624 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 [BZ #18661]
3627 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3628 (__start_context): Don't use pop to restore %rdi so that stack
3629 is aligned to 16 bytes when calling __setcontext.
3630
3631 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3634 only for libc.
3635 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3636
3637 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3638
3639 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3640 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3641 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3642
3643 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3644
3645 * string/memccpy.c (memccpy):
3646 Improve performance by using memchr/memcpy/__mempcpy.
3647
3648 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3649
3650 * string/strncpy.c (strncpy):
3651 Improve performance by using __strnlen/memcpy.
3652
3653 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3654
3655 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3656 Optimize to avoid an unnecessary FPCR read.
3657
3658 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3659
3660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3661 Optimize to reduce FPCR/FPSR accesses.
3662
3663 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3664
3665 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3666 dead->data[category] != NULL.
3667
3668 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3669
3670 [BZ #18647]
3671 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3672 and |x| close to 1, use absolute value of x when computing log.
3673 * math/auto-libm-test-in: Add more tests of pow.
3674 * math/auto-libm-test-out: Regenerated.
3675
3676 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3677
3678 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3679 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3680 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3681
3682 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3683
3684 [BZ #18525]
3685 * locales/km_KH: Remove timezone definition.
3686 * locales/lo_LA: Likewise.
3687 * locales/my_MM: Likewise.
3688 * locales/nan_TW@latin: Likewise.
3689 * locales/th_TH: Likewise.
3690 * locales/uk_UA: Likewise.
3691
3692 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3693
3694 [BZ #18265]
3695 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3696 (wcsncat): Likewise.
3697 (wcscmp): Likewise.
3698 (wcsncmp): Likewise.
3699
3700 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3701
3702 * test-skeleton.c (usage): New function.
3703 (main): Call usage when opt is '?'.
3704
3705 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3706
3707 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3708 before first use.
3709
3710 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3711
3712 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3713 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3714 in there too.
3715
3716 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3717
3718 * version.h (RELEASE): Set to "development".
3719 (VERSION): Set to "2.22.90"
3720
3721 * version.h (RELEASE): Set to "stable".
3722 (VERSION): Set to "2.22"
3723 * include/features.h (__GLIBC_MINOR__): Set to 22.
3724
3725 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3726
3727 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3728 Restructure macro to avoid "value computed is not used" warning.
3729 (atomic_compare_and_exchange_val_acq): Likewise.
3730
3731 2015-08-04 Andreas Schwab <schwab@suse.de>
3732
3733 [BZ #18635]
3734 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3735 ret.
3736 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3737
3738 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3739
3740 * po/pl.po: Updated translation.
3741 * po/uk.po: Likewise.
3742 * po/fi.po: Likewise.
3743 * po/ko.po: Likewise.
3744 * po/ru.po: Likewise.
3745 * po/vi.po: Likewise.
3746
3747 2015-07-31 Zack Weinberg <zackw@panix.com>
3748
3749 [BZ #18681]
3750 * regexp.h: Add unconditional #warning stating that this header
3751 will be removed soon. Revise banner comment to match.
3752 (compile): Consistently use ERROR instead of RETURN to report
3753 errors (partial fix for bz#18681).
3754 * regexp.c: Don't include regexp.h. Remove some unnecessary
3755 declarations.
3756
3757 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3758
3759 * po/libc.pot: Regenerated.
3760
3761 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3762
3763 [BZ #18740]
3764 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3765 float-vlen4-arch-ext-cflags): Removed.
3766 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3767 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3768
3769 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3770
3771 [BZ #14113]
3772 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3773 aligned to __aligned__.
3774 (pthread_cond_t, pthread_rwlock_t): Likewise.
3775
3776 2015-07-30 Torvald Riegel <triegel@redhat.com>
3777
3778 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3779
3780 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3781
3782 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3783 (struct sigaction): Change sa_flags from a long to an int, and add
3784 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3785
3786 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3787
3788 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3789 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3790 sysdeps/generic/sysdep.h include.
3791 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3792 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3793 sysdeps/hppa/sysdep.h.
3794 (ENTRY, PSEUDO): Undefine before defining.
3795
3796 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3797
3798 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3799 from scratch to use INTERNAL_SYSCALL.
3800
3801 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3802
3803 [BZ #18078]
3804 * scripts/check-localplt.awk: Support alternate relocations.
3805 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3806 sections.
3807 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3808 malloc entries with + REL R_386_GLOB_DAT.
3809 * sysdeps/x86_64/localplt.data: New file.
3810
3811 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3812
3813 [BZ #18731]
3814 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3815 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3816 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3817
3818 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3819
3820 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3821
3822 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3823
3824 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3825 directly in terms of __sync_fetch_and_add and delete (int) cast.
3826
3827 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3828
3829 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3830 the -D_ASM_IA64_CURRENT_H flag.
3831
3832 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3833
3834 [BZ #18641]
3835 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3836
3837 2015-07-27 Andreas Schwab <schwab@suse.de>
3838
3839 * conform/conformtest.pl (checknamespace): Filter out string
3840 literals while tokenizing.
3841
3842 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3843
3844 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3845 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3846 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3847
3848 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3849
3850 * nptl/tst-join7mod.c: Add #include <string.h>.
3851
3852 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3853
3854 * sysdeps/nios2/libm-test-ulps: Update.
3855
3856 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3857
3858 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3859 Fix order of arguments to the rt_sigprocmask syscall.
3860 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3861 Likewise.
3862
3863 2015-07-24 Roland McGrath <roland@hack.frob.com>
3864
3865 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3866
3867 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
3869 [BZ #18457]
3870 * nptl/Makefile (tests): New test case tst-join7.
3871 (modules-names): New test case module tst-join7mod.
3872 * nptl/tst-join7.c: New file.
3873 * nptl/tst-join7mod.c: New file.
3874 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3875 all translation units in libc.so, libpthread.so and rtld.
3876
3877 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3878
3879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3880
3881 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3882
3883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3891 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3892 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3895 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3896 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3898 implementation.
3899
3900 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3901
3902 [BZ #17711]
3903 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3904 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3905 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3906 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3907 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3908 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3909
3910 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3911
3912 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3913 instead of just saying load lock in the comments.
3914
3915 2015-07-23 Roland McGrath <roland@hack.frob.com>
3916
3917 * sysdeps/unix/Subdirs: Moved ...
3918 * sysdeps/posix/Subdirs: ... here.
3919 * login/pty.h (struct termios, struct winsize): Add forward decls.
3920 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3921 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3922 * sysdeps/arm/nacl/libc.abilist: Updated.
3923 * sysdeps/nacl/libutil.abilist: New file.
3924
3925 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3926 (SIGWINCH): New macro.
3927
3928 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3929 * sysdeps/arm/nacl/libc.abilist: Add it.
3930
3931 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3932
3933 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3934
3935 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3936
3937 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3938 Swap __glibc_reserved0 and sa_flags order.
3939
3940 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3941
3942 [BZ #18657]
3943 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3944 are pending TLS destructor calls.
3945 * include/link.h (struct link_map): Add concurrency note for
3946 L_TLS_DTOR_COUNT.
3947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3948 Don't touch the link map flag. Atomically increment
3949 l_tls_dtor_count.
3950 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3951 Avoid taking the load lock and don't touch the link map flag.
3952 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3953 * stdlib/Makefile (tests): Use it.
3954 * stdlib/tst-tls-atexit.c (do_test): dlopen
3955 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3956 to allow tst-tls-atexit-nodelete test case to use it.
3957
3958 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3959
3960 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3961 to bits/types.h.
3962 (msgqnum_t): New typedef.
3963 (msglen_t): Likewise.
3964 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3965 and msg_qbytes type to msglen_t.
3966
3967 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3968
3969 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3970 pad0 to __glibc_reserved0.
3971 (struct stat64): Likewise.
3972
3973 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3974
3975 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3976 Change sa_flags from a long to an int and add __glibc_reserved0 before
3977 it for padding.
3978
3979 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3980
3981 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3982 anonymous by deleting "siginfo" name.
3983
3984 2015-07-21 Roland McGrath <roland@hack.frob.com>
3985
3986 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3987 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3988 rather than __nacl_irt_filename.
3989 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3990
3991 * NEWS: New item for arm-nacl port.
3992 * sysdeps/arm/nacl/libc.abilist: New file.
3993 * sysdeps/nacl/ld.abilist: New file.
3994 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3995 * sysdeps/nacl/libanl.abilist: New file.
3996 * sysdeps/nacl/libcrypt.abilist: New file.
3997 * sysdeps/nacl/libdl.abilist: New file.
3998 * sysdeps/nacl/libm.abilist: New file.
3999 * sysdeps/nacl/libpthread.abilist: New file.
4000 * sysdeps/nacl/libresolv.abilist: New file.
4001 * sysdeps/nacl/librt.abilist: New file.
4002
4003 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
4004
4005 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4006 __startcontext to initialize the new context.
4007 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4008 up CFI directive to forbid further backtracing.
4009
4010 2015-07-21 Marko Myllynen <myllynen@redhat.com>
4011
4012 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4013 reference.
4014 * charmaps/ANSI_X3.4-1968: Likewise.
4015 * charmaps/BS_4730: Likewise.
4016 * charmaps/BS_VIEWDATA: Likewise.
4017 * charmaps/CP1250: Likewise.
4018 * charmaps/CP1251: Likewise.
4019 * charmaps/CP1252: Likewise.
4020 * charmaps/CP1253: Likewise.
4021 * charmaps/CP1254: Likewise.
4022 * charmaps/CP1255: Likewise.
4023 * charmaps/CP1256: Likewise.
4024 * charmaps/CSN_369103: Likewise.
4025 * charmaps/EBCDIC-DK-NO: Likewise.
4026 * charmaps/GB_1988-80: Likewise.
4027 * charmaps/GREEK-CCITT: Likewise.
4028 * charmaps/GREEK7: Likewise.
4029 * charmaps/INIS-8: Likewise.
4030 * charmaps/ISIRI-3342: Likewise.
4031 * charmaps/ISO_2033-1983: Likewise.
4032 * charmaps/ISO_5427-EXT: Likewise.
4033 * locales/POSIX: Likewise.
4034 * locales/ar_SA: Likewise.
4035 * locales/be_BY: Likewise.
4036 * locales/be_BY@latin: Likewise.
4037 * locales/ca_ES: Likewise.
4038 * locales/cs_CZ: Likewise.
4039 * locales/da_DK: Likewise.
4040 * locales/de_BE: Likewise.
4041 * locales/de_CH: Likewise.
4042 * locales/de_LU: Likewise.
4043 * locales/en_AU: Likewise.
4044 * locales/en_BW: Likewise.
4045 * locales/en_CA: Likewise.
4046 * locales/en_DK: Likewise.
4047 * locales/en_GB: Likewise.
4048 * locales/en_IE: Likewise.
4049 * locales/en_NZ: Likewise.
4050 * locales/en_ZA: Likewise.
4051 * locales/en_ZW: Likewise.
4052 * locales/es_AR: Likewise.
4053 * locales/es_BO: Likewise.
4054 * locales/es_CL: Likewise.
4055 * locales/es_CO: Likewise.
4056 * locales/es_DO: Likewise.
4057 * locales/es_EC: Likewise.
4058 * locales/es_ES: Likewise.
4059 * locales/es_HN: Likewise.
4060 * locales/es_MX: Likewise.
4061 * locales/es_PA: Likewise.
4062 * locales/es_PE: Likewise.
4063 * locales/es_PY: Likewise.
4064 * locales/es_SV: Likewise.
4065 * locales/es_US: Likewise.
4066 * locales/es_UY: Likewise.
4067 * locales/es_VE: Likewise.
4068 * locales/et_EE: Likewise.
4069 * locales/fa_IR: Likewise.
4070 * locales/fo_FO: Likewise.
4071 * locales/fr_CA: Likewise.
4072 * locales/fr_CH: Likewise.
4073 * locales/gv_GB: Likewise.
4074 * locales/he_IL: Likewise.
4075 * locales/hr_HR: Likewise.
4076 * locales/id_ID: Likewise.
4077 * locales/is_IS: Likewise.
4078 * locales/it_CH: Likewise.
4079 * locales/iw_IL: Likewise.
4080 * locales/kl_GL: Likewise.
4081 * locales/ko_KR: Likewise.
4082 * locales/kw_GB: Likewise.
4083 * locales/lg_UG: Likewise.
4084 * locales/lt_LT: Likewise.
4085 * locales/lv_LV: Likewise.
4086 * locales/mi_NZ: Likewise.
4087 * locales/nhn_MX: Likewise.
4088 * locales/nl_BE: Likewise.
4089 * locales/pl_PL: Likewise.
4090 * locales/sk_SK: Likewise.
4091 * locales/sl_SI: Likewise.
4092 * locales/sv_FI: Likewise.
4093 * locales/tl_PH: Likewise.
4094 * locales/tr_TR: Likewise.
4095 * locales/vi_VN: Likewise.
4096
4097 2015-07-21 Khem Raj <raj.khem@gmail.com>
4098
4099 [BZ #17475]
4100 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4101 of tu_IN and bh_IN.
4102
4103 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4104
4105 [BZ #18694]
4106 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4107 bits/wordsize.h.
4108 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4109
4110 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
4112 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4113 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4114 (spawn_thread): New function.
4115 (load): Rename to reg_dtor_and_close. Move dlopen to...
4116 (do_test): ... here. Use IS_LOADED to test for its
4117 availability.
4118
4119 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4120
4121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4122
4123 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4124
4125 [BZ #18696]
4126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4127 si_addr_bnd.
4128 (si_lower): New.
4129 (si_upper): Likewise.
4130
4131 2015-07-16 David S. Miller <davem@davemloft.net>
4132
4133 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4134
4135 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4136
4137 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4138 buffer.
4139 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4140 fail output information.
4141
4142 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4143
4144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4145 and strstr-ppc64..
4146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4147 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4148 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4149 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4150 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4151
4152 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4153
4154 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4155 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4156 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4157 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4158
4159 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4160
4161 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4162 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4163 rtld_hidden_proto.
4164 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4165
4166 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
4168 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4169 the test can fail.
4170
4171 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4172
4173 [BZ #18676]
4174 * elf/tst-nodelete-opened.c: New test case.
4175 * elf/tst-nodelete-opened-lib.c: New test case module.
4176 * elf/Makefile (tests, modules-names): Use them.
4177 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4178 early.
4179
4180 2015-07-15 David S. Miller <davem@davemloft.net>
4181
4182 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4183 futex-intenal.h
4184 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4185 * sysdeps/sparc/sparc64/Makefile: Likewise.
4186 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4187 Remove space from macro define.
4188 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4189
4190 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4191
4192 [BZ #17475]
4193 * locale/iso-639.def: Update Bhili and Tulu language codes as
4194 per iso639-3.
4195
4196 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4197
4198 * elf/tst-leaks1.c (main): Converted to ...
4199 (do_test): ... this.
4200 (TEST_FUNCTION): New macro.
4201 Include test-skeleton.c.
4202 * localedata/tst-langinfo.c (main): Converted to ...
4203 (do_test): ... this.
4204 (TEST_FUNCTION): New macro.
4205 Include test-skeleton.c.
4206 * math/test-fpucw.c (main): Converted to ...
4207 (do_test): ... this.
4208 (TEST_FUNCTION): New macro.
4209 Include test-skeleton.c.
4210 * math/test-tgmath.c (main): Converted to ...
4211 (do_test): ... this.
4212 (TEST_FUNCTION): New macro.
4213 Include test-skeleton.c.
4214 * math/test-tgmath2.c (main): Converted to ...
4215 (do_test): ... this.
4216 (TEST_FUNCTION): New macro.
4217 Include test-skeleton.c.
4218 * setjmp/tst-setjmp.c (main): Converted to ...
4219 (do_test): ... this.
4220 (TEST_FUNCTION): New macro.
4221 Include test-skeleton.c.
4222 * stdio-common/tst-sscanf.c (main): Converted to ...
4223 (do_test): ... this.
4224 (TEST_FUNCTION): New macro.
4225 Include test-skeleton.c.
4226 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4227 (do_test): ... this.
4228 (TEST_FUNCTION): New macro.
4229 Include test-skeleton.c.
4230
4231 * elf/tst-audit9.c (main): Converted to ...
4232 (do_test): ... this.
4233 (TEST_FUNCTION): New macro.
4234 Include test-skeleton.c.
4235
4236 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4237
4238 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4239
4240 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4241
4242 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4243 New variable.
4244
4245 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4246
4247 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4248
4249 2015-07-14 Roland McGrath <roland@hack.frob.com>
4250
4251 * sysdeps/generic/dl-fileid.h: New file.
4252 * sysdeps/posix/dl-fileid.h: New file.
4253 * sysdeps/nacl/dl-fileid.h: New file.
4254 * include/link.h: Include <dl-fileid.h>.
4255 (struct link_map): Replace l_dev and l_ino with l_file_id.
4256 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4257 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4258 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4259
4260 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4261
4262 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4263
4264 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4265
4266 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4267 Add iff $CXX is set.
4268 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4269 Likewise.
4270 (tst-nodelete-zmodiff): Likewise.
4271 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4272
4273 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4274
4275 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4276
4277 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4278
4279 * sysdeps/aarch64/fpu/math_private.h
4280 (define math_opt_barrier): Add AArch64 version.
4281 (math_force_eval): Likewise.
4282
4283 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4284
4285 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4286
4287 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4288
4289 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4290 %ld with %jd and cast to intmax_t.
4291 (do_test_length_zero): Likewise.
4292
4293 2015-07-10 Roland McGrath <roland@hack.frob.com>
4294
4295 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4296
4297 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4298
4299 * sysdeps/tile/libm-test-ulps: Regenerated.
4300
4301 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4302 Comment out the whole function, not just its body.
4303
4304 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
4306 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4307 locks.
4308
4309 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4310
4311 2015-07-10 Torvald Riegel <triegel@redhat.com>
4312
4313 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4314 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4315
4316 2015-07-10 Torvald Riegel <triegel@redhat.com>
4317
4318 * sysdeps/nptl/futex-internal.h: New file.
4319 * sysdeps/nacl/futex-internal.h: New file.
4320 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4321 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4322 error checking.
4323 (setxid_unmark_thread): Likewise.
4324 (__nptl_setxid): Likewise.
4325 (__wait_lookup_done): Likewise.
4326 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4327 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4328 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4329 * nptl/pthread_once.c (clear_once_control): Likewise.
4330 (__pthread_once_slow): Likewise.
4331 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4332 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4333 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4334 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4335 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4336 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4337 Likewise.
4338 (__pthread_rwlock_rdlock): Likewise.
4339 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4340 Likewise.
4341 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4342 Likewise.
4343 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4344 Likewise.
4345 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4346 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4347 Likewise.
4348 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4349 __ASSUME_PRIVATE_FUTEX check.
4350 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4351 Check that shared futexes are supported.
4352 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4353 wrappers with error checking.
4354 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4355 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4356 * nptl/pthread_barrierattr_setpshared.c
4357 (pthread_barrierattr_setpshared): Check that shared futexes are
4358 supported.
4359 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4360 Likewise.
4361 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4362 Likewise.
4363 * nptl/sem_init.c (futex_private_if_supported): Remove.
4364 (__new_sem_init): Adapt and check that shared futexes are supported.
4365 * nptl/sem_open.c (sem_open): Likewise.
4366 * nptl/sem_post.c (futex_wake): Remove.
4367 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4368 (do_futex_wait): Use futex wrappers with error checking.
4369 * nptl/sem_wait.c: Include lowlevellock.h.
4370 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4371 Use futex_supports_pshared.
4372 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4373 Use futex wrappers with error checking.
4374 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4375 Likewise.
4376 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4377 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4378 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4379 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4380 (futex_wake): Likewise.
4381 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4382 (do_futex_wait): Use futex wrappers with error checking.
4383 (__new_sem_wait_slow): Update EINTR handling.
4384 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4385
4386 2015-07-09 Martin Sebor <msebor@redhat.com>
4387
4388 [BZ #18435]
4389 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4390 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4391 * nptl/Makefile (test-xfail-tst-once5): Define.
4392
4393 2015-07-09 Roland McGrath <roland@hack.frob.com>
4394
4395 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4396 * elf/dl-minimal.c: For readability, reorder some definitions and
4397 introduce more page breaks. Include <stdio.h>.
4398 (__libc_fatal): New function.
4399
4400 * include/unistd.h: Add rtld_hidden_proto for _exit.
4401 * posix/_exit.c: Add rtld_hidden_def.
4402 * sysdeps/mach/hurd/_exit.c: Likewise.
4403 * sysdeps/nacl/_exit.c: Likewise.
4404 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4405 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4406
4407 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4408
4409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4410 bndmov encoding with zero displacement.
4411
4412 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4413 H.J. Lu <hongjiu.lu@intel.com>
4414
4415 [BZ #18134]
4416 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4417 * sysdeps/i386/configure: Regenerated.
4418 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4419 (_dl_runtime_profile): Save and restore Intel MPX return bound
4420 registers when calling _dl_call_pltexit. Add
4421 PRESERVE_BND_REGS_PREFIX before return.
4422 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4423 (LRV_BND1_OFFSET): Likewise.
4424 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4425 lrv_bnd1.
4426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4427 typo in bndmov encoding.
4428 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4429 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4430 branch instructions to preserve bounds.
4431
4432 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4433
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4435 [GLIBC_2.22]: Add fmemopen.
4436
4437 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4438
4439 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4440 returns an error, also try to use host port from __mach_host_self for
4441 the __vm_wire call.
4442 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4443
4444 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4445
4446 [BZ #18400]
4447 [BZ #18648]
4448 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4449 Fix pr_uid and pr_gid members.
4450 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4451 definition to elf_greg_t.
4452
4453 2015-07-08 Roland McGrath <roland@hack.frob.com>
4454
4455 [BZ #18383]
4456 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4457 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4458 * sysdeps/arm/configure: Regenerated.
4459 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4460 (test-xfail-tst-tlsalign-static): Variable removed.
4461
4462 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4463 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4464 rather than explicit 'ln -s'.
4465
4466 * resolv/rpc/netdb.h: New file.
4467 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4468
4469 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4470
4471 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4472 length buffers.
4473 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4474 test-skeleton.c.
4475
4476 [BZ #6544]
4477 [BZ #11216]
4478 [BZ #12836]
4479 [BZ #13151]
4480 [BZ #13152]
4481 [BZ #14292]
4482 * include/stdio.h (fmemopen): Remove hidden prototype.
4483 (__fmemopen): Add new hidden prototype.
4484 * libio/Makefile: Add oldfmemopen object.
4485 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4486 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4487 compliance.
4488 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4489 symbol compatibility.
4490 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4491 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4492 fmemopen.
4493 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4494 on append and read mode.
4495 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4496 fmemopen.
4497 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4498 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4499 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4500 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4503 [GLIBC_2.22]: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4505 Likewise.
4506 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4507 Likewise.
4508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4509 [GLIBC_2.22]: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4511 [GLIBC_2.22]: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4513 [GLIBC_2.22]: Likewise.
4514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4515 [GLIBC_2.22]: Likewise.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4517 [GLIBC_2.22]: Likewise.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4519 [GLIBC_2.22]: Likewise.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4521 [GLIBC_2.22]: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4523 Likewise.
4524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4525 Likewise.
4526 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4528 [GLIBC_2.22]: Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4530 [GLIBC_2.22]: Likewise.
4531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4532 [GLIBC_2.22]: Likewise.
4533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4534 [GLIBC_2.22]: Likewise.
4535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4536 Likewise.
4537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4538 Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4540 Likewise.
4541 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4542 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4543
4544 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4545
4546 [BZ #18643]
4547 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4548 IPV6_PATHMTU, and IPV6_DONTFRAG.
4549
4550 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4551
4552 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4553 and _IO_UNBUFFERED.
4554 * libio/oldfileops.c: Likewise.
4555 * libio/wfileops.c: Likewise.
4556
4557 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4558
4559 * nscd/selinux.c: Delete selinux/flask.h include.
4560
4561 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4562
4563 [BZ #18641]
4564 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4565 (putpwent): Likewise.
4566 (getpwnam): Likewise.
4567 (getpwent_r): Likewise.
4568 (getpwuid_r): Likewise.
4569 (getpwnam_r): Likewise.
4570 (fgetpwent_r): Likewise.
4571
4572 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4573
4574 [BZ #18557]
4575 * inet/rcmd.c (__validuser2_sa): Check user first to
4576 short-circuit host check.
4577
4578 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4579 Mikhail Ilin <m.ilin@samsung.com>
4580
4581 [BZ #17833]
4582 * elf/Makefile (tests): Add tst-nodelete.
4583 (modules-names): Add tst-nodelete-uniquemod.
4584 (tst-nodelete-uniquemod.so-no-z-defs): New.
4585 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4586 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4587 ($(objpfx)tst-nodelete): Likewise.
4588 ($(objpfx)tst-nodelete.out): Likewise.
4589 (LDFLAGS-tst-nodelete): Likewise.
4590 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4591 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4592 implement forced object deletion.
4593 (_dl_close): Pass false to _dl_close_worker.
4594 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4595 * elf/tst-nodelete.cc: New file.
4596 * elf/tst-nodeletelib.cc: Likewise.
4597 * elf/tst-znodeletelib.cc: Likewise.
4598 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4599
4600 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4601
4602 [BZ #18508]
4603 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4604 Depend on $(libdl).
4605 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4606 is not called infinitely times.
4607 (backtrace_helper): New function.
4608 (trace_arg): New struct.
4609 (st1): Enlarge stack size.
4610 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4611 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4613 Likewise.
4614
4615 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4616
4617 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4618
4619 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4620
4621 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4622 Include sys/types.h instead of bits/types.h.
4623 Remove inclusion of bits/wordsize.h.
4624
4625 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4626
4627 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4628 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4629 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4630 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4631 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4632 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4633
4634 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4637 link-defines.sym.
4638 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4639 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4640 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4641 and LR_SIZE.
4642 * sysdeps/i386/link-defines.sym: New file.
4643
4644 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4647 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4648 ($(objpfx)tst-audit3): New rule.
4649 ($(objpfx)tst-audit3.out): Likewise.
4650 * sysdeps/i386/tst-audit3.c: New file.
4651 * sysdeps/i386/tst-audit3.h: Likewise.
4652 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4653 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4654
4655 2015-07-07 Torvald Riegel <triegel@redhat.com>
4656
4657 [BZ #18633]
4658 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4659 pointer in C code.
4660 (__strcat_c): Likewise.
4661 (__strcat_g): Likewise.
4662
4663 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4664
4665 [BZ #18592]
4666 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4667
4668 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4669
4670 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4671 New function. (__ieee754_sqrtf): New function.
4672 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4673 New function.
4674 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4675 New function.
4676
4677 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4678
4679 * sysdeps/ieee754/support.c: Remove unused file.
4680
4681 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4682
4683 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4684 registers instead of d ones so the layout is kernel abi compatible.
4685 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4686 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4687 Likewise.
4688
4689 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4690
4691 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4692
4693 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4694
4695 [BZ #18619]
4696 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4697 and return argument in case of subnormal argument.
4698
4699 2015-07-01 Martin Sebor <msebor@redhat.com>
4700
4701 [BZ #18435]
4702 * nptl/Makefile: Add tst-once5.cc.
4703 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4704 Remove macro redefinitions.
4705 * nptl/tst-once5.cc: New test.
4706
4707 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4708
4709 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4710
4711 * sysdeps/arm/libm-test-ulps: Regenerated.
4712
4713 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4714 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4715
4716 2015-06-30 Torvald Riegel <triegel@redhat.com>
4717
4718 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4719 lll_lock_wait_private and lll_futex_wake probes.
4720
4721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4722 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4723 Likewise.
4724 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4725 atomic_spin_nop.
4726 * sysdeps/x86_64/bits/atomic.h: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4728 to atomic_spin_nop and move ...
4729 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4730 ... here and ...
4731 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4732 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4733 atomic_spin_nop instead of BUSY_WAIT_NOP.
4734 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4735 Likewise.
4736 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4737 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4738 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4739 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4740 instead of atomic_delay.
4741
4742 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4743
4744 [BZ #18613]
4745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4746 X_ADJ not X when adjusting exponent.
4747 (__ieee754_gamma_r): Do intermediate computations in
4748 round-to-nearest then adjust overflowing and underflowing results
4749 as needed.
4750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4751 of X_ADJ not X when adjusting exponent.
4752 (__ieee754_gammaf_r): Do intermediate computations in
4753 round-to-nearest then adjust overflowing and underflowing results
4754 as needed.
4755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4756 log of X_ADJ not X when adjusting exponent.
4757 (__ieee754_gammal_r): Do intermediate computations in
4758 round-to-nearest then adjust overflowing and underflowing results
4759 as needed. Use 1.0L not 1.0f as numerator of division.
4760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4761 log of X_ADJ not X when adjusting exponent.
4762 (__ieee754_gammal_r): Do intermediate computations in
4763 round-to-nearest then adjust overflowing and underflowing results
4764 as needed. Use 1.0L not 1.0f as numerator of division.
4765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4766 of X_ADJ not X when adjusting exponent.
4767 (__ieee754_gammal_r): Do intermediate computations in
4768 round-to-nearest then adjust overflowing and underflowing results
4769 as needed. Use 1.0L not 1.0f as numerator of division.
4770 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4771 to auto-libm-test-in.
4772 (tgamma_test): Use ALL_RM_TEST.
4773 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4774 tests of tgamma with spurious-overflow.
4775 * math/auto-libm-test-out: Regenerated.
4776 * math/gen-libm-have-vector-test.sh: Do not check for START.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4779
4780 [BZ #18612]
4781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4782 arguments, just return 0.5 times the argument, with underflow
4783 forced as needed.
4784 * math/auto-libm-test-in: Add more tests of j1.
4785 * math/auto-libm-test-out: Regenerated.
4786
4787 [BZ #16559]
4788 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4789 (__ieee754_j1): Force underflow exception for small results.
4790 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4791 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4792 (__ieee754_j1f): Force underflow exception for small results.
4793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4794 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4796 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4797 (__ieee754_j1l): Force underflow exception for small results.
4798 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4799 * math/auto-libm-test-in: Add more tests of j1 and jn.
4800 * math/auto-libm-test-out: Regenerated.
4801
4802 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4803 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4804 (PF_MPLS): Likewise.
4805 (AF_IB): Likewise.
4806 (AF_MPLS): Likewise.
4807 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4808 value and macro.
4809 (MS_RMT_MASK): Include MS_LAZYTIME.
4810
4811 2015-06-26 Mel Gorman <mgorman@suse.de>
4812
4813 [BZ #18502]
4814 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4815 already minimal.
4816
4817 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4818
4819 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4820 (DT_MIPS_NUM): Update.
4821 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4822 DT_MIPS_RLD_MAP_REL.
4823
4824 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4825
4826 [BZ #16559]
4827 [BZ #18602]
4828 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4829 round-to-nearest internally then recompute results that
4830 underflowed to zero in the original rounding mode.
4831 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4832 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4835 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838
4839 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4840
4841 * NEWS: Fixed description of link with vector math library.
4842
4843 2015-06-25 Andreas Schwab <schwab@suse.de>
4844
4845 [BZ #18549]
4846 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4847 * libio/test-fmemopen.c (do_test): Add test for it.
4848
4849 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4850
4851 [BZ #17841]
4852 * Makeconfig (no-pie-ldflag): New.
4853 (+link): Set to $(+link-pie) if default to PIE.
4854 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4855 * config.make.in (build-pie-default): New.
4856 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4857 is default. AC_SUBST.
4858 * configure: Regenerated.
4859 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4860
4861 2015-06-24 Roland McGrath <roland@hack.frob.com>
4862
4863 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4864 to 'unsigned int'.
4865
4866 * resolv/gai_misc.h (struct waitlist): Change type of field
4867 counterp to 'volatile unsigned int *'.
4868 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4869 FUTEXADDR and OLDVAL.
4870 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4871 Give local variable TOTAL type 'volatile unsigned int'.
4872 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4873 * resolv/gai_suspend.c (gai_suspend):
4874 Give local variable CNTR type 'unsigned int'.
4875
4876 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4877 counterp to 'volatile unsigned int *'.
4878 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4879 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4880 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4881 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4882 Give local variable TOTAL type 'volatile unsigned int'.
4883 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4884
4885 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 [BZ #18383]
4888 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4889 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4890 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4891 comment for i386/x86-64.
4892 (test-xfail-tst-tlsalign-extern-static): Removed.
4893
4894 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4895
4896 * math/test-double.h: New file.
4897 * math/test-float.h: Likewise.
4898 * math/test-ldouble.h: Likewise.
4899 * math/test-math-inline.h: Likewise.
4900 * math/test-math-no-inline.h: Likewise.
4901 * math/test-math-scalar.h: Likewise.
4902 * math/test-math-vector.h: Likewise.
4903 * math/test-vec-loop.h: Remove file. Contents moved into
4904 test-math-vector.h.
4905 * math/libm-test.inc (MATHCONST): Do not document macro.
4906 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4907 and test-math-scalar.h.
4908 (FUNC): Remove macro.
4909 (FUNC_TEST): Likewise.
4910 (FLOAT): Likewise.
4911 (MATHCONST): Likewise.
4912 (PRINTF_EXPR): Likewise.
4913 (PRINTF_XEXPR): Likewise.
4914 (PRINTF_NEXPR): Likewise.
4915 (TEST_DOUBLE): Likewise.
4916 (TEST_MATHVEC): Likewise.
4917 (__NO_MATH_INLINES): Likewise.
4918 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4919 and test-math-scalar.h.
4920 (FUNC): Remove macro.
4921 (FUNC_TEST): Likewise.
4922 (FLOAT): Likewise.
4923 (MATHCONST): Likewise.
4924 (PRINTF_EXPR): Likewise.
4925 (PRINTF_XEXPR): Likewise.
4926 (PRINTF_NEXPR): Likewise.
4927 (TEST_FLOAT): Likewise.
4928 (TEST_MATHVEC): Likewise.
4929 (__NO_MATH_INLINES): Likewise.
4930 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4931 and test-math-scalar.h.
4932 (FUNC): Remove macro.
4933 (FUNC_TEST): Likewise.
4934 (FLOAT): Likewise.
4935 (MATHCONST): Likewise.
4936 (PRINTF_EXPR): Likewise.
4937 (PRINTF_XEXPR): Likewise.
4938 (PRINTF_NEXPR): Likewise.
4939 (TEST_DOUBLE): Likewise.
4940 (TEST_MATHVEC): Likewise.
4941 (TEST_INLINE): Likewise.
4942 (__NO_MATH_INLINES): Likewise.
4943 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4944 test-math-scalar.h.
4945 (FUNC): Remove macro.
4946 (FUNC_TEST): Likewise.
4947 (FLOAT): Likewise.
4948 (MATHCONST): Likewise.
4949 (PRINTF_EXPR): Likewise.
4950 (PRINTF_XEXPR): Likewise.
4951 (PRINTF_NEXPR): Likewise.
4952 (TEST_FLOAT): Likewise.
4953 (TEST_MATHVEC): Likewise.
4954 (TEST_INLINE): Likewise.
4955 (__NO_MATH_INLINES): Likewise.
4956 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4957 and test-math-scalar.h.
4958 (FUNC): Remove macro.
4959 (FUNC_TEST): Likewise.
4960 (FLOAT): Likewise.
4961 (MATHCONST): Likewise.
4962 (PRINTF_EXPR): Likewise.
4963 (PRINTF_XEXPR): Likewise.
4964 (PRINTF_NEXPR): Likewise.
4965 (TEST_LDOUBLE): Likewise.
4966 (TEST_MATHVEC): Likewise.
4967 (TEST_INLINE): Likewise.
4968 (__NO_MATH_INLINES): Likewise.
4969 * math/test-ldouble.c: Include test-ldouble.h,
4970 test-math-no-inline.h and test-math-scalar.h.
4971 (FUNC): Remove macro.
4972 (FUNC_TEST): Likewise.
4973 (FLOAT): Likewise.
4974 (MATHCONST): Likewise.
4975 (PRINTF_EXPR): Likewise.
4976 (PRINTF_XEXPR): Likewise.
4977 (PRINTF_NEXPR): Likewise.
4978 (TEST_LDOUBLE): Likewise.
4979 (TEST_MATHVEC): Likewise.
4980 (__NO_MATH_INLINES): Likewise.
4981 * math/test-double-vlen2.h: Include test-double.h,
4982 test-math-no-inline.h and test-math-vector.h.
4983 (FLOAT): Remove macro.
4984 (FUNC): Likewise.
4985 (MATHCONST): Likewise.
4986 (PRINTF_EXPR): Likewise.
4987 (PRINTF_XEXPR): Likewise.
4988 (PRINTF_NEXPR): Likewise.
4989 (TEST_DOUBLE): Likewise.
4990 (TEST_MATHVEC): Likewise.
4991 (__NO_MATH_INLINES): Likewise.
4992 (CNCT): Likewise.
4993 (CONCAT): Likewise.
4994 (WRAPPER_NAME): Likewise.
4995 (WRAPPER_DECL): Likewise.
4996 (WRAPPER_DECL_ff): Likewise.
4997 (WRAPPER_DECL_fFF): Likewise.
4998 (VECTOR_WRAPPER): Likewise.
4999 (VECTOR_WRAPPER_ff): Likewise.
5000 (VECTOR_WRAPPER_fFF): Likewise.
5001 (VEC_LEN): New macro.
5002 * math/test-double-vlen4.h: Include test-double.h,
5003 test-math-no-inline.h and test-math-vector.h.
5004 (FLOAT): Remove macro.
5005 (FUNC): Likewise.
5006 (MATHCONST): Likewise.
5007 (PRINTF_EXPR): Likewise.
5008 (PRINTF_XEXPR): Likewise.
5009 (PRINTF_NEXPR): Likewise.
5010 (TEST_DOUBLE): Likewise.
5011 (TEST_MATHVEC): Likewise.
5012 (__NO_MATH_INLINES): Likewise.
5013 (CNCT): Likewise.
5014 (CONCAT): Likewise.
5015 (WRAPPER_NAME): Likewise.
5016 (WRAPPER_DECL): Likewise.
5017 (WRAPPER_DECL_ff): Likewise.
5018 (WRAPPER_DECL_fFF): Likewise.
5019 (VECTOR_WRAPPER): Likewise.
5020 (VECTOR_WRAPPER_ff): Likewise.
5021 (VECTOR_WRAPPER_fFF): Likewise.
5022 (VEC_LEN): New macro.
5023 * math/test-double-vlen8.h: Include test-double.h,
5024 test-math-no-inline.h and test-math-vector.h.
5025 (FLOAT): Remove macro.
5026 (FUNC): Likewise.
5027 (MATHCONST): Likewise.
5028 (PRINTF_EXPR): Likewise.
5029 (PRINTF_XEXPR): Likewise.
5030 (PRINTF_NEXPR): Likewise.
5031 (TEST_DOUBLE): Likewise.
5032 (TEST_MATHVEC): Likewise.
5033 (__NO_MATH_INLINES): Likewise.
5034 (CNCT): Likewise.
5035 (CONCAT): Likewise.
5036 (WRAPPER_NAME): Likewise.
5037 (WRAPPER_DECL): Likewise.
5038 (WRAPPER_DECL_ff): Likewise.
5039 (WRAPPER_DECL_fFF): Likewise.
5040 (VECTOR_WRAPPER): Likewise.
5041 (VECTOR_WRAPPER_ff): Likewise.
5042 (VECTOR_WRAPPER_fFF): Likewise.
5043 (VEC_LEN): New macro.
5044 * math/test-float-vlen4.h: Include test-float.h,
5045 test-math-no-inline.h and test-math-vector.h.
5046 (FLOAT): Remove macro.
5047 (FUNC): Likewise.
5048 (MATHCONST): Likewise.
5049 (PRINTF_EXPR): Likewise.
5050 (PRINTF_XEXPR): Likewise.
5051 (PRINTF_NEXPR): Likewise.
5052 (TEST_FLOAT): Likewise.
5053 (TEST_MATHVEC): Likewise.
5054 (__NO_MATH_INLINES): Likewise.
5055 (CNCT): Likewise.
5056 (CONCAT): Likewise.
5057 (WRAPPER_NAME): Likewise.
5058 (WRAPPER_DECL): Likewise.
5059 (WRAPPER_DECL_ff): Likewise.
5060 (WRAPPER_DECL_fFF): Likewise.
5061 (VECTOR_WRAPPER): Likewise.
5062 (VECTOR_WRAPPER_ff): Likewise.
5063 (VECTOR_WRAPPER_fFF): Likewise.
5064 (VEC_LEN): New macro.
5065 * math/test-float-vlen8.h: Include test-float.h,
5066 test-math-no-inline.h and test-math-vector.h.
5067 (FLOAT): Remove macro.
5068 (FUNC): Likewise.
5069 (MATHCONST): Likewise.
5070 (PRINTF_EXPR): Likewise.
5071 (PRINTF_XEXPR): Likewise.
5072 (PRINTF_NEXPR): Likewise.
5073 (TEST_FLOAT): Likewise.
5074 (TEST_MATHVEC): Likewise.
5075 (__NO_MATH_INLINES): Likewise.
5076 (CNCT): Likewise.
5077 (CONCAT): Likewise.
5078 (WRAPPER_NAME): Likewise.
5079 (WRAPPER_DECL): Likewise.
5080 (WRAPPER_DECL_ff): Likewise.
5081 (WRAPPER_DECL_fFF): Likewise.
5082 (VECTOR_WRAPPER): Likewise.
5083 (VECTOR_WRAPPER_ff): Likewise.
5084 (VECTOR_WRAPPER_fFF): Likewise.
5085 (VEC_LEN): New macro.
5086 * math/test-float-vlen16.h: Include test-float.h,
5087 test-math-no-inline.h and test-math-vector.h.
5088 (FLOAT): Remove macro.
5089 (FUNC): Likewise.
5090 (MATHCONST): Likewise.
5091 (PRINTF_EXPR): Likewise.
5092 (PRINTF_XEXPR): Likewise.
5093 (PRINTF_NEXPR): Likewise.
5094 (TEST_FLOAT): Likewise.
5095 (TEST_MATHVEC): Likewise.
5096 (__NO_MATH_INLINES): Likewise.
5097 (CNCT): Likewise.
5098 (CONCAT): Likewise.
5099 (WRAPPER_NAME): Likewise.
5100 (WRAPPER_DECL): Likewise.
5101 (WRAPPER_DECL_ff): Likewise.
5102 (WRAPPER_DECL_fFF): Likewise.
5103 (VECTOR_WRAPPER): Likewise.
5104 (VECTOR_WRAPPER_ff): Likewise.
5105 (VECTOR_WRAPPER_fFF): Likewise.
5106 (VEC_LEN): New macro.
5107 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5108 test-vec-loop.h.
5109 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5110 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5111 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5112 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5113 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5114 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5115 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5116
5117 2015-06-24 Roland McGrath <roland@hack.frob.com>
5118
5119 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5120 (__getlogin_r): ... this.
5121
5122 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5123
5124 [BZ #18594]
5125 * math/s_ccosh.c (__ccosh): Compare with least normal value
5126 instead of comparing class with FP_SUBNORMAL.
5127 * math/s_ccoshf.c (__ccoshf): Likewise.
5128 * math/s_ccoshl.c (__ccoshl): Likewise.
5129 * math/s_cexp.c (__cexp): Likewise.
5130 * math/s_cexpf.c (__cexpf): Likewise.
5131 * math/s_cexpl.c (__cexpl): Likewise.
5132 * math/s_csin.c (__csin): Likewise.
5133 * math/s_csinf.c (__csinf): Likewise.
5134 * math/s_csinh.c (__csinh): Likewise.
5135 * math/s_csinhf.c (__csinhf): Likewise.
5136 * math/s_csinhl.c (__csinhl): Likewise.
5137 * math/s_csinl.c (__csinl): Likewise.
5138 * math/s_ctan.c (__ctan): Likewise.
5139 * math/s_ctanf.c (__ctanf): Likewise.
5140 * math/s_ctanh.c (__ctanh): Likewise.
5141 * math/s_ctanhf.c (__ctanhf): Likewise.
5142 * math/s_ctanhl.c (__ctanhl): Likewise.
5143 * math/s_ctanl.c (__ctanl): Likewise.
5144 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5145 csin, csinh, ctan and ctanh.
5146 * math/auto-libm-test-out: Regenerated.
5147 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5148 * sysdeps/i386/fpu/libm-test-ulps: Update.
5149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5150
5151 2015-06-24 Roland McGrath <roland@hack.frob.com>
5152
5153 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5154 return value is wrong, print the expected value too.
5155
5156 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5157
5158 [BZ #18585]
5159 * elf/readlib.c (is_gdb_python_file): New.
5160 (process_file): Don't issue errors on filenames with -gdb.py
5161 suffix.
5162
5163 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5164
5165 * math/auto-libm-test-in: Add more tests of csin and csinh.
5166 * math/auto-libm-test-out: Regenerated.
5167 * math/libm-test.inc (csin_test_data): Remove tests moved to
5168 auto-libm-test-in.
5169 (csinh_test_data): Likewise.
5170
5171 [BZ #18593]
5172 * math/s_csin.c (__csin): Negate before rather than after possibly
5173 overflowing multiplication.
5174 * math/s_csinf.c (__csinf): Likewise.
5175 * math/s_csinh.c (__csinh): Likewise.
5176 * math/s_csinhf.c (__csinhf): Likewise.
5177 * math/s_csinhl.c (__csinhl): Likewise.
5178 * math/s_csinl.c (__csinl): Likewise.
5179 * math/auto-libm-test-in: Add some tests of csin and csinh.
5180 * math/auto-libm-test-out: Regenerated.
5181 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5182 (csinh_test_data): Likewise.
5183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5184
5185 [BZ #18586]
5186 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5187 underflow exception for small results.
5188
5189 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5190
5191 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5192 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5193 variable and included header.
5194 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5196 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5197 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5199 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5202 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5203 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5204 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5205 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5206 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5207 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5208 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5209 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5210
5211 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5212
5213 [BZ #16526]
5214 [BZ #16538]
5215 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5216 (__sin): Force underflow exception for arguments with small
5217 absolute value.
5218 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5219 (__kernel_sinf): Force underflow exception for arguments with
5220 small absolute value.
5221 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5222 (__kernel_sincosl): Force underflow exception for arguments with
5223 small absolute value.
5224 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5225 (__kernel_sinl): Force underflow exception for arguments with
5226 small absolute value.
5227 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5228 (__kernel_sincosl): Force underflow exception for arguments with
5229 small absolute value.
5230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5231 (__kernel_sinl): Force underflow exception for arguments with
5232 small absolute value.
5233 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5234 (__kernel_sinl): Force underflow exception for arguments with
5235 small absolute value.
5236 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5237 (__kernel_sinf): Force underflow exception for arguments with
5238 small absolute value.
5239 * math/auto-libm-test-in: Add more tests of sin and sincos.
5240 * math/auto-libm-test-out: Regenerated.
5241
5242 [BZ #18245]
5243 [BZ #18583]
5244 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5245 (__kernel_standard_l): Use feholdexcept and fesetenv around
5246 conversion to double instead of special-casing overflow and
5247 underflow.
5248 * math/libm-test.inc (fmod_test_data): Add more tests.
5249 (remainder_test_data): Likewise.
5250 (sqrt_test_data): Likewise.
5251
5252 2015-06-23 Torvald Riegel <triegel@redhat.com>
5253
5254 [BZ #17403]
5255 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5256 atomic_read_barrier, atomic_write_barrier): Define.
5257 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5258 atomic_read_barrier, atomic_write_barrier): Define.
5259
5260 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5261
5262 * math/Makefile [$(PERL) != no]
5263 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5264 dependency on libm-test.stmp below the inclusion of Rules.
5265
5266 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5267
5268 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5269 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5270 and included header.
5271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5279 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5280 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5281 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5282 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5283 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5284 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5285 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5286 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5287 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5288 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5289 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5290
5291 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5292
5293 [BZ #18371]
5294 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5295 intermediate but not final result might underflow.
5296 * math/s_csqrtf.c (__csqrtf): Likewise.
5297 * math/s_csqrtl.c (__csqrtl): Likewise.
5298 * math/auto-libm-test-in: Add more tests of csqrt.
5299 * math/auto-libm-test-out: Regenerated.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301
5302 [BZ #18219]
5303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5304 threshold on absolute value of exponent for which scaling is used.
5305 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5306 * math/auto-libm-test-in: Add more tests of exp2.
5307 * math/auto-libm-test-out: Regenerated.
5308
5309 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5310
5311 [BZ #17977]
5312 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5313 when initializing interface list, based on the bug analysis
5314 and the patch proposed by Eric Newton.
5315 * resolv/tst-res_hconf_reorder.c: New test.
5316 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5317 tst-res_hconf_reorder.
5318 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5319 and $(shared-thread-library).
5320 (tst-res_hconf_reorder-ENV): New variable.
5321
5322 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5323 in comment.
5324
5325 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5326
5327 [BZ #16353]
5328 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5329 (__expm1): Force underflow exception for arguments with small
5330 absolute value.
5331 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5332 (__expm1f): Force underflow exception for arguments with small
5333 absolute value.
5334 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5335 (__expm1): Force underflow exception for arguments with small
5336 absolute value.
5337 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5338 (__expm1f): Force underflow exception for arguments with small
5339 absolute value.
5340 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5341 Check for small arguments before calling __expm1.
5342 * math/auto-libm-test-in: Do not mark underflow exceptions as
5343 possibly missing for bug 16353.
5344 * math/auto-libm-test-out: Regenerated.
5345
5346 2015-06-22 Andreas Schwab <schwab@suse.de>
5347
5348 [BZ #18513]
5349 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5350 PTR queries.
5351
5352 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5353
5354 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5355
5356 * string/strcoll_l.c: Remove unused struct element idxnow.
5357
5358 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5359
5360 [BZ #18569]
5361 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5362 underflow and return argument in case of subnormal argument.
5363 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5364 Likewise.
5365 * math/auto-libm-test-in: Add more tests of expm1.
5366 * math/auto-libm-test-out: Regenerated.
5367
5368 [BZ #16361]
5369 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5370 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5371 tiny results.
5372 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5373 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5374 tiny results.
5375 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5376 mark underflow exceptions as possibly missing for bug 16361.
5377 * math/auto-libm-test-out: Regenerated.
5378
5379 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5380
5381 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5382 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5383 Remove variable.
5384 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5385 (test-xfail-XOPEN2K8/utmpx.h/conform).
5386
5387 * conform/conformtest.pl ($xerrors): New variable.
5388 (note_error): New function.
5389 (compiletest): New argument $xfail. Use not_error.
5390 (runtest): Likewise.
5391 (top level): Handle xfail- lines. Update calls to compiletest and
5392 runtest. Handle xfail- and optional- in headers listed with
5393 allow-header.
5394 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5395 (O_EXEC): Likewise.
5396 (O_SEARCH): Likewise.
5397 * conform/data/stropts.h-data (ioctl): Likewise.
5398 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5399 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5400 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5401 (msghdr.msg_controllen): Likewise.
5402 (cmsghdr.cmsg_len): Likewise.
5403 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5404 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5405 variable.
5406 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5407 (test-xfail-XPG4/stropts.h/conform): Likewise.
5408 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5409 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5410 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5411 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5412 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5413 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5414 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5415 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5416 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5417 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5418 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5419 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5420 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5421 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5422 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5423 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5424 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5425 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5426 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5427
5428 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5429
5430 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5431 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5432 definitions for proper unfolding of __MATHDECL_VEC.
5433
5434 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5435
5436 * benchtests/bench-strcoll.c:
5437 Include string.h.
5438 (main): Remove unused variable res.
5439
5440 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5441
5442 * timezone/Makefile (%/UTC %/Universal):
5443 Generate test-result files for UTC and Universal.
5444
5445 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5446
5447 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5448
5449 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5450
5451 [BZ #16350]
5452 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5453 for arguments with small absolute value.
5454 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5455 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5456 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5457 (__asinh): Force underflow exception for arguments with small
5458 absolute value.
5459 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5460 (__asinhf): Force underflow exception for arguments with small
5461 absolute value.
5462 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5463 (__asinhl): Force underflow exception for arguments with small
5464 absolute value.
5465 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5466 (__asinhl): Force underflow exception for arguments with small
5467 absolute value.
5468 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5469 (__asinhl): Force underflow exception for arguments with small
5470 absolute value.
5471 * math/auto-libm-test-in: Do not mark underflow exceptions as
5472 possibly missing for bug 16350.
5473 * math/auto-libm-test-out: Regenerated.
5474
5475 * include/bits/ipc.h: Remove file.
5476 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5477 variable.
5478 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5479 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5480 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5481 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5482 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5483 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5484 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5485 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5486 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5487
5488 * math/auto-libm-test-in: Remove spurious underflow allowance for
5489 tests of cexp.
5490 * math/auto-libm-test-out: Regenerated.
5491
5492 [BZ #18558]
5493 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5494 unconditional definition.
5495 (MCAST_BLOCK_SOURCE): Likewise.
5496 (MCAST_UNBLOCK_SOURCE): Likewise.
5497 (MCAST_LEAVE_GROUP): Likewise.
5498 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5499 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5500 (MCAST_MSFILTER): Likewise.
5501 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5502 Remove variable.
5503 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5504 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5505 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5506 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5507 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5508
5509 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5510
5511 * NEWS: Mention addition of x86_64 vector sincosf.
5512 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5513 * math/test-float-vlen4.h: Likewise.
5514 * math/test-float-vlen8.h: Likewise.
5515 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5516 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5517 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5518 * sysdeps/x86_64/fpu/Versions: New versions added.
5519 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5520 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5521 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5527 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5528 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5529 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5530 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5531 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5532 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5533 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5534 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5535 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5536 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5537 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5538 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5539 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5540 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5541 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5542 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5543
5544 * NEWS: Mention addition of x86_64 vector sincos.
5545 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5546 * math/math.h (__MATHDECL_VEC): New macro.
5547 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5548 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5549 declaration under condition.
5550 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5551 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5552 TEST_VEC_LOOP change.
5553 * math/test-double-vlen4.h: Likewise.
5554 * math/test-double-vlen8.h: Likewise.
5555 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5556 * math/test-float-vlen4.h: Likewise.
5557 * math/test-float-vlen8.h: Likewise.
5558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5559 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5561 * sysdeps/x86_64/fpu/Versions: New versions added.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5564 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5569 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5571 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5572 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5573 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5574 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5575 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5576 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5577 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5579 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5583 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5585 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5586
5587 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5588 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5589 redirections for powf.
5590 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5591 * sysdeps/x86_64/fpu/Versions: New versions added.
5592 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5593 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5594 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5595 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5596 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5598 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5599 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5600 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5601 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5602 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5603 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5604 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5605 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5606 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5607 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5608 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5609 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5610 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5611 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5612 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5614 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5615 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5616 * math/test-float-vlen16.h: Fixed 2 argument macro.
5617 * math/test-float-vlen4.h: Likewise.
5618 * math/test-float-vlen8.h: Likewise.
5619 * NEWS: Mention addition of x86_64 vector powf.
5620
5621 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5622
5623 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5624 and redefine.
5625 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5626 and redefine.
5627 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5628 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5630
5631 [BZ #18553]
5632 * resource/getpriority.c (getpriority): Rename to __getpriority
5633 and define as weak alias of __getpriority.
5634 * resource/setpriority.c (setpriority): Rename to __setpriority
5635 and define as weak alias of __setpriority.
5636 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5637 __getpriority and define as weak alias of __getpriority.
5638 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5639 __setpriority and define as weak alias of __setpriority.
5640 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5641 strong name.
5642 (setpriority): Use __setpriority as strong name.
5643 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5644 __getpriority and define as weak alias of __getpriority.
5645 * include/sys/resource.h (__getpriority): Declare. Use
5646 libc_hidden_proto.
5647 (__setpriority): Likewise.
5648 (getpriority): Don't use libc_hidden_proto.
5649 (setpriority): Likewise.
5650 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5651 getpriority. Call __setpriority instead of setpriority.
5652 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5653 Remove variable.
5654
5655 [BZ #18547]
5656 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5657 as weak alias of __getttynam. Use prototype function definition.
5658 Call __setttyent, __getttyent and __endttyent instead of
5659 setttyent, getttyent and endttyent.
5660 (getttyent): Rename to __getttyent and define as weak alias of
5661 __getttyent. Call __setttyent instead of setttyent. Call
5662 __fgets_unlocked instead of fgets_unlocked.
5663 (setttyent): Rename to __setttyent and define as weak alias of
5664 __setttyent.
5665 (endttyent): Rename to __endttyent and define as weak alias of
5666 __endttyent.
5667 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5668 (__setttyent): Likewise.
5669 (__endttyent): Likewise.
5670 (getttyent): Don't use libc_hidden_proto.
5671 (setttyent): Likewise.
5672 (endttyent): Likewise.
5673 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5674 __endttyent instead of setttyent, getttyent and endttyent.
5675 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5676 Remove variable.
5677
5678 [BZ #18546]
5679 * socket/recv.c (__recv): Use libc_hidden_def.
5680 * socket/socket.c (__socket): Likewise.
5681 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5682 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5683 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5684 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5685 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5686 libc_hidden_def.
5687 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5688 libc_hidden_weak.
5689 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5690 Use libc_hidden_proto.
5691 (__recv): Likewise.
5692 * socket/Versions (libc): Export __recv and __socket at version
5693 GLIBC_PRIVATE.
5694 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5695 instead of recv.
5696 (init_mq_netlink): Call __socket instead of socket.
5697 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5698 Remove variable.
5699
5700 [BZ #18545]
5701 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5702 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5703 hidden_weak.
5704 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5705 define as alias of __mq_timedsend. Use hidden_weak.
5706 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5707 __mq_timedsend as strong name.
5708 (mq_timedreceive): Use __mq_timedreceive as strong name.
5709 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5710 (__mq_timedreceive): Likewise.
5711 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5712 __mq_timedreceive instead of mq_timedreceive.
5713 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5714 instead of mq_timedsend.
5715 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5716 Remove variable.
5717
5718 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5719 hidden_def and hidden_weak instead of libc_hidden_def and
5720 libc_hidden_weak.
5721 (top level): Refer to hidden_def in comment.
5722 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5723 macro. Use it instead of libc_hidden_def.
5724 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5725 specify __GI_* name explicitly.
5726 (mq_timedreceive): Likewise.
5727 (mq_setattr): Likewise.
5728
5729 [BZ #18544]
5730 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5731 __pthread_barrier_init and define as weak alias of
5732 __pthread_barrier_init.
5733 * sysdeps/sparc/nptl/pthread_barrier_init.c
5734 (pthread_barrier_init): Likewise.
5735 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5736 __pthread_barrier_wait and define as weak alias of
5737 __pthread_barrier_wait.
5738 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5739 (pthread_barrier_wait): Likewise.
5740 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5741 (pthread_barrier_wait): Likewise.
5742 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5743 (pthread_barrier_wait): Likewise.
5744 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5745 (pthread_barrier_wait): Likewise.
5746 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5747 __pthread_barrier_wait at version GLIBC_PRIVATE.
5748 * include/pthread.h (__pthread_barrier_init): Declare.
5749 (__pthread_barrier_wait): Likewise.
5750 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5751 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5752 (helper_thread): Likewise.
5753 (init_mq_netlink): Call __pthread_barrier_init instead of
5754 pthread_barrier_init.
5755
5756 [BZ #18542]
5757 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5758 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5759 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5760 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5761 vswscanf.
5762 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5763 Remove variable.
5764
5765 [BZ #18540]
5766 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5767 strong alias of _IO_fflush. Use libc_hidden_def.
5768 * libio/iofflush_u.c (fflush_unlocked): Rename to
5769 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5770 Use libc_hidden_weak.
5771 * include/stdio.h (__fflush_unlocked): Declare. Use
5772 libc_hidden_proto.
5773 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5774 fflush_unlocked.
5775 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5776 Remove variable.
5777
5778 [BZ #18539]
5779 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5780 define as weak alias of __addseverity.
5781 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5782 Remove variable.
5783 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5784 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5785 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5786
5787 [BZ #18536]
5788 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5789 (__tfind): Likewise.
5790 (__tdelete): Likewise.
5791 (__twalk): Likewise.
5792 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5793 __twalk to GLIBC_PRIVATE.
5794 * include/search.h (__tsearch): Use libc_hidden_proto.
5795 (__tfind): Likewise.
5796 (__tdelete): Likewise.
5797 (__twalk): Likewise.
5798 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5799 Call __tdelete instead of tdelete.
5800 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5801 tfind. Call __tsearch instead of tsearch.
5802 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5803 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5804 Remove variable.
5805 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5806
5807 [BZ #18534]
5808 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5809 (dprintf): Define as a weak alias of __dprintf, not a strong
5810 alias.
5811 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5812 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5813 dprintf.
5814 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5815 Remove variable.
5816 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5817 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5818
5819 [BZ #18533]
5820 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5821 not a strong alias.
5822 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5823 Remove variable.
5824
5825 [BZ #18532]
5826 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5827 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5828 (in6addr_loopback): Rename to __in6addr_loopback and define as
5829 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5830 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5831 libc_hidden_proto.
5832 (__in6addr_any): Likewise.
5833 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5834 in6addr_any.
5835 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5836 variable.
5837 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5838
5839 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5840
5841 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5842 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5843 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5844 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5845 redirections for pow.
5846 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5847 * sysdeps/x86_64/fpu/Versions: New versions added.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5849 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5850 build of SSE, AVX2 and AVX512 IFUNC versions.
5851 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5852 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5854 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5855 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5856 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5858 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5859 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5860 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5861 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5862 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5863 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5864 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5865 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5866 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5867 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5868 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5869 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5870 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5871 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5872 * NEWS: Mention addition of x86_64 vector pow.
5873
5874 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5875 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5876 redirections for expf.
5877 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5878 * sysdeps/x86_64/fpu/Versions: New versions added.
5879 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5880 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5881 build of SSE, AVX2 and AVX512 IFUNC versions.
5882 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5884 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5885 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5886 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5887 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5888 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5889 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5890 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5891 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5892 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5893 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5894 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5895 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5896 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5897 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5898 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5899 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5900 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5901 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5902 * NEWS: Mention addition of x86_64 vector expf.
5903
5904 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5905 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5906 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5907 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5908 redirections for exp.
5909 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5910 * sysdeps/x86_64/fpu/Versions: New versions added.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5912 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5913 build of SSE, AVX2 and AVX512 IFUNC versions.
5914 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5917 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5918 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5919 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5920 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5921 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5922 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5923 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5924 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5925 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5926 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5927 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5928 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5929 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5930 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5931 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5932 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5933 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5934 * NEWS: Mention addition of x86_64 vector exp.
5935
5936 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5937 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5938 redirections for logf.
5939 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5940 * sysdeps/x86_64/fpu/Versions: New versions added.
5941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5942 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5943 build of SSE, AVX2 and AVX512 IFUNC versions.
5944 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5945 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5946 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5947 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5948 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5949 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5950 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5951 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5952 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5953 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5954 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5955 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5956 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5957 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5958 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5959 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5960 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5961 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5962 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5963 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5964 * NEWS: Mention addition of x86_64 vector logf.
5965
5966 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5967 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5968 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5969 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5970 redirections for log.
5971 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5972 * sysdeps/x86_64/fpu/Versions: New versions added.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5974 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5975 build of SSE, AVX2 and AVX512 IFUNC versions.
5976 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5977 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5978 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5979 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5980 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5981 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5982 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5983 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5984 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5985 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5986 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5987 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5988 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5989 test.
5990 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5991 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5992 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5993 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5994 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5995 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5996 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5997 * NEWS: Mention addition of x86_64 vector log.
5998
5999 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
6000
6001 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6002 cfi_adjust_cfa_offset argument.
6003 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6004 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6005
6006 [BZ #18034]
6007 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6008 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6009 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6010 ordering using ldar.
6011 (_dl_tlsdesc_dynamic): Likewise.
6012 (_dl_tlsdesc_return_lazy): Likewise.
6013 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6014 relaxed atomics instead of volatile and synchronize with release store.
6015 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6016 volatile.
6017 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6018
6019 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
6020
6021 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6022 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6023 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6024 * sysdeps/x86_64/fpu/Versions: New versions added.
6025 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6026 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6027 build of SSE, AVX2 and AVX512 IFUNC versions.
6028 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6032 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6033 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6034 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6035 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6036 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6037 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6038 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6039 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6040 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6041 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6042 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6043 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6044 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6045 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6046 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6047 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6048 * NEWS: Mention addition of x86_64 vector sinf.
6049
6050 2015-06-14 Joseph Myers <joseph@codesourcery.com>
6051
6052 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6053 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6054 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6055 Remove variable.
6056 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6057 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6058
6059 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6060
6061 [BZ #18530]
6062 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6063 strong alias of _IO_fputs. Use libc_hidden_def.
6064 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6065 and define as weak alias of __fputs_unlocked. Use
6066 libc_hidden_weak.
6067 * include/stdio.h (__fputs_unlocked): Declare. Use
6068 libc_hidden_proto.
6069 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6070 fputs_unlocked.
6071
6072 [BZ #18529]
6073 * resolv/netdb.h [__USE_POSIX]: Change condition to
6074 [__USE_XOPEN2K].
6075 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6076 not expect.
6077 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6078 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6079 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6080 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6081 [XPG4 || UNIX98] (AI_ALL): Likewise.
6082 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6083 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6084 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6085 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6086 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6087 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6088 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6089 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6090 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6091 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6092 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6093 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6094 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6095 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6096 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6097 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6098 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6099 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6100 [XPG4 || UNIX98] (gai_strerror): Likewise.
6101 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6102 [XPG4 || UNIX98] (getnameinfo): Likewise.
6103
6104 [BZ #18528]
6105 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6106 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6107 __USE_XOPEN2K8].
6108 (getgrent): Likewise.
6109 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6110 expect.
6111 [XPG3 || POSIX2008] (endgrent): Likewise.
6112 [XPG3] (setgrent): Likewise.
6113 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6114 variable.
6115 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6116
6117 [BZ #18527]
6118 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6119 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6120 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6121 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6122 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6123 * include/unistd.h (__getlogin_r): Declare. Use
6124 libc_hidden_proto.
6125 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6126 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6127 variable.
6128 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6129 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6130 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6131
6132 2015-06-12 Martin Sebor <msebor@redhat.com>
6133
6134 [BZ #18512]
6135 * Makerules (check-install-supported): New target.
6136 (install): Add check-install-supported as a dependency.
6137 * manual/install.texi (Installing the C Library): Document
6138 that overriding prefix and exec_prefix is not supported.
6139 Mention DESTDIR.
6140 * INSTALL: Regenerate from the above.
6141
6142 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #18519]
6145 * posix/Versions (libc): Export __libc_pread at version
6146 GLIBC_PRIVATE.
6147 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6148 instead of pread.
6149 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6150 variable.
6151
6152 [BZ #18522]
6153 * misc/efgcvt_r.c
6154 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6155 (cvt_symbol): Use weak_alias instead of strong_alias.
6156 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6157 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6158 Remove variable.
6159 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6160 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6161
6162 [BZ #18520]
6163 * inet/herrno.c (h_errno): Rename to __h_errno.
6164 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6165 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6166 to __h_errno instead of h_errno.
6167 * nptl/herrno.c (h_errno): Rename to __h_errno.
6168 (__h_errno_location): Refer to __h_errno not h_errno.
6169 * resolv/Versions (h_errno): Rename to __h_errno.
6170 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6171 Remove variable.
6172 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6173
6174 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6175
6176 * configure.ac: More strict check for AVX512 assembler support.
6177 * configure: Regenerated.
6178
6179 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6180 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6181 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6182 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6183 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6184 * sysdeps/x86_64/fpu/Versions: New versions added.
6185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6186 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6187 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6194 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6195 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6196 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6197 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6198 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6199 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6200 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6201 test.
6202 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6203 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6204 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6205 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6206 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6207 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6208 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6209 * NEWS: Mention addition of x86_64 vector sin.
6210
6211 2015-06-11 Florian Weimer <fweimer@redhat.com>
6212
6213 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6214 comment.
6215
6216 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6217
6218 [BZ #18479]
6219 * nptl/pt-interp.c: New file.
6220 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6221 Add pt-interp.
6222 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6223 $(common-objpfx)runtime-linker.h.
6224
6225 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6226
6227 * Makeconfig (+interp): Remove unused variable.
6228 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6229 only. Depend on $(common-objpfx)runtime-linker.h instead of
6230 $(elf-objpfx)runtime-linker.h.
6231 ($(elf-objpfx)runtime-linker.h): Rename to
6232 $(common-objpfx)runtime-linker.h and move ...
6233 * Makerules [$(build-shared) = yes]: ... here.
6234 * elf/interp.c: Include <runtime-linker.h> instead of
6235 <elf/runtime-linker.h>.
6236
6237 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6238
6239 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6240 (__gettimeofday_syscall): Remove vsyscall fallback.
6241 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6242 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6243 Add syscall fallback function.
6244 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6245 if vDSO is not present.
6246 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6247 fallback function.
6248 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6249 present.
6250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6251 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6252
6253 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6254
6255 [BZ #18497]
6256 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6257 of wcscmp.
6258 (wcscmp): Define as weak alias of WCSCMP.
6259 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6260 wcscoll.
6261 (USE_HIDDEN_DEF): Define.
6262 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6263 __wcscoll. Don't use libc_hidden_weak.
6264 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6265 wcscmp.
6266 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6267 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6268 __GI_wcscmp.
6269 (weak_alias): Undefine and redefine.
6270 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6271 __wcscmp and define as weak alias of __wcscmp.
6272 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6273 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6274 (__wcscoll): Likewise.
6275 (wcscmp): Don't use libc_hidden_proto.
6276 (wcscoll): Likewise.
6277 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6278 wcscoll.
6279 * posix/regexec.c (check_node_accept_bytes): Likewise.
6280 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6281 variable.
6282 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6283 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6284
6285 [BZ #18507]
6286 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6287 __fstatvfs and define as weak alias of __fstatvfs. Use
6288 libc_hidden_weak.
6289 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6290 and define as weak alias of __statvfs. Use libc_hidden_weak.
6291 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6292 Define as alias of __fstatvfs, not fstatvfs.
6293 (fstatvfs64): Likewise.
6294 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6295 Define as alias of __statvfs, not statvfs.
6296 (statvfs64): Likewise.
6297 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6298 Remove variable.
6299
6300 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6301
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6303 (HAVE_GETCPU_VSYSCALL): Define.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6305 (HAVE_GETCPU_VSYSCALL): Likewise.
6306 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6307 * sysdeps/unix/sysv/linux/sched_getcpu.c
6308 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6309 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6310 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6311 prototype.
6312 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6313 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6314 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6316 Define.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6321
6322 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6323
6324 * sysdeps/x86_64/fpu/Makefile: New file.
6325 * sysdeps/x86_64/fpu/Versions: New file.
6326 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6327 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6328 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6329 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6330 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6331 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6332 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6336 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6337 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6338 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6339 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6340 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6341 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6342 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6343 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6344 * sysdeps/x86_64/configure: Regenerated.
6345 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6346 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6347 * manual/install.texi (Configuring and compiling): Document
6348 --disable-mathvec.
6349 * INSTALL: Regenerated.
6350 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6351
6352 * math/Makefile: Added rules for vector tests.
6353 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6354 declaration under condition.
6355 * math/test-double-vlen2.h: New file.
6356 * math/test-double-vlen4.h: New file.
6357 * math/test-double-vlen8.h: New file.
6358 * math/test-vec-loop.h: Added initialization macro.
6359 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6361 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6362 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6363 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6364 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6365 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6366 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6367 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6368 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6369 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6370
6371 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6372 * sysdeps/x86_64/fpu/Versions: New versions added.
6373 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6374 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6376 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6377 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6378 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6379 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6380 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6381 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6382 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6383 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6384 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6385 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6386 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6387 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6388 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6389 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6390 * NEWS: Mention addition of x86_64 vector cosf.
6391
6392 * math/Makefile: Added CFLAGS for new tests.
6393 * math/test-float-vlen16.h: New file.
6394 * math/test-float-vlen4.h: New file.
6395 * math/test-float-vlen8.h: New file.
6396 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6397 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6398 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6399 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6400 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6401 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6402 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6403 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6404 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6405 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6406 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6407
6408 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6409
6410 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6411 * locale/programs/ld-ctype.c: Likewise.
6412
6413 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6414
6415 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6416 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6417 bit_ZMM16_31_state): New macro.
6418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6419 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6420
6421 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6422
6423 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6424
6425 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6426
6427 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6428
6429 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #18498]
6432 * libio/memstream.c (open_memstream): Rename to __open_memstream
6433 and define as weak alias of __open_memstream.
6434 * include/stdio.h (__open_memstream): Declare. Use
6435 libc_hidden_proto.
6436 (open_memstream): Don't use libc_hidden_proto.
6437 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6438 open_memstream.
6439 * posix/getopt.c (_getopt_internal_r): Likewise.
6440 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6441 variable.
6442 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6443 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6444 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6445
6446 [BZ #18496]
6447 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6448 instead of wcrtomb.
6449
6450 [BZ #18483]
6451 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6452 [__USE_XOPEN2K8]. Remove redundant #endif.
6453 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6454 Remove redundant #if.
6455 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6456 Remove variable.
6457 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6458 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6459
6460 [BZ #18495]
6461 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6462 (__iswlower): Likewise.
6463 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6464 (__iswlower): Likewise.
6465 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6466 instead of towlower.
6467 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6468 instead of iswlower. Call __towupper instead of towupper.
6469 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6470 instead of iswalnum.
6471
6472 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6473
6474 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6475 errors to stderr.
6476
6477 2015-06-05 Florian Weimer <fweimer@redhat.com>
6478
6479 [BZ #15661]
6480 [BZ #17322]
6481 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6482 Check for overflow properly. Check for O_APPEND. Ignore large
6483 file system block sizes. Add comments about problems.
6484 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6485 * manual/filesys.texi (Storage Allocation): New node.
6486
6487 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6488
6489 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6490 cancellable syscalls.
6491 (SYS_ify): Add guard to no redefine it.
6492 (INLINE_SYSCALL): Likewise.
6493 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6494 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6495 SYSCALL_CANCEL instead.
6496 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6497 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6498 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6499 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6500 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6502 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6503 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6504 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6505 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6506 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6507 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6508 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6509 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6510 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6512 Likewise.
6513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6514 (__libc_pread64): Likewise.
6515 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6516 (__libc_preadv): Likewise.
6517 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6518 (__libc_readv64): Likewise.
6519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6520 (__libc_pwrite): Likewise.
6521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6522 (__libc_pwrite64): Likewise.
6523 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6524 (__libc_pwritev): Likewise.
6525 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6526 (__libc_pwritev64): Likewise.
6527 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6528 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6529 (sync_file_range): Likewise.
6530 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6531 Likewise.
6532 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6533 Likewise.
6534 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6535 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6536 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6537 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6538 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6539 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6540 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6541 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6543 Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6545 (__libc_read64): Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6549 Likewise.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6551 Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6553 Likewise.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6555 (__libc_pread64): Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6559 (__libc_pwrite64): Likewise.
6560 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6561 (sync_file_range): Likewise.
6562 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6563 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6564 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6565 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6566 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6567 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6568 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6569 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6570 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6571 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6572 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6573 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6574 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6575 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6576 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6577 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6578 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6579 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6583 Likewise.
6584 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6585 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6586 Likewise.
6587 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6588 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6589 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6590 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6591 Likewise.
6592 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6593 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6594 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6597
6598 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6599
6600 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6601 Include dl-vdso.
6602 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6603 Use VDSO routines for gettimeofday, clock_gettime if
6604 available.
6605 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6606 Declare VDSO symbols.
6607 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6608 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6609 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6610 * sysdeps/unix/sysv/linux/arm/Versions: Add
6611 __vdso_clock_gettime.
6612
6613 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6614
6615 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6616 be an inline implementation regardless of library is built within.
6617 (open_not_cancel_2): Likewise.
6618 (__read_nocancel): Likewise.
6619 (__write_nocancel): Likewise.
6620 (openat_not_cancel): Likewise.
6621 (openat_not_cancel_3): Likewise.
6622 (openat64_not_cancel): Likewise.
6623 (openat64_not_cancel_3): Likewise.
6624 (__close_nocancel): Likewise.
6625 (pause_not_cancel): Likewise.
6626 (nanosleep_not_cancel): Likewise.
6627 (sigsuspend_not_cancel): Likewise.
6628
6629 2015-06-04 Torvald Riegel <triegel@redhat.com>
6630
6631 [BZ #14958]
6632 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6633 wake-up.
6634 (__pthread_rwlock_rdlock_slow): Likewise.
6635 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6636 Likewise.
6637 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6638 Likewise.
6639 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6640 * nptl/tst-rwlock16.c: New file.
6641 * nptl/Makefile (tests): Add new test.
6642
6643 2015-06-04 Torvald Riegel <triegel@redhat.com>
6644
6645 [BZ #18324]
6646 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6647 missing wake-up of readers.
6648 * nptl/tst-rwlock15.c: New file.
6649 * nptl/Makefile (tests): Add new test.
6650
6651 2015-06-03 Roland McGrath <roland@hack.frob.com>
6652
6653 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6654 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6655 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6656 and __nacl_supply_interface_rtld.
6657 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6658 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6659 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6660 Add __nacl_supply_interface_rtld.
6661 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6662
6663 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6664
6665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6666 isfinite.
6667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6668 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6669
6670 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6671
6672 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6673 __signbit* with standard C99 macros.
6674 * math/e_exp10l.c: Likewise.
6675 * math/e_exp2l.c: Likewise.
6676 * math/e_scalb.c: Likewise.
6677 * math/e_scalbf.c: Likewise.
6678 * math/e_scalbl.c: Likewise.
6679 * math/s_ldexp.c: Likewise.
6680 * math/s_ldexpf.c: Likewise.
6681 * math/s_ldexpl.c: Likewise.
6682 * math/w_atan2.c: Likewise.
6683 * math/w_atan2f.c: Likewise.
6684 * math/w_atan2l.c: Likewise.
6685 * math/w_cosh.c: Likewise.
6686 * math/w_coshf.c: Likewise.
6687 * math/w_coshl.c: Likewise.
6688 * math/w_exp10.c: Likewise.
6689 * math/w_exp10f.c: Likewise.
6690 * math/w_exp10l.c: Likewise.
6691 * math/w_exp2.c: Likewise.
6692 * math/w_exp2f.c: Likewise.
6693 * math/w_exp2l.c: Likewise.
6694 * math/w_fmod.c: Likewise.
6695 * math/w_fmodf.c: Likewise.
6696 * math/w_fmodl.c: Likewise.
6697 * math/w_hypot.c: Likewise.
6698 * math/w_hypotf.c: Likewise.
6699 * math/w_hypotl.c: Likewise.
6700 * math/w_jnl.c: Likewise.
6701 * math/w_lgamma.c: Likewise.
6702 * math/w_lgamma_r.c: Likewise.
6703 * math/w_lgammaf.c: Likewise.
6704 * math/w_lgammaf_r.c: Likewise.
6705 * math/w_lgammal.c: Likewise.
6706 * math/w_lgammal_r.c: Likewise.
6707 * math/w_pow.c: Likewise.
6708 * math/w_powf.c: Likewise.
6709 * math/w_powl.c: Likewise.
6710 * math/w_remainder.c: Likewise.
6711 * math/w_remainderf.c: Likewise.
6712 * math/w_remainderl.c: Likewise.
6713 * math/w_scalb.c: Likewise.
6714 * math/w_scalbf.c: Likewise.
6715 * math/w_scalbl.c: Likewise.
6716 * math/w_scalbln.c: Likewise.
6717 * math/w_scalblnf.c: Likewise.
6718 * math/w_scalblnl.c: Likewise.
6719 * math/w_sinh.c: Likewise.
6720 * math/w_sinhf.c: Likewise.
6721 * math/w_sinhl.c: Likewise.
6722 * math/w_tgamma.c: Likewise.
6723 * math/w_tgammaf.c: Likewise.
6724 * math/w_tgammal.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6756 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6757 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6758 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6759 * stdio-common/printf_fp.c: Likewise.
6760 * stdio-common/printf_fphex.c: Likewise.
6761 * stdio-common/printf_size.c: Likewise.
6762
6763 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6764
6765 [BZ #18470]
6766 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6767 strnlen.
6768 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6769 Remove variable.
6770 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6771 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6772 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6773 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6774 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6775 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6776 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6777 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6778 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6779 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6780
6781 [BZ #18468]
6782 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6783 weak alias of __wmemchr. Use libc_hidden_weak.
6784 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6785 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6786 instead of wmemchr.
6787
6788 2015-06-02 Roland McGrath <roland@hack.frob.com>
6789
6790 [BZ #18383]
6791 * elf/tst-tlsalign-extern.c: New file.
6792 * elf/tst-tlsalign-extern-static.c: New file.
6793 * elf/tst-tlsalign-vars.c: New file.
6794 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6795 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6796 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6797 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6798 (test-xfail-tst-tlsalign-extern-static): New variable.
6799
6800 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6803 Use variable name _sc_err instead of err.
6804 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6805 instead of ret.
6806 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6807 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6808 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6809 (INLINE_SYSCALL): Likewise.
6810
6811 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6812 * include/string.h (__strnlen): Use libc_hidden_proto.
6813 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6814 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6815 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6817 (libc_hidden_def): Undefine and redefine.
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6819 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6820 __GI_strnlen.
6821 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6822 libc_hidden_def.
6823 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6824
6825 [BZ #18469]
6826 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6827 weak alias of __towlower. Use libc_hidden_weak.
6828 (towupper): Rename to __towupper and define as weak alias of
6829 __towupper. Use libc_hidden_weak.
6830 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6831 (__towupper): Likewise.
6832 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6833 __towlower instead of towlower.
6834
6835 2015-06-02 Roland McGrath <roland@hack.frob.com>
6836
6837 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6838 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6839
6840 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6841
6842 * sysdeps/aarch64/libm-test-ulps: Update.
6843
6844 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6845
6846 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6847 Define.
6848 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6850 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6851 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6852 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6853 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6854 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6855
6856 2015-06-01 Martin Sebor <msebor@redhat.com>
6857
6858 [BZ #18116]
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6860 (__setcontext): Use extended four-operand version of mtsf whenever
6861 possible.
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6863 (__novec_swapcontext): Likewise.
6864
6865 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
6867 * benchtests/scripts/compare_bench.py: New file.
6868 * benchtests/scripts/import_bench.py (mean): New function.
6869 (split_list): Likewise.
6870 (do_for_all_timings): Likewise.
6871 (compress_timings): Likewise.
6872
6873 * benchtests/scripts/import_bench.py: New file.
6874 * benchtests/scripts/validate_benchout.py: Import import_bench
6875 instead of jsonschema.
6876 (validate_bench): Remove function.
6877 (main): Use import_bench.
6878
6879 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6880
6881 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6882 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6883
6884 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6885
6886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6887
6888 2015-05-28 Roland McGrath <roland@hack.frob.com>
6889
6890 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6891 set THREAD_SELF->tid to a magic value and futex-wake it.
6892 Pass its address to the thread_exit system call.
6893 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6894 bit is clear.
6895 * sysdeps/nacl/lowlevellock.h: New file.
6896 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6897
6898 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6899 Add TIMEOUT to current time, don't subtract it.
6900
6901 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6902
6903 [BZ #2981]
6904 [BZ #18422]
6905 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6906 ($(objpfx)tst-audit2.out): Also depend on
6907 $(objpfx)tst-auditmod9b.so.
6908 * elf/tst-audit2.c: Include <dlfcn.h>.
6909 (calloc_called): New.
6910 (calloc): Allow to be called more than once.
6911 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6912
6913 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6914
6915 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6916 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6917
6918 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6919
6920 * stdlib/monetary.h: Fix comment.
6921
6922 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6923
6924 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6925 Avoid using variables in #defines that might cause shadowing.
6926 (INTERNAL_VSYSCALL_CALL): Likewise.
6927
6928 2015-05-26 Roland McGrath <roland@hack.frob.com>
6929
6930 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6931
6932 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6933 * nptl/lll_timedlock_wait.c: ... to this new file.
6934 * nptl/Makefile (libpthread-routines): Add it.
6935 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6936 * nptl/lll_timedwait_tid.c: ... to this new file.
6937 * nptl/Makefile (libpthread-routines): Add it.
6938 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6939 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6940 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6941 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6942 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6943 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6944 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6945 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6946 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6947 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6948
6949 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6950
6951 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6952 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6953 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6955 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6957 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6959 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6960 * sysdeps/unix/sysv/linux/tile/sysdep.h
6961 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6962 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6963 using vDSO syscall macro.
6964
6965 2015-05-26 Andriy Rysin <arysin@gmail.com>
6966
6967 [BZ #17293]
6968 * uk_UA: Fix sorting order for Ukrainian locale
6969
6970 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6971
6972 * stdlib/monetary.h: Fix comment.
6973
6974 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6975
6976 [BZ #18234]
6977 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6978 st_mtim and st_ctim members.
6979 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6980 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6981 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6982 (struct stat64): Likewise.
6983 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6984 (struct stat64): Likewise.
6985 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6986 (struct stat64): Likewise.
6987
6988 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6989
6990 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6991 Define and include sysdep-vdso.h.
6992 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6993 Likewise.
6994 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6995 Likewise.
6996 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6997 Define with VDSO_SYMBOL and use PTR_MANGLE.
6998 (__vdso_clock_gettime): Likewise.
6999 (__vdso_clock_getres): Likewise.
7000 (_libc_vdso_platform_setup): Likewise.
7001 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7002 Likewise.
7003 (_libc_vdso_platform_setup): Likewise.
7004 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7005 Likewise.
7006 (__vdso_clock_gettime): Likewise.
7007 (__vdso_clock_getres): Likewise.
7008 (__vdso_get_tbfreq): Likewise.
7009 (__vdso_getcpu): Likewise.
7010 (__vdso_time): Likewise.
7011 (__vdso_sigtramp_rt64): Likewise.
7012 (__vdso_signtramp32): Likewise.
7013 (__vdso_sigtramp_rt32): Likewise.
7014 (_libc_vdso_platform_setup): Likewise.
7015 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7016 Likewise.
7017 (__vdso_clock_gettime): Likewise.
7018 (__vdso_clock_getres): Likewise.
7019 (_libc_vdso_platform_setup): Likewise.
7020 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7021 Likewise.
7022 (__vdso_clock_gettime): Likewise.
7023 (_libc_vdso_platform_setup): Likewise.
7024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7025 Likewise.
7026 (__vdso_getcpu): Likewise.
7027 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7028 Use VDSO_SYMBOL macro to define.
7029 (__vdso_clock_gettime): Likewise.
7030 (__vdso_clock_getres): Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7032 Likewise.
7033 (__vdso_clock_gettime): Likewise.
7034 (__vdso_clock_getres): Likewise.
7035 (__vdso_get_tbfreq): Likewise.
7036 (__vdso_getcpu): Likewise.
7037 (__vdso_time): Likewise.
7038 (__vdso_sigtramp_rt64): Likewise.
7039 (__vdso_signtramp32): Likewise.
7040 (__vdso_sigtramp_rt32): Likewise.
7041 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7042 Likewise.
7043 (__vdso_clock_gettime): Likewise.
7044 (__vdso_clock_getres): Likewise.
7045 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7046 Likewise.
7047 (__vdso_clock_gettime): Likewise.
7048 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7049 Likewise.
7050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
7051 macro.
7052 (INTERNAL_VSYSCALL): Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7054 Remove macro.
7055 (INTERNAL_VSYSCALL): Likewise.
7056 (INTERNAL_VSYSCALL_NCS): Likewise.
7057 (INTERNAL_VSYSCALL_CALL): New macro.
7058 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7060 Likewise.
7061 (INTERNAL_VSYSCALL): Likewise.
7062 (INTERNAL_VSYSCALL_NCS): Likewise.
7063 (INTERNAL_VSYSCALL_CALL): New macro.
7064 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7066 (INLINE_VSYSCALL): Remove macro.
7067 (INTERNAL_VSYSCALL): Remove macro.
7068 (INTERNAL_VSYSCALL_NCS): Remove macro.
7069 (INTERNAL_VSYSCALL_CALL): New macro.
7070 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7071 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7072 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7073 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7074 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7076 (INLINE_VSYSCALL): Remove macro.
7077 (INTERNAL_VSYSCALL): Likewise.
7078 (INTERNAL_VSYSCALL_NCS): Likewise.
7079 (INTERNAL_VSYSCALL_CALL): New macro.
7080 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7081 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7082 PTR_DEMANGLE on vDSO pointer.
7083 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7084 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7085 macro.
7086 (INTERNAL_SYSCALL): Likewise.
7087 (INTERNAL_VSYSCALL_NCS): Remove macro.
7088 (INTERNAL_VSYSCALL_CALL): New macro.
7089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7090 Remove macro.
7091 (INTERNAL_VSYSCALL): Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7093 sysdep-vdso.h instead of libc-vdso.h.
7094 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7095 definition.
7096 (INLINE_VSYSCALL): Likewise.
7097 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7098 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7099 definition.
7100 (INLINE_VSYSCALL): Likewise.
7101 (INTERNAL_VSYSCALL): Likewise.
7102 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7103 * sysdeps/unix/sysv/linux/timespec_get.c
7104 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7105 (timespec_get): Use ANSI prototype.
7106 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7107 and definition for Linux.
7108
7109 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7110
7111 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7112 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7113
7114 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 [BZ #2981]
7117 [BZ #18410]
7118 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7119 for missing DT_PLTRELSZ.
7120
7121 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7122
7123 Remove obsolete aliases that broke 'locale -a'
7124 [BZ #18412]
7125 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7126 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7127 breaking some applications that use 'locale -a' output.
7128 Change the encoding of this file from Latin-1 to ASCII to avoid
7129 other potential problems with people grepping this file.
7130
7131 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7132
7133 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7134 -fasynchronous-unwind-tables.
7135 (CFLAGS-sendto.c): Likewise.
7136 (CFLAGS-sendmsg.c): Likewise.
7137 (CFLAGS-connect.c): Likewise.
7138 (CFLAGS-recvmsg.c): Likewise.
7139 (CFLAGS-recvfrom.c): Likewise.
7140 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7141 (SOCKETCALL): New macro: non-cancellable socketcall.
7142 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7143 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7144 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7145 * sysdeps/unix/sysv/linux/accept.c: New file.
7146 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7147 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7148 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7149 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7150 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7151 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7152 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7153 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7154 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7155 * sysdeps/unix/sysv/linux/send.c: Likewise.
7156 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7157 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7158 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7159 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7160 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7161 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7162 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7163 prototype.
7164 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7165 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7166 instead of __internal_xxx function.
7167 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7168 prototype.
7169 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7170 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7171 instead of __internal_xxx function.
7172 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7173 prototype.
7174 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7175 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7176 instead of __internal_xxx function.
7177 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7178 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7179 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7180 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7181 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7182 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7183 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7184 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7185 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7186 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7187 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7189 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7190 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7191 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7192 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7193 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7194 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7195 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7196 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7199 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7200 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7201 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7202 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7203 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7204 * sysdeps/unix/sysv/linux/send.S: Likewise.
7205 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7206 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7207 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7208 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7209 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7210 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7213 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7214 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7215 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7216 socketcall is implemented in GLIBC.
7217
7218 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7219
7220 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7221 (__fma): Ignore uninitialized warnings around packing.
7222 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7223 (__fmaf): Ignore uninitialized warnings around packing.
7224 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7225 (__fmal): Ignore uninitialized warnings around packing.
7226
7227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7228 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7229 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7230 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7231
7232 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7233 switch statement into default case.
7234 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7235
7236 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7237 a conditional in forcing "inexact".
7238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7239 Likewise.
7240
7241 2015-05-22 Roland McGrath <roland@hack.frob.com>
7242
7243 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7244 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7245 for each INTERNAL_SYSCALL use.
7246
7247 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7248
7249 [BZ #438]
7250 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7251 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7252 variable.
7253
7254 [BZ #18444]
7255 * string/basename.c (basename): Rename to __basename and define as
7256 weak alias of __basename. Use libc_hidden_weak.
7257 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7258 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7259 __basename instead of basename.
7260 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7261 Remove variable.
7262 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7263
7264 2015-05-18 Florian Weimer <fweimer@redhat.com>
7265
7266 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7267 (_IO_JUMPS_FILE_plus): New.
7268 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7269 _IO_CAST_FIELD_ACCESS.
7270 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7271 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7272 * libio/freopen.c (freopen): Likewise.
7273 * libio/freopen64.c (freopen64): Likewise.
7274 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7275 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7276 * libio/iofwide.c (_IO_fwide): Likewise.
7277 * libio/memstream.c (open_memstream): Likewise.
7278 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7279 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7280 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7281
7282 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7283
7284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7285 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7286 NADJ.
7287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7288 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7289 NADJ.
7290 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7291 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7292 NADJ.
7293
7294 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7295 (p == 4) case.
7296
7297 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7298 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7299 Remove variable.
7300 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7301 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7302 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7303
7304 2015-05-21 Florian Weimer <fweimer@redhat.com>
7305
7306 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7307 Adjust jump table label generation macros.
7308
7309 2015-05-21 Florian Weimer <fweimer@redhat.com>
7310
7311 * stdio-common/vfprintf.c (vfprintf): Move local variables
7312 args_malloced, specs, specs_malloced, and the code after
7313 do_positional to the printf_positional function.
7314 (printf_positional): New function.
7315
7316 2015-05-21 Florian Weimer <fweimer@redhat.com>
7317
7318 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7319 function.
7320 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7321 STEP4_TABLE, process_arg): Move macro definitions
7322 out of the vfprintf function. (Cosmetic change only.)
7323
7324 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7325
7326 * benchtests/Makefile (stdio-common-bench): Define.
7327 (benchset): Add stdio-common-bench.
7328 * sprintf-inputs: New file.
7329 * sprintf-source.c: New file.
7330
7331 2015-05-21 Andreas Schwab <schwab@suse.de>
7332
7333 [BZ #13028]
7334 [BZ #17053]
7335 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7336 of struct __res_state.
7337 * resolv/res_send.c (__libc_res_nsend): Likewise.
7338 (get_nsaddr): New function.
7339 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7340 statp directly.
7341
7342 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7343
7344 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7345 -D_POSIX_C_SOURCE=199506L.
7346
7347 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7348
7349 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7350 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7351 Do not mention otherwise.
7352 [POSIX] (_XOPEN_VERSION): Do not expect.
7353 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7354 [POSIX] (_POSIX2_C_BIND): Likewise.
7355 [POSIX] (_POSIX2_VERSION): Likewise.
7356 [POSIX] (_XOPEN_XPG2): Likewise.
7357 [POSIX] (_XOPEN_XPG3): Likewise.
7358 [POSIX] (_XOPEN_XPG4): Likewise.
7359 [POSIX] (_XOPEN_UNIX): Likewise.
7360 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7361 [POSIX] (_POSIX_BARRIERS): Likewise.
7362 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7363 [POSIX] (_POSIX_CPUTIME): Likewise.
7364 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7365 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7366 [POSIX] (_POSIX_SHELL): Likewise.
7367 [POSIX] (_POSIX_SPAWN): Likewise.
7368 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7369 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7370 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7371 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7372 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7373 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7374 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7375 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7376 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7377 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7378 [POSIX] (_POSIX2_PBS): Likewise.
7379 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7380 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7381 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7382 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7383 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7384 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7385 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7386 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7387 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7388 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7389 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7390 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7391 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7392 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7393 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7394 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7395 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7396 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7397 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7398 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7399 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7400 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7401 [POSIX] (_SC_2_C_BIND): Likewise.
7402 [POSIX] (_SC_2_C_VERSION): Likewise.
7403 [POSIX] (_SC_2_PBS): Likewise.
7404 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7405 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7406 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7407 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7408 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7409 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7410 [POSIX] (_SC_BARRIERS): Likewise.
7411 [POSIX] (_SC_BASE): Likewise.
7412 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7413 [POSIX] (_SC_DEVICE_IO): Likewise.
7414 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7415 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7416 [POSIX] (_SC_FD_MGMT): Likewise.
7417 [POSIX] (_SC_FIFO): Likewise.
7418 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7419 [POSIX] (_SC_FILE_LOCKING): Likewise.
7420 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7421 [POSIX] (_SC_IOV_MAX): Likewise.
7422 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7423 [POSIX] (_SC_NETWORKING): Likewise.
7424 [POSIX] (_SC_PAGE_SIZE): Likewise.
7425 [POSIX] (_SC_PASS_MAX): Likewise.
7426 [POSIX] (_SC_PIPE): Likewise.
7427 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7428 [POSIX] (_SC_REGEXP): Likewise.
7429 [POSIX] (_SC_SHELL): Likewise.
7430 [POSIX] (_SC_SIGNALS): Likewise.
7431 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7432 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7433 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7434 [POSIX] (_SC_USER_GROUPS): Likewise.
7435 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7436 [POSIX] (_SC_STREAMS): Likewise.
7437 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7438 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7439 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7440 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7441 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7442 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7443 [POSIX] (_PC_FILESIZEBITS): Likewise.
7444 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7445 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7446 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7447 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7448 [POSIX] (uid_t): Likewise.
7449 [POSIX] (gid_t): Likewise.
7450 [POSIX] (off_t): Likewise.
7451 [POSIX] (pid_t): Likewise.
7452 [POSIX] (cuserid): Allow.
7453 (_SC_2_CHAR_TERM): Require constant.
7454 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7455 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7456 variable.
7457
7458 2015-05-20 Roland McGrath <roland@hack.frob.com>
7459
7460 * sysdeps/nacl/pthread-pids.h: New file.
7461 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7462 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7463
7464 * nptl/pthread-pids.h: New file.
7465 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7466 * nptl/nptl-init.c: Include <pthread-pids.h>.
7467 (__pthread_initialize_minimal_internal):
7468 Call __pthread_initialize_pids instead of set_tid_address syscall.
7469
7470 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7471 * sysdeps/posix/usleep.c: ... here.
7472
7473 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7474
7475 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7476 call_pselect6 object.
7477 [$(subdir) = io]: Remove call_sync_file_range object.
7478 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7479 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7480 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7481 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7482
7483 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7484
7485 * math/s_cproj.c: Add include "math_private.h".
7486 * math/s_cprojf.c: Likewise.
7487 * math/s_cprojl.c: Likewise.
7488
7489 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #18244]
7492 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7493 high mantissa bit when testing whether P is a NaN.
7494 * math/libm-test.inc (remainder_test_data): Add more tests.
7495 (remquo_test_data): Likewise.
7496
7497 [BZ #18049]
7498 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7499 below -32, return the argument, with underflow if subnormal.
7500 * math/auto-libm-test-in: Add more tests of atanh.
7501 * math/auto-libm-test-out: Regenerated.
7502
7503 2015-05-19 Roland McGrath <roland@hack.frob.com>
7504
7505 [BZ #18434]
7506 * nptl/tst-sem15.c: New file.
7507 * nptl/Makefile (tests): Add it.
7508 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7509 s/<</>>/ to fix typo in EOVERFLOW check.
7510 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7511
7512 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7513
7514 * manual/strings.texi (envz_remove): Fix typo in safety
7515 annotations.
7516
7517 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7518 Steve Ellcey <sellcey@imgtec.com>
7519
7520 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7521 in order to avoid strict alias warnings.
7522 (iruserok_af): Ditto for ra.
7523
7524 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7525
7526 [BZ #17581]
7527 * malloc/hooks.c
7528 (magicbyte): Convert to a function and avoid returning 0x01.
7529 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7530 (mem2chunk_check): Fix unsigned comparisons to zero.
7531 Hoist defs of sz and magic.
7532
7533 2015-05-19 Richard Henderson <rth@redhat.com>
7534
7535 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7536
7537 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7538
7539 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
7541 [BZ #16159]
7542 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7543 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7544 (reused_arena): Find a non-corrupt arena.
7545 (heap_trim): Pass arena to unlink.
7546 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7547 malloc_printerr.
7548 (top_check): Likewise.
7549 (free_check): Likewise.
7550 (realloc_check): Likewise.
7551 * malloc/malloc.c (malloc_printerr): Add arena argument.
7552 (unlink): Likewise.
7553 (munmap_chunk): Adjust.
7554 (ARENA_CORRUPTION_BIT): New macro.
7555 (arena_is_corrupt): Likewise.
7556 (set_arena_corrupt): Likewise.
7557 (sysmalloc): Use mmap if there are no usable arenas.
7558 (_int_malloc): Likewise.
7559 (__libc_malloc): Don't fail if arena_get returns NULL.
7560 (_mid_memalign): Likewise.
7561 (__libc_calloc): Likewise.
7562 (__libc_realloc): Adjust for additional argument to
7563 malloc_printerr.
7564 (_int_free): Likewise.
7565 (malloc_consolidate): Likewise.
7566 (_int_realloc): Likewise.
7567 (_int_memalign): Don't touch corrupt arenas.
7568 * malloc/tst-malloc-backtrace.c: New test case.
7569
7570 * Makefile (summarize-tests): Fix return value on success.
7571
7572 * manual/string.texi (Envz Functions): Add envz_remove.
7573
7574 2015-05-18 Roland McGrath <roland@hack.frob.com>
7575
7576 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7577 (invalid_name): New function, broken out of ...
7578 (__opendirat): ... here. Call it.
7579 (need_isdir_precheck): New function, broken out of ...
7580 (__opendirat): ... here. Call it.
7581 Use __fxstatat64, not __xstatat64.
7582 (opendir_oflags): New function, broken out of ...
7583 (__opendirat): ... here. Call it.
7584 (opendir_tail): New function, broken out of ...
7585 (__opendirat): ... here. Call it.
7586 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7587 opendir_tail, rather than punting to __opendirat.
7588 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7589
7590 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7591
7592 * .gitignore: Ignore generated *.pyc.
7593
7594 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7595
7596 * include/stdio.h: Define __need_wint_t.
7597 * test-skeleton.c: Avoid `for' loop initial declaration.
7598 * nptl/tst-initializers1.c: Use test-skeleton.c.
7599
7600 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7601
7602 [BZ #18418]
7603 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7604
7605 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7606
7607 [BZ #16352]
7608 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7609 (__ieee754_atanh): Force underflow exception for results with
7610 small absolute value.
7611 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7612 (__ieee754_atanhf): Force underflow exception for results with
7613 small absolute value.
7614 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7615 (__ieee754_atanh): Force underflow exception for results with
7616 small absolute value.
7617 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7618 (__ieee754_atanhf): Force underflow exception for results with
7619 small absolute value.
7620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7621 (__ieee754_atanhl): Force underflow exception for results with
7622 small absolute value.
7623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7624 (__ieee754_atanhl): Force underflow exception for results with
7625 small absolute value.
7626 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7627 (__ieee754_atanhl): Force underflow exception for results with
7628 small absolute value.
7629 * math/auto-libm-test-in: Do not allow missing underflow
7630 exceptions from atanh.
7631 * math/auto-libm-test-out: Regenerated.
7632
7633 [BZ #18221]
7634 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7635 2**-28 as threshold for returning x or +/- 1/x.
7636 * math/auto-libm-test-in: Add more tests of tan.
7637 * math/auto-libm-test-out: Regenerated.
7638
7639 [BZ #18220]
7640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7641 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7642 * math/auto-libm-test-in: Add another test of lgamma.
7643 * math/auto-libm-test-out: Regenerated.
7644
7645 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7646
7647 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7648 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7649 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7650 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7651 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7652 (ADD2A): Use fabs. (SUB2A): Use fabs.
7653 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7656 (log1): Use fabs. (my_log2): Use fabs.
7657 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7658 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7660 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7662 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7663 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7664 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7665 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7666 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7667 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7668
7669 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7670
7671 [BZ #18217]
7672 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7673 as threshold for returning 1 - x.
7674 * math/auto-libm-test-in: Add more tests of erfc.
7675 * math/auto-libm-test-out: Regenerated.
7676
7677 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #18196]
7680 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7681 threshold for large arguments.
7682 * math/auto-libm-test-in: Add another test of atan.
7683 * math/auto-libm-test-out: Regenerated.
7684
7685 [BZ #16339]
7686 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7687 (__log1p): Force underflow exception for results with small
7688 absolute value.
7689 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7690 (__log1pf): Force underflow exception for results with small
7691 absolute value.
7692 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7693 (__log1p): Force underflow exception for results with small
7694 absolute value.
7695 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7696 (__log1pf): Force underflow exception for results with small
7697 absolute value.
7698 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7699 (__log1pl): Force underflow exception for results with small
7700 absolute value.
7701 * math/auto-libm-test-in: Do not allow missing underflow
7702 exceptions from log1p.
7703 * math/auto-libm-test-out: Regenerated.
7704
7705 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7706 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7707
7708 [BZ #16704]
7709 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7710
7711 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7712
7713 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7714 (libmvec): New variable.
7715 * configure.ac: Added option for mathvec build.
7716 * configure: Regenerated.
7717 * mathvec/Depend: New file.
7718 * mathvec/Makefile: New file.
7719 * shlib-versions: Added libmvec.
7720 * math/Makefile: Added rule for libm.so installation.
7721
7722 * bits/math-vector.h: New file.
7723 * bits/libm-simd-decl-stubs.h: New header.
7724 * math/Makefile (headers): Added new header
7725 libm-simd-decl-stubs.h.
7726 * math/math.h (__MATHCALL_VEC): New macro.
7727
7728 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7729 for conditions in testing functions.
7730 * math/Makefile: Added call of libm-have-vector-test.sh.
7731 * math/libm-test.inc (HAVE_VECTOR): New macros.
7732
7733 * math/libm-test.inc: START refactored.
7734 * math/test-double.c (TEST_MATHVEC): Add define.
7735 * math/test-float.c: Likewise.
7736 * math/test-idouble.c: Likewise.
7737 * math/test-ifloat.c: Likewise.
7738 * math/test-ildoubl.c: Likewise.
7739 * math/test-ldouble.c: Likewise.
7740 * sysdeps/generic/math-tests-arch.h
7741 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7742 architecture check.
7743
7744 * math/test-double.c (FUNC_TEST): New macro.
7745 * math/test-float.c: Likewise.
7746 * math/test-idouble.c: Likewise.
7747 * math/test-ifloat.c: Likewise.
7748 * math/test-ildoubl.c: Likewise.
7749 * math/test-ldouble.c: Likewise.
7750 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7751
7752 2015-05-13 Roland McGrath <roland@hack.frob.com>
7753
7754 * sysdeps/nacl/fdopendir.c: New file.
7755
7756 * dirent/scandir-tail.c: New file.
7757 * dirent/scandir64-tail.c: New file.
7758 * dirent/Makefile (routines): Add them.
7759 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7760 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7761 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7762 [!SCANDIR] (SCANDIR_TAIL): New macro.
7763 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7764 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7765 (SCANDIRAT): Macro removed.
7766 (SCANDIR_TAIL): New macro.
7767 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7768 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7769 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7770 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7771 (READDIR): Macro removed.
7772 (SCANDIR_TAIL): New macro.
7773 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7774 (SCANDIR_TAIL): New macro.
7775
7776 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7777 * dirent/scandir-cancel.c: ... to this new file.
7778 * dirent/Makefile (routines): Add it.
7779 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7780 * sysdeps/unix/sysv/linux/i386/scandir64.c
7781 (SKIP_SCANDIR_CANCEL): Macro removed.
7782 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7783
7784 * dirent/tst-scandir.c: New file.
7785 * dirent/tst-scandir64.c: New file.
7786 * dirent/Makefile (tests): Add them.
7787
7788 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7789
7790 [BZ #18409]
7791 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7792
7793 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7794
7795 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7796 list.
7797
7798 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7799
7800 * benchtests/bench-strcoll.c: New benchmark.
7801 * benchtests/Makefile: Generate locales and run benchmark.
7802 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7803 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7804 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7805 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7806 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7807 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7808 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7809 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7810 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7811 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7812 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7813 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7814 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7815 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7816 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7817 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7818 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7819 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7820 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7821 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7822 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7823 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7824 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7825 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7826
7827 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7828
7829 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7830 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7831
7832 2015-05-12 Roland McGrath <roland@hack.frob.com>
7833
7834 * posix/uname-values.h: New file.
7835 * posix/uname.c: Include that instead of <config-name.h>.
7836 * sysdeps/nacl/uname-values.h: New file.
7837 * sysdeps/arm/nacl/uname-values.h: New file.
7838
7839 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7840
7841 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7842 splitting into fields.
7843
7844 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7845
7846 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7847 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7848 * locale/localeinfo.h: Add enum collation_encoding_type.
7849 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7850 * programs/ld-collate.c (collate_output): Add encoding type info.
7851 * string/strcoll_l.c (STRDIFF): New function.
7852 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7853 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7854
7855 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7856
7857 [BZ #18397]
7858 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7859 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7860 <fpu_control.h> instead of <math/fpu_control.c>.
7861 * sysdeps/mips/mips32/fpu/Makefile: New file.
7862
7863 2015-05-11 Andreas Schwab <schwab@suse.de>
7864
7865 [BZ #18007]
7866 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7867 nss_endgrent.
7868 (_nss_compat_endgrent): Call nss_endgrent.
7869 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7870 nss_endpwent.
7871 (_nss_compat_endpwent): Call nss_endpwent.
7872 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7873 needent, call nss_setspent only if non-zero.
7874 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7875 (internal_endspent): Don't call nss_endspent.
7876 (_nss_compat_endspent): Call nss_endspent.
7877 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7878 Remove. All uses removed.
7879 (internal_setent): Remove parameter stayopen, add parameter
7880 stream. Use it instead of global variable.
7881 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7882 (internal_endent, internal_getent): Add parameter stream. Use it
7883 instead of global variable.
7884 (CONCAT(_nss_files_end,ENTNAME))
7885 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7886 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7887 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7888 uses removed.
7889 (internal_setent, internal_endent): Add parameter stream. Use it
7890 instead of global variable.
7891 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7892 stream.
7893 (get_next_alias): Add parameter stream.
7894 (_nss_files_getaliasent_r): Pass global stream.
7895 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7896 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7897 (_nss_files_gethostbyname4_r): Pass local stream to
7898 internal_setent, internal_getent and internal_endent. Remove
7899 locking.
7900
7901 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7902
7903 * tst-strfmon1.c (tests): Update expected currency symbol.
7904
7905 2015-05-08 Roland McGrath <roland@hack.frob.com>
7906
7907 * sysdeps/nacl/gethostname.c: New file.
7908
7909 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7910
7911 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7912 and sinh.
7913 * math/auto-libm-test-out: Regenerated.
7914 * sysdeps/i386/fpu/libm-test-ulps: Update.
7915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7916
7917 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7918
7919 [BZ #18125]
7920 * stdlib/tst-setcontext3.c: New file.
7921 * stdlib/tst-setcontext3.sh: New file.
7922 * stdlib/Makefile (tests): Add tst-setcontext3.
7923 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7924 to verify test program created output file.
7925 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7926 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7927 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7928 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7929
7930 2015-05-06 Roland McGrath <roland@hack.frob.com>
7931
7932 [BZ #18383]
7933 * elf/tst-tlsalign.c: New file.
7934 * elf/tst-tlsalign-static.c: New file.
7935 * elf/tst-tlsalign-lib.c: New file.
7936 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7937 (tests-static): Add tst-tlsalign-static.
7938 (modules-names): Add tst-tlsalign-lib.
7939 (test-xfail-tst-tlsalign): New variable.
7940 (test-xfail-tst-tlsalign-static): New variable.
7941
7942 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7943 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7944
7945 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7946
7947 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7948 csqrt, erfc, sin and sincos.
7949 * math/auto-libm-test-out: Regenerated.
7950 * sysdeps/i386/fpu/libm-test-ulps: Update.
7951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7952
7953 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7954
7955 * sysdeps/aarch64/libm-test-ulps: Update.
7956
7957 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7958
7959 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7960 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7961 * math/auto-libm-test-out: Regenerated.
7962 * sysdeps/i386/fpu/libm-test-ulps: Update.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964
7965 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7966
7967 [BZ #18265]
7968 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7969 (wcsncpy): Likewise.
7970
7971 2015-05-05 Florian Weimer <fweimer@redhat.com>
7972
7973 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7974 Assume __ASSUME_FALLOCATE is always true.
7975 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7976 (__posix_fallocate64_l64): Likweise.
7977 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7978 (posix_fallocate): Likewise.
7979 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7980 (__posix_fallocate64_l64): Likewise.
7981 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7982 [!__ASSUME_FALLOCATE]: Add comment.
7983
7984 2015-05-05 Florian Weimer <fweimer@redhat.com>
7985
7986 * sysdeps/unix/sysv/linux/i386/Makefile
7987 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7988 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7989 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7990 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7991 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7992 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7993 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7994
7995 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7996
7997 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7998 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7999 tgamma.
8000 * math/auto-libm-test-out: Regenerated.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003
8004 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8005
8006 * math/auto-libm-test-in: Add more tests of tgamma.
8007 * math/auto-libm-test-out: Regenerated.
8008 * sysdeps/i386/fpu/libm-test-ulps: Update.
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010
8011 * math/auto-libm-test-in: Add more tests of tanh.
8012 * math/auto-libm-test-out: Regenerated.
8013 * sysdeps/i386/fpu/libm-test-ulps: Update.
8014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8015
8016 * math/auto-libm-test-in: Add more tests of tan.
8017 * math/auto-libm-test-out: Regenerated.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8020
8021 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8022 * math/auto-libm-test-out: Regenerated.
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8025
8026 * math/auto-libm-test-in: Add another test of pow.
8027 * math/auto-libm-test-out: Regenerated.
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8029
8030 * math/auto-libm-test-in: Add more tests of lgamma.
8031 * math/auto-libm-test-out: Regenerated.
8032 * sysdeps/i386/fpu/libm-test-ulps: Update.
8033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8034
8035 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8036 log1p.
8037 * math/auto-libm-test-out: Regenerated.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040
8041 2015-05-01 Mark Wielaard <mjw@redhat.com>
8042
8043 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8044 Elf64_Chdr structs and ELFCOMPRESS constants.
8045
8046 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8047
8048 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8049 expm1.
8050 * math/auto-libm-test-out: Regenerated.
8051 * sysdeps/i386/fpu/libm-test-ulps: Update.
8052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8053
8054 * math/auto-libm-test-in: Add more tests of erf and erfc.
8055 * math/auto-libm-test-out: Regenerated.
8056 * sysdeps/i386/fpu/libm-test-ulps: Update.
8057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8058
8059 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8060
8061 * config.h.in (HAVE_AARCH64_BE): Add.
8062
8063 2015-04-30 Joseph Myers <joseph@codesourcery.com>
8064
8065 * math/auto-libm-test-in: Add more tests of csqrt.
8066 * math/auto-libm-test-out: Regenerated.
8067 * sysdeps/i386/fpu/libm-test-ulps: Update.
8068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8069
8070 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8071 * math/auto-libm-test-out: Regenerated.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074
8075 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8076
8077 2015-04-29 Roland McGrath <roland@hack.frob.com>
8078
8079 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8080 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8081
8082 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8083 (euidaccess, eaccess): Define as weak aliases.
8084
8085 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8086 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8087 but __suseconds_t is often 'long int' so some sources assume that
8088 type is being used (e.g. they use %ld to print tv_usec).
8089
8090 2015-04-29 Florian Weimer <fweimer@redhat.com>
8091
8092 [BZ #18007]
8093 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8094 (CVE-2014-8121)
8095 * nss/tst-nss-getpwent.c: New file.
8096 * nss/Makefile (tests): Add new test.
8097
8098 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8099
8100 [BZ #18346]
8101 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8102 exponents less than 48 as cases where high part of mantissa needs
8103 examining to determine whether argument is integral.
8104 * math/libm-test.inc (round_test_data): Add more tests.
8105
8106 2015-04-28 Mark Wielaard <mjw@redhat.com>
8107
8108 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8109
8110 2015-04-27 David S. Miller <davem@davemloft.net>
8111
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8113 __tls_get_addr.
8114 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8115
8116 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8117
8118 [BZ#18333]
8119 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8120
8121 2015-04-27 Florian Weimer <fweimer@redhat.com>
8122
8123 [BZ#18333]
8124 * time/tzset.c (parse_tzname): Return error on memory allocation
8125 failure.
8126 * test-skeleton.c (struct temp_name_list): Change type of name
8127 member to non-const.
8128 (add_temp_file): Create a copy of the file name.
8129 (delete_temp_files): Deallocate memory.
8130 (create_temp_file): Add comment.
8131
8132 2015-04-24 Florian Weimer <fweimer@redhat.com>
8133
8134 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8135 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8136
8137 2015-04-24 Roland McGrath <roland@hack.frob.com>
8138
8139 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8140 * sysdeps/arm/configure: Regenerated.
8141
8142 2015-04-24 Florian Weimer <fweimer@redhat.com>
8143
8144 [BZ #17715]
8145 * time/tzfile.c (__tzfile_read): Check for large values of
8146 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8147 * time/tzset.c (__tzstring_len): New function, based on the old
8148 __tzstring function.
8149 (__tzstring): Call __tzstring_len.
8150 (parse_tzname): New helper function extracted from
8151 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8152 the input string.
8153 (parse_offset): New helper function extracted from
8154 __tzset_parse_tz. Replace switch with fallthrough with
8155 initialization before sscanf.
8156 (parse_rule): Likewise.
8157 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8158 new-style function definition.
8159 * timezone/Makefile (tests): Add tst-tzset.
8160 (tst-tzset.out): Dependencies on time zone files.
8161 (tst-tzset-ENV): Set TZDIR.
8162 (testdata/XT%): Copy crafted time zone files.
8163 * timezone/README: Mention crafted time zone files.
8164 * timezone/testdata/XT1, timezone/testdata/XT2,
8165 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8166 files.
8167 * timezone/tst-tzset.c: New test.
8168
8169 2015-04-24 Florian Weimer <fweimer@redhat.com>
8170
8171 * Makeconfig (+gccwarn): Remove -Winline.
8172
8173 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8174
8175 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8176
8177 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8178
8179 * NEWS: Mention sysconf() cache information support for s390.
8180 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8181
8182 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8183
8184 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8186 (__nearbyint): Likewise.
8187 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8188 (copysignl): Likewise.
8189
8190 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8191
8192 [BZ #18287]
8193 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8194 based on padding. (CVE-2015-1781)
8195
8196 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8197
8198 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8199 libc-vdso.h.
8200 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8201 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8202 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8203 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8204 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8205 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8209 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8212 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8213 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8214 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8215 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8216 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8218 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8219 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8220 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8221 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8222 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8223
8224 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8225
8226 * stdlib/setenv.c (__add_to_environ):
8227 Dump core quickly if setenv (..., NULL, ...) is called.
8228 This time, do it the right way, and pacify GCC with a pragma.
8229
8230 2015-04-17 Roland McGrath <roland@hack.frob.com>
8231
8232 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8233 IMAP->l_prev cannot be null, and #if out the code for the contrary
8234 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8235 believe that NS (&_dl_ns[NSID]) could point outside the array.
8236
8237 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8238 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8239 before using NSID as an index.
8240
8241 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8242
8243 [BZ #17825]
8244 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8245 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8246 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8247
8248 2015-04-17 Roland McGrath <roland@hack.frob.com>
8249
8250 Add preliminary port to Google Native Client on ARM.
8251 * abi-tags (.*-.*-nacl.*): New entry.
8252 * sysdeps/arm/nacl: New directory.
8253 * sysdeps/nacl: New directory.
8254
8255 2015-04-16 David S. Miller <davem@davemloft.net>
8256
8257 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8258 lowlevellock-futex.h
8259
8260 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8261
8262 * sysdeps/tile/configure.ac: New file.
8263 * sysdeps/tile/configure: Regenerated.
8264
8265 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8266
8267 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8268 conditionals for weak_alias and libc_hidden_weak.
8269 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8270 libc_hidden_weak and weak_alias.
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8272 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8273 and weak_alias for static one.
8274
8275 2015-04-15 David S. Miller <davem@davemloft.net>
8276
8277 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8278
8279 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8280
8281 [BZ #18206]
8282 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8283 Use signed comparision instead of substraction to avoid
8284 overflow bug.
8285 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8286 Take the sign of ret.
8287 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8288 Do not expect precise return values. Only the sign matters.
8289 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8290 * wcsmbs/test-wcsncmp.c: New File.
8291 * string/test-strncmp.c: Add wcsncmp support.
8292
8293 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8294
8295 [BZ #6792]
8296 * math/w_log1p.c: New file.
8297 * math/w_log1pf.c: Likewise.
8298 * math/w_log1pl.c: Likewise.
8299 * math/Makefile (libm-calls): Add w_log1p.
8300 * math/s_log1pl.c (log1pl): Remove weak_alias.
8301 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8302 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8303 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8304 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8305 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8306 [NO_LONG_DOUBLE] (log1pl): Likewise.
8307 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8308 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8309 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8310 (log1p): Remove long_double_symbol.
8311 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8312 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8313 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8314 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8315 remove weak_alias for corresponding log1p function.
8316 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8317 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8318 * sysdeps/ia64/fpu/w_log1p.c: New file.
8319 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8320 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8321 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8322
8323 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8324
8325 [BZ #18247]
8326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8327 decimal exponent by 1.
8328 * stdlib/tst-strtod-round-data: Add more tests.
8329 * stdlib/tst-strtod-round.c (tests): Regenerated.
8330
8331 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8332
8333 * math/auto-libm-test-in: Add more tests of clog and clog10.
8334 * math/auto-libm-test-out: Regenerated.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8337
8338 2015-04-09 Roland McGrath <roland@hack.frob.com>
8339
8340 * Makeconfig (module-cppflags): Exclude all .v.i files.
8341 (skip-module-cppflags): Variable removed.
8342
8343 * configure.ac (libc_config_ok): Initialize before reading
8344 preconfigure scripts, not after.
8345 * configure: Regenerated.
8346
8347 * test-skeleton.c (TIMEOUT): Move #define to top level.
8348 (main): Grok environment variable TEST_DIRECT. If set, print
8349 test expectation details into that file and then behave as if
8350 given --direct.
8351
8352 2015-04-09 Florian Weimer <fweimer@redhat.com>
8353
8354 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8355 warning on 32-bit.
8356
8357 2015-04-08 David S. Miller <davem@davemloft.net>
8358
8359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8360
8361 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8362
8363 * math/auto-libm-test-in: Add more tests of atanh.
8364 * math/auto-libm-test-out: Regenerated.
8365 * sysdeps/i386/fpu/libm-test-ulps: Update.
8366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8367
8368 * math/auto-libm-test-in: Add more tests of atan.
8369 * math/auto-libm-test-out: Regenerated.
8370 * sysdeps/i386/fpu/libm-test-ulps: Update.
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8372
8373 2015-04-08 Florian Weimer <fweimer@redhat.com>
8374
8375 * elf/pldd.c (main): Rewrite to use struct
8376 scratch_buffer instead of extend_alloca.
8377 * elf/pldd-xx.c (find_maps): Likewise.
8378 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8379 <alloca.h>.
8380 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8381 scratch_buffer instead of extend_alloca.
8382 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8383 grp/compat-initgroups.c.
8384 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8385 Rewrite to use struct scratch_buffer instead of extend_alloca.
8386 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8387 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8388
8389 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8390
8391 * math/auto-libm-test-in: Add more tests of cbrt.
8392 * math/auto-libm-test-out: Regenerated.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8394
8395 * math/auto-libm-test-in: Add more tests of cabs.
8396 * math/auto-libm-test-out: Regenerated.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
8400 [BZ #18210]
8401 [BZ #18211]
8402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8403 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8404 computations.
8405 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8406 clog10.
8407 * math/auto-libm-test-out: Regenerated.
8408 * sysdeps/i386/fpu/libm-test-ulps: Update.
8409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8410
8411 [BZ #18197]
8412 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8413 (atan): Set FE_TONEAREST mode for internal computations.
8414 * math/auto-libm-test-in: Add more tests of atan.
8415 * math/auto-libm-test-out: Regenerated.
8416
8417 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8418
8419 [BZ #17930]
8420 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8421
8422 2015-04-07 Florian Weimer <fweimer@redhat.com>
8423
8424 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8425
8426 2015-04-07 Florian Weimer <fweimer@redhat.com>
8427
8428 * include/scratch_buffer.h: New file.
8429 * malloc/scratch_buffer_grow.c: Likewise.
8430 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8431 * malloc/scratch_buffer_set_array_size.c: Likewise.
8432 * malloc/tst-scratch_buffer.c: Likewise.
8433 * malloc/Makefile (routines): Add scratch_buffer_grow.
8434 (tests): Add test case.
8435 * malloc/Versions (GLIBC_PRIVATE): Export
8436 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8437 __libc_scratch_buffer_set_array_size.
8438
8439 2015-04-06 Richard Henderson <rth@redhat.com>
8440
8441 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8442 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8443
8444 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8445 unsigned int before printing.
8446
8447 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8448
8449 [BZ #17596]
8450 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8451 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8452
8453 2015-04-02 Florian Weimer <fweimer@redhat.com>
8454
8455 * include/libc-internal.h (libc_max_align_t): Define.
8456
8457 2015-04-02 Andreas Schwab <schwab@suse.de>
8458
8459 [BZ #16850]
8460 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8461
8462 2015-04-02 Mel Gorman <mgorman@suse.de>
8463
8464 [BZ #17195]
8465 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8466 as well as the main arena.
8467
8468 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 [BZ #18185]
8471 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8472 sharing L2 cache to 2 for Silvermont/Knights Landing.
8473
8474 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 [BZ #17711]
8477 * config.make.in (have-protected-data): New.
8478 * configure.ac: Check linker support for protected data symbol.
8479 * configure: Regenerated.
8480 * elf/Makefile (modules-names): Add tst-protected1moda and
8481 tst-protected1modb if $(have-protected-data) is yes.
8482 (tests): Add tst-protected1a and tst-protected1b if
8483 $(have-protected-data) is yes.
8484 ($(objpfx)tst-protected1a): New.
8485 ($(objpfx)tst-protected1b): Likewise.
8486 (tst-protected1modb.so-no-z-defs): Likewise.
8487 * elf/tst-protected1a.c: New file.
8488 * elf/tst-protected1b.c: Likewise.
8489 * elf/tst-protected1mod.h: Likewise.
8490 * elf/tst-protected1moda.c: Likewise.
8491 * elf/tst-protected1modb.c: Likewise.
8492
8493 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 [BZ #17711]
8496 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8497 indicates it is called from do_lookup_x on relocation against
8498 protected data, skip the data definion in the executable from
8499 copy reloc.
8500 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8501 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8502 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8503 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8504 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8505 otherwise to 0.
8506 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8507 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8508 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8509 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8510 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8511 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8512
8513 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8514
8515 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8516 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8517
8518 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8519
8520 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8521 THREAD_SETMEM_NC.
8522 * sysdeps/x86_64/nptl/tls.h: Ditto.
8523
8524 2015-03-27 Roland McGrath <roland@hack.frob.com>
8525
8526 * dlfcn/tststatic.c (main): Converted to ...
8527 (do_test): ... this.
8528 (TEST_FUNCTION): New macro.
8529 Include test-skeleton.c.
8530
8531 2015-03-26 Alan Modra <amodra@gmail.com>
8532
8533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8534 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8535 zero for undefined weak.
8536 (elf_machine_plt_conflict): Similarly.
8537
8538 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8539
8540 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8541 atanh.
8542 * math/auto-libm-test-out: Regenerated.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
8546 * math/auto-libm-test-in: Add another test of asin.
8547 * math/auto-libm-test-out: Regenerated.
8548 * sysdeps/i386/fpu/libm-test-ulps: Update.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8550
8551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8552 Remove macro.
8553 (LLL_EBX_REG): Likewise.
8554 (LLL_ENTER_KERNEL): Likewise.
8555
8556 * math/auto-libm-test-in: Add more tests of asin.
8557 * math/auto-libm-test-out: Regenerated.
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560
8561 [BZ #18138]
8562 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8563 libc_do_syscall_args): New structure.
8564 (INTERNAL_SYSCALL_MAIN_0): New macro.
8565 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8566 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8567 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8568 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8569 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8570 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8571 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8572 Replace conditional definitions by conditional definitions of ....
8573 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8574 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8575 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8576 (libpthread-sysdep_routines): Add libc-do-syscall.
8577 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8578 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8579 to __NR_futex not 240.
8580
8581 2015-03-25 Alan Modra <amodra@gmail.com>
8582
8583 * NEWS: Advertise TLS optimization.
8584 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8585 (DT_PPC_NUM): Increment.
8586 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8587 (CHECK_STATIC_TLS): Use here.
8588 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8589 TLS descriptors.
8590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8591 * sysdeps/powerpc/dl-tls.c: New file.
8592 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8593 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8594 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8595 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8599
8600 2015-03-25 Alan Modra <amodra@gmail.com>
8601
8602 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8603 for overlapping .opd entries" to "support...".
8604 * sysdeps/powerpc/powerpc64/configure: Regenerate
8605
8606 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8607
8608 * math/auto-libm-test-in: Add more tests of acos.
8609 * math/auto-libm-test-out: Regenerated.
8610 * sysdeps/i386/fpu/libm-test-ulps: Update.
8611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8612
8613 * math/auto-libm-test-in: Add more tests of expm1.
8614 * math/auto-libm-test-out: Regenerated.
8615 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617
8618 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8619
8620 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8621 * math/auto-libm-test-out: Regenerated.
8622 * sysdeps/i386/fpu/libm-test-ulps: Update.
8623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8624
8625 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
8628 * math/auto-libm-test-in: Add more tests of log2.
8629 * math/auto-libm-test-out: Regenerated.
8630 * sysdeps/i386/fpu/libm-test-ulps: Update.
8631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8632
8633 2015-03-23 Roland McGrath <roland@hack.frob.com>
8634
8635 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8636 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8637 _IO_IS_APPENDING bit in READ_WRITE instead.
8638
8639 2015-03-23 Florian Weimer <fweimer@redhat.com>
8640
8641 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8642 (__determine_cpumask_size): Replace extend_alloca with a
8643 variable-length array. Do not treat res == 0 as an error.
8644
8645 2015-03-23 Florian Weimer <fweimer@redhat.com>
8646
8647 [BZ #18100]
8648 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8649 and integer overflow.
8650 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8651 (main): Add integer overflow tests.
8652 * manual/pattern.texi (Calling Wordexp): Document additional use
8653 for WRDE_SYNTAX.
8654
8655 2015-03-23 Alan Modra <amodra@gmail.com>
8656
8657 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8658 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8659 and false branch of conditional.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8661 Likewise.
8662
8663 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8664
8665 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8666 libc-modules.h
8667 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8668 unused declaration of _hurd_intr_rpc_msg_in_trap.
8669 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8670 defined instead of whether it is non-zero.
8671 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8672 input constraint instead of both input and output constraint. Use ecx
8673 clobber instead of %ecx.
8674 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8675 mutex_unlock): Use a statement expression instead of an expression list.
8676 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8677 type to vm_size_t instead of vm_address_t.
8678 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8679 defined instead of whether it is non-zero.
8680 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8681 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8682 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8683 comparisons with mapaddr.
8684 * nscd/nscd-client.h: Include <time.h>.
8685 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8686 9th parameter to __vm_region instead of int.
8687 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8688 * scripts/check-local-headers.sh (exclude): Add device/,
8689 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8690 cthreads.h.
8691
8692 2015-03-19 Roland McGrath <roland@hack.frob.com>
8693
8694 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8695 to account for alignment padding.
8696 * sysdeps/arm/memmove.S: Likewise.
8697
8698 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8699
8700 * sysdeps/unix/sysv/linux/generic/README: New file.
8701
8702 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8703
8704 [BZ #18138]
8705 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8706 (futex_abstimed_wait)
8707 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8708 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8709 of lll_futex_timed_wait.
8710
8711 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8712
8713 [BZ #17542]
8714 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8715
8716 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8717
8718 [BZ #17090]
8719 [BZ #17620]
8720 [BZ #17621]
8721 [BZ #17628]
8722 * NEWS: Update.
8723 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8724 entries with Static TLS too. Skip entries past the end of the
8725 allocated DTV, from Alan Modra.
8726 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8727 Static TLS DTV entry set up from...
8728 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8729 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8730 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8731 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8732 for Static TLS.
8733 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8734 that the slot we find is associated with the given map before
8735 using its generation count.
8736 * nptl_db/db_info.c: Include ldsodefs.h.
8737 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8738 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8739 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8740 (link_map::l_tls_offset): New struct field.
8741 (dtv_t::counter): Likewise.
8742 (rtld_global): New struct.
8743 (_rtld_global): New rtld variable.
8744 (dl_tls_dtv_slotinfo_list): New rtld global field.
8745 (dtv_slotinfo_list): New struct.
8746 (dtv_slotinfo): Likewise.
8747 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8748 (td_lookup): Rename to...
8749 (td_mod_lookup): ... this. Use new mod parameter instead of
8750 LIBPTHREAD_SO.
8751 * nptl_db/td_thr_tlsbase.c: Include link.h.
8752 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8753 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8754 addresses even if the DTV is out of date or missing them.
8755 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8756 index zero-length arrays.
8757 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8758 (td_lookup): Make it a macro implemented in terms of...
8759 (td_mod_lookup): ... this declaration.
8760 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8761 (DB_MAIN_VARIABLE): Likewise.
8762
8763 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8764
8765 [BZ #18134]
8766 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8767
8768 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8769
8770 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8771
8772 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8773
8774 [BZ #18128]
8775 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8776 (atomic_add, atomic_increment_and_test)
8777 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8778
8779 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 * stdlib/setenv.c (__add_to_environ):
8782 Dump core quickly if setenv (..., NULL, ...) is called.
8783
8784 2015-03-13 Roland McGrath <roland@hack.frob.com>
8785
8786 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8787 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8788 all the necessary asm magic in one place.
8789 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8790 using those.
8791
8792 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8793
8794 [BZ #14906]
8795 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8796 traced file mtime. Use consistent log message.
8797 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8798 (register_traced_file): Call install_watches. Always set mtime.
8799 (invalidate_cache): Iterate over all trace files. Call install_watches.
8800 (inotify_check_files): Don't inline. Handle watching parent
8801 directories and configuration file movement in and out.
8802 (handle_inotify_events): New function.
8803 (main_loop_poll): Call handle_inotify_events.
8804 (main_loop_epoll): Likewise.
8805 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8806 (struct traced_file): Use array of inotify fds. Add parent directory,
8807 and basename.
8808 (struct database_dyn): Remove unused file_mtime.
8809 (init_traced_file): New inline function.
8810 (define_traced_file): New macro.
8811 * nss/nss_db/db-init.c: Use define_traced_file.
8812 (_nss_db_init): Use init_traced_file.
8813 * nss/nss_files/files-init.c: Use define_traced_file.
8814 (_nss_files_init): Use init_traced_file.
8815
8816 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8817
8818 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8819 [_LIBC]: Do not include <stdlib.h>.
8820 [!_LIBC] (abort): Remove declaration.
8821 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8822 _FP_STATIC_ASSERT instead of conditionally calling abort.
8823 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8824 (_FP_EXTEND_CNAN): Likewise.
8825 (FP_TRUNC): Likewise.
8826 (__FP_CLZ): Likewise.
8827 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8828
8829 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8830
8831 * manual/string.texi (XPG basename): Fix prototype.
8832
8833 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8834
8835 [BZ #18080]
8836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8837 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8839 (__setcontext): Likewise.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8841 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8842 Call rt_sigprocmask syscall one time to set new signal mask
8843 and retrieve the current signal mask instead of two calls.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8845 (__swapcontext): Likewise.
8846 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8847 * stdlib/tst-setcontext2.c: New file.
8848
8849 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8850
8851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8852
8853 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8854
8855 [BZ #18093]
8856 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8857 the wrong size.
8858
8859 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8860
8861 [BZ #18043]
8862 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8863
8864 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8865
8866 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8867 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8868 Remove define.
8869 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8870 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8871 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8872 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8873 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8874 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8875 define.
8876 * nptl_db/td_symbol_list.c (td_lookup): Remove
8877 HAVE_ASM_GLOBAL_DOT_NAME code.
8878 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8879 HAVE_ASM_GLOBAL_DOT_NAME check.
8880 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8881 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8882 (DOT_LABEL): Remove define.
8883 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8884 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8885 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8886 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8887 (__TLS_GET_ADDR): Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8889 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8890
8891 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8892
8893 [BZ #18111]
8894 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8895 (_FPU_SETCW): Initialize cw from fpsr before storing.
8896 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8897 (fesetexceptflag): Rewrite using fpu_control.h.
8898 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8899
8900 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8901
8902 [BZ #18110]
8903 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8904 asms.
8905 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8906
8907 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8908
8909 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8910 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8911 abort.
8912 (_FP_FMA): Likewise.
8913 (_FP_DIV): Likewise.
8914
8915 2015-03-10 Roland McGrath <roland@hack.frob.com>
8916
8917 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8918 with 0 in that case.
8919 * Makefile (summarize-tests): New canned sequence, factored out of
8920 commands for targets tests and xtests. Display summary lines that
8921 don't start with PASS: or XFAIL: rather than ones that do start with
8922 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8923 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8924 do start with ERROR: or FAIL:.
8925 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8926 (except for [$(build-shared) = yes]).
8927 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8928 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8929 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8930 * nptl/Makefile: Revert 2015-03-04 changes.
8931 [$(CXX) empty] (tests-unsupported): New variable.
8932 * debug/Makefile: Likewise.
8933
8934 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8935 gnulib file. Replace __attribute with __attribute__ throughout.
8936
8937 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8938
8939 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8940
8941 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8942
8943 [BZ #18104]
8944 * math/auto-libm-test-in: Add another test of pow.
8945 * math/auto-libm-test-out: Regenerated.
8946
8947 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8948
8949 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8950 $(config-cflags-nofma).
8951
8952 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8953
8954 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8955 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8956 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8957 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8958 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8959 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8960 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8961 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8962 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8963 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8964 Add comment on closing #endif.
8965
8966 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8967
8968 * posix/wordexp.c (CHAR_IN_SET): New macro.
8969 (parse_param): Use it.
8970
8971 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8972
8973 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8974
8975 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8976
8977 [BZ #18043]
8978 * posix/wordexp.c (parse_param): Fix buffer overflow.
8979 * posix/wordexp-test.c (test_case): Add test case.
8980
8981 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8982
8983 [BZ #18042]
8984 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8985 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8986
8987 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8988
8989 [BZ #18043]
8990 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8991 (do_bz18043): Delete.
8992 (at_page_end): New.
8993 (testit): Refactor to have words at the edge of unreadable page.
8994
8995 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8996
8997 [BZ #16734]
8998 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8999 Cleanup read-only streams as well.
9000 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9001
9002 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9003
9004 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9005 <bits/libc-lockP.h>
9006
9007 2015-03-07 Joseph Myers <joseph@codesourcery.com>
9008
9009 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
9010 on [__KERNEL__].
9011 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9012 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9013 * soft-fp/op-common.h (_FP_DECL): Likewise.
9014
9015 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * elf/ifuncdep2.c (global): Replace
9018 __attribute__((visibility("protected"))) with
9019 asm (".protected global").
9020 * elf/ifuncmod1.c (global): Likewise.
9021 * elf/ifuncmod5.c (global): Likewise.
9022
9023 2015-03-06 Joseph Myers <joseph@codesourcery.com>
9024
9025 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9026 <asm/sfp-machine.h> instead of <sfp-machine.h>.
9027
9028 2015-03-06 Roland McGrath <roland@hack.frob.com>
9029
9030 * manual/install.texi (Configuring and compiling):
9031 Document test-wrapper-env-only.
9032 * INSTALL: Regenerated.
9033
9034 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9035
9036 [BZ #18043]
9037 * posix/wordexp.c (parse_param): Fix buffer overflow.
9038 * posix/wordexp-test.c (do_bz18043): Add test case.
9039
9040 2015-03-06 Vincent Bernat <vincent@bernat.im>
9041
9042 * time/tst-strptime2.c (do_test): Ensure failing tests are
9043 reported correctly.
9044 * time/tst-strptime3.c (do_test): Likewise.
9045
9046 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
9047
9048 Fix aio_error thread-safety.
9049 * sysdeps/pthread/aio_error.c: New file
9050 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9051 synchronization.
9052
9053 2015-03-06 Florian Weimer <fweimer@redhat.com>
9054
9055 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9056 (group_number, vfprintf): Use it.
9057 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9058 (JUMP, REF): Use it.
9059 (WORK_BUFFER_SIZE): New enum constant.
9060 (process_arg, vfprintf): Use it.
9061
9062 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
9063
9064 * manual/errno.texi (Error Messages): Complete example function
9065 by adding missing #define.
9066 (program_invocation_name): Add statement indicating GNU
9067 extension and reference which header file declares the variable.
9068 (program_invocation_short_name): Likewise.
9069
9070 2015-03-06 Mike Frysinger <vapier@gentoo.org>
9071
9072 * manual/errno.texi (Error Messages): Delete strerror ISO C89
9073 compatibility note.
9074
9075 2015-03-05 Roland McGrath <roland@hack.frob.com>
9076
9077 * Makeconfig (test-wrapper-env-only): New variable.
9078 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9079 then use that with $(test-wrapper-env-only) rather than using
9080 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9081
9082 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 [BZ #18082]
9085 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9086 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9087 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9088 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9089 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9090 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9091 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9092 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9093 Likewise.
9094 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9096 Likewise.
9097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9098 Likewise.
9099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9100 Likewise.
9101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9102 Likewise.
9103 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9105 Likewise.
9106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9107 Likewise.
9108 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9109 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9110
9111 2015-03-04 Roland McGrath <roland@hack.frob.com>
9112
9113 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9114 (ETH_ALEN): New macro.
9115 (struct ether_addr): Use it for length of ether_addr_octet.
9116
9117 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9118 (setdb): Don't call __nss_configure_lookup for "rpc".
9119 (do_test): Don't call test_rpc.
9120 (output_rpcent, test_rpc): Functions moved ...
9121 * sunrpc/test-rpcent.c: ... to this new file.
9122 * sunrpc/Makefile (tests): Add it.
9123
9124 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9125 __xpg_sigpause.
9126 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9127 * nptl/tst-signal6.c: Likewise.
9128 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9129 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9130
9131 * configure.ac (libc_cv_cxx_link_ok): New check.
9132 Reset CXX to empty if it fails to link.
9133 * configure: Regenerated.
9134 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9135 bug-atexit3-lib only if $(CXX) is nonempty.
9136 * nptl/Makefile (tests): Likewise for tst-cancel24.
9137 (tests, tests-static): Likewise for tst-cancel24-static.
9138 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9139 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9140 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9141 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9142
9143 2015-03-04 Andreas Schwab <schwab@suse.de>
9144
9145 [BZ #17631]
9146 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9147 for non-GCC compilers.
9148 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9149 Likewise.
9150
9151 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9152
9153 [BZ #17776]
9154 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9155 integer before bitwise and assembly operations.
9156 (feclearexcept): Likewise.
9157 * math/test-fenvinline.c: New file.
9158 * math/Makefile: Add test-fenvinline test.
9159
9160 2015-03-03 Alan Modra <amodra@gmail.com>
9161
9162 [BZ #16512]
9163 * scripts/localplt.awk: Strip off symbol version.
9164 * NEWS: Mention bug fix.
9165
9166 2015-03-02 Roland McGrath <roland@hack.frob.com>
9167
9168 * sysdeps/pthread/timer_routines.c
9169 (timer_free_list, thread_free_list, thread_active_list): Make static.
9170
9171 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9172
9173 [BZ #17779]
9174 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9175 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9176 Undefine.
9177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9178 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9179 Likewise.
9180 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9181 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9182 Likewise.
9183
9184 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9185
9186 [BZ #18036]
9187 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9188 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9189
9190 2015-03-02 Andreas Schwab <schwab@suse.de>
9191
9192 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9193 variable name.
9194
9195 2015-03-02 Florian Weimer <fweimer@redhat.com>
9196
9197 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9198 Return error status.
9199
9200 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9201
9202 [BZ #15969]
9203 * locale/findlocale.c (_nl_find_locale): Introduce const
9204 version of loc_name and drop unsafe type casts.
9205
9206 2015-02-27 Roland McGrath <roland@hack.frob.com>
9207
9208 * dlfcn/tststatic2.c (main): Converted to ...
9209 (do_test): ... this.
9210 (TEST_FUNCTION): New macro.
9211 Include test-skeleton.c.
9212
9213 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 [BZ #17711]
9216 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9217 (tests-pie): Add vismain.
9218 (CFLAGS-vismain.c): New.
9219 * elf/vismain.c: Add comments for PIE requirement.
9220
9221 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9222
9223 [BZ #18046]
9224 [BZ #18047]
9225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9226 0x1p-56L as threshold for just returning the argument.
9227 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9228 0x1p-32L as threshold for just returning the argument.
9229 * math/auto-libm-test-in: Add more tests of atanh.
9230 * math/auto-libm-test-out: Regenerated.
9231 * sysdeps/i386/fpu/libm-test-ulps: Update.
9232 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9233
9234 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9235
9236 * string/bcopy.c (bcopy): Call memmove for performance.
9237
9238 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9239
9240 * string/bzero.c (__bzero): Call memset for performance.
9241
9242 2015-02-27 John David Anglin <dave.anglin@bell.net>
9243
9244 [BZ #18068]
9245 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9246 to 00100000.
9247
9248 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9249
9250 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9251
9252 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9253
9254 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9255 (__kernel_standard): Use CSTR macro when setting exc.name.
9256 * sysdeps/ieee754/Makefile [$(subdir) = math]
9257 (CFLAGS-k_standard.c): Remove variable.
9258
9259 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9260 setting p and q from "else if" to "else".
9261 (qzero): Likewise.
9262 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9263 (qone): Likewise.
9264 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9265 (qzerof): Likewise.
9266 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9267 (qonef): Likewise.
9268 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9269 (qzero): Likewise.
9270 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9271 (qone): Likewise.
9272
9273 [BZ #18038]
9274 [BZ #18039]
9275 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9276 return pi/2 for arguments below 0x1p-113L.
9277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9278 return pi/2 for arguments below 0x1p-106L.
9279 * math/auto-libm-test-in: Add more tests of acos.
9280 * math/auto-libm-test-out: Regenerated.
9281
9282 [BZ #16351]
9283 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9284 (MO): New macro.
9285 (__ieee754_asin): Force underflow exception for results with small
9286 absolute value.
9287 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9288 (MO): New macro.
9289 (__ieee754_asinf): Force underflow exception for results with
9290 small absolute value.
9291 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9292 (__ieee754_asin): Force underflow exception for results with small
9293 absolute value.
9294 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9295 (__ieee754_asinf): Force underflow exception for results with
9296 small absolute value.
9297 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9298 (__ieee754_asinl): Force underflow exception for results with
9299 small absolute value.
9300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9301 (__ieee754_asinl): Force underflow exception for results with
9302 small absolute value.
9303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9304 (__ieee754_asinl): Force underflow exception for results with
9305 small absolute value.
9306 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9307 Include <math.h>.
9308 * math/auto-libm-test-in: Do not mark underflow exceptions as
9309 possibly missing for bug 16351.
9310 * math/auto-libm-test-out: Regenerated.
9311
9312 [BZ #18030]
9313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9314 of power of 2 down when low part has opposite sign.
9315 * math/libm-test.inc (logb_test_data): Add more tests.
9316
9317 2015-02-26 Andreas Schwab <schwab@suse.de>
9318
9319 [BZ #18032]
9320 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9321 over collating symbol inside a bracket expression. Minor cleanup.
9322 * posix/tst-fnmatch3.c (do_test): Add test case.
9323
9324 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9325
9326 [BZ #18029]
9327 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9328 Adjust exponent of power of 2 down when low part has opposite
9329 sign.
9330 * math/libm-test.inc (ilogb_test_data): Add more tests.
9331
9332 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9333
9334 [BZ #15969]
9335 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9336 the previous change.
9337
9338 [BZ #15969]
9339 * locale/findlocale.c (_nl_find_locale): Retry archive search
9340 after alias expansion.
9341
9342 2015-02-25 Roland McGrath <roland@hack.frob.com>
9343
9344 * iconv/tst-iconv3.c (main): Converted to ...
9345 (do_test): ... this.
9346 (TEST_FUNCTION): New macro.
9347 Include test-skeleton.c.
9348
9349 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9350 (convert): Make function static.
9351 (test_unalign): Likewise. Add const to argument pointee types.
9352 (main): Replace with static function do_test.
9353 Print "Succeeded." only if RET is zero.
9354 (TEST_FUNCTION): New macro.
9355 Include test-skeleton.c.
9356
9357 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9358 returns a null pointer.
9359
9360 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9361
9362 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9363 to __memcpy_ppc only for static builds.
9364
9365 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9366
9367 [BZ #18020]
9368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9369 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9370 * math/auto-libm-test-in: Add more tests of asinh.
9371 * math/auto-libm-test-out: Regenerated.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9374
9375 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9376
9377 [BZ #15850]
9378 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9379 and ip6_mtuinfo definitions here.
9380 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9381 in this define too. Update comment.
9382
9383 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9384
9385 * elf/sprof.c (load_shobj): Tweak error message to match others.
9386
9387 2015-02-24 Kevin Easton <kevin@guarana.org>
9388
9389 [BZ #16145] (partial fix)
9390 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9391 to reduce lock contention.
9392
9393 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9394
9395 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9396 (struct timex): Update time comment.
9397 (ADJ_SETOFFSET): Define.
9398
9399 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9400
9401 [BZ #18019]
9402 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9403 2**56 not 2**28 as threshold for log (2x) formula.
9404 * math/auto-libm-test-in: Add more tests of acosh.
9405 * math/auto-libm-test-out: Regenerated.
9406 * sysdeps/i386/fpu/libm-test-ulps: Update.
9407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9408
9409 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9410
9411 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9412 parenthesis around the buf assignment.
9413 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9414
9415 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9416
9417 [BZ #16783]
9418 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9419 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9420 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9421 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9422 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9423 * math/libm-test.inc (scalb_test_data): Add more tests.
9424
9425 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9426
9427 [BZ #17916]
9428 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9429 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9430
9431 2015-02-24 Eric Rannaud <e@nanocritical.com>
9432
9433 [BZ #17523]
9434 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9435 * io/bits/fcntl2.h (open): Use it.
9436 (openat): Likewise.
9437 * io/open.c (__libc_open): Likewise.
9438 * io/open64.c (__libc_open64): Likewise.
9439 * io/open64_2.c (__open64_2): Likewise.
9440 * io/open_2.c (__open_2): Likewise.
9441 * io/openat.c (__openat): Likewise.
9442 * io/openat64.c (__openat64): Likewise.
9443 * io/openat64_2.c (__openat64_2): Likewise.
9444 * io/openat_2.c (__openat_2): Likewise.
9445 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9446 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9447 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9448 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9449 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9450 (__open_nocancel): Likewise.
9451 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9452 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9454
9455 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9456
9457 [BZ #14841]
9458 * resolv/gethnamaddr.c (getanswer): Skip logging if
9459 RES_USE_DNSSEC is set.
9460 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9461
9462 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9463
9464 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9465
9466 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9467
9468 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9469 201304L, for Unicode 7.
9470
9471 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 [BZ #17836]
9474 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9475 shared library. Add gmon-start.os otherwise.
9476 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9477 $(objpfx)gmon-start.os if builing shared library.
9478 ($(objpfx)g$(static-start-installed-name)): Likewise.
9479
9480 2015-02-23 Andreas Schwab <schwab@suse.de>
9481
9482 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9483
9484 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9485
9486 [BZ #17269]
9487 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9488 (enlarge_userbuf): Likewise.
9489
9490 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9491
9492 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9493 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9494 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9495 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9496
9497 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9498
9499 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9500 expression inside statement expression.
9501
9502 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9503
9504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9505 <sysdeps/nptl/lowlevellock.h> and remove macros and
9506 functions that are now defined there.
9507 (SYS_futex): Remove.
9508 (lll_compare_and_swap): Remove.
9509 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9510
9511 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9512
9513 [BZ #17999]
9514 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9515 instead of scandirat.
9516 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9517 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9518 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9519 __scandirat.
9520 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9521 (__scandirat): Declare. Use libc_hidden_proto.
9522 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9523 Remove variable.
9524 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9525
9526 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9527
9528 [BZ #15319]
9529 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9530 (MO): New macro.
9531 (__ieee754_atan2): For results with small absolute value, force
9532 underflow exception and remove excess range and precision from
9533 return value.
9534 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9535 (MO): New macro.
9536 (__ieee754_atan2f): For results with small absolute value, force
9537 underflow exception and remove excess range and precision from
9538 return value.
9539 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9540 (MO): New macro.
9541 (__atan): For results with small absolute value, force underflow
9542 exception and remove excess range and precision from return value.
9543 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9544 (MO): New macro.
9545 (__atanf): For results with small absolute value, force underflow
9546 exception and remove excess range and precision from return value.
9547 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9548 <math.h>.
9549 (__ieee754_atan2): Force underflow exception for results with
9550 small absolute value.
9551 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9552 <math_private.h>.
9553 (atan): Force underflow exception for results with small absolute
9554 value.
9555 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9556 (__atanf): Force underflow exception for results with small
9557 absolute value.
9558 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9559 <math.h>.
9560 (__atanl): Force underflow exception for results with small
9561 absolute value.
9562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9563 (__atanl): Force underflow exception for results with small
9564 absolute value.
9565 * sysdeps/x86/fpu/bits/mathinline.h
9566 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9567 (__ieee754_atan2): Only define inline for long double.
9568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9569 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9570 * math/auto-libm-test-in: Do not mark underflow exceptions as
9571 possibly missing for bug 15319. Add more tests of atan2.
9572 * math/auto-libm-test-out: Regenerated.
9573 * math/libm-test.inc (casin_test_data): Do not mark underflow
9574 exceptions as possibly missing for bug 15319.
9575 (casinh_test_data): Likewise.
9576 * sysdeps/i386/fpu/libm-test-ulps: Update.
9577
9578 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9579
9580 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9581 * sysdeps/mips/bits/endian.h: Fix comments.
9582
9583 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9584
9585 [BZ #17996]
9586 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9587 (hdestroy_r): Likewise.
9588 (hsearch_r): Likewise.
9589 (__hcreate_r): Declare and use libc_hidden_proto.
9590 (__hdestroy_r): Likewise.
9591 (__hsearch_r): Likewise.
9592 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9593 (hcreate): Call __hcreate_r instead of hcreate_r.
9594 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9595 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9596 as weak alias of __hcreate_r.
9597 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9598 __hdestroy_r.
9599 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9600 __hsearch_r.
9601 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9602 Remove variable.
9603 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9604 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9605 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9606 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9607
9608 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9609
9610 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9611 arena_lock into a single arena_get.
9612
9613 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9614
9615 * dl-reloc.c: Inlucde libc-internal.h.
9616 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9617 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9618 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9619 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9620 (grow_heap): Likewise.
9621 * malloc/malloc.c: Include libc-internal.h.
9622 (do_check_malloc): Call powerof2.
9623 (sysmalloc): Use pagesize. Call ALIGN_UP.
9624 (systrim): Use pagesize.
9625 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9626 (__libc_valloc): Use pagesize.
9627 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9628
9629 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9630
9631 [BZ #17991]
9632 * include/sys/resource.h (__getrlimit64): Declare. Use
9633 libc_hidden_proto.
9634 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9635 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9636 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9637 getrlimit64.
9638 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9639 __getrlimit64.
9640 [!getrlimit64] (getrlimit64): Define as weak alias of
9641 __getrlimit64. Use libc_hidden_weak.
9642 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9643 using __getrlimit64 not __new_getrlimit64.
9644 (__GI_getrlimit64): Likewise.
9645 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9646 Likewise.
9647 (__GI_getrlimit64): Likewise.
9648 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9650 (getrlimit): Add __getrlimit64 alias.
9651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9652 Likewise.
9653 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9654 Remove variable.
9655 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9656 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9657
9658 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9659
9660 * libio/fileops.c: Add missing sys/mman.h
9661 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9662
9663 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9664
9665 * manual/math.texi (Errors in Math Functions): Clarify goals
9666 regarding inexact and underflow exceptions.
9667
9668 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9669
9670 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9671 * sysdeps/mips/memset.S: Ditto.
9672
9673 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9674
9675 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9676
9677 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9678
9679 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9680 (__v1longjmp): Remove versioned symbol.
9681 (__v1siglongjmp): Remove alias and versioned symbol.
9682 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9683 (__v2siglongjmp): Likewise.
9684
9685 2015-02-16 Torvald Riegel <triegel@redhat.com>
9686
9687 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9688
9689 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9690
9691 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9692
9693 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9694
9695 [BZ #17987]
9696 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9697 zero result does not depend on the sign resulting from
9698 subtraction.
9699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9700 Likewise.
9701 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9702 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9704 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9705 * math/libm-test.inc (remquo_test_data): Add more tests.
9706
9707 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9708
9709 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9710 Problem reported by J William Piggott.
9711
9712 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9713
9714 [BZ #17978]
9715 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9716 products 4 * y and 2 * y where those would overflow.
9717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9718 Likewise.
9719 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9722 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9723 * math/libm-test.inc (remquo_test_data): Add more tests.
9724
9725 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9726
9727 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9728 [defined _COMPILING_NEWLIB].
9729 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9730 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9731
9732 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9733 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9734
9735 2015-02-16 Torvald Riegel <triegel@redhat.com>
9736
9737 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9738 acquired.
9739
9740 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9741
9742 [BZ #17792]
9743 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9744 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9745 HOST_STACK_END_ADDR): Likewise.
9746
9747 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9748
9749 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9750 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9751 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9752
9753 2015-02-13 Roland McGrath <roland@hack.frob.com>
9754
9755 * sysdeps/generic/c++-types.data: New file.
9756 * sysdeps/generic/ld.abilist: New file.
9757 * sysdeps/generic/libBrokenLocale.abilist: New file.
9758 * sysdeps/generic/libanl.abilist: New file.
9759 * sysdeps/generic/libc.abilist: New file.
9760 * sysdeps/generic/libcrypt.abilist: New file.
9761 * sysdeps/generic/libdl.abilist: New file.
9762 * sysdeps/generic/libm.abilist: New file.
9763 * sysdeps/generic/libpthread.abilist: New file.
9764 * sysdeps/generic/libresolv.abilist: New file.
9765 * sysdeps/generic/librt.abilist: New file.
9766
9767 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9768
9769 [BZ #17569]
9770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9771 Compute absolute value of x as modified by fmod, not original
9772 value of x.
9773 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9774 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9775 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9776 RUN_TEST_ffI_f1_mod8.
9777 (remquo_test_data): Add more tests.
9778
9779 2015-02-13 Roland McGrath <roland@hack.frob.com>
9780
9781 * sysdeps/init_array/pt-crti.S: New file.
9782
9783 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9784
9785 [BZ #17967]
9786 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9787 __builtin_fmaf instead of relying on contraction of a * b + c.
9788
9789 2015-02-12 J William Piggott <elseifthen@gmx.com>
9790
9791 [BZ #17969]
9792 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9793 node.
9794
9795 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9796
9797 [BZ #17964]
9798 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9799 __builtin_fma instead of relying on contraction of a * b + c.
9800
9801 2015-02-12 Roland McGrath <roland@hack.frob.com>
9802
9803 * Makeconfig (ASFLAGS): Add -Werror=undef.
9804 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9805 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9806 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9807
9808 * Makeconfig (after-link): New variable.
9809 (+link-pie, +link-pie-tests): Use it.
9810 (+link-static, +link-static-tests): Likewise.
9811 (+link, +link-tests): Likewise.
9812 * Makerules (build-module, build-module-asneeded): Likewise.
9813 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9814 Likewise.
9815 * elf/Makefile ($(objpfx)ld.so): Likewise.
9816
9817 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9818
9819 [BZ #17965]
9820 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9821 both struct timeval and struct timespec.
9822
9823 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9824
9825 [BZ #16560]
9826 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9827 and redefine.
9828 (__ieee754_exp2l): Do not multiply small fractional parts by
9829 M_LN2l.
9830 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9831 small argument.
9832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9833 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9834 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9835 * math/auto-libm-test-in: Add more tests of exp2.
9836 * math/auto-libm-test-out: Regenerated.
9837
9838 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9839
9840 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9841 unaligned path.
9842
9843 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9844
9845 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9846 little endian.
9847
9848 2015-02-12 Andreas Schwab <schwab@suse.de>
9849
9850 [BZ #15790]
9851 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9852 Filter out elision flags from value returned in kind.
9853 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9854 * nptl/tst-pthread-mutexattr.c: New file.
9855
9856 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9857
9858 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9859 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9860 into gnu-gnu, and update comment to refer to abi-tags.
9861
9862 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9863
9864 [BZ #15467]
9865 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9866 (__sincos): Set errno to EDOM for infinite argument.
9867 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9868 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9869 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9870 (__sincosl): Set errno to EDOM for infinite argument.
9871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9872 (__sincosl): Set errno to EDOM for infinite argument.
9873 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9874 (__sincosl): Set errno to EDOM for infinite argument.
9875 * math/libm-test.inc (sincos_test_data): Test errno setting.
9876
9877 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9878
9879 * string/strxfrm_l.c: Remove #define STRCMP.
9880 * string/strcoll_l.c: Remove #define STRLEN.
9881 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9882 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9883
9884 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9885
9886 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9887 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9888 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9889 * sysdeps/mips/mips64/Makefile: ... here.
9890 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9891 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9892 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9893 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9894 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9895 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9896 * sysdeps/mips/mips64/n64/Implies: Likewise.
9897
9898 2015-02-10 Roland McGrath <roland@hack.frob.com>
9899
9900 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9901 <sys/time.h>, <string.h>, and <errno.h>.
9902 (dest_offset, dest_address, value, zero): Remove unused variables.
9903 (ldouble): Remove typedef.
9904 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9905 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9906 1). Fix code style.
9907 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9908 (check): Function removed.
9909 (CHECK): New macro.
9910 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9911 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9912 Don't call set_sigaction_FP and remove_sigaction_FP here.
9913 (ldouble_test): Just use 'long double' as macro argument, no need for
9914 the 'ldouble' typedef.
9915 (do_test): Set up SIGFPE handler at start, using plain signal rather
9916 than sigaction. Fix code style.
9917
9918 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9919
9920 [BZ #17949]
9921 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9922 jump label.
9923
9924 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9925
9926 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9928
9929 * sysdeps/powerpc/configure.ac: Remove file.
9930 * sysdeps/powerpc/configure: Likewise.
9931
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9933 [sysdep_routines]: Remove wordcopy-power6 object.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9935 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9937 (__memmove_ppc32): Likewise.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9939 file.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9941 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9942 Remove preprocessor.
9943
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9945 [sysdep_routines]: Remove wide chars objects.
9946 [wcsmbs]: New rule for wide char objects.
9947
9948 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9949 Remove wordcopy-power6 obejct.
9950 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9951 Use local call for wordcopy and memcpy symbols.
9952 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9954 implementation for loader.
9955 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9956
9957 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9958 Remove wordcopy-power7 object.
9959 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9960 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9961 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9962 (_wordcopy_fwd_dest_aligned): Likewise.
9963 (_wordcopy_bwd_aligned): Likewise.
9964 (_wordcopy_bwd_dest_aligned): Likewise.
9965
9966 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9967 Rewrite to call __memmove_ppc instead of include default
9968 implementation.
9969
9970 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9971 Remove wide chars objects.
9972 [wcsmbs]: New rule for wide char objects.
9973
9974 2015-02-09 Andreas Schwab <schwab@suse.de>
9975
9976 [BZ #17912]
9977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9978 in terms of __O_DIRECTORY.
9979
9980 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9981
9982 * time/getdate.c: Include <stdbool.h>.
9983 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9984 call PTR_MANGLE.
9985 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9986 PTR_DEMANGLE.
9987
9988 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9989
9990 Add ersatz _Static_assert on older C hosts
9991 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9992 pre-C11 C platform that is not known to support _Static_assert.
9993
9994 2015-02-07 Richard Braun <rbraun@sceen.net>
9995
9996 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9997 sigstate.
9998 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9999
10000 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10001
10002 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10003 priority against unexistent AIO_PRIO_DELTA_MAX.
10004 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10005 instead of int.
10006 * misc/fchflags.c (fchflags): Likewise.
10007 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10008 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10009 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10010 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10011 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10012 Declare macros.
10013 [__USE_MISC] (chflags, fchflags): Declare functions.
10014 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10015 EINVAL when nfds is greater than FD_SETSIZE.
10016 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10017 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10018 45.
10019 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10020 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10021 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10022 MACH_RCV_TIMED_OUT.
10023 * hurd/hurd/signal.h (_hurd_self_sigstate,
10024 _hurd_critical_section_lock, _hurd_critical_section_unlock):
10025 Explicit casts from void *.
10026 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10027 * abi-tags: Rename gnu-gnu os into gnu.
10028
10029 [BZ #4719]
10030 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10031 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10032 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10033 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10034 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10035 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10036
10037 [BZ #17944]
10038 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10039 duplicates ADDR->sun_path with sockaddr LEN limitation.
10040 * sysdeps/mach/hurd/connect.c: Include <string.h>
10041 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10042 * sysdeps/mach/hurd/sendmsg.c: Likewise.
10043 * sysdeps/mach/hurd/sendto.c: Likewise.
10044 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10045 implementing it by hand.
10046
10047 2015-02-06 Roland McGrath <roland@hack.frob.com>
10048
10049 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10050 Use sfi_breg on ldr.
10051 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10052 Likewise.
10053
10054 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10055 it's defined.
10056 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10057 Test SIGSETXID only if it's defined.
10058
10059 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10060
10061 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10062 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
10063
10064 * nptl/tst-align2.c: Moved ...
10065 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10066 * nptl/Makefile (tests): Remove tst-align2.
10067 * sysdeps/unix/sysv/linux/Makefile
10068 [$(subdir) = nptl] (tests): Add tst-align-clone.
10069 * nptl/tst-getpid1.c: Moved ...
10070 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10071 * nptl/tst-getpid2.c: Moved ...
10072 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10073 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10074 * sysdeps/unix/sysv/linux/Makefile
10075 [$(subdir) = nptl] (tests): ... here.
10076 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10077 * sysdeps/unix/sysv/linux/Makefile
10078 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10079
10080 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10081 Drop trailing \n from perror argument. Use return rather than exit.
10082
10083 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10084 on [SA_SIGINFO].
10085 * nptl/tst-cancel21.c (do_test): Likewise.
10086 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10087 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10088 [!SA_SIGINFO]: Make it a stub test.
10089
10090 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10091 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10092
10093 * posix/tst-getlogin.c: Move to ...
10094 * login/tst-getlogin.c: ... here.
10095 * posix/Makefile (tests): Move tst-getlogin to ...
10096 * login/Makefile (tests): ... here.
10097
10098 * libio/tst-atime.c (do_test): Move local variables SV and E
10099 inside [ST_NOATIME] conditional.
10100
10101 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10102
10103 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10104
10105 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10106 (wait_code): New function replaces macro.
10107 Call nanosleep rather than syscall.
10108
10109 * nptl/pt-system.c: Rewritten. Put everything under
10110 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10111 Use IFUNC to redirect when possible.
10112
10113 * nptl/pt-longjmp.c: Rewritten. Put everything under
10114 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10115 Use IFUNC to redirect when possible.
10116
10117 * nptl/pt-fork.c: Rewritten. Put everything under
10118 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10119 Use IFUNC to redirect when possible.
10120 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10121
10122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10123 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10124 unconditionally nowadays. This included the only reference to
10125 __vdso_clock_gettime that appears outside libc proper.
10126 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10127 Remove version set (containing only __vdso_clock_gettime).
10128 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10129 Add attribute_hidden.
10130 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10131 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10132 libc_hidden_data_def.
10133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10135
10136 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10137 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10138 setrpcent, and getrpcport to ...
10139 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10140 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10141 getrpcbynumber_r, and getrpcent_r to ...
10142 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10143 * inet/getrpcbyname.c: Moved ...
10144 * sunrpc/getrpcbyname.c: ... here.
10145 * inet/getrpcbyname_r.c: Moved ...
10146 * sunrpc/getrpcbyname_r.c: ... here.
10147 * inet/getrpcbynumber.c: Moved ...
10148 * sunrpc/getrpcbynumber.c: ... here.
10149 * inet/getrpcbynumber_r.c: Moved ...
10150 * sunrpc/getrpcbynumber_r.c: ... here.
10151 * inet/getrpcent.c: Moved ...
10152 * sunrpc/getrpcent.c: ... here.
10153 * inet/getrpcent_r.c: Moved ...
10154 * sunrpc/getrpcent_r.c: ... here.
10155 * inet/Makefile (routines): Move those to ...
10156 * sunrpc/Makefile (routines): ... here.
10157 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10158 the $(subdirs) list.
10159 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10160 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10161 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10162 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10163
10164 * elf/Makefile (routines): Include $(all-dl-routines), not just
10165 $(dl-routines).
10166 (rtld-routines): Likewise. Use = rather than :=.
10167 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10168 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10169 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10170 * sysdeps/arm/Makefile: Likewise.
10171 * sysdeps/i386/Makefile: Likewise.
10172 * sysdeps/x86_64/Makefile: Likewise.
10173 * sysdeps/hppa/Makefile [$(subdir) = elf]
10174 (sysdep_routines, sysdep-rtld-routines): Don't add
10175 $(sysdep-dl-routines) to these.
10176 * sysdeps/ia64/Makefile: Likewise.
10177 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10178 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10179 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10180 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10181 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10182 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10184 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10185 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10186 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10187 these; sysdep-dl-routines alone is enough.
10188
10189 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10190
10191 [BZ #17932]
10192 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10193 where multiplication results in zero and third argument is finite
10194 and nonzero.
10195 * math/auto-libm-test-in: Add more tests of fma.
10196 * math/auto-libm-test-out: Regenerated.
10197
10198 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10199 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10200 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10201 (_FP_CMP_EQ): Likewise.
10202 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10203
10204 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10205 extra argument CHECK_NAN. Redefine as wrapper around
10206 _FP_EXTEND_CNAN.
10207
10208 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10209
10210 * version.h (RELEASE): Set to "stable".
10211 (VERSION): Set to "2.21"
10212 * include/features.h (__GLIBC_MINOR__): Set to 21.
10213
10214 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10215
10216 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10217 Paul Eggert <eggert@cs.ucla.edu>
10218
10219 [BZ #16618]
10220 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10221 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10222 size in bytes. Store needed elements in wpmax. Use needed size
10223 in bytes for extend_alloca.
10224
10225 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10226
10227 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10228 binutls 2.25, and texinfo 5.2.
10229 * INSTALL: Regenerate.
10230 * sysdeps/nios2/configure: Regenerate.
10231 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10232 * manual/contrib.texi: Update.
10233 * po/be.po: Update.
10234 * po/bg.po: Update.
10235 * po/ca.po: Update.
10236 * po/cs.po: Update.
10237 * po/da.po: Update.
10238 * po/de.po: Update.
10239 * po/el.po: Update.
10240 * po/eo.po: Update.
10241 * po/es.po: Update.
10242 * po/fi.po: Update.
10243 * po/fr.po: Update.
10244 * po/gl.po: Update.
10245 * po/hr.po: Update.
10246 * po/hu.po: Update.
10247 * po/ia.po: Update.
10248 * po/id.po: Update.
10249 * po/it.po: Update.
10250 * po/ja.po: Update.
10251 * po/ko.po: Update.
10252 * po/lt.po: Update.
10253 * po/nb.po: Update.
10254 * po/nl.po: Update.
10255 * po/pl.po: Update.
10256 * po/pt_BR.po: Update.
10257 * po/ru.po: Update.
10258 * po/rw.po: Update.
10259 * po/sk.po: Update.
10260 * po/sl.po: Update.
10261 * po/sv.po: Update.
10262 * po/tr.po: Update.
10263 * po/uk.po: Update.
10264 * po/vi.po: Update.
10265 * po/zh_CN.po: Update.
10266 * po/zh_TW.po: Update.
10267
10268 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10269 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10270 * sysdeps/hppa/dl-irel.h: Remove #warning.
10271 * sysdeps/hppa/entry.h: Provide prototype for
10272 __canonicalize_funcptr_for_compare and cast argument.
10273 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10274 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10275 * sysdeps/hppa/sotruss-lib.c: New file.
10276 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10277 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10278 (atomic_compare_and_exchange_bool_acq): Likewise.
10279 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10280 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10281
10282 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10283 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10284 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10285
10286 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10287
10288 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10289 called function in non-PIC case.
10290
10291 2015-01-31 David S. Miller <davem@davemloft.net>
10292
10293 * sysdeps/sparc/sparc32/bits/atomic.h
10294 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10295 unlock not after it.
10296 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10297 volatile register usage warnings from the compiler.
10298
10299 * sysdeps/sparc/nptl/sem_init.c: Delete.
10300 * sysdeps/sparc/nptl/sem_post.c: Delete.
10301 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10302 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10303 * sysdeps/sparc/sparc32/sem_init.c: New file.
10304 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10305 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10306 padding explicitly initialized.
10307 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10308 padding for in-semaphore spinlock.
10309 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10310 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10311 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10312 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10313 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10314 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10315 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10316 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10317 version.
10318 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10319 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10320
10321 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 [BZ #17801]
10324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10325 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10326 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10327 New.
10328 (index_AVX_Fast_Unaligned_Load): Likewise.
10329 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10330 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10331 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10332 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10333 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10334 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10335 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10336 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10337 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10338
10339 2015-01-29 Andreas Schwab <schwab@suse.de>
10340
10341 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10342
10343 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10344
10345 [BZ #17892]
10346 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10347
10348 2015-01-28 Martin Sebor <msebor@redhat.com>
10349
10350 * math/README.libm-test: Clarify. Add "How to read the test output."
10351
10352 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10353
10354 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10355 Define to 0.
10356
10357 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10358
10359 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10360 (__HAVE_64B_ATOMICS): Define to 0.
10361
10362 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10363
10364 [BZ #17885]
10365 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10366 value to set as new flag.
10367
10368 [BZ #16576]
10369 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10370 and use _ARCH_PPCSQ instead.
10371 (__ieee754_sqrt): Likewise.
10372 (__ieee754_sqrtf): Likewise.
10373 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10374 _ARCH_PPCSQ is defined.
10375 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10376 fsqrt instruction.
10377 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10378 _ARCH_PPCSQ is defined.
10379 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10380 fsqrts instruction.
10381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10382
10383 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10384
10385 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10386 bug (GCC BZ #64739).
10387
10388 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10389
10390 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10391 Mark _retval as used.
10392 (lll_futex_wake_unlock): Likewise.
10393 (lll_futex_timed_wait_requeue_pi): Likewise.
10394
10395 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10396 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10397 register variables.
10398
10399 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10400 libm_hidden_def.
10401
10402 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10403 (__bswap_64): Mark as __always_inline.
10404
10405 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10406
10407 [BZ #15378]
10408 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10409 when none of the search directories exist.
10410
10411 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10412
10413 [BZ #17869]
10414 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10415 power8 in .machine directive.
10416
10417 [BZ #17868]
10418 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10419 set dependency from opd value.
10420
10421 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10422
10423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10424 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10425 architecture.
10426
10427 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 [BZ #17870]
10430 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10431 with uint64_t.
10432 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10433 (uint64_t) 1.
10434 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10435 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10436 Replace 1UL with (uint64_t) 1.
10437 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10438 int with uint64_t.
10439
10440 2015-01-23 Roland McGrath <roland@hack.frob.com>
10441
10442 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10443 (if_freenameindex): Likewise.
10444
10445 * resource/getrlimit64.c: Add missing libc_hidden_def.
10446
10447 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10448
10449 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10450 __label__.
10451 (_FP_FMA): Likewise.
10452 (_FP_TO_INT_ROUND): Likewise.
10453 (_FP_FROM_INT): Likewise.
10454
10455 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456
10457 [BZ #16418]
10458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10459 Make code racy and cancel safe.
10460
10461 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10462
10463 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10464 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10465 attribution.
10466
10467 * pwd/tst-getpw.c: Rewrite.
10468
10469 [BZ #17702]
10470 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10471 (modules-names): Add moddummy1 and moddummy2.
10472 ($(objpfx)tst-rec-dlopen): Define.
10473 * dlfcn/moddummy1.c: New file.
10474 * dlfcn/moddummy2.c: New file.
10475 * dlfcn/tst-rec-dlopen.c: New file.
10476 * elf/dl-cache.c (_dl_load_cache_lookup):
10477 Return char*. Copy result with alloca/strcpy/strdup.
10478 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10479 returns char*. Free cached. If not saving realname
10480 free cached.
10481 * elf/dl-open.c (dl_open_worker): Do not assert that
10482 _r_debug->r_state is RT_CONSISTENT.
10483 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10484 returns char*.
10485
10486 2015-01-21 Torvald Riegel <triegel@redhat.com>
10487 Carlos O'Donell <carlos@redhat.com>
10488
10489 [BZ #12674]
10490 * nptl/sem_waitcommon.c: New file.
10491 * nptl/sem_wait.c: Include sem_waitcommon.c.
10492 (__sem_wait_cleanup, do_futex_wait): Remove.
10493 (__new_sem_wait): Adapt.
10494 (__new_sem_trywait): New function.
10495 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10496 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10497 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10498 (sem_timedwait): Adapt.
10499 * nptl/sem_post.c (__new_sem_post): Adapt.
10500 (futex_wake): New function.
10501 (__old_sem_post): Add release MO fence.
10502 * nptl/sem_open.c (sem_open): Adapt.
10503 * nptl/sem_init.c (__new_sem_init): Adapt.
10504 (futex_private_if_supported): New function.
10505 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10506 (__old_sem_getvalue): Add using previous code.
10507 * sysdeps/nptl/internaltypes.h: Adapt.
10508 * nptl/tst-sem13.c (do_test): Adapt.
10509 * nptl/tst-sem11.c (main): Adapt.
10510 * nptl/sem_trywait.c: Remove.
10511 * nptl/DESIGN-sem.txt: Remove.
10512 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10513 (gen-as-const-headers): Remove structsem.sym.
10514 * nptl/structsem.sym: Remove.
10515 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10516 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10517 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10518 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10519 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10520 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10521 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10522 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10523 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10524 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10525 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10526 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10527 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10528 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10529 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10530 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10531 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10532 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10533 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10535 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10536 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10537
10538 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10539
10540 * INSTALL: Regenerated.
10541
10542 * po/libc.pot: Regenerated.
10543
10544 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10545 Sandra Loosemore <sandra@codesourcery.com>
10546 Andrew Jenner <andrew@codesourcery.com>
10547 Joseph Myers <joseph@codesourcery.com>
10548 Nathan Sidwell <nathan@codesourcery.com>
10549
10550 * NEWS: Mention new Nios II port.
10551 * sysdeps/nios2/Implies: New file.
10552 * sysdeps/nios2/Makefile: New file.
10553 * sysdeps/nios2/Subdirs: New file.
10554 * sysdeps/nios2/Versions: New file.
10555 * sysdeps/nios2/__longjmp.S: New file.
10556 * sysdeps/nios2/abort-instr.h: New file.
10557 * sysdeps/nios2/backtrace.c: New file.
10558 * sysdeps/nios2/bits/endian.h: New file.
10559 * sysdeps/nios2/bits/fenv.h: New file.
10560 * sysdeps/nios2/bits/link.h: New file.
10561 * sysdeps/nios2/bits/setjmp.h: New file.
10562 * sysdeps/nios2/bsd-_setjmp.S: New file.
10563 * sysdeps/nios2/bsd-setjmp.S: New file.
10564 * sysdeps/nios2/configure: New generated file.
10565 * sysdeps/nios2/configure.ac: New file.
10566 * sysdeps/nios2/crti.S: New file.
10567 * sysdeps/nios2/crtn.S: New file.
10568 * sysdeps/nios2/dl-init.c: New file.
10569 * sysdeps/nios2/dl-machine.h: New file.
10570 * sysdeps/nios2/dl-sysdep.h: New file.
10571 * sysdeps/nios2/dl-tls.h: New file.
10572 * sysdeps/nios2/dl-trampoline.S: New file.
10573 * sysdeps/nios2/gccframe.h: New file.
10574 * sysdeps/nios2/gmp-mparam.h: New file.
10575 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10576 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10577 * sysdeps/nios2/ldsodefs.h: New file.
10578 * sysdeps/nios2/libc-tls.c: New file.
10579 * sysdeps/nios2/libm-test-ulps: New file.
10580 * sysdeps/nios2/machine-gmon.h: New file.
10581 * sysdeps/nios2/math-tests.h: New file.
10582 * sysdeps/nios2/math_private.h: New file.
10583 * sysdeps/nios2/memusage.h: New file.
10584 * sysdeps/nios2/nptl/Makefile: New file.
10585 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10586 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10587 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10588 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10589 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10590 * sysdeps/nios2/nptl/tls.h: New file.
10591 * sysdeps/nios2/preconfigure: New file.
10592 * sysdeps/nios2/s_fma.c: New file.
10593 * sysdeps/nios2/s_fmaf.c: New file.
10594 * sysdeps/nios2/setjmp.S: New file.
10595 * sysdeps/nios2/sfp-machine.h: New file.
10596 * sysdeps/nios2/sotruss-lib.c: New file.
10597 * sysdeps/nios2/stackguard-macros.h: New file.
10598 * sysdeps/nios2/stackinfo.h: New file.
10599 * sysdeps/nios2/start.S: New file.
10600 * sysdeps/nios2/sysdep.h: New file.
10601 * sysdeps/nios2/tls-macros.h: New file.
10602 * sysdeps/nios2/tst-audit.h: New file.
10603 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10604 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10605 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10606 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10607 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10608 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10609 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10610 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10611 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10612 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10613 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10614 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10615 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10616 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10617 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10618 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10619 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10620 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10621 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10622 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10623 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10624 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10625 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10626 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10627 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10628 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10629 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10630 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10631 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10632 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10633 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10634 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10635 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10636 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10637 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10638 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10639 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10640 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10641 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10642 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10643 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10644 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10645 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10646 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10647
10648 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10649
10650 [BZ #17844]
10651 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10652 (getutent): Use weak_alias in non SHARED case
10653 and default_symbol_version in SHARED case.
10654 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10655 (getutent_r, pututline): Likewise.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10657 (getutid): Likewise.
10658 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10659 (getutid_r): Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10661 (getutline): Likewise.
10662 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10663 (getutline_r): Likewise.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10665 (updwtmp): Likewise.
10666
10667 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10668
10669 [BZ #17848]
10670 * sysdeps/s390/s390-32/memcmp.S
10671 (memcmp_g5): Rename to __memcmp_g5.
10672 * sysdeps/s390/s390-32/memcpy.S
10673 (memcpy_g5): Rename to __memcpy_g5.
10674 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10675 (memcpy_mvcle) Rename to __memcpy_mvcle.
10676 * sysdeps/s390/s390-32/memset.S
10677 (memset_g5): Rename to __memset_g5.
10678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10679 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10680 and use prefixed functions.
10681 * sysdeps/s390/s390-32/multiarch/memcmp.S
10682 (memcmp_z196): Rename to __memcmp_z196.
10683 (memcmp_z10): Rename to __memcmp_z10.
10684 (memcmp): Set alias to __memcmp_g5.
10685 (bcmp): Set alias to __memcmp_g5.
10686 * sysdeps/s390/s390-32/multiarch/memcpy.S
10687 (memcpy_z196): Rename to __memcpy_z196.
10688 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10689 (memcpy_z10): Rename to __memcpy_z10.
10690 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10691 (memcpy): Set alias to __memcpy_g5.
10692 * sysdeps/s390/s390-32/multiarch/memset.S
10693 (memset_z196): Rename to __memset_z196.
10694 Jump to __memset_mvcle instead of memset_mvcle.
10695 (memset_z10): Rename to __memset_z10.
10696 Jump to __memset_mvcle instead of memset_mvcle.
10697 (memset_mvcle) Rename to __memset_mvcle.
10698 (memset): Set alias to __memset_g5.
10699 * sysdeps/s390/s390-64/memcmp.S
10700 (memcmp_z900): Rename to __memcmp_z900.
10701 * sysdeps/s390/s390-64/memcpy.S
10702 (memcpy_z900): Rename to __memcpy_z900.
10703 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10704 (memcpy_mvcle) Rename to __memcpy_mvcle.
10705 * sysdeps/s390/s390-64/memset.S
10706 (memset_z900): Rename to __memset_z900.
10707 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10708 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10709 and use prefixed functions.
10710 * sysdeps/s390/s390-64/multiarch/memcmp.S
10711 (memcmp_z196): Rename to __memcmp_z196.
10712 (memcmp_z10): Rename to __memcmp_z10.
10713 (memcmp): Set alias to __memcmp_z900.
10714 (bcmp): Set alias to __memcmp_z900.
10715 * sysdeps/s390/s390-64/multiarch/memcpy.S
10716 (memcpy_z196): Rename to __memcpy_z196.
10717 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10718 (memcpy_z10): Rename to __memcpy_z10.
10719 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10720 (memcpy): Set alias to __memcpy_z900.
10721 * sysdeps/s390/s390-64/multiarch/memset.S
10722 (memset_z196): Rename to __memset_z196.
10723 Jump to __memset_mvcle instead of memset_mvcle.
10724 (memset_z10): Rename to __memset_z10.
10725 Jump to __memset_mvcle instead of memset_mvcle.
10726 (memset_mvcle) Rename to __memset_mvcle.
10727 (memset): Set alias to __memset_z900.
10728
10729 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10730
10731 [BZ #17748]
10732 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10733 __fesetenv instead of fesetenv.
10734
10735 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10736
10737 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10738 macro.
10739
10740 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741
10742 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10743 regression on LE.
10744
10745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10746 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10748 strncmp-power8 object.
10749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10750 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10751 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10752 * NEWS: Update.
10753
10754 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756
10757 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10758 trailing byte check.
10759
10760 2015-01-13 David S. Miller <davem@davemloft.net>
10761
10762 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10763
10764 2015-01-13 Roland McGrath <roland@hack.frob.com>
10765
10766 * login/logout.c (logout): Use memset rather than bzero.
10767 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10768 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10769 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10770 (_gethtbyaddr): Likewise.
10771 * locale/programs/simple-hash.c (bcopy): Macro removed.
10772
10773 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10776 Add strcmp-power8 object.
10777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10778 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10779 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10780 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10781 __strcmp_power8 implementation.
10782 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10783 * NEWS: Update.
10784
10785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10786 Add strncpy-power8 and stpncpy-power8 objects.
10787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10788 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10789 implementations.
10790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10791 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10792 __stpncpy_power8 implementation.
10793 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10794 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10795 __strncpy_power8 implementation.
10796 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10797 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10798 * NEWS: Update.
10799
10800 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10801 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10802 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10803
10804 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10805 strncat-power8 object.
10806 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10807 __strcat_power8 implementation.
10808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10809 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10810 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10811 optimized strcat for power8.
10812
10813 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10814 strcpy-power8 and stpcpy-power8 objects.
10815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10816 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10817 implementations.
10818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10819 multiarch stpcpy implementation for POWER8.
10820 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10821 multiarch strcpy implementation for POWER8.
10822 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10823 __strcpy_power8 function.
10824 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10825 stpcpy for POWER8.
10826 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10827 strcpy for POWER8.
10828 * NEWS: Update.
10829
10830 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10831
10832 [BZ #16009]
10833 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10834 weights and rules. Use do_xfrm_cached if data fits in cache,
10835 do_xfrm otherwise. Moved former main loop to...
10836 * (do_xfrm_cached): New function.
10837 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10838 find_idx, find_position and stack_push.
10839 * (find_idx): New function.
10840 * (find_position): Likewise.
10841 * localedata/sort-test.sh: Added test run for do_xfrm.
10842 * localedata/xfrm-test.c (main): Added command line option
10843 -nocache to run the test with strings that are too large for
10844 the STRXFRM cache.
10845
10846 2015-01-13 Torvald Riegel <triegel@redhat.com>
10847
10848 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10849 variable to lll_futex_wake call, not the value itself.
10850
10851 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10852
10853 [BZ #17803]
10854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10855 twom64. Adjust value to 0x1p-64L.
10856 (__scalblnl): Only return standard underflowing result for K <=
10857 -64 not K <= -63; adjust exponent for underflowing result by 64
10858 not 63.
10859 * math/libm-test.inc (scalbn_test_data): Add more tests.
10860 (scalbln_test_data): Likewise.
10861
10862 [BZ #17834]
10863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10864 0x1p63L.
10865 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10866 not HX.
10867 * math/libm-test.inc (scalbn_test_data): Add more tests.
10868 (scalbln_test_data): Likewise.
10869
10870 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871 Stefani Seibold <stefani@seibold.net>
10872
10873 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10874 (sysdep_routines): Add dl-vdso here, ...
10875 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10876 (sysdep_routines): ... not here.
10877 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10878 fallback when vDSO is not presented.
10879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10880 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10881 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10882 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10883 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10884 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10885 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10887 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10889 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10890 fallback configurable symbol when vDSO is not available.
10891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10892 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10893 be able to redefine fallback symbol when vDSO is not available.
10894 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10895 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10896
10897 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10898
10899 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10900 (TLS_INIT_TP): Add tm_capable initialization.
10901 (TLS_DEFINE_INIT_TP): Likewise.
10902 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10903 TCB.
10904 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10905 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10906 calculation.
10907 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10908 transactoion is lock elision is built and TCB tm_capable is set.
10909 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10911 (INTERNAL_SYSCALL_NCS): Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10913 (INTERNAL_SYSCALL_NCS): Likewise.
10914 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10915
10916 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10917 for powerpc.
10918 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10919 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10920 and remove it for 32 bits case.
10921 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10923 initialization.
10924 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10925 Disable lock elision with rdlocks if elision is not available.
10926
10927 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10928 (sysdep_routines): Add lock elision objects.
10929 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10930 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10931 [pthread_mutex_t] (__elision): Add field.
10932 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10933 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10934 elision definitions for powerpc.
10935 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10936 implementation of lock elision for powerpc.
10937 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10938 implementation of timed lock elision for powerpc.
10939 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10940 implementation of trylock with lock elision for powerpc.
10941 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10942 implementaion of unlock for lock elision for powerpc.
10943 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10944 automatic enable lock elision for mutexes.
10945 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10946 transaction execution definitions for powerpc.
10947 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10948 definitions.
10949 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10950 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10953 * NEWS: Update.
10954
10955 2015-01-09 Roland McGrath <roland@hack.frob.com>
10956
10957 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10958 for #include of <shm-directory.h>.
10959
10960 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10961
10962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10963 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10964
10965 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10966
10967 [BZ #17791]
10968 * NEWS: Mention bug fix.
10969 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10970 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10971 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10972
10973 2015-01-09 Torvald Riegel <triegel@redhat.com>
10974
10975 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10976
10977 2015-01-09 Torvald Riegel <triegel@redhat.com>
10978
10979 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10980
10981 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10982
10983 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10984 pointer and cast to uintptr_t.
10985
10986 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10987
10988 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10989 removed.
10990 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10991
10992 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10993
10994 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10995 of 0.
10996
10997 2015-01-08 Roland McGrath <roland@hack.frob.com>
10998
10999 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11000 <nptl/pthreadP.h> instead.
11001 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11002
11003 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11004 already defined.
11005 [__SIGRTMIN] (init): Function removed.
11006 [__SIGRTMIN] (initialized): Variable removed.
11007 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11008 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11009 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11010 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11011 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11012 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11013 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11014 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11015 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11016 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11017 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11018 * sysdeps/nptl/allocrtsig.c: New file.
11019 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11020 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11021 * sysdeps/generic/testrtsig.h: File removed.
11022
11023 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11024 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11025
11026 * nptl/nptl-init.c (pthread_functions): Conditionalize
11027 .ptr__nptl_setxid initialization on [SIGSETXID].
11028
11029 * sysdeps/nptl/sys/procfs.h: New file.
11030 * nptl_db/Makefile (headers): Add it.
11031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11032
11033 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11034 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11035 * nptl/pthread_attr_setaffinity.c: Include it.
11036 * nptl/pthread_setattr_default_np.c: Likewise.
11037 * nptl/check-cpuset.h: New file.
11038
11039 2015-01-08 Richard Henderson <rth@redhat.com>
11040
11041 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11042 (CFLAGS-tst-execstack-prog.c): Likewise.
11043 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11044
11045 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
11046 Sandra Loosemore <sandra@codesourcery.com>
11047 Andrew Jenner <andrew@codesourcery.com>
11048 Joseph Myers <joseph@codesourcery.com>
11049 Nathan Sidwell <nathan@codesourcery.com>
11050
11051 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11052 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11053 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11054 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11055 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11056 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11057 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11058 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11059 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11060 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11061 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11062 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11063 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11064 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11065 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11066 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11067 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11068
11069 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11070
11071 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11072 timespec struct member in syscall macro.
11073 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11074 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11075 first timeval struct member in syscall macro.
11076 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11077
11078 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11079
11080 [BZ #17748]
11081 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11082 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11083 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11084 __feupdateenv and define as weak alias of __feupdateenv. Use
11085 libm_hidden_weak.
11086 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11087 libm_hidden_def.
11088 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11089 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11090 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11091 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11092 libm_hidden_def.
11093 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11094 __feupdateenv and define as weak alias of __feupdateenv. Use
11095 libm_hidden_weak.
11096 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11097 libm_hidden_def.
11098 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11099 __feupdateenv and define as weak alias of __feupdateenv. Use
11100 libm_hidden_weak.
11101 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11102 libm_hidden_def.
11103 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11104 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11105 (__feupdateenv): Likewise.
11106 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11107 __feupdateenv and define as weak alias of __feupdateenv. Use
11108 libm_hidden_weak.
11109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11110 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11111 libm_hidden_def.
11112 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11113 function.
11114 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11115 libm_hidden_def.
11116 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11117 __feupdateenv instead of feupdateenv.
11118 (default_libc_feupdateenv_test): Likewise.
11119 (libc_feresetround_ctx): Likewise.
11120
11121 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11122
11123 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11124 prototype.
11125
11126 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11127
11128 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11129 COLL_SYM in a couple of places to avoid uninitialized variable
11130 wanings on tilegx gcc 4.8.2.
11131
11132 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11133
11134 * sysdeps/aarch64/strcpy.S: New file.
11135 * sysdeps/aarch64/stpcpy.S: New file.
11136 * NEWS: Updated.
11137
11138 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11139
11140 * sysdeps/aarch64/strrchr.S: New file.
11141 * NEWS: Updated.
11142
11143 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11144
11145 [BZ #17658]
11146 * stdlib/setenv.c: Fix memory leak when setting large,
11147 duplicate string.
11148
11149 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11150
11151 [BZ #17273]
11152 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11153 and tabs from buffer before parsing fstab entry.
11154 * misc/tst-mntent.c (main): Add test for mount entry with
11155 trailing spaces and tabs.
11156
11157 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11158
11159 [BZ #17748]
11160 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11161 * math/fesetround.c (fesetround): Rename to __fesetround and
11162 define as weak alias of __fesetround. Use libm_hidden_weak.
11163 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11164 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11165 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11166 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11167 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11168 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11169 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11170 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11171 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11172 __fesetround_inline.
11173 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11174 __fesetround_inline instead of __fesetround.
11175 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11176 __fesetround and define as weak alias of __fesetround. Use
11177 libm_hidden_weak. Call __fesetround_inline instead of
11178 __fesetround.
11179 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11180 __fesetround and define as weak alias of __fesetround. Use
11181 libm_hidden_weak.
11182 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11183 Likewise.
11184 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11186 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11187 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11188 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11189 __fesetround and define as weak alias of __fesetround. Use
11190 libm_hidden_weak.
11191 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11192 __fesetround instead of fesetround.
11193 (default_libc_feholdexcept_setround): Likewise.
11194 (libc_feholdsetround_ctx): Likewise.
11195 (libc_feholdsetround_noex_ctx): Likewise.
11196
11197 [BZ #17748]
11198 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11199 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11200 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11201 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11202 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11203 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11204 define as weak alias of __fesetenv. Use libm_hidden_weak.
11205 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11206 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11207 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11208 define as weak alias of __fesetenv. Use libm_hidden_weak.
11209 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11210 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11211 define as weak alias of __fesetenv. Use libm_hidden_weak.
11212 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11213 libm_hidden_def.
11214 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11215 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11216 Likewise.
11217 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11218 define as weak alias of __fesetenv. Use libm_hidden_weak.
11219 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11220 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11221 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11222 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11223 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11224 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11225 __fesetenv instead of fesetenv.
11226 (libc_feresetround_noex_ctx): Likewise.
11227 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11228 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11230 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11231 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11232 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11233 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11234 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11235 (__feupdateenv): Likewise.
11236 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11237 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11238 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11239 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11240
11241 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11242
11243 [BZ #17806]
11244 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11245 addresses have been freed.
11246
11247 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11248
11249 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11250 and nservall.
11251
11252 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11253
11254 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11255 Clean up check_pf allocation pattern. addresses
11256
11257 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11258
11259 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11260 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11261 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11262 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11263 * nptl/pthread_join.c (pthread_join): Likewise.
11264 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11265 * sysdeps/posix/waitid.c (__waitid): Likewise.
11266 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11267 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11268 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11269 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11273 (__libc_pread64): Likewise.
11274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11275 (__libc_pwrite): Likewise.
11276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11277 (__libc_pwrite64): Likewsie.
11278 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11279 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11280 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11281 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11282 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11283 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11288 (__libc_pread64): Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11290 Likewise.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11292 (__libc_pwrite64): Likewise.
11293 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11294 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11295 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11296 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11297 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11298 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11299 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11300 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11301 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11302 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11303 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11304 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11305 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11306 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11307 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11309 Likewise.
11310
11311 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11312
11313 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11314 (CFLAGS-test-double.c): Likewise.
11315 (CFLAGS-test-ldouble.c): Likewise.
11316 (CPPFLAGS-test-ifloat.c): Likewise.
11317 (CPPFLAGS-test-idouble.c): Likewise.
11318 (CPPFLAGS-test-ildoubl.c): Likewise.
11319 (CFLAGS-test-test-fenv.c): Remove variable.
11320 (CFLAGS-test-misc.c): Likewise.
11321
11322 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11323
11324 [BZ #17797]
11325 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11326 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11327 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11328 CLOCKS_PER_SEC == 1000000.
11329 * time/clocktest.c (main): Replace %ld with %jd and cast to
11330 intmax_t.
11331
11332 2015-01-05 Roland McGrath <roland@hack.frob.com>
11333
11334 * sysdeps/generic/unwind-resume.h: New file.
11335 * sysdeps/gnu/unwind-resume.c: Include it.
11336 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11337 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11338 argument list.
11339 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11340 global rather than static.
11341 (_Unwind_Resume): Update user.
11342 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11343 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11344 rather than static. Add __attribute__ ((cold)).
11345 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11346 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11347 * sysdeps/arm/arm-unwind-resume.S: New file.
11348 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11349 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11350 * sysdeps/arm/Makefile [$(subdir) = csu]
11351 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11352 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11353 Add rt-arm-unwind-resume.
11354 [$(subdir) = nptl]
11355 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11356 Add pt-arm-unwind-resume.
11357 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11358 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11359
11360 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11361
11362 [BZ #17748]
11363 * include/fenv.h (__feholdexcept): Declare. Use
11364 libm_hidden_proto.
11365 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11366 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11367 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11368 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11369 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11370 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11372 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11373 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11374 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11375 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11376 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11377 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11378 (feholdexcept): Likewise.
11379 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11380 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11381 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11382 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11383 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11384 __feholdexcept instead of feholdexcept.
11385 (default_libc_feholdexcept_setround): Likewise.
11386
11387 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11388
11389 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11390 to avoid using stl/str to align destination.
11391
11392 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11393
11394 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11395
11396 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11397
11398 [BZ #17796]
11399 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11400 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11401 Define as weak alias not strong alias.
11402
11403 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11404
11405 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11406 bltzal with addiupc.
11407 (RTLD_START): Ditto.
11408
11409 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11410
11411 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11412 for __vdso_* functions in declarations.
11413 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11414 definitions.
11415 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11416 INTERNAL_VSYSCALL): Use struct return types to check for error.
11417
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11419 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11420 function with cast from llround().
11421 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11422 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11423 Define.
11424
11425 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11426
11427 [BZ #17793]
11428 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11429 Define as weak alias not strong alias.
11430
11431 [BZ #17635]
11432 * ctype/ctype-c99.c: New file. isblank implementation moved from
11433 ...
11434 * ctype/ctype-extn.c: ... here.
11435 (__isblank_l): Move to ...
11436 * ctype/ctype-c99_l.c: ... here. New file.
11437 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11438 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11439 Remove variable.
11440 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11441 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11442 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11443 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11444 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11445
11446 [BZ #17777]
11447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11448 (posix_fadvise64): Define as weak alias not strong alias.
11449 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11450 (posix_fallocate64): Likewise.
11451 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11452 Remove variable.
11453 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11454 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11455 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11456 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11457 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11458
11459 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11460
11461 [BZ #16191]
11462 * NEWS: Mention bug fix.
11463 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11464 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11465 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11466 (HOST_STACK_END_ADDR): Likewise.
11467
11468 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11469
11470 [BZ #17748]
11471 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11472 * math/fegetround.c (fegetround): Rename to __fegetround and
11473 define as weak alias of __fegetround. Use libm_hidden_weak.
11474 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11475 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11476 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11477 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11478 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11479 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11480 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11481 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11482 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11483 Undefine after rather than before function definition; use
11484 parentheses around function name in definition.
11485 (__fegetround): Also undefine macro after function definition.
11486 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11487 __fegetround and define as weak alias of __fegetround. Use
11488 libm_hidden_weak. Do not undefine as macro.
11489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11490 Likewise.
11491 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11492 __fegetround and define as weak alias of __fegetround. Use
11493 libm_hidden_weak.
11494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11495 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11496 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11497 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11498 __fegetround and define as weak alias of __fegetround. Use
11499 libm_hidden_weak.
11500 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11501 __fegetround instead of fegetround.
11502
11503 [BZ #17782]
11504 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11505 Condition macro definition on [__USE_MISC].
11506
11507 [BZ #17781]
11508 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11509 (struct sigaction): Change type of sa_flags field to int.
11510
11511 [BZ #17780]
11512 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11513 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11514 __glibc_reserved0.
11515
11516 * nptl/version.c (banner): Use single year in copyright notice.
11517
11518 * NEWS: Update copyright dates.
11519 * catgets/gencat.c (print_version): Likewise.
11520 * csu/version.c (banner): Likewise.
11521 * debug/catchsegv.sh: Likewise.
11522 * debug/pcprofiledump.c (print_version): Likewise.
11523 * debug/xtrace.sh (do_version): Likewise.
11524 * elf/ldconfig.c (print_version): Likewise.
11525 * elf/ldd.bash.in: Likewise.
11526 * elf/pldd.c (print_version): Likewise.
11527 * elf/sotruss.sh: Likewise.
11528 * elf/sprof.c (print_version): Likewise.
11529 * iconv/iconv_prog.c (print_version): Likewise.
11530 * iconv/iconvconfig.c (print_version): Likewise.
11531 * locale/programs/locale.c (print_version): Likewise.
11532 * locale/programs/localedef.c (print_version): Likewise.
11533 * login/programs/pt_chown.c (print_version): Likewise.
11534 * malloc/memusage.sh (do_version): Likewise.
11535 * malloc/memusagestat.c (print_version): Likewise.
11536 * malloc/mtrace.pl: Likewise.
11537 * manual/libc.texinfo: Likewise.
11538 * nptl/version.c (banner): Likewise.
11539 * nscd/nscd.c (print_version): Likewise.
11540 * nss/getent.c (print_version): Likewise.
11541 * nss/makedb.c (print_version): Likewise.
11542 * posix/getconf.c (main): Likewise.
11543 * scripts/test-installation.pl: Likewise.
11544 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11545
11546 2015-01-02 Will Newton <will.newton@linaro.org>
11547
11548 * sysdeps/arm/armv7/configure: Removed.
11549 * sysdeps/arm/armv7/configure.ac: Likewise.
11550
11551 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11552
11553 * All files with FSF copyright notices: Update copyright dates
11554 using scripts/update-copyrights.
11555 * intl/plural.c: Regenerated.
11556 * locale/programs/charmap-kw.h: Likewise.
11557 * locale/programs/locfile-kw.h: Likewise.
11558
11559 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11560
11561 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11562
11563 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11564
11565 [BZ #17748]
11566 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11567 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11568 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11569 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11570 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11571 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11572 define as weak alias of __fegetenv. Use libm_hidden_weak.
11573 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11574 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11575 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11576 define as weak alias of __fegetenv. Use libm_hidden_weak.
11577 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11578 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11579 define as weak alias of __fegetenv. Use libm_hidden_weak.
11580 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11581 libm_hidden_def.
11582 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11583 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11584 Likewise.
11585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11586 define as weak alias of __fegetenv. Use libm_hidden_weak.
11587 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11588 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11589 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11590 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11591 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11592 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11593 __fegetenv instead of fegetenv.
11594 (libc_feholdsetround_noex_ctx): Likewise.
11595
11596 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11597
11598 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11599 (Elf_MIPS_ABIFlags_v0): New structure.
11600 (EF_MIPS_FP64): Define.
11601 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11602 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11603 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11604 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11605 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11606 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11607 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11608 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11609 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11610 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11611 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11612 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11613 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11614 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11615 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11616 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11617 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11618 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11619 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11620 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11621 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11622 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11623 field.
11624 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11625 EF_MIPS_FP64.
11626 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11627 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11628 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11629 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11630 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11631 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11632 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11633 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11634 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11635 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11636 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11637 record the current FP ABI extension.
11638 (mips-mode-switch): Define to show if kernel headers support mode
11639 switching.
11640 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11641 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11642 supported SYSV ABI version to 3.
11643 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11644 feature.
11645
11646 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11647 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648
11649 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11650 path.
11651 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11652
11653 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11654
11655 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11656 __fegetround and redefine to call __fegetround. Remove condition
11657 on [!__NO_MATH_INLINES].
11658 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11659 function.
11660 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11661 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11662 Remove macro.
11663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11664 instead of <fenv_libc.h>.
11665 (__llrintl): Call fegetround instead of __fegetround.
11666 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11667 instead of <fenv_libc.h>.
11668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11669 (__lrintl): Call fegetround instead of __fegetround.
11670 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11671 instead of <fenv_libc.h>.
11672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11673 (__rintl): Call fegetround instead of __fegetround.
11674
11675 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11676
11677 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11678 arrays.
11679
11680 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 [BZ #17775]
11683 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11684 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11685 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11686
11687 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11688
11689 * sysdeps/i386/tls-macros.h: Include <features.h>.
11690 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11691 (TLS_IE): Likewise.
11692 (TLS_LD): Likewise.
11693 (TLS_GD): Likewise.
11694 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11695 define for GCC >= 5.0.
11696
11697 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11698
11699 * math/test-fenv.c (test_single_exception, set_single_exc,
11700 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11701 feexcp_mask_test, feenable_test, fe_single_test): Add
11702 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11703 case where they are not used.
11704 * math/libm-test.inc: Likewise.
11705 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11706 unused in the absence of FP rounding/exception support.
11707 * stdio-common/tst-printf-round.c: Likewise.
11708 * stdlib/tst-strtod-round.c: Likewise.
11709 * stdlib/tst-strtod-underflow.c: Likewise.
11710
11711 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11712
11713 [BZ #17723]
11714 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11715 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11716 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11717 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11718 libm_hidden_weak.
11719 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11720 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11721 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11722 libm_hidden_def.
11723 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11724 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11725 libm_hidden_weak.
11726 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11727 Likewise.
11728 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11729 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11730 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11731 libm_hidden_weak.
11732 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11733 libm_hidden_def.
11734 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11735 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11736 (__feraiseexcept): Likewise.
11737 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11738 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11739 libm_hidden_weak.
11740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11741 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11742 libm_hidden_def.
11743 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11744 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11745 Use libm_hidden_def.
11746 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11747 libm_hidden_def.
11748 (feraiseexcept): Define as weak not strong alias. Use
11749 libm_hidden_weak.
11750 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11751 New inline function. Factored out of ...
11752 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11753 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11754 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11755 feraiseexcept.
11756 * math/w_acos.c (__acos): Likewise.
11757 * math/w_asin.c (__asin): Likewise.
11758 * math/w_ilogb.c (__ilogb): Likewise.
11759 * math/w_j0.c (y0): Likewise.
11760 * math/w_j1.c (y1): Likewise.
11761 * math/w_jn.c (yn): Likewise.
11762 * math/w_log.c (__log): Likewise.
11763 * math/w_log10.c (__log10): Likewise.
11764 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11765 * sysdeps/aarch64/fpu/math_private.h
11766 (libc_feupdateenv_test_aarch64): Likewise.
11767 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11768 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11769 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11771 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11772 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11773 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11775 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11776 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11777
11778 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11779
11780 [BZ #17732]
11781 * io/test-utime.c (main): Replace %ld with %jd and cast to
11782 intmax_t.
11783 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11784 * nptl/tst-mutex5.c: Include <stdint.h>.
11785 (do_test): Replace %ld with %jd and cast to intmax_t.
11786 * posix/tst-regex.c (run_test): Likewise.
11787 (run_test_backwards): Likewise.
11788 * rt/tst-clock.c: Include <stdint.h>.
11789 (clock_test): Replace %ld with %jd and cast to intmax_t.
11790 * rt/tst-cpuclock1.c: Include <stdint.h>.
11791 (do_test): Replace %lu with %ju and cast to uintmax_t.
11792 * rt/tst-cpuclock2.c: Include <stdint.h>.
11793 (do_test): Replace %lu with %ju and cast to uintmax_t.
11794 * rt/tst-mqueue1.c: Include <stdint.h>.
11795 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11796 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11797 intmax_t.
11798 * rt/tst-mqueue4.c (do_test): Likewise.
11799 * rt/tst-timer4.c: Include <stdint.h>.
11800 (check_ts): Replace %ld with %jd and cast to intmax_t.
11801 (do_test): Likewise.
11802 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11803 and cast to intmax_t.
11804 * sysdeps/pthread/tst-timer.c (main): Likewise.
11805 * time/clocktest.c (main): Likewise.
11806 * time/tst-posixtz.c (do_test): Likewise.
11807 * timezone/tst-timezone.c (main): Likewise.
11808
11809 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11810 H.J. Lu <hongjiu.lu@intel.com>
11811
11812 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11813 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11814 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11817 version if bit_Fast_Unaligned_Load is set.
11818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11825 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11826 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11827 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11828 to 4.
11829 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11830 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11831 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11832 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11833
11834 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11835
11836 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11837 instead of #if to avoid a Wundef warning.
11838 * stdlib/tst-limits.c (do_test): Likewise.
11839
11840 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11841 parallel other exception macros.
11842 (fegetenv): Convert from macro to extern inline so that it applies
11843 retroactively to inline functions already seen by the compiler.
11844 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11845
11846 * posix/Makefile (before-compile): Use $(objpfx) for
11847 posix-conf-vars-def.h.
11848
11849 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11850
11851 * posix/getconf.c (main): Use size_t for type of I.
11852 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11853 NSPEC.
11854
11855 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11856 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11857 * posix/posix-envs.def: Likewise.
11858 * sysdeps/posix/sysconf.c: Likewise.
11859 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11860 (specs): Remove array.
11861 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11862 array.
11863
11864 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11865 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11866 (__sysconf): Use CONF_IS_* macros.
11867
11868 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11869 ($(objpfx)posix-conf-vars-def.h): New target.
11870 * posix/posix-conf-vars.list: New file.
11871 * posix/posix-conf-vars.h: New file.
11872 * posix/confstr.c: Include posix-conf-vars.h.
11873 (confstr): Use CONF_IS_* macros.
11874 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11875 CONF_IS_* macros.
11876 * scripts/gen-posix-conf-vars.awk: New file.
11877
11878 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11879
11880 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11881 fegetround): Add no-op macros to avoid linknamespace issues.
11882
11883 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11884 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11885
11886 * sysdeps/unix/sysv/linux/tile/sysdep.h
11887 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11888 assembly-specific section to avoid a redefinition warning.
11889
11890 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11891 long before casting to pointer to avoid a cast warning.
11892
11893 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11894
11895 * sysdeps/tile/tilegx/Implies: New file.
11896
11897 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11898
11899 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11900
11901 2014-12-23 Florian Weimer <fweimer@redhat.com>
11902
11903 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11904
11905 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11906
11907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11908 not define.
11909 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11910 <kernel-features.h>.
11911 (__utimes) [__NR_utimes]: Make code unconditional.
11912 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11914 (__ASSUME_UTIMES): Do not undefine.
11915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11916 (__ASSUME_UTIMES): Likewise.
11917 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11918 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11919 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11920 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11921
11922 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11923
11924 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11925
11926 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11927
11928 [BZ #17747]
11929 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11930 alias to weak alias for j0l, y0l.
11931 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11932 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11933
11934 [BZ #17746]
11935 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11936 conversion.
11937
11938 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11939
11940 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11941 to zero if not already defined.
11942
11943 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11944
11945 [BZ #17724]
11946 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11947 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11948 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11949 (char *) casts added.
11950 * sysdeps/ieee754/k_standardf.c: New file.
11951 * sysdeps/ieee754/k_standardl.c: Likewise.
11952 * math/Makefile (libm-support): Remove k_standard.
11953 (libm-calls): Add k_standard.
11954
11955 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11956
11957 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11958 Optimize to avoid an unnecessary FPCR read.
11959
11960 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11961
11962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11963 Optimize to reduce FPCR/FPSR accesses.
11964
11965 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11966
11967 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11968 Call libc_fetestexcept_aarch64.
11969
11970 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11971
11972 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11973 Call libc_fesetround_aarch64.
11974
11975 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11976
11977 [BZ #17733]
11978 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11979 (__bind): Do not define as weak alias.
11980 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11981 define.
11982 (__getsockname): Do not define as weak alias.
11983
11984 2014-12-22 Will Newton <will.newton@linaro.org>
11985
11986 * manual/install.texi: Document that we require bison 2.7
11987 or above.
11988 * INSTALL: Regenerate.
11989 * configure.ac: Use AC_CHECK_PROG_VER instead of
11990 AC_PATH_PROG when checking for bison and check for
11991 version 2.7 or above.
11992 * configure: Regenerate.
11993
11994 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11995
11996 [BZ #17745]
11997 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11998 * sysdeps/tile/ffsll.c (ffsll): To here.
11999
12000 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12001
12002 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12003
12004 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12005 if not defined.
12006 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12007 definition.
12008 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12009 hidden ___tls_get_addr.
12010 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12011 hidden __tls_get_addr.
12012 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12013 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12014 Likewise.
12015
12016 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12019 _dl_init call.
12020
12021 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12024 from "call _dl_init@PLT".
12025 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12026
12027 2014-12-21 Anders Kaseorg <andersk@mit.edu>
12028
12029 * manual/search.texi: (Array Sort Function): Clarify stable sorting
12030 guarantees.
12031
12032 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
12033
12034 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12035
12036 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12037
12038 [BZ #17744]
12039 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12040 strnlen.
12041
12042 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12043
12044 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12045 of multu on MIPSr6.
12046 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12047 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12048 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12049 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12050 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12051
12052 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12053
12054 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12055 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12056 (PTR_SUBU): Use subu for mips32r6/mips64r6.
12057 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12058 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12059 mips32r6/mips64r6.
12060 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12061
12062 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
12063
12064 * string/strncat.c (STRNCAT): Simplify implementation.
12065
12066 2014-12-19 David S. Miller <davem@davemloft.net>
12067
12068 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12069 access the quad as both a long double and as a series of 4 words.
12070
12071 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12072 link_map->l_info array access.
12073
12074 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12075
12076 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12077
12078 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12079 * math/atest-exp2.c (TIMEOUT): Likewise.
12080 * math/atest-sincos.c (TIMEOUT): Likewise.
12081
12082 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12083
12084 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12085 -Wno-error with -fno-builtin-lround.
12086
12087 2014-12-19 Torvald Riegel <triegel@redhat.com>
12088
12089 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12090 Contains futex constants and functions moved over from ...
12091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12092 <lowlevellock-futex.h>.
12093 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12094 (lll_timedwait_tid): Add comments and parentheses around macro
12095 arguments.
12096
12097 2014-12-19 Torvald Riegel <triegel@redhat.com>
12098
12099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12100 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12101 (__lll_private_flag): Remove.
12102 (lll_futex_wait): Likewise.
12103 (lll_futex_timed_wait): Likewise.
12104 (lll_futex_wake): Likewise.
12105 (lll_futex_requeue): Likewise.
12106 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12107 (__lll_timedwait_tid): Spell out argument names.
12108 (lll_timedwait_tid): Add comments and parentheses around macro
12109 arguments.
12110 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12111 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12112
12113 2014-12-19 Torvald Riegel <triegel@redhat.com>
12114
12115 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12116 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12117 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12118 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12119 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12120 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12121 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12122 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12123 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12124 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12129 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12130 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12131 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12132 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12134
12135 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/x86_64/x32/Makefile: New file.
12138
12139 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12140
12141 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12142 1L with (mp_limb_t) 1.
12143
12144 2014-12-17 Roland McGrath <roland@hack.frob.com>
12145
12146 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12147 * nptl/libc_pthread_init.c: ... here.
12148 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12149 * nptl/register-atfork.c: ... here.
12150
12151 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12152 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12153 Use assert_perror to check its return value.
12154 (__gai_create_helper_thread): Likewise.
12155
12156 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12157
12158 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12159
12160 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12161
12162 [BZ #17725]
12163 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12164 __profil_counter.
12165 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12166 Likewise.
12167 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12168 Likewise.
12169 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12170 Likewise.
12171 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12172 (profil_counter): Likewise.
12173 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12174 (profil_counter): Likewise.
12175 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12176 Likewise.
12177 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12178 Likewise.
12179 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12180 (profil_counter): Likewise.
12181 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12182 Likewise.
12183 [!__profil_counter] (profil_counter): Define as weak alias of
12184 __profil_counter.
12185 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12186 (profil_counter): Rename to __profil_counter.
12187 [!__profil_counter] (profil_counter): Define as weak alias of
12188 __profil_counter.
12189 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12190 (profil_counter): Rename to __profil_counter.
12191 [!__profil_counter] (profil_counter): Define as weak alias of
12192 __profil_counter.
12193 * sysdeps/posix/profil.c: Update comment referring to
12194 profil_counter.
12195 (__profil): Use __profil_counter instead of profil_counter.
12196 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12197 __profil_counter. Use __profil_counter_ushort and
12198 __profil_counter_uint in definitions.
12199 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12200 instead of profil_counter_uint and profil_counter_ushort.
12201
12202 [BZ #17722]
12203 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12204 define as weak alias of __inet_makeaddr.
12205 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12206 as weak alias of __inet_addr.
12207 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12208 as weak alias of __inet_pton. Use libc_hidden_weak.
12209 * include/arpa/inet.h (__inet_pton): Declare. Use
12210 libc_hidden_proto.
12211 (inet_makeaddr): Don't use libc_hidden_proto.
12212 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12213 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12214 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12215 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12216 Remove variable.
12217 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12218 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12219
12220 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12221
12222 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12223
12224 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12225
12226 * stdio-common/bug-vfprintf-nargs.c (do_test):
12227 Cast value to intptr_t to avoid format warning
12228 for usage with PRIdPTR printing macro.
12229
12230 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12231
12232 * libio/tst-widetext.c (do_test):
12233 Use format type %td instead of %Zd for ptrdiff_t
12234 in order to avoid format warning.
12235
12236 2014-12-17 Andreas Schwab <schwab@suse.de>
12237
12238 * nscd/mem.c (gc): Add size_t cast to match printf format.
12239
12240 2014-12-16 Roland McGrath <roland@hack.frob.com>
12241
12242 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12243 (init): Apply PTR_MANGLE to pointers before storing them.
12244 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12245 before using them.
12246
12247 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12248
12249 [BZ #17719]
12250 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12251 define as weak alias of __memrchr.
12252 (__memrchr): Do not define as strong alias of memrchr.
12253 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12254 Remove variable.
12255 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12256 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12257 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12258
12259 [BZ #17717]
12260 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12261 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12262 (if_indextoname): Rename to __if_indextoname and define as weak
12263 alias of __if_indextoname. Use libc_hidden_weak.
12264 (if_freenameindex): Rename to __if_freenameindex and define as
12265 weak alias of __if_freenameindex.
12266 (if_nameindex): Rename to __if_nameindex and define as weak alias
12267 of __if_nameindex.
12268 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12269 __if_nametoindex and define as weak alias of __if_nametoindex.
12270 Use libc_hidden_weak.
12271 (if_freenameindex): Rename to __if_freenameindex and define as
12272 weak alias of __if_freenameindex.
12273 (if_nameindex): Rename to __if_nameindex and define as weak alias
12274 of __if_nameindex.
12275 (if_indextoname): Rename to __if_indextoname and define as weak
12276 alias of __if_indextoname. Use libc_hidden_weak.
12277 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12278 __if_nametoindex and define as weak alias of __if_nametoindex.
12279 Use libc_hidden_weak.
12280 (if_freenameindex): Rename to __if_freenameindex and define as
12281 weak alias of __if_freenameindex. Use libc_hidden_weak.
12282 (if_nameindex_netlink): Use __if_freenameindex instead of
12283 if_freenameindex.
12284 (if_nameindex): Rename to __if_nameindex and define as weak alias
12285 of __if_nameindex. Use libc_hidden_weak.
12286 (if_indextoname): Rename to __if_indextoname and define as weak
12287 alias of __if_indextoname. Use libc_hidden_weak.
12288 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12289 libc_hidden_proto.
12290 [!_ISOMAC] (__if_freenameindex): Likewise.
12291 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12292 if_nametoindex.
12293 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12294 variable.
12295 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12296 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12297 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12298 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12299 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12300 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12301 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12302
12303 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12304 Remove variable.
12305 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12306 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12307
12308 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12309
12310 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12311 subscript above bounds'
12312
12313 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12314 bounds.
12315
12316 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12317
12318 * libio/tst-fopenloc.c: Use test-skeleton.c.
12319
12320 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12321 (entry): Rename to ITEM.
12322 (do_test, comp): Adjust.
12323
12324 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12325
12326 2014-12-16 Torvald Riegel <triegel@redhat.com>
12327
12328 * string/tester.c: Include <libc-internal.h>.
12329 (test_memset): Ignore -Wmemset-transposed-args.
12330
12331 2014-12-16 Torvald Riegel <triegel@redhat.com>
12332
12333 * misc/tst-mntent2.c (do_test): Fix warning.
12334
12335 2014-12-16 Torvald Riegel <triegel@redhat.com>
12336
12337 * elf/tst-unique4lib.cc(a): Mark as used.
12338
12339 2014-12-16 Florian Weimer <fweimer@redhat.com>
12340
12341 [BZ #17630]
12342 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12343 names.
12344
12345 2014-12-16 Allan McRae <allan@archlinux.org>
12346
12347 * stdio-common/Makefile (tests): Re-add bug26.
12348
12349 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12350
12351 [BZ #17657]
12352 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12353 static array.
12354
12355 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12356
12357 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12358 (__lll_lock_wait): Likewise.
12359 (__lll_timedlock_wait): Likewise.
12360 (__lll_timedwait_tid): Likewise.
12361 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12362 (__lll_robust_timedlock_wait): Likewise.
12363 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12364 (lll_cond_trylock): Likewise.
12365 (__lll_lock): Likewise.
12366 (__lll_robust_lock): Likewise.
12367 (__lll_cond_lock): Likewise.
12368 (lll_robust_cond_lock): Likewise.
12369 (__lll_timedlock): Likewise.
12370 (__lll_robust_timedlock): Likewise.
12371 (__lll_unlock): Likewise.
12372 (__lll_robust_unlock): Likewise.
12373 (lll_wait_tid): Likewise.
12374 (lll_timedwait_tid): Likewise.
12375
12376 2014-12-15 Torvald Riegel <triegel@redhat.com>
12377
12378 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12379
12380 2014-12-15 Torvald Riegel <triegel@redhat.com>
12381
12382 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12383
12384 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12385
12386 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12387 * stdio-common/tst-sprintf.c: Likewise.
12388
12389 2014-12-15 Torvald Riegel <triegel@redhat.com>
12390
12391 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12392
12393 2014-12-15 Jeff Law <law@redhat.com>
12394
12395 [BZ #16617]
12396 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12397 on the heap. (CVE-2012-3406)
12398 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12399 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12400 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12401
12402 2014-12-15 Will Newton <will.newton@linaro.org>
12403
12404 * manual/install.texi: Bump required version of texinfo
12405 to 4.7 from 4.5.
12406 * INSTALL: Regenerated.
12407 * configure.ac: Check for makeinfo version 4.7 and above.
12408 * configure: Regenerated.
12409
12410 2014-12-12 Roland McGrath <roland@hack.frob.com>
12411
12412 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12413 PREFIX, string constant to insert between directory and name.
12414 * sysdeps/posix/shm_open.c: Update caller.
12415 * sysdeps/posix/shm_unlink.c: Likewise.
12416 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12417 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12418 (SEM_SHM_PREFIX): New macro.
12419 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12420 [$(have-thread-library) = no].
12421 * nptl/Makefile (libpthread-routines): Add shm-directory.
12422 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12423 * sysdeps/nptl/shm-directory.h: New file.
12424 * sysdeps/posix/shm-directory.c
12425 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12426 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12427 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12428 INTERNAL_SYSCALL.
12429 (__where_is_shmfs): Function removed.
12430 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12431 Variables removed.
12432 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12433 Use SHM_GET_NAME.
12434 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12435
12436 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12437 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12438 unconditional for use inside libpthread.
12439 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12440
12441 2014-12-12 Roland McGrath <roland@hack.frob.com>
12442
12443 * nptl/pthread_getaffinity.c: New file.
12444 * nptl/pthread_setaffinity.c: New file.
12445 * nptl/pthread_getname.c: New file.
12446 * nptl/pthread_setname.c: New file.
12447
12448 * nptl/pthread_create.c (START_THREAD_DEFN)
12449 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12450
12451 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453
12454 * resolv/res_send.c (send_vc): Disable warning resplen may
12455 be used uninitialized.
12456
12457 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12458
12459 * nptl/tst-mutex6.c
12460 (ATTR_NULL): New define checks ATTR against NULL.
12461 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12462 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12463
12464 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12465
12466 [BZ #17581]
12467 * malloc/hooks.c
12468 (mem2mem_check): Revert my previous change.
12469 (malloc_check_get_size): Revert my previous change.
12470 (mem2chunk_check): Revert my previous change.
12471
12472 2014-12-11 Roland McGrath <roland@hack.frob.com>
12473
12474 * sysdeps/posix/shm-directory.c: New file.
12475 * sysdeps/posix/shm-directory.h: New file.
12476 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12477 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12478 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12479 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12480 Transmute EPERM to EACCES.
12481 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12482 from ...
12483 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12484 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12485
12486 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12487
12488 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12489 pointer and cast to uintptr_t.
12490 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12491 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12492 Add cast to avoid warning.
12493 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12494
12495 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12496
12497 * nptl/semaphore.h: Move to ...
12498 * sysdeps/pthread/semaphore.h: ... here.
12499 * Makefile (installed-headers): Change nptl/semaphore.h to
12500 sysdeps/pthread/semaphore.h.
12501
12502 2014-12-11 Roland McGrath <roland@hack.frob.com>
12503
12504 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12505 generated error format strings.
12506
12507 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12508 -Wformat-extra-args warnings for scanf formats.
12509 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12510 test of zero-length format (duh).
12511 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12512 corner-case scanf format test.
12513 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12514 generated fprintf format string.
12515 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12516 corner-case sprintf format tests.
12517 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12518 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12519 -Wformat-extra-args warnings throughout.
12520 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12521 (CFLAGS-scanf4.c): Likewise.
12522 (CFLAGS-scanf7.c): Likewise.
12523 (CFLAGS-tst-sprintf.c): Likewise.
12524 (CFLAGS-tst-printf.c): Likewise.
12525 (CFLAGS-tst-printfsz.c): Likewise.
12526
12527 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12528
12529 * include/cpio.h: New file.
12530 * include/fmtmsg.h: Likewise.
12531
12532 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12533 corresponding format argument to size_t.
12534 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12535 arguments.
12536 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12537 corresponding format argument to size_t.
12538 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12539 arguments.
12540 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12541 corresponding format argument to size_t.
12542 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12543 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12544 (CFLAGS-tst-mbswcs2.c): Likewise.
12545 (CFLAGS-tst-mbswcs3.c): Likewise.
12546 (CFLAGS-tst-mbswcs4.c): Likewise.
12547 (CFLAGS-tst-mbswcs5.c): Likewise.
12548 (CFLAGS-tst-trans.c): Likewise
12549
12550 2014-12-11 Roland McGrath <roland@hack.frob.com>
12551
12552 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12553 rather than assuming they won't contain any '%'s.
12554
12555 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12556
12557 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12558 inhibit_loop_to_libcall to avoid recursive calls.
12559 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12560 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12561
12562 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12563
12564 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12565 prototype.
12566
12567 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12568
12569 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12570 integer value instead of boolean.
12571
12572 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12573
12574 * malloc/malloc.c: Fix powerof2 check.
12575
12576 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12577
12578 * locale/programs/locfile.h (maybe_swap_uint32):
12579 Remove inline and add unused attribute.
12580
12581 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12582
12583 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12584 Truncating assembler expression to a .long expression.
12585
12586 2014-12-11 Andreas Schwab <schwab@suse.de>
12587
12588 * elf/rtld.c (struct map_args): Constify str member.
12589 (do_preload): Constify fname argument.
12590
12591 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12592
12593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12594 constants definition.
12595
12596 2014-12-11 Andreas Schwab <schwab@suse.de>
12597
12598 [BZ #16657]
12599 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12600 FORCE_ELISION instead of DO_ELISION.
12601 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12602 Remove.
12603 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12604 Likewise.
12605
12606 * iconvdata/gconv-modules: Remove duplicate entry.
12607
12608 2014-12-11 Will Newton <will.newton@linaro.org>
12609
12610 Merge gettext 0.19.3 into intl/.
12611
12612 This involves a number of cosmetic changes to comments
12613 and ANSI function definitions and prototypes throughout
12614 all the files. The gettext copyright header is used but
12615 with the date ranges taken from the glibc copy.
12616
12617 * NEWS: Add gettext merge to 2.21.
12618 * intl/bindtextdom.c: Switch to gettext copyright.
12619 Use ANSI definitions and prototypes.
12620 Use gl_* locking primitives rather than __libc_* ones.
12621 Use __builtin_expect rather than __glibc_likely/unlikely.
12622 * intl/dcgettext.c: Switch to gettext copyright.
12623 Use ANSI definitions and prototypes.
12624 * intl/dcigettext.c: Switch to gettext copyright.
12625 Use ANSI definitions and prototypes.
12626 (INTDIV0_RAISES_SIGFPE): New define.
12627 Use gl_* locking primitives rather than __libc_* ones.
12628 Include eval-plural.h instead of plural-eval.c.
12629 Use __builtin_expect rather than __glibc_likely/unlikely.
12630 * intl/dcngettext.c: Switch to gettext copyright.
12631 Use ANSI definitions and prototypes.
12632 * intl/dgettext.c: Likewise.
12633 * intl/dngettext.c: Likewise.
12634 * intl/plural-eval.c: Renamed to...
12635 * intl/eval-plural.h: ...this.
12636 * intl/explodename.c: Switch to gettext copyright.
12637 Use ANSI definitions and prototypes.
12638 (_nl_explode_name): Use strchr instead of __rawmemchr.
12639 * intl/finddomain.c: Switch to gettext copyright.
12640 Use ANSI definitions and prototypes.
12641 Use gl_* locking primitives rather than __libc_* ones.
12642 (_nl_find_domain): Use malloc rather than alloca for
12643 allocation of temporary locale name.
12644 * intl/gettext.c: Switch to gettext copyright.
12645 Use ANSI definitions and prototypes.
12646 * intl/gettextP.h: Switch to gettext copyright.
12647 Use ANSI definitions and prototypes.
12648 Use gl_* locking primitives rather than __libc_* ones.
12649 * intl/gmo.h: Switch to gettext copyright.
12650 (struct sysdep_string): Move struct segment_pair outside of
12651 struct definition.
12652 * intl/hash-string.c: Use ANSI definitions and prototypes.
12653 * intl/hash-string.h: Switch to gettext copyright.
12654 Use ANSI definitions and prototypes.
12655 * intl/l10nflist.c: Switch to gettext copyright.
12656 Use ANSI definitions and prototypes.
12657 (_nl_normalize_codeset): Avoid integer overflow.
12658 * intl/loadinfo.h: Switch to gettext copyright.
12659 Use ANSI definitions and prototypes.
12660 (LIBINTL_DLL_EXPORTED): New define.
12661 (PATH_SEPARATOR): New define.
12662 * intl/loadmsgcat.c: Switch to gettext copyright.
12663 * intl/localealias.c: Switch to gettext copyright.
12664 Use ANSI definitions and prototypes.
12665 (_nl_expand_alias): Use PATH_SEPARATOR.
12666 * intl/ngettext.c: Switch to gettext copyright.
12667 Use ANSI definitions and prototypes.
12668 * intl/plural-exp.c: Likewise.
12669 * intl/plural-exp.h: Switch to gettext copyright.
12670 Use ANSI definitions and prototypes.
12671 (struct expression): Move definition of enum operator outside
12672 of struct definition.
12673 * intl/plural.c: Regenerate.
12674 * intl/plural.y: Switch to gettext copyright.
12675 Use ANSI definitions and prototypes.
12676 Port to bison 3.0.
12677 * intl/textdomain.c: Switch to gettext copyright.
12678 Use ANSI definitions and prototypes.
12679 Use gl_* locking primitives rather than __libc_* ones.
12680
12681 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12682
12683 * debug/warning-nop.c: Add used atrribute.
12684
12685 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12686
12687 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12688
12689 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12690 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12691 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12692
12693 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12694 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12695
12696 [BZ #17634]
12697 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12698 Undefine after defining function. Define as weak alias of
12699 __wcschr. Use libc_hidden_weak.
12700 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12701 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12702 (libc_hidden_def): Also define __GI___wcschr alias.
12703 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12704 __wcschr and define as weak alias of __wcschr.
12705 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12706 __wcschr.
12707 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12708 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12709 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12710 libc_hidden_weak. Do not use libc_hidden_def.
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12712 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12713 __GI___wcschr alias.
12714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12715 [IS_IN (libc)] (wcschr): Define as macro expanding to
12716 __redirect_wcschr.
12717 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12718 [IS_IN (libc)] (__wcschr_power6): Likewise.
12719 [IS_IN (libc)] (__wcschr_power7): Likewise.
12720 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12721 instead of wcschr.
12722 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12723 __libc_wcschr.
12724 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12725 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12726 __wcschr and define as weak alias of __wcschr. Use
12727 libc_hidden_builtin_def.
12728 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12729 as weak alias of __wcschr. Use libc_hidden_weak.
12730 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12731 wcschr.
12732 * time/era.c (_nl_init_era_entries): Likewise.
12733 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12734 variable.
12735 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12736 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12737
12738 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12739
12740 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12741 format for long int variable.
12742
12743 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12744
12745 [BZ #10672]
12746 * manual/search.texi: (Array Sort Function): Remove claim how to make
12747 qsort stable.
12748
12749 2014-12-10 Andreas Schwab <schwab@suse.de>
12750
12751 [BZ #12847]
12752 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12753 user-controlled locks.
12754
12755 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12756
12757 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12758 register.
12759
12760 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12761
12762 * configure.ac (--disable-werror): New configure option.
12763 (enable_werror): New AC_SUBST.
12764 * configure: Regenerated.
12765 * config.make.in (enable-werror): New variable.
12766 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12767 -Wno-error=undef.
12768 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12769 * manual/install.texi (Configuring and compiling): Document
12770 --disable-werror.
12771 * INSTALL: Regenerated.
12772 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12773 (CFLAGS-tst-chk2.c): Likewise.
12774 (CFLAGS-tst-chk3.c): Likewise.
12775 (CFLAGS-tst-chk4.cc): Likewise.
12776 (CFLAGS-tst-chk5.cc): Likewise.
12777 (CFLAGS-tst-chk6.cc): Likewise.
12778 (CFLAGS-tst-lfschk1.c): Likewise.
12779 (CFLAGS-tst-lfschk2.c): Likewise.
12780 (CFLAGS-tst-lfschk3.c): Likewise.
12781 (CFLAGS-tst-lfschk4.cc): Likewise.
12782 (CFLAGS-tst-lfschk5.cc): Likewise.
12783 (CFLAGS-tst-lfschk6.cc): Likewise.
12784
12785 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12786 (main): Disable -Wdeprecated-declarations around calls to
12787 register_printf_function.
12788
12789 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12790 (do_test): Disable -Wdiv-by-zero around some calls to
12791 fwrite_unlocked and fread_unlocked.
12792
12793 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12794 (DIAG_POP_NEEDS_COMMENT): Likewise.
12795 (_DIAG_STR1): Likewise.
12796 (_DIAG_STR): Likewise.
12797 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12798 * stdio-common/bug21.c: Include <libc-internal.h>.
12799 (do_test): Disable -Wformat around call to sscanf.
12800 * stdio-common/scanf14.c: Include <libc-internal.h>.
12801 (main): Disable -Wformat around some calls to scanf functions.
12802
12803 2014-12-09 Torvald Riegel <triegel@redhat.com>
12804
12805 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12806
12807 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12808
12809 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12810 stack variable alignment.
12811
12812 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12813
12814 [BZ #17682]
12815 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12816 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12817 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12818 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12819 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12820 __getrlimit instead of getrlimit.
12821 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12822 __gettimeofday instead of gettimeofday.
12823 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12824 Likewise.
12825 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12826 Likewise.
12827 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12828 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12829 Remove variable.
12830 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12831 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12832
12833 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12834
12835 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12836 for wide-character tests.
12837
12838 2014-12-04 Roland McGrath <roland@hack.frob.com>
12839
12840 * io/openat64.c: #include <libc-internal.h>
12841 (__openat64): Prototypify. Use ignore_value on MODE.
12842 * io/openat.c: Likewise.
12843 * misc/reboot.c: #include <libc-internal.h>
12844 (reboot): Prototypify. Use ignore_value on HOWTO.
12845 * misc/ptrace.c: #include <libc-internal.h>
12846 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12847
12848 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12849
12850 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12851 XPG4, UNIX98 and XOPEN2K.
12852 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12853 Remove variable.
12854 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12855
12856 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12857
12858 * libio/fileops.c: Use ISO C style for function definitions.
12859 * libio/iofopen.c: Likewise.
12860 * libio/wfileops.c: Likewise.
12861
12862 [BZ #17653]
12863 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12864 offset on EOF.
12865 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12866 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12867 (fgets_func): Function pointer to fgets and fgetws.
12868 (do_ftell_test): Add test to verify ftell value after read
12869 EOF.
12870 (do_test): Set fgets_func.
12871
12872 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12873 O_TRUNC flag for w and w+ modes.
12874 (do_rewind_test): Likewise.
12875 (do_ftell_test): Likewise.
12876 (do_write_test): Likewise.
12877
12878 [BZ #17647]
12879 * libio/fileops.c (do_ftell): Seek only when there are
12880 unflushed writes.
12881 * libio/wfileops.c (do_ftell_wide): Likewise.
12882 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12883 test case.
12884 (do_one_test): Call it.
12885
12886 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12887
12888 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12889 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12890 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12891 Remove variable.
12892 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12893 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12894 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12895
12896 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12897
12898 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12899 Remove variable.
12900 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12901
12902 [BZ #17668]
12903 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12904 as weak alias of __getifaddrs. Use libc_hidden_weak.
12905 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12906 __freeifaddrs. Use libc_hidden_weak.
12907 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12908 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12909 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12910 __freeifaddrs. Use libc_hidden_weak.
12911 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12912 __getifaddrs and define as weak alias of __getifaddrs. Use
12913 libc_hidden_weak.
12914 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12915 __freeifaddrs. Use libc_hidden_weak.
12916 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12917 Remove variable.
12918 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12919 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12920
12921 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12922
12923 [BZ #17601]
12924 * sysdeps/mips/start.S (__start): Use indirect jump to call
12925 __libc_start_main.
12926
12927 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12928
12929 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12930
12931 * nptl/tst-mutex1.c: Include <stdbool.h>.
12932 [!ATTR] (ATTR_NULL): New macro.
12933 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12934 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12935 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12936
12937 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12938 to char *.
12939
12940 [BZ #17665]
12941 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12942 Change conditional to [__USE_MISC].
12943
12944 [BZ #17664]
12945 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12946 fgets_unlocked.
12947 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12948 __fgets_unlocked.
12949 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12950 fgets_unlocked.
12951 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12952 Remove variable.
12953 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12954 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12955 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12956 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12957 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12958 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12959 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12960 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12961 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12962
12963 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12964
12965 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12966
12967 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12968 Remove strpbrk objects.
12969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12970 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12971 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12972 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12973 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12974 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12975
12976 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12977 Remove strcspn objects.
12978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12979 (__libc_ifunc_impl_list): Remove strcspn implementation.
12980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12981 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12982 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12983 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12984
12985 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12986 Remove strspn objetcs.
12987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12988 (__libc_ifunc_impl_list): Remove strspn implementation.
12989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12990 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12991 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12992 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12993
12994 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12995
12996 [BZ #17581]
12997 * malloc/hooks.c
12998 (mem2mem_check): Add a terminator to the chain of checking blocks.
12999 (malloc_check_get_size): Use it here.
13000 (mem2chunk_check): Ditto.
13001
13002 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13003
13004 * sysdeps/powerpc/powerpc64/strtok.S: New file.
13005 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13006
13007 2014-11-29 Carlos O'Donell <carlos@redhat.com>
13008
13009 * bits/ioctl-types.h: Indent preprocessor directives correctly.
13010
13011 * nptl/nptl-init.c: Include libc-internal.h.
13012 (__pthread_initialize_minimal_internal): Use ROUND_UP.
13013
13014 * elf/ldconfig.c (search_dir): Expand comment.
13015
13016 2014-11-29 Joseph Myers <joseph@codesourcery.com>
13017
13018 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13019 variable.
13020 (linknamespace-symlist-stdlibs-tests): Likewise.
13021 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13022 instead of $(objpfx)symlist-stdlibs.
13023 (linknamespace-libs-isoc): New variable.
13024 (linknamespace-libs): Use $(linknamespace-libs-isoc).
13025 (linknamespace-libs-ISO): New variable.
13026 (linknamespace-libs-ISO99): Likewise.
13027 (linknamespace-libs-ISO11): Likewise.
13028 (linknamespace-libs-XPG3): Likewise.
13029 (linknamespace-libs-XPG4): Likewise.
13030 (linknamespace-libs-POSIX): Likewise.
13031 (linknamespace-libs-UNIX98): Likewise.
13032 (linknamespace-libs-XOPEN2K): Likewise.
13033 (linknamespace-libs-POSIX2008): Likewise.
13034 (linknamespace-libs-XOPEN2K8): Likewise.
13035 ($(objpfx)symlist-stdlibs): Replace by
13036 $(linknamespace-symlist-stdlibs-tests). Use
13037 $(linknamespace-libs-$*) as set of libraries.
13038 ($(linknamespace-header-tests)): Update dependencies. Use
13039 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13040 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13041 * conform/linknamespace.pl: Remove comment about considering
13042 definitions of symbols from irrelevant libraries.
13043
13044 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 [BZ #13862]
13047 * elf/dl-tls.c: Include <atomic.h>.
13048 (oom): Remove #ifdef SHARED/#endif.
13049 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13050 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
13051 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13052 big enough.
13053 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13054 * nptl/Makefile (tests): Add tst-stack4.
13055 (modules-names): Add tst-stack4mod.
13056 ($(objpfx)tst-stack4): New.
13057 (tst-stack4mod.sos): Likewise.
13058 ($(objpfx)tst-stack4.out): Likewise.
13059 ($(tst-stack4mod.sos)): Likewise.
13060 (clean): Likewise.
13061 * nptl/tst-stack4.c: New file.
13062 * nptl/tst-stack4mod.c: Likewise.
13063
13064 2014-11-27 J. Brown <jb999@gmx.de>
13065
13066 * sysdeps/x86/bits/string.h: Add recent CPUs.
13067
13068 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13069
13070 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13071 sigblock.
13072
13073 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13074 feof.
13075
13076 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13077 variable.
13078
13079 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13080
13081 * nscd/connections.c: Include libc-internal.h because of macro
13082 usage ignore_value.
13083
13084 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13085
13086 * string/bits/string3.h (__warn_memset_zero_len): Don't
13087 declare for gcc newer than 5.0.
13088 (memset): Don't test for zero-length __LEN for gcc newer than
13089 5.0.
13090
13091 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13092
13093 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13094 size_t for %zu format.
13095
13096 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13097 difference, not %ju.
13098
13099 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13100
13101 * include/libc-internal.h (ignore_value): New macro.
13102 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13103 with ignore_value.
13104
13105 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13106 definition.
13107
13108 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13109 pthread_cleanup_push to void *.
13110
13111 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13112 Undefine.
13113
13114 [BZ #16619]
13115 [BZ #16740]
13116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13117 instead of 1L << 52.
13118
13119 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13120 * libio/bug-rewind2.c (do_test): Likewise.
13121
13122 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13123 * debug/test-strcpy_chk-ifunc.c: Likewise.
13124 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13125 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13126 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13127 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13128 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13129 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13130 * Rules [$(multi-arch) = no] (tests): Do not filter out
13131 $(tests-ifunc).
13132 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13133 * debug/Makefile (tests-ifunc): Remove variable.
13134 (tests): Do not add $(tests-ifunc).
13135 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13136 (tests): Do not add $(tests-ifunc).
13137 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13138 [TEST_IFUNC]: Remove conditionals.
13139 * string/test-string.h (TEST_IFUNC): Remove macro.
13140 [TEST_IFUNC]: Remove conditionals.
13141
13142 * string/test-strchr.c [!WIDE] (L): New macro.
13143 [WIDE] (L): Likewise.
13144 (check1): Use CHAR instead of char. Use L on string and character
13145 constants.
13146
13147 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13148
13149 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13150 tests.
13151 * sysdeps/powerpc/bits/atomic.h
13152 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13153 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13154 (atomic_exchange_and_add_acq): Likewise.
13155 (atomic_exchange_and_add_rel): Likewise.
13156 * sysdeps/powerpc/powerpc32/bits/atomic.h
13157 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13158 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13159 * sysdeps/powerpc/powerpc64/bits/atomic.h
13160 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13161 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13162
13163 2014-11-26 Torvald Riegel <triegel@redhat.com>
13164
13165 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13166 Change synchronization of __sched_fifo_min_prio and
13167 __sched_fifo_max_prio.
13168 * nptl/pthread_mutexattr_getprioceiling.c
13169 (pthread_mutexattr_getprioceiling): Likewise.
13170 * nptl/pthread_mutexattr_setprioceiling.c
13171 (pthread_mutexattr_setprioceiling): Likewise.
13172 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13173 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13174 Likewise.
13175
13176 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13177
13178 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13179 void.
13180
13181 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13182
13183 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13184 third argument const.
13185
13186 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13187
13188 fnmatch: work around GCC compiler warning bug with uninit var
13189 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13190 This works around a bug with x86-64 GCC 4.9.2 and earlier
13191 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13192 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13193 used uninitialized in this function [-Wmaybe-uninitialized]".
13194
13195 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13196
13197 * posix/bug-regex31.c (main): Return RES not 0.
13198
13199 2014-11-25 Anton Blanchard <anton@samba.org>
13200
13201 * sysdeps/powerpc/bits/atomic.h
13202 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13203
13204 2014-11-24 Sterling Augustine <saugustine@google.com>
13205
13206 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13207
13208 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13209
13210 [BZ #17608]
13211 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13212
13213 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13214
13215 [BZ #17633]
13216 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13217 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13218 variable.
13219 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13220 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13221
13222 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13223
13224 * string/strncpy.c (strncpy): Improve performance by using memset.
13225
13226 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13227
13228 * string/strcpy.c (strcpy):
13229 Improve performance by using strlen and memcpy.
13230
13231 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13232
13233 * string/strcoll_l.c (get_next_seq): __always_inline.
13234 * string/strcoll_l.c (do_compare): __always_inline.
13235
13236 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13237
13238 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13239 defined.
13240 * include/mqueue.h: Likewise.
13241 * include/stdlib.h: Likewise.
13242
13243 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13244 (get_null_defines): Adjust.
13245 * sunrpc/Makefile: Adjust comment.
13246 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13247 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13248 (CFLAGS-interp.c): Likewise.
13249 (CFLAGS-ldconfig.c): Likewise.
13250 (CPPFLAGS-.os): Likewise.
13251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13252 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13253 * extra-modules.mk (extra-modules.mk): Likewise.
13254 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13255 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13256 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13257 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13258 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13259 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13260 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13261 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13262 * iconvdata/Makefile (CPPFLAGS): Likewise.
13263 (cpp-srcs-left): Add libof for all iconvdata routines.
13264 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13265 * include/assert.h: Likewise.
13266 * include/ctype.h: Likewise.
13267 * include/errno.h: Likewise.
13268 * include/libc-symbols.h: Likewise.
13269 * include/math.h: Likewise.
13270 * include/netdb.h: Likewise.
13271 * include/resolv.h: Likewise.
13272 * include/stdio.h: Likewise.
13273 * include/stdlib.h: Likewise.
13274 * include/string.h: Likewise.
13275 * include/sys/stat.h: Likewise.
13276 * include/wctype.h: Likewise.
13277 * intl/l10nflist.c: Likewise.
13278 * libidn/idn-stub.c: Likewise.
13279 * libio/libioP.h: Likewise.
13280 * nptl/libc_multiple_threads.c: Likewise.
13281 * nptl/pthreadP.h: Likewise.
13282 * posix/regex_internal.h: Likewise.
13283 * resolv/res_hconf.c: Likewise.
13284 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13285 * sysdeps/arm/memmove.S: Likewise.
13286 * sysdeps/arm/sysdep.h: Likewise.
13287 * sysdeps/generic/_itoa.h: Likewise.
13288 * sysdeps/generic/symbol-hacks.h: Likewise.
13289 * sysdeps/gnu/errlist.awk: Likewise.
13290 * sysdeps/gnu/errlist.c: Likewise.
13291 * sysdeps/i386/i586/memcpy.S: Likewise.
13292 * sysdeps/i386/i586/memset.S: Likewise.
13293 * sysdeps/i386/i686/memcpy.S: Likewise.
13294 * sysdeps/i386/i686/memmove.S: Likewise.
13295 * sysdeps/i386/i686/mempcpy.S: Likewise.
13296 * sysdeps/i386/i686/memset.S: Likewise.
13297 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13300 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13301 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13303 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13314 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13344 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13349 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13352 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13355 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13359 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13360 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13361 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13362 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13363 * sysdeps/posix/closedir.c: Likewise.
13364 * sysdeps/posix/opendir.c: Likewise.
13365 * sysdeps/posix/readdir.c: Likewise.
13366 * sysdeps/posix/rewinddir.c: Likewise.
13367 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13368 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13369 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13370 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13371 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13379 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13403 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13404 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13405 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13406 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13407 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13408 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13409 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13411 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13412 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13415 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13416 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13417 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13418 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13424 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13425 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13427 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13428 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13429 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13431 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13433 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13434 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13435 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13436 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13437 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13438 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13439 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13441 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13444 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13445 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13446 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13448 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13449 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13456 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13457 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13458 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13459 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13463 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13466 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13468 * sysdeps/unix/alpha/sysdep.S: Likewise.
13469 * sysdeps/unix/alpha/sysdep.h: Likewise.
13470 * sysdeps/unix/make-syscalls.sh: Likewise.
13471 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13473 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13474 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13475 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13476 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13477 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13479 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13480 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13482 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13485 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13486 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13487 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13488 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13489 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13490 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13491 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13492 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13493 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13494 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13495 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13496 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13501 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13509 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13510 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13511 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13514 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13521 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13522 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13523 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13524 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13529 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13530 * sysdeps/x86_64/memcpy.S: Likewise.
13531 * sysdeps/x86_64/memmove.c: Likewise.
13532 * sysdeps/x86_64/memset.S: Likewise.
13533 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13536 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13537 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13540 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13541 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13542 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13543 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13544 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13545 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13546 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13547 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13548 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13549 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13550 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13552 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13553 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13554 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13557 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13558 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13559 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13560 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13562 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13563 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13564 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13565 * sysdeps/x86_64/strcmp.S: Likewise.
13566
13567 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13568
13569 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13570 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13571 * elf/rtld-Rules: Likewise.
13572 * elf/setup-vdso.h: Likewise.
13573 * include/assert.h: Likewise.
13574 * include/bits/stdlib-float.h: Likewise.
13575 * include/errno.h: Likewise.
13576 * include/sys/stat.h: Likewise.
13577 * include/unistd.h: Likewise.
13578 * sysdeps/aarch64/setjmp.S: Likewise.
13579 * sysdeps/alpha/setjmp.S: Likewise.
13580 * sysdeps/arm/__longjmp.S: Likewise.
13581 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13582 * sysdeps/arm/setjmp.S: Likewise.
13583 * sysdeps/arm/sysdep.h: Likewise.
13584 * sysdeps/generic/_itoa.h: Likewise.
13585 * sysdeps/generic/dl-sysdep.h: Likewise.
13586 * sysdeps/generic/ldsodefs.h: Likewise.
13587 * sysdeps/i386/dl-tls.h: Likewise.
13588 * sysdeps/i386/setjmp.S: Likewise.
13589 * sysdeps/m68k/setjmp.c: Likewise.
13590 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13591 * sysdeps/mach/hurd/opendir.c: Likewise.
13592 * sysdeps/posix/getcwd.c: Likewise.
13593 * sysdeps/posix/opendir.c: Likewise.
13594 * sysdeps/posix/profil.c: Likewise.
13595 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13599 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13602 * sysdeps/s390/dl-tls.h: Likewise.
13603 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13604 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13605 * sysdeps/sh/sh3/setjmp.S: Likewise.
13606 * sysdeps/sh/sh4/setjmp.S: Likewise.
13607 * sysdeps/unix/alpha/sysdep.h: Likewise.
13608 * sysdeps/unix/arm/sysdep.S: Likewise.
13609 * sysdeps/unix/i386/sysdep.S: Likewise.
13610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13611 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13616 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13617 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13618 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13619 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13620 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13621 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13622 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13625 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13633 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13634 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13638 * sysdeps/x86_64/setjmp.S: Likewise.
13639
13640 * include/math.h: Use IS_IN instead of IS_IN_libm.
13641 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13653 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13661 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13663 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13664 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13665 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13666 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13668 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13669 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13670 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13671 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13672 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13675 Likewise.
13676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13677 Likewise.
13678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13679 Likewise.
13680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13681 Likewise.
13682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13683 Likewise.
13684 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13695 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13696 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13698 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13700 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13701 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13702 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13703 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13708 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13710 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13711
13712 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13713 * nptl/pthreadP.h: Likewise.
13714 * nptl_db/structs.def: Likewise.
13715 * sysdeps/arm/sysdep.h: Likewise.
13716 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13717 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13718 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13719 * sysdeps/unix/alpha/sysdep.h: Likewise.
13720 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13723 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13724 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13725 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13727 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13728 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13729 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13730 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13731 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13732 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13733 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13738 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13741 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13742 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13743 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13746
13747 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13748 * nptl/pthreadP.h: Likewise.
13749 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13750 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13751 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13752 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13756 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13757 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13758 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13759 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13760 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13762 Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13764 Likewise.
13765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13770 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13771 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13773
13774 * dlfcn/dladdr.c: Use IS_IN.
13775 * dlfcn/dladdr1.c: Likewise.
13776 * dlfcn/dlclose.c: Likewise.
13777 * dlfcn/dlerror.c: Likewise.
13778 * dlfcn/dlinfo.c: Likewise.
13779 * dlfcn/dlmopen.c: Likewise.
13780 * dlfcn/dlopen.c: Likewise.
13781 * dlfcn/dlsym.c: Likewise.
13782 * dlfcn/dlvsym.c: Likewise.
13783
13784 * include/ifaddrs.h: Use IS_IN.
13785 * inet/check_pf.c: Likewise.
13786 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13787 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13788
13789 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13790 IS_IN_ldconfig.
13791 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13792 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13793
13794 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13795 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13796 IS_IN (libc).
13797
13798 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13799
13800 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13801 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13802 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13803 * include/libc-symbols.h (IS_IN_LIB): New macro.
13804 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13805 * include/netdb.h: Likewise.
13806 * include/stap-probe.h: Remove all uses of IN_LIB.
13807
13808 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13809 instead of IN_MODULE.
13810 * include/libc-symbols.h (IN_MODULE): Define using
13811 MODULE_NAME.
13812 (PASTE_NAME, PASTE_NAME1): New macros.
13813 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13814 of IN_LIB.
13815 (STAP_PROBE_ASM): Likewise.
13816
13817 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13818
13819 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13820 __mach_init in dlopened libc.
13821
13822 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13823
13824 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13825 * sysdeps/arm/preconfigure: Regenerate.
13826
13827 2014-11-21 Roland McGrath <roland@hack.frob.com>
13828
13829 * nptl/pthread_create.c (__pthread_create_2_1): Set
13830 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13831 when copying values from IATTR into PD.
13832
13833 2014-11-21 Will Newton <will.newton@linaro.org>
13834 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13835
13836 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13837 Refactor inline-asm. Also add comment.
13838
13839 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13840 ElfW macro instead of hardcoded Elf64 types.
13841 (la_aarch64_gnu_pltenter): Likewise.
13842 * sysdeps/aarch64/dl-machine.h
13843 (elf_machine_runtime_setup): Use ElfW(Addr).
13844
13845 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13846 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13847 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13848 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13849 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13850 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13851 (R_AARCH64_TLS_DTPMOD): This.
13852 (R_AARCH64_TLS_DTPREL64): Rename to ...
13853 (R_AARCH64_TLS_DTPREL): This.
13854 (R_AARCH64_TLS_TPREL64): Rename to ...
13855 (R_AARCH64_TLS_TPREL): This.
13856 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13857 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13858 R_AARCH64_TLS_TPREL64.
13859 (elf_machine_rela): Likewise.
13860
13861 2014-11-21 Torvald Riegel <triegel@redhat.com>
13862
13863 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13864 by setting it to 0. 64b atomics are not supported currently.
13865
13866 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13867
13868 [BZ #16469]
13869 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13870 search domain names.
13871
13872 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13873
13874 [BZ #16469]
13875 * NEWS: Update.
13876 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13877 trailing dot.
13878 * posix/tst-getaddrinfo5.c: New.
13879 * posix/Makefile (tests): Add it.
13880
13881 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13882
13883 [BZ #14498]
13884 * NEWS: Fixed.
13885 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13886 after parsing line but before break_if_match.
13887 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13888 if there is a protocol mismatch.
13889
13890 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13891
13892 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13893 because the potential race is on the user-supplied stream.
13894
13895 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13896
13897 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13898 string literal if not passed a buffer.
13899 * manual/job.texi (ctermid): Update reasoning, note deviation
13900 from posix, suggest mtasurace when not passed a buffer, for
13901 future non-preliminary safety notes.
13902
13903 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13904
13905 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13906 of not passing it a buffer.
13907 Reported by Peng Haitao.
13908
13909 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13910
13911 * manual/Makefile ($(objpfx)stamp-summary): Require
13912 check-safety.sh to pass.
13913 * manual/check-safety.sh: Wish for verification that every
13914 @deftypefn and @deftypefun is followed by a @safety remark.
13915
13916 2014-11-20 Roland McGrath <roland@hack.frob.com>
13917
13918 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13919
13920 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13921 PTHREAD_CANCEL_ASYNCHRONOUS.
13922 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13923 send SIGCANCEL.
13924
13925 * nptl/default-sched.h: New file.
13926 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13927 * nptl/pthread_create.c: Include it.
13928 (__pthread_create_2_1): Use collect_default_sched instead of making
13929 Linux syscalls here directly.
13930
13931 2014-11-20 Torvald Riegel <triegel@redhat.com>
13932
13933 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13934 __pthread_once): Use C11 atomics.
13935
13936 2014-11-20 Torvald Riegel <triegel@redhat.com>
13937
13938 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13939
13940 2014-11-20 Torvald Riegel <triegel@redhat.com>
13941
13942 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13943 atomic_thread_fence_acquire, atomic_thread_fence_release,
13944 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13945 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13946 atomic_compare_exchange_weak_relaxed,
13947 atomic_compare_exchange_weak_acquire,
13948 atomic_compare_exchange_weak_release,
13949 atomic_exchange_acquire, atomic_exchange_release,
13950 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13951 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13952 atomic_fetch_and_acquire,
13953 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13954
13955 2014-11-20 Torvald Riegel <triegel@redhat.com>
13956
13957 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13958 USE_ATOMIC_COMPILER_BUILTINS): Define.
13959 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13961 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13963 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13965 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13967 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13969 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13971 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13973 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13975 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13976 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13977 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13979 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13981 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13982 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13983 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13984 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13985 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13986 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13987 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13988 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13989 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13990 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13991 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13992 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13993 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13994 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13995 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13997 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13999
14000 2014-11-19 Roland McGrath <roland@hack.frob.com>
14001
14002 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14003 the sched_priority value here. It was already checked when the user
14004 called pthread_attr_setschedparam.
14005
14006 * nptl/tst-bad-schedattr.c: New file.
14007 * nptl/Makefile (tests): Add it.
14008
14009 2014-11-19 Carlos O'Donell <carlos@redhat.com>
14010 Florian Weimer <fweimer@redhat.com>
14011 Joseph Myers <joseph@codesourcery.com>
14012 Adam Conrad <adconrad@0c3.net>
14013 Andreas Schwab <schwab@suse.de>
14014 Brooks <bmoses@google.com>
14015
14016 [BZ #17625]
14017 * wordexp-test.c (__dso_handle): Add prototype.
14018 (__register_atfork): Likewise.
14019 (__app_register_atfork): New function.
14020 (registered_forks): New global.
14021 (register_fork): New function.
14022 (test_case): Add 3 new tests for WRDE_CMDSUB.
14023 (main): Call __app_register_atfork.
14024 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14025 fork count is non-zero fail the test.
14026 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14027 is set.
14028 (parse_dollars): Remove check for WRDE_NOCMD.
14029 (parse_dquote): Likewise.
14030
14031 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14032
14033 * Makeconfig (built-modules): List non-library modules to be
14034 built.
14035 (module-cppflags): Include libc-modules.h for
14036 everything except shlib-versions.v.i.
14037 (CPPFLAGS): Use it.
14038 (before-compile): Add libc-modules.h.
14039 ($(common-objpfx)libc-modules.h,
14040 $(common-objpfx)libc-modules.stmp): New targets.
14041 (common-generated): Add libc-modules.h and libc-modules.stmp.
14042 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14043 * include/libc-symbols.h: Don't include libc-modules.h.
14044 * include/libc-modules.h: Remove file.
14045 * scripts/gen-libc-modules.awk: New script to generate
14046 libc-modules.h.
14047 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14048 Depend on libc-modules.stmp.
14049
14050 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14051
14052 * Makeconfig (in-module): Get value of libof set for the
14053 translation unit.
14054 (CPPFLAGS): Use $(in-module).
14055 * Makerules: Don't suffix routine names for nonlib.
14056 * include/libc-modules.h: New file.
14057 * include/libc-symbols.h: Include libc-modules.h
14058 (IS_IN): New macro to replace IS_IN_* macros.
14059 * elf/Makefile: Set libof-* for each routine.
14060 * elf/rtld-Rules: Likewise.
14061 * extra-modules.mk: Likewise.
14062 * iconv/Makefile: Likewise.
14063 * iconvdata/Makefile: Likewise.
14064 * locale/Makefile: Likewise.
14065 * malloc/Makefile: Likewise.
14066 * nss/Makefile: Likewise.
14067 * sysdeps/gnu/Makefile: Likewise.
14068 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14069 * sysdeps/unix/sysv/linux/Makefile: Likewise.
14070 * sysdeps/s390/s390-64/Makefile: Likewise.
14071 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
14072 CPPFLAGS for nscd instead of nonlib.
14073
14074 2014-11-18 Roland McGrath <roland@hack.frob.com>
14075
14076 * nptl/createthread.c: New file.
14077
14078 * nptl/createthread.c: Moved ...
14079 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14080
14081 * nptl/createthread.c: Add proper top-line comment.
14082 (do_clone): Folded into ...
14083 (create_thread): ... here. Take new arguments STOPPED_START and
14084 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14085 increment __nptl_threads, do event-reporting logic, do
14086 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14087 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14088 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14089 just send SIGCANCEL.
14090 * nptl/pthread_create.c: Forward-declare create_thread before
14091 including createthread.c.
14092 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14093 declaration, and new macro START_THREAD_SELF to replace argument.
14094 Remove return statement.
14095 (report_thread_creation): New function.
14096 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14097 synchronization logic, and __nptl_nthreads increment here, around
14098 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14099 PD->parent_cancelhandling here, before create_thread. When
14100 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14101 __deallocate_stack, and ENOMEM translation here.
14102
14103 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14104
14105 [BZ #17616]
14106 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14107 (mptwo): Rename to __mptwo.
14108 (__inv): Use __mptwo instead of mptwo.
14109 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14110 (mptwo): Rename to __mptwo.
14111 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14112 of mpone and __mptwo instead of mptwo.
14113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14114 instead of mpone.
14115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14116 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14117 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14118 of mpone and __mptwo instead of mptwo.
14119 (__mpranred): Use __mpone instead of mpone.
14120 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14121 variable.
14122 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14123 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14124 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14125 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14126 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14127 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14128 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14129 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14130 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14131 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14132 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14133 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14134 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14135 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14136 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14137 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14138 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14139 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14140 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14141
14142 2014-11-18 Tom de Vries <tom@codesoucery.com>
14143
14144 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14145 replace BSD Handler xref with BSD Signal Handling.
14146
14147 2014-11-17 Richard Henderson <rth@redhat.com>
14148
14149 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14150 (_FP_PACK_RAW_2): Remove.
14151 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14152 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14153 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14154 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14155 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14156 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14157 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14158 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14159 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14160 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14161 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14162 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14163 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14164 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14165 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14166 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14167
14168 2014-11-14 Roland McGrath <roland@hack.frob.com>
14169
14170 * signal/signal.h [__USE_MISC]
14171 (struct sigvec): Remove type.
14172 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14173 (sigvec): Remove declaration.
14174 * sysdeps/posix/sigvec.c: Moved ...
14175 * signal/sigvec.c: ... here, replacing old file.
14176 (struct sigvec): New type, copied from old signal.h definition.
14177 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14178 (__sigvec): Convert definition to prototype.
14179 (sigvec): Replace weak_alias with compat_symbol.
14180 * signal/Versions (libc: GLIBC_2.21): New version set.
14181 * include/signal.h: Remove __sigvec declaration.
14182 * sysdeps/unix/bsd/sigvec.c: Remove file.
14183 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14184 * manual/signal.texi (BSD Handler): Remove subsection.
14185 Move siginterrupt up to ...
14186 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14187 (Blocking in BSD): Fold subsection into its parent.
14188 * NEWS: Mention sigvec removal.
14189
14190 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14191
14192 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14193 (DLA_FMS): Make definition conditional only on [__FMA4__].
14194 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14195 definition.
14196
14197 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14198 Make definition conditional only on [PROF].
14199 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14200 definition.
14201 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14202 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14203
14204 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14205 !__GNUC__].
14206 * include/signal.h (__sigpause): Move declaration above call to
14207 libc_hidden_proto.
14208 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14209 variable.
14210 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14211 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14212
14213 2014-11-14 David S. Miller <davem@davemloft.net>
14214
14215 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14216 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14217
14218 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14219
14220 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14221 * configure: Regenerated.
14222 * manual/install.texi (Tools for Compilation): Document a
14223 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14224 compiler verified to work.
14225 * INSTALL: Regenerated.
14226
14227 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14228 redeclare with asm name.
14229 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14230 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14231 including <string.h>.
14232 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14234 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14236 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14237 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14238 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14239
14240 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14241
14242 * stdlib/strtol.c (__strtol): Use prototype definition.
14243
14244 [BZ #17594]
14245 * stdlib/strtol.c (SYM__): New macro.
14246 (SYM__1): Likewise.
14247 (__strtol): Likewise.
14248 (strtol): Rename to __strtol and define as weak alias of
14249 __strtol. Use libc_hidden_weak.
14250
14251 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14252
14253 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14254 Use numbered labels in inline assembly.
14255
14256 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14257
14258 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14259 Add setjmp LIBC_PROBE.
14260 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14261 Likewise.
14262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14263 Add longjmp, longjmp_target LIBC_PROBE.
14264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14265 Likewise.
14266
14267 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14268
14269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14270 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14271 to get rid of unused variable warning.
14272
14273 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14274
14275 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14276 Check for unwind_backtrace == NULL only in SHARED case.
14277 (__backchain_backtrace): Compile only in SHARED case.
14278 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14279 Likewise.
14280 (__backchain_backtrace): Declare as static.
14281
14282 2014-11-12 Roland McGrath <roland@hack.frob.com>
14283
14284 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14285 (__libc_multiple_threads_ptr): Variable moved ...
14286 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14287
14288 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14289
14290 * conform/GlibcConform.pm: New file.
14291 * conform/conformtest.pl: Use GlibcConform module.
14292 * conform/linknamespace.pl: New file.
14293 * conform/list-header-symbols.pl: Likewise.
14294 * conform/Makefile (linknamespace-symlists-base): New variable.
14295 (linknamespace-symlists-tests): Likewise.
14296 (linknamespace-header-base): Likewise.
14297 (linknamespace-header-tests): Likewise.
14298 (tests-special): Add new tests.
14299 ($(linknamespace-symlists-tests)): New rule.
14300 (linknamespace-libs): New variable.
14301 ($(objpfx)symlist-stdlibs): New rule.
14302 ($(linknamespace-header-tests)): Likewise.
14303 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14304 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14305 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14306 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14307 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14308 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14309 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14310 (test-xfail-ISO/math.h/linknamespace): Likewise.
14311 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14312 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14313 (test-xfail-ISO/time.h/linknamespace): Likewise.
14314 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14315 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14316 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14317 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14318 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14319 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14320 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14321 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14322 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14323 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14324 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14325 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14326 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14327 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14328 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14329 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14330 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14331 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14332 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14333 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14334 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14335 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14336 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14337 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14338 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14339 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14340 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14341 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14342 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14343 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14344 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14345 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14346 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14347 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14348 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14349 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14350 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14351 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14352 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14353 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14354 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14355 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14356 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14357 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14358 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14359 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14360 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14361 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14362 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14363 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14364 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14365 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14366 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14367 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14368 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14369 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14370 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14371 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14372 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14373 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14374 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14375 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14376 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14377 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14378 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14379 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14380 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14381 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14382 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14383 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14384 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14385 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14386 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14387 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14388 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14389 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14390 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14391 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14392 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14393 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14394 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14395 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14396 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14397 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14398 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14399 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14400 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14401 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14402 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14403 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14404 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14405 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14406 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14407 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14408 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14409 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14410 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14411 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14412 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14413 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14414 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14415 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14416 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14417 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14418 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14419 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14420 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14421 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14422 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14423 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14424 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14425 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14426 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14427 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14428 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14429 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14430 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14431 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14432 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14433 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14434 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14435 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14436 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14437 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14438 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14439 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14440 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14441 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14442 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14443 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14444 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14445 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14446 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14447 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14448 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14449 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14450 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14451 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14452 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14453 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14454 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14455 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14457 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14458 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14459 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14460 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14461 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14462 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14463 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14464
14465 [BZ #17589]
14466 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14467 of fgets_unlocked.
14468
14469 [BZ #17585]
14470 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14471 (memmem): Rename to __memmem and define as weak alias of
14472 __memmem. Use libc_hidden_weak.
14473 (__memmem): Use libc_hidden_def.
14474 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14475 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14476 memmem.
14477
14478 [BZ #17582]
14479 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14480 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14481 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14482 and define as weak alias of __fgets_unlocked. Use
14483 libc_hidden_weak.
14484 (__fgets_unlocked): Use libc_hidden_def.
14485 * include/stdio.h (__fgets_unlocked): Declare. Use
14486 libc_hidden_proto.
14487 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14488 __fgets_unlocked instead of fgets_unlocked.
14489 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14490 (GET_NPROCS_CONF_PARSER): Likewise.
14491 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14492 (GET_NPROCS_CONF_PARSER): Likewise.
14493
14494 [BZ #17574]
14495 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14496 weak alias of __wmemset. Use libc_hidden_weak.
14497 (__wmemset): Use libc_hidden_def.
14498 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14499 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14500 of wmemset.
14501
14502 [BZ #17573]
14503 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14504 with asm name __mempcpy.
14505 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14506
14507 [BZ #17572]
14508 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14509 and define as weak alias of __rawmemchr.
14510 (__rawmemchr): Do not define as strong alias of rawmemchr.
14511
14512 [BZ #17571]
14513 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14514 alias of __qsort_r.
14515 (qsort): Call __qsort_r instead of qsort_r.
14516 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14517 (__qsort_r): Declare. Call libc_hidden_proto.
14518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14519 instead of qsort_r.
14520 * nscd/gai.c (__qsort_r): Define to qsort_r.
14521 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14522 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14523 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14524
14525 [BZ #17570]
14526 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14527 define as weak alias of __malloc_info.
14528
14529 [BZ #17584]
14530 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14531 as weak alias of __rewinddir. Don't use libc_hidden_def.
14532 (__rewinddir): Use libc_hidden_def.
14533 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14534 as weak alias of __rewinddir. Don't use libc_hidden_def.
14535 (__rewinddir): Use libc_hidden_def.
14536 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14537 weak alias of __rewinddir. Don't use libc_hidden_def.
14538 (__rewinddir): Use libc_hidden_def.
14539 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14540 (__rewinddir): Use libc_hidden_proto.
14541 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14542 rewinddir.
14543 (__getcwd): Use __rewinddir instead of rewinddir.
14544
14545 [BZ #17583]
14546 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14547 alias of __fileno. Use libc_hidden_weak.
14548 (__fileno): Use libc_hidden_def.
14549 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14550 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14551 alias of __ftello.
14552 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14553 __ftello.
14554 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14555 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14556 libc_hidden_def.
14557 (fread_unlocked): Don't use libc_hidden_ver.
14558 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14559 and define as weak alias of __fread_unlocked. Don't use
14560 libc_hidden_def.
14561 (__fread_unlocked): Use libc_hidden_def.
14562 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14563 (ftello): Don't use libc_hidden_proto.
14564 (__ftello): Declare. Use libc_hidden_proto.
14565 (fread_unlocked): Don't use libc_hidden_proto.
14566 (__fread_unlocked): Declare. Use libc_hidden_proto.
14567 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14568 and __ftello instead of fileno, fread_unlocked and ftello.
14569
14570 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
14572 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14573 GOT12.
14574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14575 Likewise.
14576 (_dl_start_user): Likewise.
14577 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14578
14579 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14580 Siddhesh Poyarekar <siddhesh@redhat.com>
14581
14582 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14583 Move argv and envp down instead of moving argc up.
14584 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14585
14586 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14587
14588 [BZ #17506]
14589 * test-skeleton.c (main): Return successful if one of
14590 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14591 * string/tst-strcoll-overflow.c: Define expected status.
14592
14593 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14594
14595 [BZ #17475]
14596 * locale/iso-639.def: Define Bhili and Tulu language codes.
14597
14598 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14599
14600 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14601
14602 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14603
14604 [BZ #17555]
14605 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14606
14607 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14608
14609 * configure.ac: Updated check of minimal required version to
14610 2.22.
14611 * manual/install.texi (Tools for Compilation): Updated version
14612 number.
14613 * configure: Regenerated.
14614 * INSTALL: Likewise.
14615
14616 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14617
14618 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14619 __tls_get_addr.
14620
14621 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14622
14623 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14624 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14625 (__waitpid): Don't define as alias. Use libc_hidden_def not
14626 libc_hidden_weak.
14627 (waitpid): Define as alias of __waitpid.
14628 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14629 __waitpid.
14630 (__waitpid): Don't define as alias. Use libc_hidden_def not
14631 libc_hidden_weak.
14632 (waitpid): Define as alias of __waitpid.
14633 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14634 __libc_waitpid alias.
14635 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14636 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14637 Likewise.
14638 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14640 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14641 alias.
14642 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14643 __waitpid.
14644 (__waitpid): Don't define as alias. Use libc_hidden_def not
14645 libc_hidden_weak.
14646 (waitpid): Define as alias of __waitpid.
14647
14648 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14649
14650 * manual/llio.texi: Add comment that write safety has been
14651 fixed in Linux.
14652
14653 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14654 (localplt-build-dso): Add elf/ld.so.
14655 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14656 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14657 and free for ld.so.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14659 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14661 Likewise.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14663 Likewise.
14664 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14665 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14666 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14667 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14668 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14669 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14670 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14672 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14674 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14675
14676 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14677
14678 [BZ #14132]
14679 * include/libc-symbols.h (INTUSE): Remove macro.
14680 (INTDEF): Likewise.
14681 (INTVARDEF): Likewise.
14682 (_INTVARDEF): Likewise.
14683 (INTDEF2): Likewise.
14684 (INTVARDEF2): Likewise.
14685 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14686 rtld_hidden_def instead of INTVARDEF.
14687 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14688 (_dl_starting_up_internal): Remove declaration.
14689 (_dl_starting_up): Use rtld_hidden_proto.
14690 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14691 declaration.
14692 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14693 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14694 _dl_starting_up.
14695 * elf/dl-writev.h (_dl_writev): Likewise.
14696 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14697 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14698 _dl_starting_up_internal.
14699
14700 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
14702 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14703 test-skeleton.c.
14704
14705 2014-11-05 Will Newton <will.newton@linaro.org>
14706
14707 * benchtests/Makefile: (bench-malloc): Add malloc thread
14708 scalability benchmark.
14709 * benchtests/bench-malloc-threads.c: New file.
14710
14711 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14712
14713 * sysdeps/aarch64/strchrnul.S: New file.
14714
14715 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716
14717 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14718 definition.
14719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14720 Likwise.
14721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14722 Likewise.
14723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14724 Likewise.
14725 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14726 Likewise.
14727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14728 Likewise.
14729
14730 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14731
14732 * catgets/test-gencat.c: Use test-skeleton.c.
14733 * catgets/tst-catgets.c: Likewise.
14734 * csu/tst-empty.c: Likewise.
14735 * elf/tst-audit2.c: Likewise.
14736 * elf/tst-global1.c: Likewise.
14737 * elf/tst-pathopt.c: Likewise.
14738 * elf/tst-piemod1.c: Likewise.
14739 * elf/tst-tls10.c: Likewise.
14740 * elf/tst-tls11.c: Likewise.
14741 * elf/tst-tls12.c: Likewise.
14742 * gnulib/tst-gcc.c: Likewise.
14743 * iconvdata/tst-e2big.c: Likewise.
14744 * iconvdata/tst-loading.c: Likewise.
14745 * iconv/tst-iconv1.c: Likewise.
14746 * iconv/tst-iconv2.c: Likewise.
14747 * inet/test-inet6_opt.c: Likewise.
14748 * inet/tst-gethnm.c: Likewise.
14749 * inet/tst-network.c: Likewise.
14750 * inet/tst-ntoa.c: Likewise.
14751 * intl/tst-codeset.c: Likewise.
14752 * intl/tst-gettext2.c: Likewise.
14753 * intl/tst-gettext3.c: Likewise.
14754 * intl/tst-ngettext.c: Likewise.
14755 * intl/tst-translit.c: Likewise.
14756 * io/test-stat.c: Likewise.
14757 * libio/test-fmemopen.c: Likewise.
14758 * libio/tst-freopen.c: Likewise.
14759 * libio/tst-sscanf.c: Likewise.
14760 * libio/tst-ungetwc1.c: Likewise.
14761 * libio/tst-ungetwc2.c: Likewise.
14762 * libio/tst-widetext.c: Likewise.
14763 * localedata/tst-ctype.c: Likewise.
14764 * localedata/tst-digits.c: Likewise.
14765 * localedata/tst-leaks.c: Likewise.
14766 * localedata/tst-mbswcs1.c: Likewise.
14767 * localedata/tst-mbswcs2.c: Likewise.
14768 * localedata/tst-mbswcs3.c: Likewise.
14769 * localedata/tst-mbswcs4.c: Likewise.
14770 * localedata/tst-mbswcs5.c: Likewise.
14771 * localedata/tst-setlocale.c: Likewise.
14772 * localedata/tst-trans.c: Likewise.
14773 * localedata/tst-wctype.c: Likewise.
14774 * localedata/tst-xlocale1.c: Likewise.
14775 * login/tst-grantpt.c: Likewise.
14776 * malloc/tst-calloc.c: Likewise.
14777 * malloc/tst-malloc.c: Likewise.
14778 * malloc/tst-mallocstate.c: Likewise.
14779 * malloc/tst-mcheck.c: Likewise.
14780 * malloc/tst-mtrace.c: Likewise.
14781 * malloc/tst-obstack.c: Likewise.
14782 * math/atest-exp2.c: Likewise.
14783 * math/atest-exp.c: Likewise.
14784 * math/atest-sincos.c: Likewise.
14785 * math/test-matherr.c: Likewise.
14786 * math/test-misc.c: Likewise.
14787 * math/test-powl.c: Likewise.
14788 * math/tst-definitions.c: Likewise.
14789 * misc/tst-dirname.c: Likewise.
14790 * misc/tst-efgcvt.c: Likewise.
14791 * misc/tst-fdset.c: Likewise.
14792 * misc/tst-hsearch.c: Likewise.
14793 * misc/tst-mntent2.c: Likewise.
14794 * nptl/tst-sem7.c: Likewise.
14795 * nptl/tst-sem8.c: Likewise.
14796 * nptl/tst-sem9.c: Likewise.
14797 * nss/test-netdb.c: Likewise.
14798 * posix/tst-fnmatch.c: Likewise.
14799 * posix/tst-getlogin.c: Likewise.
14800 * posix/tst-gnuglob.c: Likewise.
14801 * posix/tst-mmap.c: Likewise.
14802 * pwd/tst-getpw.c: Likewise.
14803 * resolv/tst-inet_ntop.c: Likewise.
14804 * rt/tst-timer.c: Likewise.
14805 * stdio-common/test-fseek.c: Likewise.
14806 * stdio-common/test-popen.c: Likewise.
14807 * stdio-common/test-vfprintf.c: Likewise.
14808 * stdio-common/tst-cookie.c: Likewise.
14809 * stdio-common/tst-fileno.c: Likewise.
14810 * stdio-common/tst-gets.c: Likewise.
14811 * stdio-common/tst-obprintf.c: Likewise.
14812 * stdio-common/tst-perror.c: Likewise.
14813 * stdio-common/tst-sprintf2.c: Likewise.
14814 * stdio-common/tst-sprintf3.c: Likewise.
14815 * stdio-common/tst-sprintf.c: Likewise.
14816 * stdio-common/tst-swprintf.c: Likewise.
14817 * stdio-common/tst-tmpnam.c: Likewise.
14818 * stdio-common/tst-unbputc.c: Likewise.
14819 * stdio-common/tst-wc-printf.c: Likewise.
14820 * stdlib/tst-environ.c: Likewise.
14821 * stdlib/tst-fmtmsg.c: Likewise.
14822 * stdlib/tst-limits.c: Likewise.
14823 * stdlib/tst-rand48-2.c: Likewise.
14824 * stdlib/tst-rand48.c: Likewise.
14825 * stdlib/tst-random2.c: Likewise.
14826 * stdlib/tst-random.c: Likewise.
14827 * stdlib/tst-strtol.c: Likewise.
14828 * stdlib/tst-strtoll.c: Likewise.
14829 * stdlib/tst-tls-atexit.c: Likewise.
14830 * stdlib/tst-xpg-basename.c: Likewise.
14831 * string/test-ffs.c: Likewise.
14832 * string/tst-bswap.c: Likewise.
14833 * string/tst-inlcall.c: Likewise.
14834 * string/tst-strtok.c: Likewise.
14835 * string/tst-strxfrm.c: Likewise.
14836 * sysdeps/x86_64/tst-audit10.c: Likewise.
14837 * sysdeps/x86_64/tst-audit3.c: Likewise.
14838 * sysdeps/x86_64/tst-audit4.c: Likewise.
14839 * sysdeps/x86_64/tst-audit5.c: Likewise.
14840 * time/tst-ftime_l.c: Likewise.
14841 * time/tst-getdate.c: Likewise.
14842 * time/tst-mktime3.c: Likewise.
14843 * time/tst-mktime.c: Likewise.
14844 * time/tst-posixtz.c: Likewise.
14845 * time/tst-strptime2.c: Likewise.
14846 * time/tst-strptime3.c: Likewise.
14847 * wcsmbs/tst-btowc.c: Likewise.
14848 * wcsmbs/tst-mbrtowc.c: Likewise.
14849 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14850 * wcsmbs/tst-wchar-h.c: Likewise.
14851 * wcsmbs/tst-wcpncpy.c: Likewise.
14852 * wcsmbs/tst-wcrtomb.c: Likewise.
14853 * wcsmbs/tst-wcsnlen.c: Likewise.
14854 * wcsmbs/tst-wcstof.c: Likewise.
14855
14856 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14857
14858 [BZ #14132]
14859 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14860 INTDEF.
14861 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14862 declaration.
14863 (_dl_mcount): Use rtld_hidden_proto.
14864 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14865 _dl_mcount.
14866 * elf/rtld.c (_rtld_global_ro): Likewise.
14867
14868 [BZ #14132]
14869 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14870 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14871 of _dl_init_internal.
14872 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14873 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14874 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14875 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14876 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14877 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14878 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14879 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14880 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14881 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14882 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14883 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14886 * sysdeps/tile/dl-start.S (_start): Likewise.
14887 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14888 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14889
14890 [BZ #14132]
14891 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14892 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14893 (rtld_progname): Make macro definition unconditional.
14894 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14895 INTDEF.
14896 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14897 (dl_main): Likewise.
14898 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14899 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14900 instead of _dl_argv_internal.
14901 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14902 __GI__dl_argv instead of INTUSE(_dl_argv).
14903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14904 __GI__dl_argv instead of _dl_argv_internal.
14905
14906 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14907 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14908 macro.
14909 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14910 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14911 New macro.
14912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14913 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14914 macro.
14915 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14916 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14917
14918 2014-11-04 Andreas Schwab <schwab@suse.de>
14919
14920 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14921
14922 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14923
14924 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14925 mtvsrd instruction in binary form.
14926
14927 2014-11-03 Andreas Schwab <schwab@suse.de>
14928
14929 [BZ #17522]
14930 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14931 for less than MB_LEN_MAX use a local buffer of that size.
14932 * libio/tst-fputws.c: New file.
14933 * libio/Makefile (tests): Add tst-fputws.
14934
14935 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14936
14937 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14938 the size of the fpu_fr.fpu_dregs[] array.
14939
14940 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14941
14942 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14943 (__nanosleep): Do not define as alias.
14944 (nanosleep): Define as alias of __nanosleep.
14945 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14946 __libc_nanosleep name.
14947
14948 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14949
14950 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14951 install.texi in comment.
14952
14953 2014-10-31 Torvald Riegel <triegel@redhat.com>
14954
14955 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14956 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14957 ... add here and use lwsync or sync ...
14958 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14959 ... and add here using lwsync.
14960
14961 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14962
14963 * elf/dl-machine-reject-phdr.h: New file.
14964 * elf/dl-load.c: #include that.
14965 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14966 if that returned true.
14967
14968 2014-10-31 Roland McGrath <roland@hack.frob.com>
14969
14970 [BZ #17496]
14971 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14972 gen-as-const-headers chunk. Add a big scare comment after the last
14973 safe place to touch before-compile.
14974
14975 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14976
14977 * manual/install.texi (Tools for Compilation): Update autoconf
14978 version requirements.
14979 * INSTALL: Regenerated.
14980
14981 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14982 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14983 (__libc_pselect): Likewise.
14984
14985 [BZ #14138]
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14990
14991 2014-10-31 Torvald Riegel <triegel@redhat.com>
14992
14993 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14994 correct barrier instruction.
14995 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14996 Likewise.
14997 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14998 Likewise.
14999
15000 2014-10-30 Roland McGrath <roland@hack.frob.com>
15001
15002 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15003 after defining inlines. Instead, just use parens to defeat macro
15004 expansion of __isctype in its declaration.
15005
15006 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15007
15008 * include/sys/uio.h (__libc_readv): Remove declaration.
15009 (__libc_writev): Likewise.
15010 * misc/readv.c (__libc_readv): Rename to __readv.
15011 (__readv): Do not define as alias.
15012 (readv): Define as alias of __readv.
15013 * misc/writev.c (__libc_writev): Rename to __writev.
15014 (__writev): Do not define as alias.
15015 (writev): Define as alias of __writev.
15016 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15017 (__readv): Do not define as alias.
15018 (readv): Define unconditionally as alias of __readv.
15019 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15020 (__writev): Do not define as alias.
15021 (writev): Define unconditionally as alias of __writev.
15022 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15023 name.
15024 (writev): Do not define __libc_writev name.
15025
15026 2014-10-30 Roland McGrath <roland@hack.frob.com>
15027
15028 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15029 (convert_charseq): New function, broken out of ...
15030 (use_from_charmap): ... here. Call it.
15031 (use_to_charmap): Use convert_charseq and free instead of duplicating
15032 its code with a variable-length stack struct.
15033
15034 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15035
15036 * include/fcntl.h (__libc_creat): Remove declaration.
15037 * io/creat.c (__libc_creat): Rename to creat.
15038 (creat): Do not define as alias.
15039 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15040 of creat instead of __libc_creat.
15041 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15042 to creat.
15043 (creat): Do not define as alias.
15044 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15045 __libc_creat.
15046 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15047 __libc_creat name.
15048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15049 Likewise.
15050
15051 2014-10-29 Carlos O'Donell <carlos@redhat.com>
15052
15053 * manual/llio.texi: Add comments discussing why write() may be
15054 considered MT-unsafe on Linux.
15055
15056 2014-10-28 Carlos O'Donell <carlos@redhat.com>
15057
15058 * dl-load.c (local_strdup): Remove.
15059 (expand_dynamic_string_token): Use __strdup.
15060 (decompose_rpath): Likewise.
15061 (_dl_map_object): Likewise.
15062
15063 2014-10-28 Joseph Myers <joseph@codesourcery.com>
15064
15065 [BZ #14132]
15066 * sysdeps/generic/unwind-dw2-fde.c
15067 (__register_frame_info_bases_internal): Do not declare.
15068 (__register_frame_info_table_bases_internal): Likewise.
15069 (__deregister_frame_info_bases_internal): Likewise.
15070 (__register_frame_info_bases): Declare and use hidden_proto before
15071 definition. Use hidden_def instead of INTDEF.
15072 (__register_frame_info_table_bases): Likewise.
15073 (__deregister_frame_info_bases): Likewise.
15074 (__register_frame_info): Do not use INTUSE.
15075 (__register_frame): Likewise.
15076 (__register_frame_info_table): Likewise.
15077 (__register_frame_table): Likewise.
15078 (__deregister_frame_info): Likewise.
15079 (__deregister_frame): Likewise.
15080
15081 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15082
15083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15084 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15085 not undefine.
15086 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15087 Likewise.
15088 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15089 Likewise.
15090
15091 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15092
15093 [BZ #14138]
15094 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15095 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15097 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15098 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15099 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15103 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15104 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15106 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15107 syscall.
15108 (setfsuid): Likewise.
15109 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15110 (setfsuid): Likewise.
15111 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15112 (setfsuid): Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15114 Likewise.
15115 (setfsuid): Likewise.
15116 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15117 (setfsuid): Likewise.
15118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15119 Likewise.
15120 (setfsuid): Likewise.
15121
15122 2014-10-27 Andreas Schwab <schwab@suse.de>
15123
15124 [BZ #17501]
15125 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15126 check for Slow_SSE4_2 feature bit.
15127 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15128 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15129 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15130 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15131
15132 2014-10-24 Roland McGrath <roland@hack.frob.com>
15133
15134 * configure.ac: Validate compiler version with a empirical test of
15135 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15136 $CC -v output.
15137 * configure: Regenerated.
15138
15139 * inet/htons.c (htons): Prototypify.
15140 * inet/htonl.c (htonl): Likewise.
15141
15142 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15143
15144 * string/strncat.c (strncat): Improve performance by using strlen.
15145
15146 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15147
15148 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15149
15150 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15151
15152 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15153 Call libc_fetestexcept_aarch64.
15154
15155 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15156
15157 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15158 Call libc_feholdexcept_aarch64.
15159
15160 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15161
15162 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15163 Call get_rounding_mode.
15164
15165 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15166
15167 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15168 Simplify logic.
15169
15170 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15171
15172 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15173 Simplify logic.
15174
15175 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #14138]
15178 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15179 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15180 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15181 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15182 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15183 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15184 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15188 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15189 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15191 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15192 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15193 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15194 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15195 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15196 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15197 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15198 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15199 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15203 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15204 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15205 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15206 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15207 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15208 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15209 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15210 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15211 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15212 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15214 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15218 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15219 syscall.
15220 (geteuid): Likewise.
15221 (getgid): Likewise.
15222 (getuid): Likewise.
15223 (getresgid): Likewise.
15224 (getresuid): Likewise.
15225 (getgroups): Likewise.
15226 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15227 (geteuid): Likewise.
15228 (getgid): Likewise.
15229 (getuid): Likewise.
15230 (getresgid): Likewise.
15231 (getresuid): Likewise.
15232 (getgroups): Likewise.
15233 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15234 (geteuid): Likewise.
15235 (getgid): Likewise.
15236 (getuid): Likewise.
15237 (getresgid): Likewise.
15238 (getresuid): Likewise.
15239 (getgroups): Likewise.
15240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15241 Likewise.
15242 (geteuid): Likewise.
15243 (getgid): Likewise.
15244 (getuid): Likewise.
15245 (getresgid): Likewise.
15246 (getresuid): Likewise.
15247 (getgroups): Likewise.
15248 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15249 (geteuid): Likewise.
15250 (getgid): Likewise.
15251 (getuid): Likewise.
15252 (getresgid): Likewise.
15253 (getresuid): Likewise.
15254 (getgroups): Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15256 Likewise.
15257 (geteuid): Likewise.
15258 (getgid): Likewise.
15259 (getuid): Likewise.
15260 (getgroups): Likewise.
15261
15262 [BZ #14138]
15263 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15264 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15265 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15267 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15268 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15270 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15271 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15272 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15273 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15275 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15276 __chown.
15277 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15278 (lchown): Likewise.
15279 (fchown): Likewise.
15280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15281 Likewise.
15282 (lchown): Likewise.
15283 (fchown): Likewise.
15284 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15285 (lchown): Likewise.
15286 (fchown): Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15288 Likewise.
15289 (lchown): Likewise.
15290 (fchown): Likewise.
15291
15292 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15293
15294 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15295 Simplify logic.
15296
15297 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15298
15299 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15300 Cleanup logic.
15301
15302 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15303
15304 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15305 Remove unused include.
15306
15307 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15308
15309 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15310 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15311 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15312 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15313
15314 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15315 Helge Deller <deller@gmx.de>
15316
15317 [BZ #17508]
15318 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15319 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15320 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15321
15322 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15323
15324 [BZ #14132]
15325 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15326 Remove macro definition.
15327 (__ashrdi3_v_glibc20): Likewise.
15328 (__lshrdi3_v_glibc20): Likewise.
15329 (__cmpdi2_v_glibc20): Likewise.
15330 (__ucmpdi2_v_glibc20): Likewise.
15331 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15332 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15333 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15334 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15335 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15336 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15337
15338 2014-10-22 Roland McGrath <roland@hack.frob.com>
15339
15340 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15341 old GNU extension [0] syntax.
15342 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15343 alloca rather than an array member with variable length.
15344 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15345 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15346 (parse_opt): ... here. Likewise use alloca there.
15347 Validate the -i argument before checking for rootness.
15348 (send_shutdown): New function, broken out of ...
15349 (parse_opt): ... here.
15350
15351 2014-10-22 Roland McGrath <roland@hack.frob.com>
15352
15353 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15354 macro to get at the _rt_local_ro field.
15355 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15356 ([PIC] case) or _dl_hwcap ([!PIC] case).
15357 * sysdeps/arm/setjmp.S: Likewise.
15358
15359 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15360 * sysdeps/arm/configure.ac: New check to define it.
15361 * sysdeps/arm/configure: Regenerated.
15362 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15363 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15364 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15365 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15366 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15367 Use move/movt pair instead of a load.
15368 (LDST_GLOBAL): Macro removed.
15369 (LDR_GLOBAL): New macro replaces it.
15370 (LDR_HIDDEN): New macro.
15371 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15372 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15373
15374 * setjmp/tst-setjmp-static.c: New file.
15375 * setjmp/Makefile (tests): Add it.
15376 (tests-static): New variable.
15377
15378 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15379
15380 [BZ #17485]
15381 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15382
15383 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15384
15385 [BZ #14132]
15386 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15387
15388 2014-10-21 Roland McGrath <roland@hack.frob.com>
15389
15390 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15391
15392 2014-10-20 Roland McGrath <roland@hack.frob.com>
15393
15394 * io/fts.c (dirent_not_directory): New function.
15395 (fts_build): Call it.
15396
15397 2014-10-20 Roland McGrath <roland@hack.frob.com>
15398
15399 * nptl/version.c (__nptl_main): Use normal __write rather than
15400 INTERNAL_SYSCALL.
15401 (banner): Update copyright years.
15402
15403 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15404 gettimeofday.
15405 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15406 * nptl/pthread_cond_timedwait.c: Likewise.
15407 * nptl/pthread_mutex_timedlock.c: Likewise.
15408 * nptl/sem_timedwait.c: Likewise.
15409
15410 * sysdeps/nptl/bits/libc-lock.h
15411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15412 (__libc_lock_init_recursive): Return void, not 0.
15413 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15414 (__libc_rwlock_init): Likewise.
15415 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15416
15417 2014-10-20 Torvald Riegel <triegel@redhat.com>
15418
15419 [BZ #15215]
15420 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15421 (__pthread_once_slow): ... here.
15422 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15423 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15424
15425 2014-10-20 Torvald Riegel <triegel@redhat.com>
15426
15427 [BZ #15215]
15428 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15429 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15430 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15431 * nptl/pthread_once.c (__pthread_once): Likewise.
15432 Update comments.
15433
15434 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15435
15436 [BZ #14138]
15437 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15438 name.
15439 (writev): Use __libc_writev as strong name.
15440 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15441 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15442
15443 2014-10-17 Roland McGrath <roland@hack.frob.com>
15444
15445 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15446
15447 * sysdeps/i386/nptl/tls.h
15448 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15449 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15450 New macros.
15451 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15452 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15453 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15454 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15455 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15456 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15457
15458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15459 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15460 on [__NR_futex].
15461 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15462 broken out of ...
15463 (__pthread_mutex_init): ... here. Call it.
15464 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15465 Conditionalize PI cases on [__NR_futex].
15466 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15467 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15468 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15469
15470 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15471 conditional on [SIGSETXID].
15472 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15473 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15474 is defined. Likewise for SIGSETXID.
15475 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15476 Conditionalize definitions on [SIGSETXID].
15477 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15478 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15479 unblocking on [SIGCANCEL].
15480
15481 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15482 [__NR_set_robust_list].
15483
15484 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15485
15486 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15487 (do_compare): Likewise.
15488
15489 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15490
15491 [BZ #15884]
15492 * string/strcoll_l.c: Don't include stdio.h.
15493 (coll_seq): Remove members idxarr and rulearr.
15494 (get_next_seq_cached): Remove function.
15495 (get_next_seq): Likewise.
15496 (get_next_seq_nocache): Rename to get_next_seq.
15497 (do_compare): Remove function.
15498 (do_compare_nocache): Rename to do_compare.
15499 (STRCOLL): Remove weight and rules cache.
15500
15501 2014-10-16 Roland McGrath <roland@hack.frob.com>
15502
15503 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15504 * sysdeps/arm/sfp-machine.h: ... to here.
15505 * sysdeps/arm/Implies: Remove arm/soft-fp.
15506
15507 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15508
15509 * conform/data/sys/utsname.h-data (*_t): Allow.
15510 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15511 [POSIX] (WEXITED): Do not expect constant.
15512 [POSIX] (WSTOPPED): Likewise.
15513 [POSIX] (WNOHANG): Likewise.
15514 [POSIX] (WNOWAIT): Likewise.
15515 [POSIX] (siginfo_t): Do not expect type or elements.
15516 [POSIX] (pid_t): Do not expect type.
15517 [POSIX] (signal.h): Do not allow header.
15518 [POSIX] (sys/resource.h): Likewise.
15519 [POSIX] (si_*): Do not allow pattern.
15520 [POSIX] (W*): Likewise.
15521 [POSIX] (P_*): Likewise.
15522 [POSIX] (BUS_*): Likewise.
15523 [POSIX] (CLD_*): Likewise.
15524 [POSIX] (FPE_*): Likewise.
15525 [POSIX] (ILL_*): Likewise.
15526 [POSIX] (POLL_*): Likewise.
15527 [POSIX] (SEGV_*): Likewise.
15528 [POSIX] (SI_*): Likewise.
15529 [POSIX] (TRAP_*): Likewise.
15530 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15531 variable.
15532
15533 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15534
15535 [BZ #12926]
15536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15537 infinite loop when __recvmsg returns 0.
15538
15539 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15540
15541 * CANCEL-FCT-WAIVE: Remove file.
15542 * CANCEL-FILE-WAIVE: Likewise.
15543
15544 [BZ #14132]
15545 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15546 instead of INTVARDEF.
15547 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15548 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15549 rtld_hidden_data_def instead of INTVARDEF.
15550 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15551 * elf/dl-deps.c (expand_dst): Likewise.
15552 * elf/dl-load.c (_dl_dst_count): Likewise.
15553 (_dl_dst_substitute): Likewise.
15554 (decompose_rpath): Likewise.
15555 (_dl_init_paths): Likewise.
15556 (open_path): Likewise.
15557 (_dl_map_object): Likewise.
15558 * elf/rtld.c (dl_main): Likewise.
15559 (process_dl_audit): Likewise.
15560 (process_envvars): Likewise.
15561 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15562 Remove declaration.
15563 (__libc_enable_secure): Use rtld_hidden_proto.
15564
15565 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15566
15567 * elf/dl-load.c
15568 (add_path): New function broken out of _dl_rtld_di_serinfo.
15569 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15570
15571 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15572
15573 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15574 parentheses around macro arguments.
15575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15581 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15585 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15586 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15587 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15589 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15590 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15591 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15604 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15608 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15609 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15610 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15611 Likewise.
15612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15619 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15620 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15623 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15624 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15625 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15632 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15633 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15634 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15635 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15636 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15637 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15638 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15639 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15640 (_FP_FRAC_SRS_1): Likewise.
15641 (_FP_FRAC_CLZ_1): Likewise.
15642 (_FP_MUL_MEAT_1_imm): Likewise.
15643 (_FP_MUL_MEAT_1_wide): Likewise.
15644 (_FP_MUL_MEAT_1_hard): Likewise.
15645 (_FP_SQRT_MEAT_1): Likewise.
15646 (_FP_FRAC_ASSEMBLE_1): Likewise.
15647 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15648 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15649 (__FP_CLZ_2): Likewise.
15650 (_FP_MUL_MEAT_2_wide): Likewise.
15651 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15652 (_FP_MUL_MEAT_2_gmp): Likewise.
15653 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15654 (_FP_SQRT_MEAT_2): Likewise.
15655 (_FP_FRAC_ASSEMBLE_2): Likewise.
15656 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15657 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15658 (_FP_FRAC_CLZ_4): Likewise.
15659 (_FP_MUL_MEAT_4_wide): Likewise.
15660 (_FP_MUL_MEAT_4_gmp): Likewise.
15661 (_FP_SQRT_MEAT_4): Likewise.
15662 (_FP_FRAC_ASSEMBLE_4): Likewise.
15663 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15664 * soft-fp/op-common.h (_FP_CMP): Likewise.
15665 (_FP_CMP_EQ): Likewise.
15666 (_FP_CMP_UNORD): Likewise.
15667 (_FP_TO_INT): Likewise.
15668 (_FP_FROM_INT): Likewise.
15669 [!__FP_CLZ] (__FP_CLZ): Likewise.
15670 (_FP_DIV_HELP_imm): Likewise.
15671 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15672 Likewise.
15673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15684 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15685 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15688 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15689 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15702 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15703 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15704 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15705 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15706 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15707 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15708 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15709 (FP_UNPACK_RAW_SP): Likewise.
15710 (FP_PACK_RAW_S): Likewise.
15711 (FP_PACK_RAW_SP): Likewise.
15712 (FP_UNPACK_S): Likewise.
15713 (FP_UNPACK_SP): Likewise.
15714 (FP_UNPACK_SEMIRAW_S): Likewise.
15715 (FP_UNPACK_SEMIRAW_SP): Likewise.
15716 (FP_PACK_S): Likewise.
15717 (FP_PACK_SP): Likewise.
15718 (FP_PACK_SEMIRAW_S): Likewise.
15719 (FP_PACK_SEMIRAW_SP): Likewise.
15720 (_FP_SQRT_MEAT_S): Likewise.
15721 (FP_CMP_S): Likewise.
15722 (FP_CMP_EQ_S): Likewise.
15723 (FP_CMP_UNORD_S): Likewise.
15724 (FP_TO_INT_S): Likewise.
15725 (FP_FROM_INT_S): Likewise.
15726
15727 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15728
15729 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15730 (FP_EX_INVALID_IMZ): Likewise.
15731 (FP_EX_INVALID_IMZ_FMA): Likewise.
15732 (FP_EX_INVALID_ISI): Likewise.
15733 (FP_EX_INVALID_ZDZ): Likewise.
15734 (FP_EX_INVALID_IDI): Likewise.
15735 (FP_EX_INVALID_SQRT): Likewise.
15736 (FP_EX_INVALID_CVI): Likewise.
15737 (FP_EX_INVALID_VC): Likewise.
15738 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15739 "invalid" exceptions.
15740 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15741 (_FP_ADD_INTERNAL): Likewise.
15742 (_FP_MUL): Likewise.
15743 (_FP_FMA): Likewise.
15744 (_FP_DIV): Likewise.
15745 (_FP_CMP_CHECK_NAN): Likewise.
15746 (_FP_SQRT): Likewise.
15747 (_FP_TO_INT): Likewise.
15748 (FP_EXTEND): Likewise.
15749
15750 2014-10-09 Allan McRae <allan@archlinux.org>
15751
15752 * po/fr.po: Update French translation from translation project.
15753
15754 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15755
15756 [BZ #14132]
15757 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15758 of INTDEF.
15759 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15760 (__cxa_atexit): Use libc_hidden_proto.
15761 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15762
15763 [BZ #14132]
15764 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15765 declaration.
15766 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15767 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15768 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15769 [!_ISOMAC] (__iswctype_internal): Likewise.
15770 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15771 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15772 alias.
15773 (fcntl): Remove __fcntl_internal alias.
15774 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15775 __connect_internal alias.
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15777 Likewise.
15778
15779 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15780 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15781 FP_DENORM_ZERO.
15782 (_FP_CHECK_FLUSH_ZERO): New macro.
15783 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15784 (_FP_CMP): Likewise.
15785 (_FP_CMP_EQ): Likewise.
15786 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15787 FP_DENORM_ZERO.
15788 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15789 (FP_TRUNC): Likewise.
15790
15791 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15792 treated as invalid conversion, not as normal exponent.
15793
15794 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15795 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15796 (_FP_CMP_EQ): Likewise.
15797 (_FP_CMP_UNORD): Likewise.
15798 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15799 (FP_CMP_EQ_D): Likewise.
15800 (FP_CMP_UNORD_D): Likewise.
15801 * soft-fp/extended.h (FP_CMP_E): Likewise.
15802 (FP_CMP_EQ_E): Likewise.
15803 (FP_CMP_UNORD_E): Likewise.
15804 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15805 (FP_CMP_EQ_Q): Likewise.
15806 (FP_CMP_UNORD_Q): Likewise.
15807 * soft-fp/single.h (FP_CMP_S): Likewise.
15808 (FP_CMP_EQ_S): Likewise.
15809 (FP_CMP_UNORD_S): Likewise.
15810 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15811 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15812 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15813 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15814 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15815 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15816 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15817 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15818 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15819 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15820 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15821 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15822 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15823 to FP_CMP_Q.
15824 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15825 FP_CMP_Q.
15826 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15827 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15828 FP_CMP_EQ_Q.
15829 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15830 FP_CMP_Q.
15831 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15832 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15833 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15834 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15835 FP_CMP_EQ_Q.
15836 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15837 FP_CMP_Q.
15838 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15840 FP_CMP_EQ_Q.
15841 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15842 FP_CMP_Q.
15843 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15844 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15845 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15847 FP_CMP_EQ_Q.
15848
15849 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15850 a subnormal result, set the underflow exception if trapping on
15851 underflow is enabled.
15852 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15853 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15854 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15855 redefine to 0.
15856 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15857 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15858 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15859 * soft-fp/extendxftf2.c (__extendxftf2): Use
15860 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15861
15862 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15863 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15864 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15865 FP_HANDLE_EXCEPTIONS.
15866 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15867 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15868 FP_HANDLE_EXCEPTIONS.
15869 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15870 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15871 FP_HANDLE_EXCEPTIONS.
15872 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15873 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15874 FP_HANDLE_EXCEPTIONS.
15875
15876 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15877
15878 [BZ #14132]
15879 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15880 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15881 use INTUSE.
15882 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15883 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15884 Remove alias.
15885 (__adjtimex): Define using libc_hidden_ver.
15886 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15887 Remove declaration.
15888 (ntp_gettime): Call __adjtimex directly.
15889 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15890 Remove declaration.
15891 (ntp_gettimex): Call __adjtimex directly.
15892 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15893 __adjtimex_internal alias.
15894
15895 2014-10-08 Roland McGrath <roland@hack.frob.com>
15896
15897 [BZ #17460]
15898 * nscd/nscd.c (more_help): Rewrite list of tables collection
15899 using xstrdup and asprintf.
15900
15901 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15902
15903 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15904 Roland McGrath <roland@hack.frob.com>
15905
15906 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15907 (do_lookup_unique): ... local function 'enter' here; update callers.
15908
15909 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15910
15911 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15912 compat_symbol calls on [SHARED].
15913 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15914 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15915 Remove.
15916 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15917 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15918 (oldsetrlimit): Remove.
15919 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15921 (lchown): New syscall entry.
15922 (oldsetrlimit): Remove.
15923 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15925 (oldsetrlimit): Remove.
15926 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15927
15928 [BZ #14138]
15929 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15930 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15931 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15932 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15934 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15935 (fchown): Likewise.
15936 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15937 (fchown): Likewise.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15939 Likewise.
15940
15941 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
15943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15944 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15945 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15946 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15947 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15948 Likewise.
15949 (__old_sem_post): Likewise.
15950
15951 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15952
15953 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15954 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15955 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15956 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15957 Use INLINE_VSYSCALL macro.
15958 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15959 __vdso_clock_gettime.
15960 * sysdeps/unix/sysv/linux/tile/init-first.c
15961 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15962 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15963 __vdso_clock_gettime.
15964
15965 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15966 to set up frame more cleanly.
15967
15968 * sysdeps/tile/memcmp.c: New file.
15969
15970 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15971
15972 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15973 * sysdeps/tile/tilegx/strcasestr.c: New file.
15974 * sysdeps/tile/tilegx/strnlen.c: New file.
15975 * sysdeps/tile/tilegx/strstr.c: New file.
15976
15977 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15978
15979 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15980
15981 * nptl/tst-setuid3.c: Write errors to stdout.
15982
15983 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15984
15985 * elf/dl-deps.c
15986 (preload): New functions broken out of _dl_map_object_deps.
15987 (_dl_map_object_deps): Remove a nested function. Update call sites.
15988
15989 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15990
15991 [BZ #14138]
15992 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15993 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15994
15995 2014-10-01 Steve Ellcey <sellcey@mips.com>
15996
15997 * sysdeps/mips/strcmp.S: New.
15998
15999 2014-09-30 Joseph Myers <joseph@codesourcery.com>
16000
16001 [BZ #14138]
16002 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16003 (linkat): Likewise.
16004 (mkdirat): Likewise.
16005 (readlinkat): Likewise.
16006 (renameat): Likewise.
16007 (symlinkat): Likewise.
16008 (unlinkat): Likewise.
16009 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16010 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16011 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16012 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16013 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16014 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16015 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16016
16017 2014-09-30 Will Newton <will.newton@linaro.org>
16018
16019 * math/math.h: Define long double math functions if
16020 _LIBC_TEST is defined.
16021 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16022
16023 * localedata/Makefile: Move assignment to tests-special
16024 into an ifdef testing run-built-tests.
16025 * timezone/Makefile: Likewise.
16026
16027 2014-09-29 Joseph Myers <joseph@codesourcery.com>
16028
16029 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16030 with $(BASH) not $(SHELL).
16031
16032 2014-09-29 Carlos O'Donell <carlos@redhat.com>
16033 Matthew LeGendre <legendre1@llnl.gov>
16034
16035 [BZ #17411]
16036 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16037 l_reloc_result.
16038
16039 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16040
16041 * stdio-common/printf_fp.c
16042 (hack_digit): New function, broken out of ...
16043 (__printf_fp): ... local function here. Update call sites.
16044 hack_digit now takes an additional parameter that is a pointer
16045 to a struct of the referenced locals. Those locals moved inside
16046 the struct and references updated.
16047
16048 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
16049
16050 * aclocal.m4: Require autoconf 2.69.
16051 * configure: Regenerated.
16052 * sysdeps/aarch64/configure: Likewise.
16053 * sysdeps/alpha/configure: Likewise.
16054 * sysdeps/arm/armv7/configure: Likewise.
16055 * sysdeps/arm/configure: Likewise.
16056 * sysdeps/ia64/configure: Likewise.
16057 * sysdeps/mach/configure: Likewise.
16058 * sysdeps/mips/configure: Likewise.
16059 * sysdeps/s390/configure: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16062
16063 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16064 file.
16065 * sysdeps/ia64/configure.ac: Likewise.
16066
16067 2014-09-26 Joseph Myers <joseph@codesourcery.com>
16068
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16070 specify symbol version for ld.so. Do not include entry for
16071 libpthread.
16072 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16075
16076 [BZ #14171]
16077 * Makeconfig [$(build-shared) = yes]
16078 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16079 makefiles.
16080 [$(build-shared) = yes && $(soversions.mk-done) = t]
16081 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16082 [$(build-shared) = yes && $(soversions.mk-done) = t]
16083 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16084 to Makerules.
16085 [$(build-shared) = yes && $(soversions.mk-done) = t]
16086 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16087 here.
16088 [$(build-shared) = yes && $(soversions.mk-done) = t]
16089 (common-generated): Don't append gnu/lib-names.h and
16090 gnu/lib-names.stmp here.
16091 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16092 (lib-names-h-abi): New variable.
16093 [$(build-shared) = yes && $(soversions.mk-done) = t]
16094 (lib-names-stmp-abi): Likewise.
16095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16096 abi-variants] (before-compile): Append
16097 $(common-objpfx)$(lib-names-h-abi).
16098 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16099 abi-variants] (common-generated): Append gnu/lib-names.h.
16100 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16101 abi-variants] (install-others-nosubdir): Depend on
16102 $(inst_includedir)/$(lib-names-h-abi).
16103 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16104 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16105 [$(build-shared) = yes && $(soversions.mk-done) = t]
16106 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16107 [$(build-shared) = yes && $(soversions.mk-done) = t]
16108 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16109 [$(build-shared) = yes && $(soversions.mk-done) = t]
16110 (common-generated): Append $(lib-names-h-abi) and
16111 $(lib-names-stmp-abi).
16112 * scripts/lib-names.awk: Do not handle multi being set.
16113 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16114 Remove variable.
16115 (abi-lp64_be-ld-soname): Likewise.
16116 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16117 Likewise.
16118 (abi-hard-ld-soname): Likewise.
16119 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16120 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16121 Remove variable.
16122 (abi-o32_hard-ld-soname): Likewise.
16123 (abi-o32_soft_2008-ld-soname): Likewise.
16124 (abi-o32_hard_2008-ld-soname): Likewise.
16125 (abi-n32_soft-ld-soname): Likewise.
16126 (abi-n32_hard-ld-soname): Likewise.
16127 (abi-n32_soft_2008-ld-soname): Likewise.
16128 (abi-n32_hard_2008-ld-soname): Likewise.
16129 (abi-n64_soft-ld-soname): Likewise.
16130 (abi-n64_hard-ld-soname): Likewise.
16131 (abi-n64_soft_2008-ld-soname): Likewise.
16132 (abi-n64_hard_2008-ld-soname): Likewise.
16133 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16134 Likewise.
16135 (abi-64-v2-ld-soname): Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16137 ld.so entries.
16138 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16139 variable.
16140 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16141 entry.
16142 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16143 variable.
16144 (abi-64-ld-soname): Likewise.
16145 (abi-x32-ld-soname): Likewise.
16146 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16147 entry.
16148 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16149
16150 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16151
16152 [BZ #14138]
16153 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16155 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16158 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16159 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16160 syscall entry for GLIBC_2.2 symbol version.
16161 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16162 Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16164 (setrlimit): Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16166 Likewise.
16167
16168 2014-09-23 Will Newton <will.newton@linaro.org>
16169
16170 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16171 _LINUX_ARM_SYSDEP_H include guard too.
16172 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16173 define.
16174
16175 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16176
16177 * sysdeps/unix/sysv/linux/eventfd.c:
16178 Make first argument unsigned.
16179 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16180 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16181
16182 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16183
16184 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16185 * socket/sys/socket.h: Likewise
16186 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16187
16188 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16189
16190 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16191
16192 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16193
16194 * time/tst-ftime.c: New test.
16195 * time/Makefile (tests): Add tst-ftime.
16196
16197 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16198
16199 * soft-fp/extended.h: Fix comment formatting.
16200 * soft-fp/op-1.h: Likewise.
16201 * soft-fp/op-2.h: Likewise.
16202 * soft-fp/op-4.h: Likewise.
16203 * soft-fp/op-8.h: Likewise.
16204 * soft-fp/op-common.h: Likewise.
16205 * soft-fp/soft-fp.h: Likewise.
16206
16207 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16208
16209 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16210
16211 [BZ #6652]
16212 * Makeconfig (soversions-default-setname): Remove variable.
16213 ($(common-objpfx)soversions.i): Don't pass default_setname to
16214 soversions.awk.
16215 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16216 oldest_abi to abi-versions.awk.
16217 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16218 * config.make.in (oldest-abi): Remove variable.
16219 * configure.ac (--enable-oldest-abi): Remove configure option.
16220 * configure: Regenerated.
16221 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16222 text.
16223 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16224 * scripts/soversions.awk: Do not handle default_setname variable.
16225 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16226 variable.
16227 * sysdeps/mach/hurd/configure: Regenerated.
16228 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16229 variable.
16230 * sysdeps/unix/sysv/linux/configure: Regenerated.
16231
16232 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16233
16234 * elf/Makefile (CFLAGS-interp.c): Remove.
16235 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16236 path string.
16237 * elf/interp.c: Include generated runtime-linker.h
16238
16239 * Makerules (lib%.so): Don't include $(+interp) in
16240 prerequisites.
16241 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16242 * dlfcn/eval.c: Remove file.
16243
16244 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16245 macros.
16246
16247 [BZ #17266]
16248 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16249 4.2 and newer.
16250
16251 [BZ #17370]
16252 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16253
16254 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16255 Jakub Jelinek <jakub@redhat.com>
16256
16257 [BZ #17266]
16258 * libio/stdio.h: Check definition of __fortify_function
16259 instead of __extern_always_inline to include bits/stdio2.h.
16260 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16261 check if __extern_always_inline is defined.
16262 [__USE_MISC || __USE_XOPEN]: Likewise.
16263 [__USE_ISOC99] Likewise.
16264 * misc/sys/cdefs.h (__fortify_function): Define only if
16265 __extern_always_inline is defined.
16266 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16267 __extern_always_inline and __extern_inline only for g++-4.3
16268 and newer or a compatible gcc.
16269
16270 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16271
16272 [BZ #17371]
16273 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16274 last change to handle zero prefix length.
16275
16276 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16277
16278 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16279 _SC_REGEX_VERSION.
16280
16281 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16282 _POSIX_RAW_SOCKETS.
16283
16284 2014-09-13 Allan McRae <allan@archlinux.org>
16285
16286 * po/ru.po: Update Russian translation from translation project.
16287
16288 2014-09-12 Roland McGrath <roland@hack.frob.com>
16289
16290 * locale/programs/locale.c (show_locale_vars): Inline local function
16291 into its sole call site. Clean up some style nits.
16292 (print_item): New function, broken out of ...
16293 (show_info): ... local function here. Clean up style nits.
16294
16295 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16296 out of ...
16297 (set_class_defaults): ... local function set_default here.
16298 Define set_default as a macro locally to pass constant parameters.
16299 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16300 rather than a shared local.
16301
16302 * stdlib/rpmatch.c (try): New function, broken out of ...
16303 (rpmatch): ... local function here. Also, prototypify definition.
16304
16305 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16306
16307 * scripts/soversions.awk: Do not handle configuration names.
16308 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16309 vendor and os variables to soversions.awk.
16310 * configure.ac: Do not modify gnu-* host_os.
16311 * configure: Regenerated
16312 * shlib-versions: Remove first column with configuration names.
16313 * nptl/shlib-versions: Likewise.
16314 * nptl_db/shlib-versions: Likewise.
16315 * sysdeps/hppa/shlib-versions: Likewise.
16316 * sysdeps/m68k/shlib-versions: Likewise.
16317 * sysdeps/mach/hurd/shlib-versions: Likewise.
16318 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16319 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16320 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16321 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16322 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16323 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16324 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16327 Likewise.
16328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16329 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16330 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16333 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16336
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16338 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16340 Regenerated.
16341 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16343 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16344
16345 * shlib-versions: Remove OS-specific entries. Moved to files in
16346 sysdeps.
16347 * sysdeps/mach/hurd/shlib-versions: New file.
16348 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16349
16350 * nptl/shlib-versions: Remove architecture-specific entries.
16351 Moved to files in sysdeps.
16352 * shlib-versions: Likewise.
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16354 file.
16355 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16356 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16357 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16359
16360 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16361 (UDP_NO_CHECK6_RX): Likewise.
16362
16363 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16364
16365 * sysdeps/posix/sysconf.c (__sysconf): Spell
16366 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16367
16368 2014-08-12 Florian Weimer <fweimer@redhat.com>
16369
16370 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16371 loading.
16372 * iconv/Versions (__gconv_transliterate): Export for use from
16373 gconv modules.
16374 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16375 (struct __gconv_trans_data, __gconv_trans_fct,
16376 __gconv_trans_context_fct, __gconv_trans_query_fct,
16377 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16378 definitions.
16379 (struct __gconv_step_data): Remove __trans member.
16380 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16381 longer hidden. Remove unused trans_data argument.
16382 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16383 (__gconv_translit_find): Remove declaration.
16384 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16385 prototype.
16386 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16387 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16388 trans_data argument. Add hidden definition.
16389 (__gconv_translit_find): Remove.
16390 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16391 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16392 * iconv/skeleton.c: Remove transliteration initialization.
16393 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16394 __gconv_step_data initialization.
16395 * libio/iofwide.c (__libio_translit_): Remove.
16396 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16397 * wcsmbs/btowc.c (__btowc): Likewise.
16398 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16399 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16400 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16401 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16402 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16403 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16404 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16405 * wcsmbs/wctob.c (wctob): Likewise.
16406
16407 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16408
16409 [BZ #16194]
16410 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16411 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16412 register usage.
16413 * sysdeps/x86/Makefile: Adjust.
16414
16415 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16416 Roland McGrath <roland@hack.frob.com>
16417
16418 * locale/weight.h: Add include guard.
16419 (findidx): Make static rather than auto; take new parameters
16420 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16421 * locale/weightwc.h: Likewise.
16422 * posix/fnmatch_loop.c
16423 (FCT): Change type of EXTRA from int32_t to wint_t.
16424 Don't include either header inside the function.
16425 Call FINDIDX rather than findidx, and pass new arguments.
16426 #undef FINDIDX at the end of the file.
16427 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16428 FINDIDX before including fnmatch_loop.c for the non-wide version.
16429 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16430 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16431 for the wide version.
16432 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16433 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16434 Pass new arguments to findidx.
16435 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16436 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16437 Don't #include it inside the function. Pass new arguments to findidx.
16438 * posix/regex_internal.h
16439 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16440 (re_string_elem_size_at): Don't #include it inside the function.
16441 Pass new arguments to findidx.
16442 * string/strcoll_l.c: #include WEIGHT_H at top level.
16443 (get_next_seq): Don't #include it inside the function.
16444 Pass new arguments to findidx.
16445 (get_next_seq_nocache): Likewise.
16446 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16447 (STRXFRM): Don't #include it inside the function.
16448 Pass new arguments to findidx.
16449
16450 2014-09-11 Florian Weimer <fweimer@redhat.com>
16451
16452 [BZ #17344]
16453 * malloc/malloc.c (unlink): Turn asserts into a call to
16454 malloc_printerr.
16455
16456 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16457
16458 [BZ #17370]
16459 * libio/wfileops (do_ftell_wide): Free OUT.
16460
16461 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16462
16463 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16464
16465 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16466
16467 [BZ #17363]
16468 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16469 group if the current group is empty.
16470
16471 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16472
16473 * benchtests/bench-memset.c (test_main): Add more test from size
16474 from 32 to 512 bytes.
16475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16476 Add POWER8 memset object.
16477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16478 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16479 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16480 implementation.
16481 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16482 Likewise.
16483 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16484 multiarch POWER8 memset optimization.
16485 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16486 POWER8 memset optimization.
16487
16488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16489 Remove bzero multiarch objects.
16490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16494 Remove define.
16495 [__bzero]: Redefine to specific name.
16496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16498 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16499 define.
16500 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16501 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16502
16503 2014-09-10 Florian Weimer <fweimer@redhat.com>
16504
16505 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16506 warnings into errors.
16507
16508 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16509 __cxa_thread_atexit_impl prototype.
16510
16511 2014-09-09 Steve Ellcey <sellcey@mips.com>
16512
16513 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16514 Fix capitalization of error message.
16515
16516 2014-09-09 Steve Ellcey <sellcey@mips.com>
16517
16518 * sysdeps/mips/preconfigure: Modify ABI tests.
16519
16520 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16521
16522 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16523
16524 2014-09-07 Roland McGrath <roland@hack.frob.com>
16525 Carlos O'Donell <carlos@systemhalted.org>
16526
16527 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16528 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16529 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16530 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16531 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16532 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16533 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16534 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16535 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16536 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16540 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16541 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16542 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16544 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16545 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16546 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16547 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16548 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16549 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16550 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16551 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16552 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16553 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16554 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16555 Deconditionalize the code that was previously under [RESET_PID].
16556 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16557 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16558 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16559 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16560 include sysdep.h.
16561
16562 2014-09-08 Allan McRae <allan@archlinux.org>
16563
16564 * version.h (RELEASE): Set to "development".
16565 (VERSION): Set to "2.20.90"
16566
16567 2014-09-07 Allan McRae <allan@archlinux.org
16568
16569 * version.h (RELEASE): Set to "stable".
16570 (VERSION): Set to "2.20"
16571 * include/features.h (__GLIBC_MINOR__): Set to 20.
16572
16573 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16574 Liebler.
16575
16576 * po/ko.po: Update Korean translation from translation project.
16577
16578 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16579
16580 [BZ #17354]
16581 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16582 macro for handling signed relocations.
16583
16584 2014-09-03 Florian Weimer <fweimer@redhat.com>
16585
16586 [BZ #17325]
16587 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16588 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16589 assert.
16590 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16591 * iconvdata/ibm935.c (BODY): Likewise.
16592 * iconvdata/ibm937.c (BODY): Likewise.
16593 * iconvdata/ibm939.c (BODY): Likewise.
16594 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16595 assert.
16596 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16597 script.
16598 * iconvdata/run-iconv-test.sh: New test loop for checking for
16599 decoder crashers.
16600
16601 2014-09-02 Khem Raj <raj.khem@gmail.com>
16602
16603 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16604 libm_hidden_ver.
16605
16606 2014-09-01 Allan McRae <allan@archlinux.org>
16607
16608 * po/eo.po: Update Esperanto translation from translation project.
16609
16610 * po/ca.po: Update Catalan translation from translation project.
16611
16612 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16613
16614 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16615 __proc_dostop call.
16616
16617 2014-08-27 Mark Wielaard <mjw@redhat.com>
16618
16619 [BZ #17319]
16620 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16621 to call set_thread_area instead of hand written asm.
16622 (__NR_set_thread_area): Removed define.
16623 (TLS_FLAG_WRITABLE): Likewise.
16624 (__ASSUME_SET_THREAD_AREA): Remove check.
16625 (TLS_EBX_ARG): Remove define.
16626 (TLS_LOAD_EBX): Likewise.
16627
16628 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16629
16630 Simplify atomicity of socket creation in bind.
16631
16632 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16633 looking up the name after linking the file.
16634
16635 2014-08-27 Allan McRae <allan@archlinux.org>
16636
16637 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16638
16639 2014-08-26 Florian Weimer <fweimer@redhat.com>
16640
16641 [BZ #17187]
16642 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16643 trans_compare, open_translit, __gconv_translit_find):
16644 Remove module loading code.
16645
16646 2014-08-26 Allan McRae <allan@archlinux.org>
16647
16648 * po/vi.po: Update Vietnamese translation from translation project.
16649
16650 * po/uk.po: Update Ukrainian translation from translation project.
16651
16652 * po/fr.po: Update French translation from translation project.
16653
16654 * po/ru.po: Update Russian translation from translation project.
16655
16656 * po/pl.po: Update Polish translation from translation project.
16657
16658 * po/cs.po: Update Czech translation from translation project.
16659
16660 * po/de.po: Update German translation from translation project.
16661
16662 * po/bg.po: Update Bulgarian translation from translation project.
16663
16664 * po/sv.po: Update Sweedish translation from translation project.
16665
16666 * po/nl.po: Update Dutch translation from translation project.
16667
16668 * po/es.po: Update Spanish translation from translation project.
16669
16670 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16671
16672 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16673
16674 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16675 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16676 (CPPFLAGS-iconvconfig): Likewise.
16677 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16678
16679 * include/libc-symbols.h: Remove unnecessary check for
16680 NOT_IN_libc.
16681 * nptl/pthreadP.h: Likewise.
16682 * sysdeps/aarch64/setjmp.S: Likewise.
16683 * sysdeps/alpha/setjmp.S: Likewise.
16684 * sysdeps/arm/sysdep.h: Likewise.
16685 * sysdeps/i386/setjmp.S: Likewise.
16686 * sysdeps/m68k/setjmp.c: Likewise.
16687 * sysdeps/posix/getcwd.c: Likewise.
16688 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16689 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16690 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16691 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16692 * sysdeps/sh/sh3/setjmp.S: Likewise.
16693 * sysdeps/sh/sh4/setjmp.S: Likewise.
16694 * sysdeps/unix/alpha/sysdep.h: Likewise.
16695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16697 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16698 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16703 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16706 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16708 * sysdeps/x86_64/setjmp.S: Likewise.
16709
16710 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16711
16712 [BZ #17263]
16713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16714 <stdint.h>.
16715 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16716 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16717
16718 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16719
16720 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16721
16722 [BZ #17262]
16723 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16724 and __x86_64__ when disabling x87 inline functions.
16725
16726 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 [BZ #17259]
16729 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16730 asm statement with __cpuid_count.
16731
16732 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16733
16734 * configure.ac: Change __ehdr_start code to dereference the struct.
16735 Run readelf on the output to look for relocations.
16736 * configure: Regenerated.
16737
16738 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16739
16740 [BZ #17261]
16741 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16742 value to 0.
16743 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16744
16745 2014-08-12 Roland McGrath <roland@hack.frob.com>
16746
16747 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16748
16749 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16750
16751 [BZ #16892]
16752 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16753 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16754
16755 2014-08-12 Sean Anderson <seanga2@gmail.com>
16756
16757 * malloc/malloc.c: Fix typo in comment.
16758
16759 2014-08-09 Allan McRae <allan@archlinux.org>
16760
16761 * Regenerate libc.po.
16762
16763 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16764
16765 * intl/tst-gettext2.sh: Check every lang file for creation.
16766
16767 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16768
16769 * sysdeps/aarch64/fpu/math_private.h
16770 (libc_feholdsetround_noex_aarch64_ctx): New function.
16771
16772 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16773
16774 * sysdeps/arm/armv6/strcpy.S (strcpy):
16775 Fix performance issue in misaligned cases.
16776
16777 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16778
16779 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16780 Move definition from termios.h.
16781 (struct termio): Likewise.
16782 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16783 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16784 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16785 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16786 Likewise.
16787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16788 Move definition to ioctl-types.h
16789 (struct termio): Likewise.
16790 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16791 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16792 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16793 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16794 Likewise.
16795
16796 2014-08-05 Richard Henderson <rth@redhat.com>
16797
16798 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16799 exceptions.
16800 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16801 Add fraiseexcpt.
16802 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16803 Use __feraiseexcept.
16804 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16805 Protect libm symbols with IS_IN_libm.
16806
16807 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16808
16809 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16810
16811 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16812
16813 2014-08-04 Will Newton <will.newton@linaro.org>
16814
16815 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16816 file.
16817
16818 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16819
16820 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16821 variants for each function.
16822
16823 2014-08-04 Roland McGrath <roland@hack.frob.com>
16824
16825 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16826 appended ...
16827 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16828 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16829 appended ...
16830 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16831 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16832 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16833 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16834 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16835 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16836 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16837 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16838 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16839 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16840 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16841 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16842 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16843 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16844 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16845 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16846 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16847 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16848 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16849 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16850 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16852 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16853 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16856 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16857 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16858 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16859 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16860 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16864 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16865 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16866 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16867 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16868 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16869 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16870 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16872 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16874 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16876 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16877 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16878 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16879 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16880 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16881 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16882 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16883 Update #include.
16884 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16885 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16886
16887 2014-08-04 Roland McGrath <roland@hack.frob.com>
16888
16889 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16890 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16891 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16892 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16893 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16894 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16895
16896 2014-08-04 Roland McGrath <roland@hack.frob.com>
16897
16898 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16899 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16900 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16901 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16902
16903 2014-08-04 Roland McGrath <roland@hack.frob.com>
16904
16905 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16906 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16907 (__libc_vfork): Define function under this name.
16908 (__vfork): Define as an alias.
16909 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16910 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16911
16912 2014-08-04 Roland McGrath <roland@hack.frob.com>
16913
16914 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16915 that was previously under [RESET_PID].
16916 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16917
16918 2014-08-04 Andreas Schwab <schwab@suse.de>
16919
16920 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16921
16922 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16923
16924 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16925 (main): Likewise.
16926
16927 2014-08-01 Roland McGrath <roland@hack.frob.com>
16928
16929 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16930
16931 2014-08-01 Richard Henderon <rth@redhat.com>
16932
16933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16934 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16935 typo in exact zero test.
16936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16939
16940 2014-08-01 Roland McGrath <roland@hack.frob.com>
16941
16942 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16943 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16944 * sysdeps/arm/sysdep.h: ... here.
16945 [!__ASSEMBLER__]: Include <stdint.h>.
16946
16947 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16948
16949 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16950 (HAVE_WCTYPE_H): Likewise.
16951 (HAVE_ISWCTYPE): Likewise.
16952 (ENABLE_NLS): Likewise.
16953 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16954 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16955
16956 * posix/regex_internal.c: Check if DEBUG is defined and is
16957 set.
16958
16959 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16960 (HAVE_MBSRTOWCS): Likewise.
16961 * posix/fnmatch.c: Include string.h unconditionally.
16962
16963 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16964
16965 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16966 reversal.
16967
16968 2014-07-31 Roland McGrath <roland@hack.frob.com>
16969
16970 * sysdeps/generic/safe-fatal.h: New file.
16971 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16972 * nptl/forward.c: Include it.
16973 (__pthread_unwind): Use __safe_fatal as default action, rather
16974 than a bogus use of INTERNAL_SYSCALL that could never work.
16975
16976 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16977 * configure.ac (libc_cv_builtin_trap): New test.
16978 * configure: Regenerated.
16979 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16980 (ABORT_INSTRUCTION): Define using __builtin_trap.
16981
16982 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16983 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16984 * sysdeps/nptl/nptl-signals.h: New file.
16985 * nptl/pthreadP.h: Include <nptl-signals.h>.
16986
16987 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16988
16989 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16990 (ONE_DIRECTION): Define.
16991 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16992 (ONE_DIRECTION): Define.
16993 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16994 (ONE_DIRECTION): Define.
16995
16996 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16997
16998 * sysdeps/s390/Makefile: Delete file.
16999 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17000 * sysdeps/s390/__longjmp.c: Delete file.
17001 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17002 Remove fields __flags and __reserved.
17003 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17004 and add versioning.
17005 * sysdeps/s390/rtld-__longjmp.c: Delete file.
17006 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17007 * sysdeps/s390/rtld-setjmp.S: Likewise.
17008 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17009 * sysdeps/s390/s390-32/__longjmp.c: ... here.
17010 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17011 * sysdeps/s390/s390-32/setjmp.S: ... here.
17012 Add versioning.
17013 (__sigsetjmp): Remove setting __flags field.
17014 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17015 * sysdeps/s390/s390-64/__longjmp.c: ... here.
17016 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17017 * sysdeps/s390/s390-64/setjmp.S: ... here.
17018 Add versioning.
17019 (__sigsetjmp): Remove setting __flags field.
17020 * sysdeps/s390/setjmp.S: Delete file.
17021 * sysdeps/s390/sigjmp.c: Likewise.
17022 * sysdeps/s390/v1-longjmp.c: Likewise.
17023 * sysdeps/s390/v1-setjmp.h: Likewise.
17024 * sysdeps/s390/v1-sigjmp.c: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17026 Remove v1-longjmp_chk.
17027 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17028 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17029 Include debug/longjmp_chk.c and add versioning.
17030 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17031 Include nptl/pt-longjmp.c and add versioning.
17032 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17033 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17034 Include __longjmp.c.
17035 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17036 Move to ...
17037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17038 (__getcontext): Remove setting __flags field.
17039 Add versioning.
17040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17041 Don't restore upper high grps.
17042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17043 Likewise.
17044 (__swapcontext): Remove setting uc_flags field.
17045 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17046 Delete file.
17047 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17048 Include __longjmp.c.
17049 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17050 Move to ...
17051 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17052 (__getcontext): Remove setting __flags field.
17053 Add versioning.
17054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17055 (__swapcontext): Remove setting uc_flags field.
17056 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17058 Remove fields uc_high_gprs and __reserved.
17059 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17060 New file with reverted content.
17061 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17063 Regenerated.
17064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17065 Regenerated.
17066
17067 2014-07-31 Andreas Schwab <schwab@suse.de>
17068
17069 * config.h.in (HAVE_IFUNC): Define to 0.
17070 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17071 definedness.
17072
17073 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
17074
17075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17076 memmove-avx-unaligned, memcpy-avx-unaligned and
17077 mempcpy-avx-unaligned.
17078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17079 Add tests for AVX memcpy functions.
17080 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17081 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17082 memcpy_chk.
17083 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17084 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17085 memmove_chk.
17086 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17087 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17088 mempcpy_chk.
17089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17090 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17091 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17092
17093 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17094
17095 [BZ #17213]
17096 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17097 powerpc64le.
17098
17099 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17100
17101 [BZ #16839]
17102 * manual/llio.texi: Add section about open file description locks.
17103 * manual/examples/ofdlocks.c: Example of open file description
17104 lock usage.
17105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17106 F_OFD_SETLK, and F_OFD_SETLKW.
17107
17108 2014-07-23 Allan McRae <allan@archlinux.org>
17109
17110 * po/es.po: Update Spanish translation from translation project.
17111
17112 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17113
17114 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17115
17116 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17117
17118 [BZ #17078]
17119 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17120 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17121 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17122
17123 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17124
17125 [BZ #17088]
17126 * math/fesetenv.c (__fesetenv)
17127 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17128 * math/feupdateenv.c (__feupdateenv)
17129 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17130
17131 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17132 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17133 (__ASSUME_SOCKETCALL): Do not define.
17134
17135 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17136 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17137 (__ASSUME_SOCKETCALL): Do not define.
17138 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17139 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17140 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17141 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17142 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17143 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17144 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17145 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17146
17147 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17148 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17149 (__ASSUME_SOCKETCALL): Do not define.
17150 (__ASSUME_IPC64): Define unconditionally.
17151 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17152 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17153 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17154 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17155 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17156 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17157 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17158 Likewise.
17159
17160 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17161 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17162 (__ASSUME_SOCKETCALL): Do not define.
17163 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17164 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17165 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17167 (__ASSUME_REQUEUE_PI): Define unconditionally.
17168 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17169 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17170 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17171 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17172 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17173 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17174
17175 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17176 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17177 (__ASSUME_SOCKETCALL): Do not define.
17178 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17179 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17180 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17181 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17182 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17183 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17184
17185 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17186 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17187 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17188 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17189 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17190 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17191 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17192 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17193 (__ASSUME_GETCPU_SYSCALL): Likewise.
17194
17195 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17196 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17197 cases for individual architectures.
17198 * sysdeps/gnu/configure: Regenerated.
17199 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17200 LIBC_SLIBDIR_RTLDDIR.
17201 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17202 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17203 LIBC_SLIBDIR_RTLDDIR.
17204 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17206 LIBC_SLIBDIR_RTLDDIR.
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17208 Regenerated.
17209 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17210 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17211 file.
17212 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17213 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17214 file.
17215 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17216 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17219
17220 * sysdeps/aarch64/shlib-versions: Move to ...
17221 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17222 * sysdeps/alpha/shlib-versions: Move to ...
17223 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17224 * sysdeps/arm/shlib-versions: Move to ...
17225 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17226 * sysdeps/hppa/shlib-versions: Move all contents except for
17227 libgcc_s entry to ...
17228 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17229 entry from ...
17230 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17231 * sysdeps/ia64/shlib-versions: Move to ...
17232 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17233 entry from ...
17234 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17235 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17236 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17237 * sysdeps/microblaze/shlib-versions: Move to ...
17238 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17239 * sysdeps/mips/shlib-versions: Move to ...
17240 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17241 entry from ...
17242 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17243 * sysdeps/tile/shlib-versions: Move to ...
17244 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17245 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17246 from ...
17247 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17249 entry from ...
17250 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17251
17252 2014-07-17 Will Newton <will.newton@linaro.org>
17253
17254 * sysdeps/arm/bits/atomic.h
17255 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17256 (__arch_compare_and_exchange_bool_16_int): Likewise.
17257 (__arch_compare_and_exchange_bool_64_int): Likewise.
17258
17259 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17260 into an #else block.
17261
17262 2014-07-16 Roland McGrath <roland@hack.frob.com>
17263
17264 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17265 just Linux configurations. Test empirically that the compiler sets
17266 __ARM_EABI__, rather than using the tuple to decide.
17267 * sysdeps/arm/preconfigure: Regenerated.
17268 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17269 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17270 contents appended ...
17271 * sysdeps/arm/configure.ac: ... here.
17272 * sysdeps/arm/configure: Regenerated.
17273
17274 2014-07-15 Roland McGrath <roland@hack.frob.com>
17275
17276 * nptl/pthread_kill.c: New file.
17277 * nptl/pthread_sigmask.c: New file.
17278 * nptl/pthread_sigqueue.c: New file.
17279
17280 * sysdeps/nptl/lowlevellock.h: New file.
17281 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17282 * sysdeps/nptl/lowlevellock-futex.h: New file.
17283
17284 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17285 Remove dead declarations.
17286
17287 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17288
17289 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17290 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17291 config-cflags-avx2.
17292 * sysdeps/x86_64/configure.ac: Likewise.
17293 * sysdeps/i386/configure: Regenerated.
17294 * sysdeps/x86_64/configure: Likewise.
17295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17296 memset-avx2 only if config-cflags-avx2 is yes.
17297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17298 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17299 defined.
17300 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17301 only if HAVE_AVX2_SUPPORT is defined.
17302 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17303
17304 2014-07-14 Alan Modra <amodra@gmail.com>
17305
17306 [BZ #17153]
17307 * elf/elf.h (DT_PPC64_NUM): Correct value.
17308 * NEWS: Add to fixed bug list.
17309
17310 2014-07-13 Jim Meyering <meyering@fb.com>
17311
17312 [BZ 17150]
17313 regex: don't deref NULL upon heap allocation failure
17314 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17315 failure in one more place.
17316 To trigger the segfault, configure grep -with-included-regex,
17317 build it, and run these commands:
17318 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17319
17320 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17321
17322 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17323
17324 2014-07-11 Richard Henderson <rth@redhat.com>
17325
17326 * sysdeps/aarch64/libm-test-ulps: Update.
17327
17328 2014-07-10 Florian Weimer <fweimer@redhat.com>
17329
17330 [BZ #17135]
17331 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17332 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17333 (__nptl_setxid): Initialize error member. Call
17334 __nptl_setxid_error.
17335 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17336 * nptl/descr.h (struct xid_command): Add error member.
17337 * nptl/tst-setuid3.c: New file.
17338 * nptl/Makefile (tests): Add it.
17339
17340 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17341
17342 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17343 New define.
17344 (__lll_trylock): Use __lll_base_trylock.
17345 (__lll_cond_trylock): Likewise.
17346
17347 2014-07-10 Roland McGrath <roland@hack.frob.com>
17348
17349 * nptl/pthread_create.c (start_thread): Use atomic_or and
17350 lll_futex_wake directly rather than lll_robust_dead.
17351 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17352 (lll_robust_dead): Macro removed.
17353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17354 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17355 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17356 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17358 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17360 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17361 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17362 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17366 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17368
17369 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17370 Use atomic_compare_and_exchange_val_acq directly rather than
17371 lll_robust_trylock.
17372 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17373 (__lll_robust_trylock, lll_robust_trylock): Removed.
17374 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17376 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17378 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17379 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17380 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17381 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17384 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17387 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17388
17389 2014-07-02 Florian Weimer <fweimer@redhat.com>
17390
17391 * manual/locale.texi (Locale Names): New section documenting
17392 locale name syntax. Adjust menu and node chaining accordingly.
17393 (Choosing Locale): Reference Locale Names, Locale Categories.
17394 Mention setting LC_ALL=C. Reflect that name syntax is now
17395 documented.
17396 (Locale Categories): New section title. Reference Locale Names.
17397 LC_ALL is an environment variable, but not a category.
17398 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17399 description, now in Locale Name. Reference that section. Locale
17400 name syntax is now documented.
17401
17402 2014-07-02 Florian Weimer <fweimer@redhat.com>
17403
17404 [BZ #17137]
17405 * locale/findlocale.c (name_present, valid_locale_name): New
17406 functions.
17407 (_nl_find_locale): Use the loc_name variable to store name
17408 candidates. Call name_present and valid_locale_name to check and
17409 validate locale names. Return an error if the locale is invalid.
17410
17411 2014-07-02 Florian Weimer <fweimer@redhat.com>
17412
17413 * locale/setlocale.c (setlocale): Use strdup for allocating
17414 composite name copy.
17415
17416 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17417
17418 Sync up with gnulib.
17419 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17420 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17421 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17422 and _GL_ARG_NONNULL.
17423 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17424 [!_LIBC]: Include code for Windows and Cygwin.
17425 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17426 Include prototype for int strerror_r.
17427 [!_LIBC] (is_open): New function.
17428 (flush_stdout): New function.
17429 (print_errno_message): Use it.
17430 (error): Likewise.
17431 (error_at_line): Likewise.
17432 (error_tail) Add function attribute macros. Use
17433 __builtin_expect.
17434
17435 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17436
17437 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17438
17439 * io/ftw.c: Include sys/param.h unconditionally.
17440
17441 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17442
17443 [BZ #17125]
17444 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17445 libc_freeres_ptr.
17446 (freecache): New function to free CACHE on exit.
17447
17448 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17449 initialization.
17450
17451 2014-07-09 David S. Miller <davem@davemloft.net>
17452
17453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17454
17455 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17456 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17457 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17458 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17459 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17460 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17461 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17462 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17463 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17464 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17465 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17466 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17467 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17468
17469 2014-07-09 Andreas Schwab <schwab@suse.de>
17470
17471 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17472 output.
17473 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17474 (do_test): Likewise.
17475
17476 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17477
17478 2014-07-09 Will Newton <will.newton@linaro.org>
17479
17480 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17481 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17482 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17483 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17484 * sysdeps/hppa/start.S (_start): Likewise.
17485
17486 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17487
17488 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17489
17490 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17491 defined.
17492
17493 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17494
17495 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17496 after checking that it is non-NULL.
17497
17498 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17499
17500 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17501
17502 * sysdeps/powerpc/memmove.c: Remove file.
17503 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17504 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17505 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17506 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17507 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17508 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17509 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17510 string memmove instead of removed powerpc one.
17511
17512 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17513 [weak_alias]: Fix compiler warning due trailing data.
17514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17515 [weak_alias]: Likewise.
17516 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17517 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17518
17519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17520 (__libc_ifunc_impl_list): Add memmove functions.
17521
17522 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17523
17524 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17525 Remove code.
17526 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17527 Likewise
17528 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17529 Likewise
17530 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17531 Likewise
17532 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17533 Likewise
17534 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17535 Likewise
17536 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17537 Likewise
17538 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17539 Likewise
17540 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17541 Likewise
17542 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17543 Likewise
17544 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17545 Likewise
17546 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17547 Likewise
17548 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17549 Likewise
17550 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17551 Likewise
17552 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17553 Likewise
17554 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17555 Likewise
17556 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17557 Likewise
17558
17559 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17560
17561 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17562 to avoid alignment traps in non-cacheable memory.
17563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17564
17565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17566 multiarch objects.
17567 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17568 file: multiarch power7 memmove.
17569 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17570 multiarch default memmove.
17571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17572 multiarch memove for powerpc32/power4.
17573
17574 * string/bcopy.c: Use full path to include memmove.c.
17575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17576 multiarch objects.
17577 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17578 bcopy for powerpc64.
17579 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17580 bcopy for powerpc64.
17581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17582 and memmove implementations.
17583 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17584 optimized multiarch memmove for POWER7/powerpc64.
17585 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17586 default multiarch memmove for powerpc64.
17587 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17588 multiarch for powerpc64.
17589 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17590 for POWER7/powerpc64.
17591 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17592 memmove for POWER7/powerpc64.
17593
17594 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17595 glibc default one.
17596
17597 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17598 __ELF_NATIVE_CLASS equal to 64.
17599
17600 2014-07-07 Roland McGrath <roland@hack.frob.com>
17601
17602 * sysdeps/nptl/lowlevellock.h: File removed.
17603
17604 * NEWS: NPTL is no longer an add-on!
17605 * nptl/internaltypes.h: Moved ...
17606 * sysdeps/nptl/internaltypes.h: ... here.
17607 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17608 * sysdeps/nptl/fork.c: Likewise.
17609 * sysdeps/nptl/gai_misc.h: Likewise.
17610 * sysdeps/nptl/librt-cancellation.c: Likewise.
17611 * sysdeps/nptl/jmp-unwind.c: Likewise.
17612 * sysdeps/nptl/setxid.h: Likewise.
17613 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17614 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17615 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17616 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17617 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17618 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17619 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17620 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17621 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17622 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17623 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17624 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17625 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17626 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17627 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17628 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17629 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17630 * nptl/Makeconfig: Moved ...
17631 * sysdeps/nptl/Makeconfig: ... here.
17632 * nptl/configure: File removed.
17633 * nptl/ANNOUNCE: File removed.
17634 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17635 * sysdeps/unix/sysv/linux/configure: Regenerated.
17636
17637 * nptl/Makefile (routines): Add libc_pthread_init,
17638 libc_multiple_threads, register-atfork and unregister-atfork.
17639 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17640 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17641 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17642 pthread-pi-defines.sym, structsem.sym.
17643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17644 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17645 [$(subdir) = nptl] (tests): Add tst-setgetname.
17646 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17647 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17648 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17649 [!LIBC_SIGACTION]: Remove aliases.
17650 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17651 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17653 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17654 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17655 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17659 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17660 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17661 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17662 __libc_allocate_rtsig_private.
17663 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17664 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17665 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17666 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17667 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17668 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17669 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17670 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17671 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17672 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17673 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17674 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17675 * nptl/internaltypes.h: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17677 * sysdeps/nptl/jmp-unwind.c: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17679 * nptl/libc-lowlevellock.c: ... here.
17680 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17681 * nptl/libc_multiple_threads.c: ... here.
17682 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17683 * nptl/libc_pthread_init.c: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17685 * nptl/lowlevelbarrier.sym: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17687 * nptl/lowlevelcond.sym: ... here.
17688 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17689 * nptl/lowlevellock.c: ... here.
17690 * nptl/lowlevellock.h: Moved ...
17691 * sysdeps/nptl/lowlevellock.h: ... here.
17692 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17693 * nptl/lowlevelrobustlock.c: ... here.
17694 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17695 * nptl/lowlevelrobustlock.sym: ... here.
17696 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17697 * nptl/lowlevelrwlock.sym: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17699 * nptl/pt-fork.c: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17701 * nptl/pthread-pi-defines.sym: ... here.
17702 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17703 * nptl/pthread_attr_getaffinity.c: ... here.
17704 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17705 * nptl/pthread_attr_setaffinity.c: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17707 * nptl/pthread_mutex_cond_lock.c: ... here.
17708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17709 Update #include.
17710 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17711 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17712 * nptl/pthread_once.c: ... here, replacing old file.
17713 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17714 * nptl/pthread_yield.c: ... here.
17715 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17716 * nptl/register-atfork.c: ... here.
17717 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17718 * nptl/sem_post.c: ... here.
17719 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17720 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17721 * nptl/sem_timedwait.c: ... here.
17722 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17723 * nptl/sem_trywait.c: ... here.
17724 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17725 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17726 * nptl/sem_wait.c: ... here.
17727 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17728 * nptl/structsem.sym: ... here.
17729 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17730 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17731 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17732 * nptl/unregister-atfork.c: ... here.
17733 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17734 * nptl/unwindbuf.sym: ... here.
17735 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17736 * sysdeps/nptl/fork.c: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17738 * sysdeps/nptl/fork.h: ... here.
17739 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17740 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17741 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17742 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17743 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17744 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17745 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17746 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17747 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17749 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17751 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17753 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17755 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17756 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17757 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17758 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17759 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17760 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17761 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17762 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17763 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17764 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17765 * sysdeps/unix/sysv/linux/raise.c: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17767 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17768 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17769 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17770 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17771 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17773 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17775 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17776 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17777 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17778 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17779 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17780 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17781
17782 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17783
17784 * sysdeps/generic/memcopy.h: Add comment for
17785 MEMCPY_OK_FOR_FWD_MEMMOVE.
17786
17787 2014-07-04 Will Newton <will.newton@linaro.org>
17788
17789 * string/memchr.c: Merge from gnulib.
17790 [_LIBC]: Remove conditionals.
17791 (__ptr_t): Remove define.
17792 (LONG_MAX_32_BITS): Likewise.
17793 (LONG_MAX): Likewise.
17794 (MEMCHR): Use ANSI prototype and optimize algorithm.
17795
17796 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17797
17798 2014-07-03 Roland McGrath <roland@hack.frob.com>
17799
17800 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17801 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17802
17803 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17804 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17805 in a bare environment with no <stdlib.h> installed.
17806 * sysdeps/nptl/configure: Regenerated.
17807
17808 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17809
17810 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17811 AC_EGREP_CPP for kernel header checks, so they only succeed if
17812 including <linux/version.h> actually works right.
17813 * sysdeps/unix/sysv/linux/configure: Regenerated.
17814
17815 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17816 value so it's not diagnosed as unused.
17817
17818 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17819 thing) with "ifeq ($(subdir),rt)".
17820
17821 2014-07-03 Richard Henderson <rth@redhat.com>
17822
17823 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17824 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17825 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17826
17827 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17828 (math_force_eval): New.
17829
17830 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17831 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17832
17833 * sysdeps/alpha/fpu/s_round.c: Remove file.
17834 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17835
17836 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17837 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17838 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17839 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17840 (_dl_start, print_statistics): Likewise.
17841 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17842 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17843
17844 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17845 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17846 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17847 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17849 (HP_SMALL_TIMING_AVAIL): Define.
17850 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17852 (HP_SMALL_TIMING_AVAIL): Define.
17853 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17854 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17855
17856 * sysdeps/aarch64/hp-timing.h: New file.
17857
17858 * sysdeps/generic/hp-timing.h: Remove dead comment.
17859 * sysdeps/generic/hp-timing-common.h: New file.
17860 * sysdeps/alpha/hp-timing.h: Include it.
17861 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17862 * sysdeps/i386/i686/hp-timing.h: Likewise.
17863 * sysdeps/ia64/hp-timing.h: Likewise.
17864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17865 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17867 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17868 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17869 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17870 (hp_timing_t): New.
17871
17872 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17873 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17874 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17875 * elf/rtld.c (_dl_start_final): Likewise.
17876 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17877 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17878 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17879 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17880 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17882 (HP_TIMING_DIFF_INIT): Remove.
17883 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17885 (HP_TIMING_DIFF_INIT): Remove.
17886 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17887 * sysdeps/i386/i686/hp-timing.c: Remove file.
17888 * sysdeps/x86_64/hp-timing.c: Remove file.
17889 * sysdeps/ia64/hp-timing.c: Remove file.
17890 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17891 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17893 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17894
17895 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17896 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17897 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17898 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17900 (HP_TIMING_ACCUM): Remove.
17901 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17903 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17904
17905 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17906 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17907 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17908 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17910 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17911 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17912 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17913
17914 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17915
17916 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17917
17918 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17919
17920 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17921
17922 Sync up with gettext.
17923 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17924 [_MSC_VER]: Include malloc.h
17925 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17926 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17927 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17928 TEMP_FAILURE_RETRY. Cast return of alloca.
17929 [!_LIBC] Call gl_rwlock_init.
17930 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17931
17932 2014-07-02 Roland McGrath <roland@hack.frob.com>
17933
17934 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17935 before checking its value.
17936
17937 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17938
17939 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17940
17941 * debug/memcpy_chk.c: Don't include pagecopy.h.
17942 * debug/mempcpy_chk.c: Likewise.
17943 * string/memcpy.c: Likewise.
17944 * string/memmove.c: Likewise.
17945 * sysdeps/powerpc/memmove.c: Likewise.
17946 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17947 definition of PAGE_COPY_FWD_MAYBE here...
17948 * sysdeps/generic/pagecopy.h: ... from here.
17949 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17950
17951 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17952 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17953
17954 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17956 optimizations.
17957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17958 (__libc_ifunc_impl_list): Likewise.
17959 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17960 multiarch strcat for PPC64.
17961 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17962 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17963
17964 2014-07-02 Roland McGrath <roland@hack.frob.com>
17965
17966 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17967
17968 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17969
17970 * intl/loadmsgcat.c: Remove declaration of
17971 get_sysdep_segment_value.
17972 (get_sysdep_segment_value): Use ISO C style.
17973 (_nl_load_domain): Use ISO C style. Get rid of redundant
17974 semicolon. Fix typo and formatting in comment.
17975 (_nl_unload_domain): Use ISO C style.
17976
17977 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17978
17979 2014-07-02 Will Newton <will.newton@linaro.org>
17980
17981 * malloc/obstack.c: Merge from gnulib master.
17982 [HAVE_CONFIG_H]: Remove conditional code.
17983 [!_LIBC]: Include config.h.
17984 [!ELIDE_CODE]: Don't include inttypes.h, include
17985 stdint.h unconditionally.
17986 (print_and_abort): Mark as _Noreturn.
17987 (_obstack_allocated_p): Mark as __attribute_pure__.
17988 (obstack_free): Rename to __obstack_free.
17989 [!__attribute__]: Remove conditional code.
17990 * malloc/obstack.h: Merge from gnulib master.
17991 [__cplusplus]: Move conditional down.
17992 [!__attribute_pure__]: Define __attribute_pure__ here
17993 if it is not already defined.
17994 (_obstack_memory_used): Mark as __attribute_pure__.
17995 [!__obstack_free]: Define as obstack_free.
17996 [__GNUC__]: Remove check for ancient NeXT gcc.
17997
17998 2014-07-02 Will Newton <will.newton@linaro.org>
17999 Paul Eggert <eggert@cs.ucla.edu>
18000
18001 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18002
18003 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18004
18005 * resolv/gethnamaddr.c: Add comment warning that the file is
18006 not maintained.
18007
18008 2014-07-01 Carlos O'Donell <carlos@redhat.com>
18009
18010 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18011 entries.
18012
18013 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18014 entry for aio_cancel and aio_cancel64.
18015 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18016 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18017 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18018 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18019 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18020 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18022 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18023 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18024 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18025 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18026 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18027 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18028
18029 2014-07-01 Roland McGrath <roland@hack.frob.com>
18030
18031 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18032 * nptl/pthread_mutex_lock.c: Likewise.
18033 * nptl/pthread_mutex_timedlock.c: Likewise.
18034 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18035
18036 2014-07-01 Richard henderson <rth@redhat.com>
18037
18038 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18039 (__isnan, __isnanl): Remove.
18040 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18041
18042 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18043
18044 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18045
18046 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18047
18048 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18049
18050 * resolv/nss_dns/dns-host.c (getanswer_r)
18051 [MULTI_PTRS_ARE_ALIASES]: Remove code.
18052
18053 2014-07-01 Joseph Myers <joseph@codesourcery.com>
18054
18055 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18056 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18057 undefine.
18058 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18059 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18060
18061 2014-07-01 Roland McGrath <roland@hack.frob.com>
18062
18063 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18064 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18065
18066 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18067 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18068
18069 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18070 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18071 ... here.
18072 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18073 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18074
18075 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18076 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18077 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18078 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18079
18080 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18081 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18082 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18083 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18085 Moved ...
18086 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18087 ... here.
18088 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18089 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18095 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18103 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18104 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18105 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18107 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18108 ... here.
18109 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18110 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18111 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18112 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18113 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18114 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18115 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18116 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18117
18118 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18119
18120 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18121 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18122 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18123 Add sysdep.
18124
18125 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126
18127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18128
18129 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18130
18131 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18132 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18133
18134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18135
18136 * sysdeps/arm/libm-test-ulps: Regenerated.
18137
18138 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18139 Roland McGrath <roland@hack.frob.com>
18140
18141 * test-skeleton.c (signal_handler): Kill the whole process group
18142 before killing the child individually.
18143 (main): Report any failure on `setpgid'.
18144
18145 2014-06-30 Roland McGrath <roland@hack.frob.com>
18146
18147 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18148 from _TLS_H to _ARM_NPTL_TLS_H.
18149 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18150 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18151
18152 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18153
18154 [BZ #16539]
18155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18156 (__expm1l): Return argument unchanged when small but not
18157 subnormal.
18158
18159 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18160 include macro name.
18161 (_FP_UNPACK_RAW_1_P): Likewise.
18162 (_FP_PACK_RAW_1): Likewise.
18163 (_FP_PACK_RAW_1_P): Likewise.
18164 (_FP_MUL_MEAT_1_wide): Likewise.
18165 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18166 (_FP_MUL_MEAT_1_hard): Likewise.
18167 (_FP_DIV_MEAT_1_imm): Likewise.
18168 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18169 (_FP_DIV_MEAT_1_udiv): Likewise.
18170 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18171 (_FP_UNPACK_RAW_2): Likewise.
18172 (_FP_UNPACK_RAW_2_P): Likewise.
18173 (_FP_PACK_RAW_2): Likewise.
18174 (_FP_PACK_RAW_2_P): Likewise.
18175 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18176 (_FP_MUL_MEAT_2_wide): Likewise.
18177 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18178 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18179 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18180 (_FP_MUL_MEAT_2_gmp): Likewise.
18181 (_FP_DIV_MEAT_2_udiv): Likewise.
18182 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18183 (_FP_FRAC_SRL_4): Likewise.
18184 (_FP_FRAC_SRST_4): Likewise.
18185 (_FP_FRAC_SRS_4): Likewise.
18186 (_FP_UNPACK_RAW_4): Likewise.
18187 (_FP_UNPACK_RAW_4_P): Likewise.
18188 (_FP_PACK_RAW_4): Likewise.
18189 (_FP_PACK_RAW_4_P): Likewise.
18190 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18191 (_FP_MUL_MEAT_4_wide): Likewise.
18192 (_FP_MUL_MEAT_4_gmp): Likewise.
18193 (umul_ppppmnnn): Likewise.
18194 (_FP_DIV_MEAT_4_udiv): Likewise.
18195 (__FP_FRAC_ADD_4): Likewise.
18196 (__FP_FRAC_SUB_3): Likewise.
18197 (__FP_FRAC_SUB_4): Likewise.
18198 (__FP_FRAC_DEC_3): Likewise.
18199 (__FP_FRAC_DEC_4): Likewise.
18200 (__FP_FRAC_ADDI_4): Likewise.
18201 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18202 (_FP_FRAC_SRL_8): Likewise.
18203 (_FP_FRAC_SRS_8): Likewise.
18204
18205 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18206 include macro name.
18207 (FP_UNPACK_RAW_EP): Likewise.
18208 (FP_PACK_RAW_E): Likewise.
18209 (FP_PACK_RAW_EP): Likewise.
18210 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18211 (_FP_ISSIGNAN): Likewise.
18212 (_FP_ADD_INTERNAL): Likewise.
18213 (_FP_FMA): Likewise.
18214 (_FP_CMP): Likewise.
18215 (_FP_SQRT): Likewise.
18216 (_FP_TO_INT): Likewise.
18217 (_FP_FROM_INT): Likewise.
18218 (FP_EXTEND): Likewise.
18219 (_FP_DIV_MEAT_N_loop): Likewise.
18220
18221 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18222
18223 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18224 throughout.
18225
18226 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18227
18228 [BZ #17097]
18229 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18230 result with correct sign in case of exponents that produce
18231 overflow except for X very close to 1.
18232
18233 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18234
18235 mktime: merge #if/#ifdef usage from glibc
18236 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18237 as that works with both Glibc's and Gnulib's style.
18238 See thread starting at Siddhesh Poyarekar's bug report at:
18239 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18240
18241 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18242
18243 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18244 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18245 * sysdeps/tile/tilegx/memmove.c: Remove file.
18246
18247 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18248
18249 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18250 abi-name definition.
18251 * scripts/soversions.awk: Do not handle or generate ABI lines.
18252 * shlib-versions: Remove ABI entries.
18253 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18254 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18255
18256 2014-06-27 Roland McGrath <roland@hack.frob.com>
18257
18258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18259 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18260 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18263 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18265 Moved ...
18266 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18267 ... here.
18268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18273 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18275 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18279 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18281 Moved ...
18282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18284 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18286 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18288 Moved ...
18289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18291 Moved ...
18292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18296 Moved ...
18297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18301 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18303 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18305 Moved ...
18306 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18308 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18310 Moved ...
18311 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18313 Moved ...
18314 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18316 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18318 Moved ...
18319 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18320 ... here.
18321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18322 Identical file removed.
18323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18324 Moved ...
18325 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18327 Identical file removed.
18328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18331 Moved ...
18332 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18334 Identical file removed.
18335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18338 Identical file removed.
18339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18340 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18342 Identical file removed.
18343 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18344 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18346 Identical file removed.
18347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18348 Moved ...
18349 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18351 Identical file removed.
18352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18353 Moved ...
18354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18356 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18357 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18358 Identical file removed.
18359 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18360 Moved ...
18361 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18362 ... here.
18363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18364 Identical file removed.
18365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18366 Moved ...
18367 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18369 Identical file removed.
18370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18371 Moved ...
18372 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18374 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18375 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18378 Moved ...
18379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18380 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18381 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18382
18383 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18384 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18385 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18386 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18387 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18388
18389 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18390
18391 [BZ #17092]
18392 * nscd/nscd.c (monitor_child): Return exit status of child
18393 instead of return value from wait syscall.
18394
18395 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18396
18397 * configure.ac (libc_commonpagesize): Remove variable.
18398 (libc_relro_required): Likewise.
18399 (libc_cv_z_relro): Remove configure test.
18400 * configure: Regenerated.
18401 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18402 variable.
18403 (libc_relro_required): Likewise.
18404 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18405 (libc_relro_required): Likewise.
18406 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18407 (libc_relro_required): Likewise.
18408 * sysdeps/arm/preconfigure: Regenerated.
18409 * sysdeps/ia64/preconfigure: Remove file.
18410 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18411 variable.
18412 (libc_relro_required): Likewise.
18413
18414 [BZ #16561]
18415 [BZ #16562]
18416 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18417 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18418 recompute overflowing results in original rounding mode.
18419 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18420 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18421 recompute overflowing results in original rounding mode.
18422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18423 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18424 recompute overflowing results in original rounding mode.
18425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18426 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18427 recompute overflowing results in original rounding mode.
18428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18429 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18430 recompute overflowing results in original rounding mode.
18431 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18432 (libc_feholdsetround_ctx): New macro.
18433 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18434 * sysdeps/i386/fpu/libm-test-ulps: Update.
18435 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18436
18437 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18438
18439 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18440 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18441 corresponding .cpsetup call.
18442
18443 2014-06-26 Roland McGrath <roland@hack.frob.com>
18444
18445 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18446 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18447 * sysdeps/arm/Makefile [$(subdir) = csu]
18448 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18449 (static-only-routines): Add aeabi_read_tp here.
18450 (shared-only-routines): Add libc-aeabi_read_tp here.
18451 (CFLAGS-libc-start.c): Add -fexceptions here.
18452 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18453 (sysdep_routines, static-only-routines, shared-only-routines):
18454 Don't add to these here.
18455 (CFLAGS-libc-start.c): Likewise.
18456
18457 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18458 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18459 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18460 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18461 * sysdeps/arm/Makefile [$(subdir) = rt]
18462 (librt-sysdep_routines, librt-shared-only-routines):
18463 Append rt-aeabi_unwind_cpp_pr1 here.
18464 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18465 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18466 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18467 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18468 Append nptl-aeabi_unwind_cpp_pr1 here.
18469 (tests): Filter out tst-cleanupx4 here.
18470 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18471 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18472 Don't do those here.
18473
18474 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18475
18476 * scripts/list-sources.sh: Do not handle ports specially.
18477
18478 2014-06-26 Roland McGrath <roland@hack.frob.com>
18479
18480 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18481 * sysdeps/arm/feupdateenv.c: Likewise.
18482
18483 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18484
18485 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18486
18487 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18488 trailing whitespace removed.
18489 * scripts/config.guess: Update to version 2014-03-23.
18490 * scripts/config.sub: Update to version 2014-05-01
18491 * scripts/install-sh: Update to version 2013-12-25.23.
18492 * scripts/move-if-change: Update from gnulib.
18493
18494 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18495
18496 * debug/memmove_chk.c: Remove pagecopy.h include.
18497
18498 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18499
18500 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18501 identical to gnulib mktime.
18502
18503 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18504
18505 * configure.ac: Do not test for machine being rs6000. Do not test
18506 for powerpc*-*soft.
18507 * configure: Regenerated.
18508
18509 [BZ #11505]
18510 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18511 test.
18512 * configure: Regenerated.
18513 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18514 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18515 Remove configure test.
18516 * sysdeps/arm/configure: Regenerated.
18517 * sysdeps/nptl/configure.ac: Do not check
18518 libc_cv_asm_cfi_directives.
18519 * sysdeps/nptl/configure: Regenerated.
18520 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18521 * sysdeps/x86_64/nptl/configure: Remove generated file.
18522 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18523 unconditional.
18524 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18525
18526 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18527
18528 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18529 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18530 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18531 it is defined.
18532
18533 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18534 instead of whether it is defined.
18535 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18536 * sysdeps/hppa/dl-machine.h: Likewise.
18537 * sysdeps/ia64/dl-machine.h: Likewise.
18538 * sysdeps/m68k/dl-machine.h: Likewise.
18539 * sysdeps/microblaze/dl-machine.h: Likewise.
18540 * sysdeps/mips/dl-machine.: Likewise.
18541 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18543 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18544 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18545 * sysdeps/sh/dl-machine.h: Likewise.
18546 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18548 * sysdeps/tile/dl-machine.h: Likewise.
18549 * sysdeps/x86_64/dl-machine.h: Likewise.
18550
18551 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18552 code.
18553 (verify_persistent_db): Likewise.
18554
18555 2014-06-26 Roland McGrath <roland@hack.frob.com>
18556
18557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18558 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18560 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18562 Moved ...
18563 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18564 ... here.
18565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18568 Identical file removed.
18569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18570 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18572 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18574 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18576 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18578 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18580 Moved ...
18581 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18583 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18585 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18587 Moved ...
18588 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18590 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18592 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18594 Identical file removed.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18596 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18598 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18600 Moved ...
18601 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18602 ... here.
18603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18606 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18608 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18610 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18612 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18614 Moved ...
18615 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18617 Moved ...
18618 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18620 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18622 Moved ...
18623 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18625 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18626
18627 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18628 folded into ...
18629 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18630 * sysdeps/unix/sysv/linux/s390/Versions
18631 (libpthread: GLIBC_2.19): New version set.
18632 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18633 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18634 (librt: GLIBC_2.3.3): New version set.
18635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18636 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18637 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18639 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18640 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18641 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18642 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18643 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18644 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18645 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18646 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18647 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18648 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18649 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18650 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18651 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18652 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18653 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18654 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18655 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18659 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18661 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18663 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18665 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18666 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18675 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18676 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18677 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18679 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18680
18681 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18682 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18683 (__libc_vfork): Define the function under this name.
18684 [!NOT_IN_libc] (__vfork): Make this an alias.
18685 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18687 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18688 (__libc_vfork): Define the function under this name.
18689 [!NOT_IN_libc] (__vfork): Make this an alias.
18690 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18691 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18692 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18695 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18696
18697 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18698 code that was previously under [RESET_PID].
18699 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18700 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18702
18703 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18704 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18705 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18706 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18707 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18708 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18709 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18710 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18711 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18712 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18713 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18714 Moved ...
18715 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18716 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18717 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18718 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18719 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18720 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18721 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18722 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18723 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18724 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18726 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18727 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18728 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18729 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18730 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18731 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18735 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18736 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18737 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18738 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18739 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18740 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18741 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18743 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18744
18745 2014-06-25 Roland McGrath <roland@hack.frob.com>
18746
18747 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18748 that was previously under [RESET_PID].
18749 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18750
18751 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18752
18753 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18754 not undefine and redefine.
18755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18756 [O_CLOEXEC]: Make code unconditional.
18757 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18758 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18759 <kernel-features.h>.
18760 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18761 conditional variable definition.
18762 (shm_open) [O_CLOEXEC]: Make code unconditional.
18763 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18764 code.
18765
18766 * configure.ac (USE_REGPARMS): Don't define here.
18767 * configure: Regenerated.
18768 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18769 * sysdeps/i386/configure: Regenerated.
18770
18771 * nptl/createthread.c: Don't include kernel-features.h.
18772 * nptl/pthread_cancel.c: Likewise.
18773 * nptl/pthread_condattr_setclock.c: Likewise.
18774 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18775 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18776 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18777 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18778 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18779 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18780 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18783 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18784 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18785 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18786 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18787 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18788 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18789 * nscd/gai.c: Likewise.
18790 * nss/nss_db/db-open.c: Likewise.
18791 * sysdeps/generic/ldsodefs.h: Likewise.
18792 * sysdeps/sh/nptl/tls.h: Likewise.
18793 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18794 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18795 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18796 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18797 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18798 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18799 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18800 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18802 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18803 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18804 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18805 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18806 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18807 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18808 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18809 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18810 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18811 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18812 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18815 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18816 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18821 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18822 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18823 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18824 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18825 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18826 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18828 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18829 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18830 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18831 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18832 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18833 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18834 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18835 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18837 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18838 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18839 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18840 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18841 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18842 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18843 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18845 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18846 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18847 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18848 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18849 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18873 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18874 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18875 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18876 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18877 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18880 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18881 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18883 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18884 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18885 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18886 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18887 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18888 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18889 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18890 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18891 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18892 * sysdeps/unix/sysv/linux/system.c: Likewise.
18893 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18894 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18897 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18898 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18899 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18900
18901 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18902 * configure: Regenerated.
18903 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18904
18905 * configure.ac (base_machine): Do not set specially for particular
18906 machines here.
18907 * configure: Regenerated.
18908 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18909 settings from configure.ac.
18910 * sysdeps/i386/preconfigure: New file.
18911 * sysdeps/s390/preconfigure: Likewise.
18912 * sysdeps/sh/preconfigure: Likewise.
18913 * sysdeps/sparc/preconfigure: Likewise.
18914
18915 2014-06-25 Roland McGrath <roland@hack.frob.com>
18916
18917 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18918 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18919 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18920 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18921 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18922 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18923 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18924 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18925 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18926 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18927 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18928 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18929 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18934 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18935 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18936
18937 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18938 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18939 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18940 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18941 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18942 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18943 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18944 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18945 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18946 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18947 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18948 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18949 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18950 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18951 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18952 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18953 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18954 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18955 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18956 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18958 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18960 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18967 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18968 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18970 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18971 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18972 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18974 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18975
18976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18977 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18979 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18981 Moved ...
18982 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18983 ... here.
18984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18985 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18987 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18989 Moved ...
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18992 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18994 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18996 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18998 Moved ...
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19001 Moved ...
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19004 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19006 Moved ...
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19013 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19017 Moved ...
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19019 ... here.
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19021 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19025 Moved ...
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19034 Moved ...
19035 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19037 Moved ...
19038 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19042 Moved ...
19043 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19045 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19047 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19048
19049 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19050
19051 * timezone/checktab.awk: Update from tzcode 2014e.
19052 * timezone/private.h: Likewise.
19053 * timezone/tzfile.h: Likewise.
19054 * timezone/zdump.c: Likewise.
19055 * timezone/zic.c: Likewise.
19056
19057 * sysdeps/unix/sysv/linux/kernel-features.h
19058 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19060 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19061 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19062 Remove conditional code.
19063
19064 2014-06-25 Will Newton <will.newton@linaro.org>
19065
19066 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19067 (_dl_arm_cap_flags): Add HWCAP2 values.
19068 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19069 (_DL_HWCAP_COUNT): Increase to 37.
19070 (_DL_HWCAP_LAST): New define.
19071 (_DL_HWCAP2_LAST): New define.
19072 (_dl_procinfo): Add support for printing
19073 AT_HWCAP2 entries.
19074 (_dl_string_hwcap): Use _dl_hwcap_string.
19075
19076 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19077
19078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19079
19080 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19081
19082 * README: Do not mention ports directory.
19083
19084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19085 Remove macro.
19086 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19087 <kernel-features.h>.
19088 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19089 conditional variable definition.
19090 (__futimes): Update comment.
19091 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19092 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19093
19094 [BZ #16560]
19095 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19096 arguments close to 0.
19097 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19098 Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19100 Likewise.
19101 * math/auto-libm-test-in: Add more tests of exp10.
19102 * math/auto-libm-test-out: Regenerated.
19103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19104
19105 * sysdeps/unix/sysv/linux/kernel-features.h
19106 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19107 * sysdeps/unix/sysv/linux/readv.c: Do not include
19108 <kernel-features.h>.
19109 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19110 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19111 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19112 unconditional.
19113 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19114 conditional code.
19115 * sysdeps/unix/sysv/linux/writev.c: Do not include
19116 <kernel-features.h>.
19117 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19118 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19119 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19120 unconditional.
19121 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19122 conditional code.
19123
19124 2014-06-25 Will Newton <will.newton@linaro.org>
19125
19126 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19127 comment changes throughout the file. Remove checks
19128 for HAVE_*_H definitions that are not required.
19129 (__gen_tempname): Call abort if an unknown kind value is
19130 passed.
19131
19132 2014-06-25 Andreas Schwab <schwab@suse.de>
19133
19134 [BZ #17086]
19135 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19136 scalbln, scalblnf, scalblnl in libc.
19137
19138 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19139
19140 [BZ #17086]
19141 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19142 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19143 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19144
19145 2014-06-24 Roland McGrath <roland@hack.frob.com>
19146
19147 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19148 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19149 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19150 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19151 Update #include.
19152 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19153 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19154 Update #include.
19155 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19156 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19157 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19158 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19159 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19160 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19161 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19162 * sysdeps/x86/bits/semaphore.h: ... here.
19163 * sysdeps/x86/nptl/elide.h: Moved ...
19164 * sysdeps/x86/elide.h: ... here.
19165 * sysdeps/x86_64/nptl/Implies: File removed.
19166 * sysdeps/i386/nptl/Implies: File removed.
19167
19168 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19169
19170 [BZ #16539]
19171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19172 return the argument for normal arguments with exponent below -64.
19173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19174 Likewise.
19175 * math/auto-libm-test-in: Add another test of expm1.
19176 * math/auto-libm-test-out: Regenerated.
19177
19178 [BZ #16287]
19179 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19180 calling __erfcl for arguments at least 16.
19181 * math/auto-libm-test-in: Add more tests of erf.
19182 * math/auto-libm-test-out: Regenerated.
19183
19184 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19185 individual architectures.
19186 * sysdeps/unix/sysv/linux/configure: Regenerated.
19187 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19188 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19189 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19190 (ldd_rewrite_script): Define variable.
19191 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19193 file.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19195 generated file.
19196 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19197 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19198 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19199 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19200 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19201 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19202 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19203 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19204
19205 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19206
19207 [BZ #17084]
19208 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19209 Rename member __data.d to __data.__elision_data.
19210
19211 2014-06-24 Wilco <wdijkstr@arm.com>
19212
19213 * NEWS: Add 16918 to fixed bug list.
19214
19215 2014-06-24 Wilco <wdijkstr@arm.com>
19216
19217 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19218
19219 2014-06-24 Wilco <wdijkstr@arm.com>
19220
19221 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19222 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19223 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19224 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19225 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19226 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19227 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19228 Use _FPU_MASK_RM.
19229
19230 2014-06-24 Wilco <wdijkstr@arm.com>
19231
19232 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19233
19234 2014-06-24 Wilco <wdijkstr@arm.com>
19235
19236 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19237 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19238 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19239 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19240
19241 2014-06-24 Wilco <wdijkstr@arm.com>
19242
19243 [BZ #16918]
19244 * sysdeps/arm/feupdateenv.c (feupdateenv):
19245 Rewrite to reduce FPSCR accesses and fix return value.
19246
19247 2014-06-24 Wilco <wdijkstr@arm.com>
19248
19249 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19250 Optimize to avoid unnecessary FPSCR writes.
19251 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19252 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19253 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19254 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19255
19256 2014-06-24 Wilco <wdijkstr@arm.com>
19257
19258 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19259 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19260 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19261 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19262 Call libc_fetestexcept_vfp.
19263 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19264 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19265 __SOFTFP__ ifdef so that they can be built for softfp.
19266
19267 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19268
19269 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19270 argument type signed char.
19271
19272 * Makerules (check-abi): Dump diff of symlist if the test
19273 fails.
19274
19275 2014-06-23 Roland McGrath <roland@hack.frob.com>
19276
19277 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19278 using abort.
19279
19280 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19281 Remove unused variable ST.
19282
19283 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19284
19285 [BZ #16354]
19286 [BZ #17061]
19287 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19288 small arguments before calling __expm1.
19289 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19290 small arguments before calling __expm1f.
19291 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19292 small arguments before calling __expm1l.
19293 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19294 Likewise.
19295 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19296 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19297 spurious underflow for some cosh tests.
19298 * math/auto-libm-test-out: Regenerated.
19299 * sysdeps/i386/fpu/libm-test-ulps: Update.
19300
19301 [BZ #17050]
19302 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19303 (__ieee754_y1): Set errno if return value overflows.
19304 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19305 (__ieee754_y1f): Set errno if return value overflows.
19306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19307 (__ieee754_y1l): Set errno if return value overflows.
19308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19309 (__ieee754_y1l): Set errno if return value overflows.
19310 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19311 * math/auto-libm-test-out: Regenerated.
19312
19313 * math/gen-auto-libm-tests.c: Document use of
19314 ignore-zero-inf-sign.
19315 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19316 (input_flags): Add ignore-zero-inf-sign.
19317 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19318 * math/gen-libm-test.pl (generate_testfile): Handle
19319 ignore-zero-inf-sign.
19320 * math/auto-libm-test-in: Mark some cpow tests with
19321 ignore-zero-inf-sign and some with xfail-rounding.
19322 * math/auto-libm-test-out: Regenerated.
19323 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19326
19327 [BZ #16315]
19328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19329 overflowing or underflowing operations take place with sign of
19330 result.
19331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19332 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19333 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19334 (__ieee754_pow): Recompute overflowing and underflowing results in
19335 original rounding mode.
19336 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19337 (__powl_helper): Allow negative argument X and scale negated value
19338 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19339 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19340 overflowing or underflowing operations take place with sign of
19341 result.
19342 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19343 Include <math.h>.
19344 * math/auto-libm-test-in: Add more tests of pow.
19345 * math/auto-libm-test-out: Regenerated.
19346 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19347 (pow_tonearest_test_data): Remove.
19348 (pow_test_tonearest): Likewise.
19349 (pow_towardzero_test_data): Likewise.
19350 (pow_test_towardzero): Likewise.
19351 (pow_downward_test_data): Likewise.
19352 (pow_test_downward): Likewise.
19353 (pow_upward_test_data): Likewise.
19354 (pow_test_upward): Likewise.
19355 (main): Don't call removed functions.
19356 * sysdeps/i386/fpu/libm-test-ulps: Update.
19357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19358
19359 2014-06-23 Roland McGrath <roland@hack.frob.com>
19360
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19362 Moved ...
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19365 Moved ...
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19368 Moved ...
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19371 Moved ...
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19374 File removed.
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19376 File removed.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19378 File removed.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19380 File removed.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19382 File removed.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19384 File removed.
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19386 File removed.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19388 File removed.
19389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19390 File removed.
19391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19392 File removed.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19394 File removed.
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19396 File removed.
19397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19398 Moved ...
19399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19401 Moved ...
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19403 ... here.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19405 Moved ...
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19408 Moved ...
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19411 Moved ...
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19414 Moved ...
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19417 Moved ...
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19420 Moved ...
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19423 Moved ...
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19427 ... here.
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19429 Moved ...
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19432 Moved ...
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19434 ... here.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19436 Moved ...
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19438 ... here.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19440 Moved ...
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19442 ... here.
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19444 Moved ...
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19447 Moved ...
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19452 Moved ...
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19454 ... here.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19456 Moved ...
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19458 ... here.
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19460 Moved ...
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19463 Moved ...
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19466 Moved ...
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19469 Moved ...
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19472 Moved ...
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19474 ... here.
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19476 Moved ...
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19479 Moved ...
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19482 Moved ...
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19485 Moved ...
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19490 Moved ...
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19493 Moved ...
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19496 Moved ...
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19498 ... here.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19500 Moved ...
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19502 ... here.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19504 Moved ...
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19506 ... here.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19508 Moved ...
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19511 Moved ...
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19514 Moved ...
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19517 Moved ...
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19519 ... here.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19523 ... here.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19525 Moved ...
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19527 ... here.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19529 Moved ...
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19532 Moved ...
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19534
19535 2014-06-23 Will Newton <will.newton@linaro.org>
19536 Wilco <wdijkstr@arm.com>
19537
19538 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19539 implementation. Include get-rounding-mode.h.
19540 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19541 [!libc_feholdsetround_noex_ctx]: Define
19542 libc_feholdsetround_noex_ctx.
19543 [!libc_feholdsetround_noexf_ctx]: Define
19544 libc_feholdsetround_noexf_ctx.
19545 [!libc_feholdsetround_noexl_ctx]: Define
19546 libc_feholdsetround_noexl_ctx.
19547 (libc_feholdsetround_ctx): New function.
19548 (libc_feresetround_ctx): New function.
19549 (libc_feholdsetround_noex_ctx): New function.
19550 (libc_feresetround_noex_ctx): New function.
19551
19552 2014-06-23 Roland McGrath <roland@hack.frob.com>
19553
19554 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19555 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19556 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19557 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19558 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19559 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19560
19561 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19562 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19563 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19564 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19565 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19566 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19568 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19572 Moved ...
19573 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19574 ... here.
19575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19576 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19578 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19579 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19580 Moved ...
19581 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19583 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19586 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19587 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19589 Moved ...
19590 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19592 Moved ...
19593 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19594 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19595 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19597 Moved ...
19598 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19600 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19601 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19602 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19603 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19604 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19605 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19606 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19608 Moved ...
19609 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19610 ... here.
19611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19612 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19614 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19616 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19618 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19620 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19622 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19623 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19624 Moved ...
19625 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19627 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19629 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19630 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19631 Moved ...
19632 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19633 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19634 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19635 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19636 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19637
19638 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19639 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19640 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19641 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19642 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19643 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19645 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19647 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19649 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19650 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19651 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19652 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19653 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19654 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19655 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19656 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19657 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19658 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19659 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19660 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19661 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19662 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19663 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19664 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19665 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19666
19667 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19668
19669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19670 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19671 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19672 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19673 (IPV6_PMTUDISC_INTERFACE): Likewise.
19674 (IPV6_PMTUDISC_OMIT): Likewise.
19675
19676 2014-06-23 Andreas Schwab <schwab@suse.de>
19677
19678 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19679 Remove unused errout label.
19680
19681 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19682
19683 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19684 macro: hardware supports Vector Crypto instructions.
19685
19686 2014-06-23 Will Newton <will.newton@linaro.org>
19687
19688 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19689 rather than __builtin_expect.
19690
19691 * elf/dl-lookup.c (undefined_msg): Remove variable.
19692 (_dl_lookup_symbol_x): Replace undefined_msg with string
19693 literal.
19694
19695 * elf/dl-lookup.c (do_lookup_unique): New function.
19696 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19697 to a separate function.
19698
19699 2014-06-23 Andreas Schwab <schwab@suse.de>
19700
19701 [BZ #17079]
19702 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19703 before reading the next line.
19704
19705 2014-06-23 Will Newton <will.newton@linaro.org>
19706
19707 * test-skeleton.c (signal_handler): Use printf and %m
19708 rather than perror. Use printf rather than fprintf to
19709 stderr. Use puts rather than fputs to stderr.
19710 (main): Likewise.
19711
19712 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19713
19714 * nscd/nscd.c (thread_info_t): Remove typedef.
19715 (thread_info): Remove variable.
19716
19717 2014-06-21 Allan McRae <allan@archlinux.org>
19718
19719 * NEWS: Mention CVE-2014-4043.
19720
19721 2014-06-20 Roland McGrath <roland@hack.frob.com>
19722
19723 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19724 * nptl/smp.h: ... here.
19725
19726 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19727
19728 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19729 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19730 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19731 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19732
19733 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19734 * nptl/stack-aliasing.h: New file.
19735 * sysdeps/i386/i686/stack-aliasing.h: New file.
19736 * sysdeps/i386/i686/nptl/Makefile: File removed.
19737 * sysdeps/x86_64/stack-aliasing.h: New file.
19738 * sysdeps/x86_64/nptl/Makefile
19739 (CFLAGS-pthread_create.c): Variable removed.
19740
19741 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19742 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19743 old file.
19744 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19745 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19746 old file.
19747
19748 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19749
19750 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19751 (__ASSUME_SIGFRAME_V2): Remove macro.
19752 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19753 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19754 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19755 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19756 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19757 Declare as function. Remove conditional macro definitions.
19758 (__default_rt_sa_restorer): Likewise.
19759 (__default_sa_restorer_v1): Remove declaration.
19760 (__default_sa_restorer_v2): Likewise.
19761 (__default_rt_sa_restorer_v1): Likewise.
19762 (__default_rt_sa_restorer_v2): Likewise.
19763 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19764 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19765 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19766
19767 2014-06-20 Roland McGrath <roland@hack.frob.com>
19768
19769 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19770 (libpthread-routines): Add sysdep.
19771 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19772 * sysdeps/unix/sysv/linux/sparc/Versions
19773 (libpthread: GLIBC_2.3.3): New version set.
19774 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19775 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19776 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19777 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19778 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19779 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19780 Moved ...
19781 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19782 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19783 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19784 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19785 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19786 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19787 * sysdeps/sparc/nptl/sem_init.c: ... here.
19788 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19789 * sysdeps/sparc/nptl/sem_post.c: ... here.
19790 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19791 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19792 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19793 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19794 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19795 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19796 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19797 (libpthread-routines): Add cpu_relax.
19798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19799 File removed.
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19801 (librt: GLIBC_2.3.3): New version set.
19802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19803 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19804 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19805 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19808 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19810 Moved ...
19811 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19813 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19815 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19817 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19819 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19821 Moved ...
19822 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19823 Update #include.
19824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19825 Moved ...
19826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19827 Update #include.
19828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19829 Moved ...
19830 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19831 Update #include.
19832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19833 Moved ...
19834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19835 Update #include.
19836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19837 Moved ...
19838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19839 Update #include.
19840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19841 Moved ...
19842 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19843 Update #include.
19844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19845 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19851 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19853 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19855 Moved ...
19856 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19858 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19860 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19861
19862 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19863
19864 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19865 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19866 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19867 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19868 * nscd/nscd.c: Likewise.
19869 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19870 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19871 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19872 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19873
19874 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19875 <kernel-features.h>.
19876 (init_mq_netlink): Remove conditional have_sock_cloexec
19877 definitions. Remove code conditional on have_sock_cloexec < 0.
19878 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19879 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19880 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19881 <kernel-features.h>.
19882 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19883 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19884
19885 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19888 Add tests for memset_chk and memset.
19889
19890 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19891 with AVX2_Usable.
19892
19893 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19894
19895 [BZ #16046]
19896 * elf/tst-dl-iter-static.c: New file.
19897 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19898
19899 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19900 error.
19901
19902 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19903
19904 * sysdeps/unix/sysv/linux/kernel-features.h
19905 (__ASSUME_F_GETOWN_EX): Remove macro.
19906 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19907 <kernel-features.h>.
19908 (miss_F_GETOWN_EX): Remove variable or macro.
19909 (do_fcntl): Do not check miss_F_GETOWN_EX.
19910 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19911
19912 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19913 Remove macro.
19914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19915 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19916 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19917
19918 * sysdeps/unix/sysv/linux/kernel-features.h
19919 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19920 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19921 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19922 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19923
19924 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19925
19926 [BZ #17075]
19927 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19928 Fix calculation of the symbol's value.
19929 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19930 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19931 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19932 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19933 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19934 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19935 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19936 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19937 (modules-names): Add `tst-armtlsdescmod',
19938 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19939 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19940 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19941 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19942 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19943 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19944 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19945 ($(objpfx)tst-armtlsdescloc): New dependency.
19946 ($(objpfx)tst-armtlsdescextnow): Likewise.
19947 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19948 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19949 TLS scheme support.
19950 * sysdeps/arm/configure: Regenerate.
19951
19952 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19953
19954 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19955 (__atfct_seterrno_2): Likewise.
19956 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19957 <kernel-features.h>.
19958 (__ASSUME_ATFCTS): Do not undefine and redefine.
19959 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19960 (__have_atfcts): Remove conditional definition.
19961 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19963 unreachable if [__ASSUME_ATFCTS].
19964 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19965 not undefine and redefine.
19966 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19967 <kernel-features.h>.
19968 (faccessat) [__NR_faccessat]: Make code unconditional.
19969 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19970 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19971 <kernel-features.h>.
19972 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19973 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19974 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19975 <kernel-features.h>.
19976 (fchownat) [__NR_fchownat]: Make code unconditional.
19977 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19978 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19979 <kernel-features.h>.
19980 (futimesat) [__NR_futimesat]: Make code unconditional.
19981 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19983 <kernel-features.h>.
19984 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19985 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19986 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19987 <kernel-features.h>.
19988 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19989 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19990 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19991 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19992 <kernel-features.h>.
19993 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19994 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19995 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19996 <kernel-features.h>.
19997 (linkat) [__NR_linkat]: Make code unconditional.
19998 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19999 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20000 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20001 <kernel-features.h>.
20002 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20003 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20004 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20005 <kernel-features.h>.
20006 (mkdirat) [__NR_mkdirat]: Make code unconditional.
20007 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20008 * sysdeps/unix/sysv/linux/openat.c: Do not include
20009 <kernel-features.h>.
20010 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20011 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20012 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20013 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20015 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20016 <kernel-features.h>.
20017 (readlinkat) [__NR_readlinkat]: Make code unconditional.
20018 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
20019 result of INLINE_SYSCALL directly, not via int variable.
20020 * sysdeps/unix/sysv/linux/renameat.c: Do not include
20021 <kernel-features.h>.
20022 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20023 (renameat) [__NR_renameat]: Make code unconditional.
20024 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20025 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20026 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20027 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20029 (__ASSUME_ATFCTS): Do not undefine and redefine.
20030 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20031 <kernel-features.h>.
20032 (symlinkat) [__NR_symlinkat]: Make code unconditional.
20033 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20035 <kernel-features.h>.
20036 (unlinkat) [__NR_unlinkat]: Make code unconditional.
20037 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20039 (__ASSUME_ATFCTS): Do not undefine and redefine.
20040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20041 <kernel-features.h>.
20042 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20043 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20044 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20045 <kernel-features.h>.
20046 (__xmknodat) [__NR_mknodat]: Make code unconditional.
20047 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20048
20049 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20050
20051 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20052
20053 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
20054
20055 [BZ #17069]
20056 * posix/regcomp.c (parse_reg_exp): Deallocate partially
20057 constructed tree before returning error.
20058 * posix/bug-regexp36.c: Expand test case.
20059
20060 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20061
20062 [BZ #6803]
20063 * math/libm-test.inc (scalbln_test_date):
20064 Add errno expectations.
20065 * math/w_scalblnf.c: New File.
20066 Add wrapper which checks for setting errno to ERANGE.
20067 Add weak_alias for corresponding scalbln function.
20068 * math/w_scalbln.c: Likewise.
20069 * math/w_scalblnl.c: Likewise.
20070 * math/Makefile (libm-calls): Add w_scalbln.
20071 * sysdeps/ieee754/flt-32/s_scalblnf.c:
20072 Remove weak_alias for corresponding scalbln function.
20073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20077 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20078 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20079 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20080 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20081 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20082 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20083 Remove long_double_symbol for scalblnl function in libm, libc.
20084 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20085 Add wrapper which checks for setting errno to ERANGE.
20086 Add long_double_symbol for scalblnl function in libm, libc.
20087 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20088 Remove long_double_symbol for scalblnl in libm.
20089 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20090 Add wrapper which checks for setting errno to ERANGE.
20091 Add long_double_symbol for scalblnl function in libm.
20092 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20093 Do not use wrapper because of own implementation.
20094
20095 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20098 3 bytes for __pad1 for x32.
20099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20100
20101 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20102 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20105 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20106 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20107 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20108 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20109
20110 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20111
20112 [BZ #17069]
20113 * posix/regcomp.c (parse_expression): Deallocate partially
20114 constructed tree before returning error.
20115 * posix/Makefile.c (tests): Add bug-regex36.
20116 (generated): Add bug-regex36.mtrace.
20117 (tests-special): Add $(objpfx)bug-regex36-mem.out
20118 (bug-regex36-ENV): New variable.
20119 ($(objpfx)bug-regex36-mem.out): New rule.
20120 * posix/bug-regex36.c: New file.
20121
20122 2014-06-19 Will Newton <will.newton@linaro.org>
20123
20124 * malloc/malloc.c (systrim): If extra is zero then return
20125 early.
20126
20127 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20128
20129 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20130
20131 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20132
20133 * sysdeps/aarch64/strchr.S: New file.
20134
20135 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #17022]
20138 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20139 from arguments -2 or below.
20140 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20141 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20142
20143 2014-06-18 Andreas Schwab <schwab@suse.de>
20144
20145 [BZ #17062]
20146 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20147 of a bracket expr not to run off the end of the string.
20148 * posix/Makefile (tests): Add tst-fnmatch3.
20149 * posix/tst-fnmatch3.c: New file.
20150
20151 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20152
20153 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20154 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20155 [$(cross-compiling) = no]: Likewise.
20156 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20157 [$(cross-compiling) = no]: Likewise.
20158
20159 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20160
20161 [BZ #17031]
20162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20163 double, adjusted for any remainder from the high double.
20164 * math/libm-test.inc (nearbyint): Add tests.
20165 (rint): Likewise.
20166
20167 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20168
20169 * nptl/sysdeps/powerpc/Makefile: Moved ...
20170 * sysdeps/powerpc/nptl/Makefile: ... here.
20171 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20172 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20173 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20174 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20175 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20176 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20177 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20178 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20179 * nptl/sysdeps/powerpc/tls.h: Moved ...
20180 * sysdeps/powerpc/nptl/tls.h: ... here.
20181
20182 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20183
20184 [BZ #16681]
20185 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20186 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20187 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20188 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20189 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20190 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20191 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20192 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20193 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20194
20195 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20196
20197 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20198
20199 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20200
20201 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20202 defined operator.
20203
20204 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20205 $TIMEOUTFACTOR.
20206
20207 2014-06-16 Florian Weimer <fweimer@redhat.com>
20208
20209 [BZ #17058]
20210 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20211 non-executed part of the test.
20212
20213 2014-06-16 Andreas Schwab <schwab@suse.de>
20214
20215 * string/bits/string2.h (strdup, strndup): Update feature guard.
20216
20217 2014-06-14 David S. Miller <davem@davemloft.net>
20218
20219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20220
20221 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20222
20223 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20224 that was previously under [RESET_PID].
20225 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20226
20227 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20228 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20229 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20230 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20231 (__libc_vfork): New strong alias.
20232 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20233
20234 2014-06-14 Andi Kleen <ak@linux.intel.com>
20235
20236 * sysdeps/generic/elide.h: New file.
20237
20238 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20239
20240 * Makefile (installed-headers): Adjust path of pthread.h header.
20241
20242 2014-06-13 Roland McGrath <roland@hack.frob.com>
20243
20244 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20245 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20246 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20247 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20248
20249 * nptl/sysdeps/s390/Makefile: Moved ...
20250 * sysdeps/s390/nptl/Makefile: ... here.
20251 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20252 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20253 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20254 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20255 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20256 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20257 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20258 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20259 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20260 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20261 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20262 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20263 * nptl/sysdeps/s390/tls.h: Moved ...
20264 * sysdeps/s390/nptl/tls.h: ... here.
20265
20266 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20267 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20268
20269 2014-06-13 David S. Miller <davem@davemloft.net>
20270
20271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20274 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20278 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20279 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20280 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20281 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20282 Remove RESET_PID cpp guards.
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20284 Remove RESET_PID cpp guards.
20285 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20286
20287 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20288
20289 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20290 __sp to uintptr_t.
20291
20292 2014-06-13 Andi Kleen <ak@linux.intel.com>
20293
20294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20303 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20313 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20314
20315 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20316 (pthread_rwlock_rdlock): Add elision.
20317 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20318 (pthread_rwlock_wrlock): Add elision.
20319 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20320 (pthread_rwlock_trywrlock): Add elision.
20321 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20322 (pthread_rwlock_tryrdlock): Add elision.
20323 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20324 (pthread_rwlock_tryrdlock): Add elision unlock.
20325 * nptl/sysdeps/pthread/pthread.h:
20326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20327 (PTHREAD_RWLOCK_INITIALIZER,
20328 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20329 Handle new elision field.
20330 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20331 * sysdeps/arm/nptl/bits/pthreadtypes.h
20332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20333 * sysdeps/sh/nptl/bits/pthreadtypes.h
20334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20335 * sysdeps/tile/nptl/bits/pthreadtypes.h
20336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20337 * sysdeps/a/nptl/bits/pthreadtypes.h
20338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20339 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20341 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20343 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20345 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20347 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20349 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20351 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20353 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20355 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20356 (elision_init): Set try_xbegin to zero when no RTM.
20357 * sysdeps/x86/nptl/bits/pthreadtypes.h
20358 (pthread_rwlock_t): Change __pad1 to __rwelision.
20359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20360
20361 2014-06-13 Andi Kleen <ak@linux.intel.com>
20362
20363 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20364 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20365 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20366 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20367
20368 2014-06-13 Meador Inge <meadori@codesourcery.com>
20369
20370 [BZ #16996]
20371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20372 that the cached result has been set before returning it.
20373
20374 2014-06-12 Roland McGrath <roland@hack.frob.com>
20375
20376 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20377 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20378 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20379 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20380 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20381 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20382
20383 * nptl/sysdeps/sparc/Makefile: Moved ...
20384 * sysdeps/sparc/nptl/Makefile: ... here.
20385 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20386 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20387 * nptl/sysdeps/sparc/tls.h: Moved ...
20388 * sysdeps/sparc/nptl/tls.h: ... here.
20389 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20390 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20391 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20392 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20393 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20394 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20395 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20396 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20397 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20398 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20399 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20400 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20401 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20402 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20403 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20404 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20405 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20407 Update #include.
20408 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20409 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20410 Update #include.
20411 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20412 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20413 Update #include.
20414 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20415 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20416 Update #include.
20417
20418 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20419
20420 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20421 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20422
20423 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20424 (struct list_links): Type removed.
20425 (struct thread_node, struct timer_node): Replace struct list_links
20426 with struct list_head.
20427 (list_unlink_ip): Likewise.
20428 * sysdeps/pthread/timer_routines.c
20429 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20430 (list_append, list_insbefore): Likewise.
20431 (list_init): Function removed.
20432 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20433 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20434 * sysdeps/pthread/Makefile: ... here, new file.
20435
20436 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20437 * sysdeps/nptl/Implies: ... here.
20438 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20439 * nptl/sysdeps/pthread/list.h: Moved ...
20440 * include/list.h: ... here.
20441 * nptl/sysdeps/pthread/createthread.c: Moved ...
20442 * nptl/createthread.c: ... here.
20443 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20444 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20445 * nptl/pt-longjmp.c: ... here.
20446 * nptl/sysdeps/pthread/Makefile: Moved ...
20447 * sysdeps/nptl/Makefile: ... here.
20448 * nptl/sysdeps/pthread/Subdirs: Moved ...
20449 * sysdeps/nptl/Subdirs: ... here.
20450 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20451 * sysdeps/nptl/aio_misc.h: ... here.
20452 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20453 * sysdeps/nptl/bits/libc-lock.h: ... here.
20454 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20455 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20456 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20457 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20458 * nptl/sysdeps/pthread/configure: Moved ...
20459 * sysdeps/nptl/configure: ... here.
20460 * nptl/sysdeps/pthread/configure.ac: Moved ...
20461 * sysdeps/nptl/configure.ac: ... here.
20462 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20463 * sysdeps/nptl/gai_misc.h: ... here.
20464 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20465 * sysdeps/nptl/librt-cancellation.c: ... here.
20466 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20467 * sysdeps/nptl/malloc-machine.h: ... here.
20468 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20469 * sysdeps/nptl/pthread-functions.h: ... here.
20470 * nptl/sysdeps/pthread/pthread.h: Moved ...
20471 * sysdeps/nptl/pthread.h: ... here.
20472 * nptl/sysdeps/pthread/setxid.h: Moved ...
20473 * sysdeps/nptl/setxid.h: ... here.
20474 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20475 * sysdeps/nptl/sigfillset.c: ... here.
20476 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20477 * sysdeps/nptl/tcb-offsets.h: ... here.
20478 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20479 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20480 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20481 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20482 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20483 * sysdeps/pthread/allocalim.h: ... here.
20484 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20485 * sysdeps/pthread/bits/sigthread.h: ... here.
20486 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20487 * sysdeps/pthread/flockfile.c: ... here.
20488 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20489 * sysdeps/pthread/ftrylockfile.c: ... here.
20490 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20491 * sysdeps/pthread/funlockfile.c: ... here.
20492 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20493 * sysdeps/pthread/posix-timer.h: ... here.
20494 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20495 * sysdeps/pthread/timer_create.c: ... here.
20496 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20497 * sysdeps/pthread/timer_delete.c: ... here.
20498 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20499 * sysdeps/pthread/timer_getoverr.c: ... here.
20500 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20501 * sysdeps/pthread/timer_gettime.c: ... here.
20502 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20503 * sysdeps/pthread/timer_routines.c: ... here.
20504 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20505 * sysdeps/pthread/timer_settime.c: ... here.
20506 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20507 * sysdeps/pthread/tst-timer.c: ... here.
20508 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20509 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20510
20511 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20512 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20513
20514 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20515 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20516 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20517 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20518 Update #include target.
20519 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20520 * sysdeps/i386/i686/nptl/Makefile: ... here.
20521 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20522 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20523 Update #include target.
20524 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20525 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20526 * nptl/sysdeps/i386/Makefile: Moved ...
20527 * sysdeps/i386/nptl/Makefile: ... here.
20528 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20529 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20530 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20531 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20532 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20533 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20534 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20535 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20536 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20537 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20538 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20539 * nptl/sysdeps/i386/tls.h: Moved ...
20540 * sysdeps/i386/nptl/tls.h: ... here.
20541
20542 * sysdeps/sh/Makefile [$(subdir) = csu]
20543 (gen-as-const-headers): Add tcb-offsets.sym.
20544 * nptl/sysdeps/sh/Makefile: File removed.
20545 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20546 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20547 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20548 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20549 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20550 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20551 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20552 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20553 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20554 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20555 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20556 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20557 * nptl/sysdeps/sh/tls.h: Moved ...
20558 * sysdeps/sh/nptl/tls.h: ... here.
20559 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20560 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20561 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20562 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20563 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20564 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20565 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20566 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20567 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20568 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20570 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20572 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20574 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20576 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20578 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20580 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20581 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20584 Moved ...
20585 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20586 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20587 Moved ...
20588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20589 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20590 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20592 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20593 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20594 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20595 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20596 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20597 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20598 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20599 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20600 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20601 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20602 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20603 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20604 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20605 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20606 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20607
20608 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20609
20610 * posix/spawn_faction_addopen.c: Include string.h.
20611
20612 2014-06-11 Roland McGrath <roland@hack.frob.com>
20613
20614 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20615 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20616 * nptl/sysdeps/x86_64/Makefile: Moved ...
20617 * sysdeps/x86_64/nptl/Makefile: ... here.
20618 * nptl/sysdeps/x86_64/configure: Moved ...
20619 * sysdeps/x86_64/nptl/configure: ... here.
20620 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20621 * sysdeps/x86_64/nptl/configure.ac: ... here.
20622 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20623 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20624 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20625 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20626 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20627 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20628 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20629 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20630 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20631 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20632 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20633 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20634 * nptl/sysdeps/x86_64/tls.h: Moved ...
20635 * sysdeps/x86_64/nptl/tls.h: ... here.
20636 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20637 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20638 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20639 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20640
20641 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20642
20643 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20644
20645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20646
20647 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20648
20649 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20650 type.
20651 [POSIX] (off_t): Likewise.
20652 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20653 [POSIX] (S_ISBLK): Require macro.
20654 [POSIX] (S_ISCHR): Likewise.
20655 [POSIX] (S_ISDIR): Likewise.
20656 [POSIX] (S_ISFIFO): Likewise.
20657 [POSIX] (S_ISREG): Likewise.
20658 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20659 optional-macro.
20660 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20661 type.
20662 [POSIX] (time_t): Likewise.
20663 [POSIX] (timer_t): Likewise.
20664
20665 2014-06-11 Florian Weimer <fweimer@redhat.com>
20666
20667 [BZ #17048]
20668 * posix/spawn_int.h (struct __spawn_action): Make the path string
20669 non-const to support deallocation.
20670 * posix/spawn_faction_addopen.c
20671 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20672 * posix/spawn_faction_destroy.c
20673 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20674 path in all spawn_do_open actions.
20675 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20676 posix_spawn_file_actions_addopen.
20677
20678 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20679
20680 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20681 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20682 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20683 conditional code always true.
20684 (__libc_vfork): New alias.
20685
20686 2014-06-11 Roland McGrath <roland@hack.frob.com>
20687
20688 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20689 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20690
20691 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20692
20693 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20694 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20695
20696 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20697 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20698
20699 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20700 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20701
20702 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20703
20704 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20705 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20706 multiarch strcmp for PPC64.
20707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20710 multiarch optimizations.
20711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20712 (__libc_ifunc_impl_list): Likewise.
20713
20714 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20715
20716 * benchtests/scripts/validate_benchout.py: New script.
20717 * benchtests/Makefile (bench-func): Call it.
20718 * benchtests/scripts/benchout.schema.json: New file.
20719
20720 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20721
20722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20723 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20724 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20725 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20726 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20727 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20728 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20729 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20730 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20731 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20732 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20733 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20734 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20735 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20736 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20737 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20739 Moved ...
20740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20741 ... here.
20742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20743 Moved ...
20744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20746 Moved ...
20747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20748 ... here.
20749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20750 Moved ...
20751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20752 ... here.
20753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20754 Moved ...
20755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20757 Moved ...
20758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20759 ... here.
20760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20761 Moved ...
20762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20763 ... here.
20764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20765 Moved ...
20766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20768 Moved ...
20769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20770 ... here.
20771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20772 Moved ...
20773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20774 ... here.
20775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20776 Moved ...
20777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20778 ... here.
20779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20780 Moved ...
20781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20783 Moved ...
20784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20785 ... here.
20786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20787 Moved ...
20788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20789 ... here.
20790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20791 Moved ...
20792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20793 ... here.
20794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20795 Moved ...
20796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20798 Moved ...
20799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20800 ... here.
20801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20802 Moved ...
20803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20804 ... here.
20805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20806 Moved ...
20807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20809 Moved ...
20810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20811 ... here.
20812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20813 Moved ...
20814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20816 Moved ...
20817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20819 Moved ...
20820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20821 ... here.
20822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20823 Moved ...
20824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20825 ... here.
20826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20827 Moved ...
20828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20829 ... here.
20830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20831 Moved ...
20832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20834 Moved ...
20835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20836 ... here.
20837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20838 Moved ...
20839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20840 ... here.
20841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20842 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20844 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20846 Moved ...
20847 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20848 ... here.
20849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20850 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20852 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20854 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20856 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20858 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20860 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20862 Moved ...
20863 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20864 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20865 Moved ...
20866 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20868 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20870 Moved ...
20871 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20872 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20873 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20874 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20875 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20876 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20877 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20878
20879 2014-06-10 Wilco <wdijkstr@arm.com>
20880
20881 * math/test-fenv-return.c: New file.
20882 * math/Makefile: Add new test test-fenv-return.
20883
20884 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20885
20886 [BZ #17042]
20887 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20888 when x - 1 is zero.
20889 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20890 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20891 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20892 0.0L for an argument of 1.0L.
20893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20894 Likewise.
20895 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20896 value when x - 1 is zero.
20897 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20898 * sysdeps/i386/fpu/libm-test-ulps: Update.
20899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20900
20901 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20902
20903 [BZ #15119]
20904 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20905
20906 2014-06-09 Roland McGrath <roland@hack.frob.com>
20907
20908 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20909 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20910
20911 2014-06-09 Roland McGrath <roland@hack.frob.com>
20912
20913 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20914 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20915
20916 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20917 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20918
20919 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20920 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20921
20922 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20923 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20924
20925 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20926 if not already defined.
20927 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20928 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20929 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20930 (TLS_INIT_TP): Use it.
20931 (TLS_DEFINE_INIT_TP): New macro.
20932 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20933
20934 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20935
20936 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20937 constant.
20938 [POSIX] (IXANY): Likewise.
20939 [POSIX] (OLCUC): Likewise.
20940 [POSIX || POSIX2008] (CBAUD): Do not allow.
20941 [POSIX || POSIX2008] (DEFECHO): Likewise.
20942 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20943 [POSIX || POSIX2008] (ECHOKE): Likewise.
20944 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20945 [POSIX || POSIX2008] (EXTA): Likewise.
20946 [POSIX || POSIX2008] (EXTB): Likewise.
20947 [POSIX || POSIX2008] (FLUSHO): Likewise.
20948 [POSIX || POSIX2008] (LOBLK): Likewise.
20949 [POSIX || POSIX2008] (PENDIN): Likewise.
20950 [POSIX || POSIX2008] (SWTCH): Likewise.
20951 [POSIX || POSIX2008] (VDISCARD): Likewise.
20952 [POSIX || POSIX2008] (VDSUSP): Likewise.
20953 [POSIX || POSIX2008] (VLNEXT): Likewise.
20954 [POSIX || POSIX2008] (VREPRINT): Likewise.
20955 [POSIX || POSIX2008] (VSTATUS): Likewise.
20956 [POSIX || POSIX2008] (VWERASE): Likewise.
20957 (B*): Change to B[0123456789]*.
20958 * conform/data/time.h-data [POSIX || UNIX98]
20959 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20960 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20961 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20962 [POSIX] (tm_*): Do not allow.
20963
20964 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20965
20966 * Makefile (install): Don't set LANGUAGE.
20967 * Makefile.in (install): Likewise.
20968 * assert/Makefile (test-assert-ENV): Remove variable.
20969 (test-assert-perr-ENV): Likewise.
20970 * elf/Makefile (neededtest4-ENV): Likewise.
20971 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20972 [$(cross-compiling) = no]: Don't set LANGUAGE.
20973 * io/ftwtest-sh (LANG): Remove variable.
20974 * libio/Makefile (tst-widetext-ENV): Likewise.
20975 * manual/install.texi (Running make install): Don't refer to
20976 environment settings for make install.
20977 * INSTALL: Regenerated.
20978 * nptl/tst-tls6.sh: Don't set LANG.
20979 * posix/globtest.sh (LANG): Remove variable.
20980 * string/Makefile (tester-ENV): Likewise.
20981 (inl-tester-ENV): Likewise.
20982 (noinl-tester-ENV): Likewise.
20983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20984 [$(cross-compiling) = no]: Don't set LANGUAGE.
20985 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20986 without explicit environment settings.
20987
20988 2014-06-06 Roland McGrath <roland@hack.frob.com>
20989
20990 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20991 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20993 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20994
20995 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20996
20997 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20998 other files in the crypt directory.
20999 * crypt/crypt.c: Remove duplicate includes.
21000 * crypt/crypt-entry.c: Likewise.
21001 * crypt/crypt_util.c: Likewise.
21002
21003 2014-06-06 Joseph Myers <joseph@codesourcery.com>
21004
21005 * Makeconfig (run-program-env): New variable.
21006 (run-program-prefix-before-env): Likewise.
21007 (run-program-prefix-after-env): Likewise.
21008 (run-program-prefix): Define in terms of new variables.
21009 (built-program-cmd-before-env): New variable.
21010 (built-program-cmd-after-env): Likewise.
21011 (built-program-cmd): Define in terms of new variables.
21012 (test-program-prefix-before-env): New variable.
21013 (test-program-prefix-after-env): Likewise.
21014 (test-program-prefix): Define in terms of new variables.
21015 (test-program-cmd-before-env): New variable.
21016 (test-program-cmd-after-env): Likewise.
21017 (test-program-cmd): Define in terms of new variables.
21018 * Rules (make-test-out): Use $(run-program-env).
21019 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21020 (help): Do not mention environment variables. Mention
21021 --timeoutfactor option.
21022 (timeoutfactor): New variable.
21023 (blacklist_exports): Remove function.
21024 (exports): Remove variable.
21025 (command): Do not include ${exports}.
21026 * manual/install.texi (Configuring and compiling): Do not mention
21027 test wrappers preserving environment variables. Mention that last
21028 assignment to a variable must take precedence.
21029 * INSTALL: Regenerated.
21030 * benchtests/Makefile (run-bench): Use $(run-program-env).
21031 * catgets/Makefile ($(objpfx)test1.cat): Use
21032 $(built-program-cmd-before-env), $(run-program-env) and
21033 $(built-program-cmd-after-env).
21034 ($(objpfx)test2.cat): Do not specify environment variables
21035 explicitly.
21036 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21037 $(run-program-env) and $(built-program-cmd-after-env).
21038 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21039 $(run-program-env) and $(test-program-cmd-after-env).
21040 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21041 explicitly.
21042 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21043 run_program_env and test_program_cmd_after_env arguments.
21044 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21045 * elf/tst-pathopt.sh: Use run_program_env argument.
21046 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21047 $(test-wrapper-env) and $(run-program-env).
21048 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21049 run_program_env arguments.
21050 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21051 * intl/Makefile ($(objpfx)tst-gettext.out): Use
21052 $(test-program-prefix-before-env), $(run-program-env) and
21053 $(test-program-prefix-after-env).
21054 ($(objpfx)tst-gettext2.out): Likewise.
21055 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21056 run_program_env and test_program_prefix_after_env arguments.
21057 * intl/tst-gettext2.sh: Likewise.
21058 * intl/tst-gettext4.sh: Do not set environment variables
21059 explicitly.
21060 * intl/tst-gettext6.sh: Likewise.
21061 * intl/tst-translit.sh: Likewise.
21062 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21063 $(test-program-prefix-before-env), $(run-program-env) and
21064 $(test-program-prefix-after-env).
21065 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21066 run_program_env and test_program_prefix_after_env arguments.
21067 * math/Makefile (run-regen-ulps): Use $(run-program-env).
21068 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21069 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
21070 explicitly with each use of ${test_wrapper_env}.
21071 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21072 $(test-program-prefix-before-env), $(run-program-env) and
21073 $(test-program-prefix-after-env).
21074 * posix/tst-getconf.sh: Do not set environment variables
21075 explicitly.
21076 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21077 run_program_env and test_program_prefix_after_env arguments.
21078 * stdio-common/tst-printf.sh: Do not set environment variables
21079 explicitly.
21080 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21081 $(test-program-prefix-before-env), $(run-program-env) and
21082 $(test-program-prefix-after-env).
21083 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21084 run_program_env and test_program_prefix_after_env arguments.
21085 Split $test calls into $test_pre and $test.
21086 * timezone/Makefile (build-testdata): Use
21087 $(built-program-cmd-before-env), $(run-program-env) and
21088 $(built-program-cmd-after-env).
21089
21090 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21091
21092 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21093 strlen for non SHARED builds.
21094
21095 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21096
21097 * nptl/allocatestack.c (check_list): Inlined function...
21098 (__reclaim_stacks): ... here.
21099
21100 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21101
21102 [BZ #15698]
21103 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21104 memory overrun.
21105
21106 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21107
21108 * Rules (make-test-out): Include
21109 LOCPATH=$(common-objpfx)localedata in default environment.
21110 * debug/Makefile (tst-chk1-ENV): Remove variable.
21111 (tst-chk2-ENV): Likewise.
21112 (tst-chk3-ENV): Likewise.
21113 (tst-chk4-ENV): Likewise.
21114 (tst-chk5-ENV): Likewise.
21115 (tst-chk6-ENV): Likewise.
21116 (tst-lfschk1-ENV): Likewise.
21117 (tst-lfschk2-ENV): Likewise.
21118 (tst-lfschk3-ENV): Likewise.
21119 (tst-lfschk4-ENV): Likewise.
21120 (tst-lfschk5-ENV): Likewise.
21121 (tst-lfschk6-ENV): Likewise.
21122 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21123 (tst-iconv7-ENV): Likewise.
21124 * intl/Makefile (LOCPATH-ENV): Likewise.
21125 (tst-codeset-ENV): Likewise.
21126 (tst-gettext3-ENV): Likewise.
21127 (tst-gettext5-ENV): Likewise.
21128 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21129 (tst-fopenloc-ENV): Likewise.
21130 (tst-fgetws-ENV): Remove variable.
21131 (tst-ungetwc1-ENV): Likewise.
21132 (tst-ungetwc2-ENV): Likewise.
21133 (bug-ungetwc2-ENV): Likewise.
21134 (tst-swscanf-ENV): Likewise.
21135 (bug-ftell-ENV): Likewise.
21136 (tst-fgetwc-ENV): Likewise.
21137 (tst-fseek-ENV): Likewise.
21138 (tst-ftell-partial-wide-ENV): Likewise.
21139 (tst-ftell-active-handler-ENV): Likewise.
21140 (tst-ftell-append-ENV): Likewise.
21141 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21142 (tst-regexloc-ENV): Likewise.
21143 (bug-regex1-ENV): Likewise.
21144 (tst-regex-ENV): Likewise.
21145 (tst-regex2-ENV): Likewise.
21146 (bug-regex5-ENV): Likewise.
21147 (bug-regex6-ENV): Likewise.
21148 (bug-regex17-ENV): Likewise.
21149 (bug-regex18-ENV): Likewise.
21150 (bug-regex19-ENV): Likewise.
21151 (bug-regex20-ENV): Likewise.
21152 (bug-regex22-ENV): Likewise.
21153 (bug-regex23-ENV): Likewise.
21154 (bug-regex25-ENV): Likewise.
21155 (bug-regex26-ENV): Likewise.
21156 (bug-regex30-ENV): Likewise.
21157 (bug-regex32-ENV): Likewise.
21158 (bug-regex33-ENV): Likewise.
21159 (bug-regex34-ENV): Likewise.
21160 (bug-regex35-ENV): Likewise.
21161 (tst-rxspencer-ENV): Likewise.
21162 (tst-rxspencer-no-utf8-ENV): Likewise.
21163 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21164 (tst-sscanf-ENV): Likewise.
21165 (tst-swprintf-ENV): Likewise.
21166 (tst-swscanf-ENV): Likewise.
21167 (test-vfprintf-ENV): Likewise.
21168 (scanf13-ENV): Likewise.
21169 (bug14-ENV): Likewise.
21170 (tst-grouping-ENV): Likewise.
21171 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21172 (tst-strtod3-ENV): Likewise.
21173 (tst-strtod4-ENV): Likewise.
21174 (tst-strtod5-ENV): Likewise.
21175 (testmb2-ENV): Likewise./
21176 * string/Makefile (tst-strxfrm-ENV): Likewise.
21177 (tst-strxfrm2-ENV): Likewise.
21178 (bug-strcoll1-ENV): Likewise.
21179 (test-strcasecmp-ENV): Likewise.
21180 (test-strncasecmp-ENV): Likewise.
21181 * time/Makefile (tst-strptime-ENV): Likewise.
21182 (tst-ftime_l-ENV): Likewise.
21183 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21184 (tst-mbrtowc-ENV): Likewise.
21185 (tst-wcrtomb-ENV): Likewise.
21186 (tst-mbrtowc2-ENV): Likewise.
21187 (tst-c16c32-1-ENV): Likewise.
21188 (tst-mbsnrtowcs-ENV): Likewise.
21189
21190 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21191
21192 * manual/resource.texi (How to get information about the memory
21193 subsystem?): Fix typo.
21194 Reported by Peon de la Parra Ivan <peon@keba.com>
21195
21196 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21197
21198 [BZ #16882]
21199 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21200 (pthread_spin_lock): Branch out of spin loop to proper location.
21201 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21202 (pthread_spin_lock): Likewise.
21203
21204 * nptl/tst-spin4.c: New test.
21205 * nptl/Makefile (tests): Add tst-spin4.
21206
21207 2014-06-03 Andreas Schwab <schwab@suse.de>
21208
21209 [BZ #15946]
21210 * resolv/res_send.c (send_dg): Reload file descriptor after
21211 calling reopen.
21212
21213 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21214
21215 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21216
21217 2014-06-03 Richard Henderson <rth@redhat.com>
21218
21219 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21220 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21221 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21222 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21223 in the SAVE_PID block.
21224 (__libc_vfork): New alias.
21225 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21226
21227 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21228 child in registers, not on the stack. Remove RESET_PID conditionals.
21229 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21230
21231 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21232
21233 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21234
21235 2014-06-03 Wilco <wdijkstr@arm.com>
21236
21237 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21238 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21239 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21240 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21241 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21242 Likewise.
21243
21244 2014-06-03 Wilco <wdijkstr@arm.com>
21245
21246 * sysdeps/aarch64/fpu/math_private.h
21247 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21248 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21249 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21250 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21251 Fix declarations.
21252
21253 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21254
21255 * crypt/crypt-private.h: Include ufc-crypt.h.
21256 (__b64_from_24bit): Declare extern.
21257 * crypt/crypt_util.c(__b64_from_24bit): New function.
21258 (b64t): New static const variable.
21259 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21260 (b64t): Remove variable.
21261 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21262 * crypt/sha256-crypt.c: Include crypt-private.h.
21263 (b64t): Remove variable.
21264 (__sha256_crypt_r): Remove b64_from_24bit and replace
21265 with __b64_from_24bit.
21266 * crypt/sha512-crypt.c: Likewise.
21267
21268 2014-06-02 Roland McGrath <roland@hack.frob.com>
21269
21270 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21271 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21272 Label the code __libc_vfork rather than __vfork.
21273 [!NOT_IN_libc] (vfork): Define as weak alias.
21274 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21275 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21276 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21277
21278 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21279
21280 * malloc/malloc.c (malloc_info): Fix format specifier for
21281 n_mmaps.
21282
21283 2014-06-02 Wilco <wdijkstr@arm.com>
21284
21285 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21286 FPCR write.
21287
21288 2014-06-02 Wilco <wdijkstr@arm.com>
21289
21290 [BZ #17009]
21291 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21292 Rewrite to reduce FPCR/FPSR accesses.
21293
21294 2014-06-01 David S. Miller <davem@davemloft.net>
21295
21296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21297
21298 2014-05-31 David S. Miller <davem@davemloft.net>
21299
21300 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21301 to occur in round to nearest mode when |x| >= 2.0
21302
21303 2014-05-30 Richard Henderson <rth@twiddle.net>
21304
21305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21306 (PSEUDO_RET_NOERRNO): Remove.
21307 (ret): Don't redefine.
21308 (ret_NOERRNO): Define in terms of ret.
21309 (ret_ERRVAL): Likewise.
21310
21311 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21312 use of PSEUDO_RET; perform the error check directly.
21313
21314 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21315
21316 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21317 with __int128_t.
21318
21319 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
21321 * malloc/malloc (malloc_info): Fix formatting.
21322
21323 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21324 Roland McGrath <roland@hack.frob.com>
21325
21326 * malloc/malloc (malloc_info): Also print mmapped statistics.
21327
21328 2014-05-30 Roland McGrath <roland@hack.frob.com>
21329
21330 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21331 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21332
21333 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21334
21335 * malloc/malloc.c (malloc_info): Inline mi_arena.
21336
21337 2014-05-29 Richard Henderson <rth@twiddle.net>
21338
21339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21340 Remove comma before expanding ASM_ARGS_##nr.
21341 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21342 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21343 of ASM_ARGS_##nr.
21344 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21345 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21346 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21347 (ASM_ARGS_1): Add leading comma.
21348
21349 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21350 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21351 to __errno_location.
21352 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21353 Remove the expected plt for __errno_location.
21354
21355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21356 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21357 call to __read_tp.
21358
21359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21360 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21361 it and break it down.
21362 (DOCARGS_0, DOCARGS_1): Do nothing.
21363 (DOCARGS_2): Update to store into the new stack frame.
21364 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21365 (UNDOCARGS_1): Update to restore from the new stack frame.
21366 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21367 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21368
21369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21370 (SINGLE_THREAD_P): New parameter for result regno.
21371 (PSEUDO): Update to match; use cbz instead of beq.
21372
21373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21374 Use ENTRY to define the _nocancel entry point. Share the syscall
21375 and syscall error check paths with the cancel path.
21376 (PSEUDO_END): New.
21377
21378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21379 whitespace; tabs before and after asm mnemonics.
21380
21381 2014-05-29 Eric Wong <normalperson@yhbt.net>
21382
21383 [BZ #15132]
21384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21385 Call fstat64 or stat64 internally, depending on arguments passed.
21386 Replace stat buffer argument with file descriptor argument.
21387 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21388 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21389 Pass fd to __internal_statvfs instead of calling fstat64.
21390 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21391 Pass fd to __internal_statvfs64 instead of calling fstat64.
21392 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21393 Pass -1 to __internal_statvfs instead of calling stat64.
21394 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21395 Pass -1 to __internal_statvfs64 instead of calling stat64.
21396
21397 2014-05-28 Roland McGrath <roland@hack.frob.com>
21398
21399 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21400 that was previously under [RESET_PID].
21401 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21402
21403 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21404 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21405
21406 2014-05-27 Roland McGrath <roland@hack.frob.com>
21407
21408 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21409
21410 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21411 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21412
21413 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21414
21415 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21416
21417 2014-05-27 Andreas Schwab <schwab@suse.de>
21418
21419 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21420 TLS_INIT_TP macro.
21421 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21422 * elf/rtld.c (init_tls, dl_main): Likewise.
21423 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21424 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21425 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21426 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21427 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21428 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21429 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21430 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21431 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21432 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21433 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21434 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21435 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21436 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21437 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21438 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21439 * sysdeps/generic/tls.h: Update description.
21440
21441 2014-05-27 Will Newton <will.newton@linaro.org>
21442
21443 [BZ #16990]
21444 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21445 and restore r2 rather than just restoring.
21446
21447 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21448
21449 [BZ #16724]
21450 * libio/tst-ftell-append.c: New test case.
21451 * libio/Makefile (tests): Add test case.
21452 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21453 append mode.
21454 * libio/wfileops.c (do_ftell_wide): Likewise.
21455
21456 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21457
21458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21459
21460 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21461 ...
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21464 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21465 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21466 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21467 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21468 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21469 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21471 Moved ...
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21474 Moved ...
21475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21476 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21477 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21478 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21479 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21480 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21481 ...
21482 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21484 Moved ...
21485 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21486 here.
21487 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21488 ...
21489 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21490 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21491 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21492
21493 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21494 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21495 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21496 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21497
21498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21499 merge into ...
21500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21502 ...
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21505 ...
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21508 Moved ...
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21510 here.
21511 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21512 Moved ...
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21515 Moved ...
21516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21517
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21519 conditional [RESET_PID].
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21522 removed.
21523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21524 removed.
21525
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21527 <tcb-offsets.h>.
21528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21529 (__libc_vfork): New strong alias.
21530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21531 removed.
21532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21533 Removed.
21534
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21536 <tcb-offsets.h>.
21537 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21538 (__libc_vfork): New strong alias.
21539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21540 removed.
21541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21542 removed.
21543
21544 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21545
21546 * malloc/malloc.c (mi_arena): New function.
21547 (malloc_info): Remove nested function mi_arena. Call non-nosted
21548 function mi_arena.
21549
21550 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21551
21552 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21553 by insrwi.
21554 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21555 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21556 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21557 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21559 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21561
21562 2014-05-26 Andreas Schwab <schwab@suse.de>
21563
21564 [BZ #16984]
21565 * locale/programs/repertoire.c (repertoire_read): Add slash
21566 between I18NPATH element and file name.
21567 * locale/programs/locfile.c (locfile_read): Likewise.
21568
21569 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21570
21571 * nptl/pthread_mutexattr_settype.c
21572 (__pthread_mutexattr_settype):
21573 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21574
21575 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21576
21577 * nptl/tst-mutex5 (do_test):
21578 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21579
21580 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21581
21582 * benchtests/README: Document 'init' directive.
21583 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21584 BENCH_INIT.
21585 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21586 (parse_file): Recognize 'init' directive.
21587
21588 2014-05-26 Kyle McMartin <kyle@redhat.com>
21589
21590 [BZ #16796]
21591 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21592 alignment of struct pthread.
21593
21594 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21595
21596 [BZ #16878]
21597 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21598 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21599 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21600 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21601
21602 2014-05-25 Richard Henderson <rth@twiddle.net>
21603
21604 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21605 (SINGLE_THREAD_P_PIC): Remove.
21606 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21607 (SINGLE_THREAD_P_PIC): Remove.
21608
21609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21610 branch to syscall error ...
21611 (PSEUDO): ... here.
21612 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21613 from __local_syscall_error to .Lsyscall_error.
21614 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21615 (SYSCALL_ERROR): Update label name.
21616
21617 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21618 Do not use DOARGS/UNDOARGS.
21619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21620 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21621 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21622 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21623 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21624
21625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21626 block comment.
21627
21628 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21629 define if !NOT_IN_libc.
21630 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21631 define with non-default symbol versions.
21632
21633 2014-05-23 Richard Henderson <rth@twiddle.net>
21634
21635 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21636 (vfork, __vfork): Define via compat_symbol.
21637
21638 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21639 [!HAVE_IFUNC] (vfork_compat): Remove.
21640 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21641
21642 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21643
21644 [BZ #16978]
21645 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21646 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21647 variable.
21648
21649 2014-05-23 Richard Henderson <rth@twiddle.net>
21650
21651 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21652 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21653 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21654 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21655
21656 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21657 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21659 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21660 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21661 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21662 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21663 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21664 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21665 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21666 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21667 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21668 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21669 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21670 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21671 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21672 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21673 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21674 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21675 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21676 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21677 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21678 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21679 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21680 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21682 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21683 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21684 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21685 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21686 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21687 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21688 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21689 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21690 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21691 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21692 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21693 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21694 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21695 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21696 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21697 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21698 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21699 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21700 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21701 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21703 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21705 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21707 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21709 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21711 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21712
21713 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21714 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21715 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21716 before exiting on error.
21717 (__libc_vfork): New strong alias.
21718 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21719 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21720
21721 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21722 that was previously under [RESET_PID].
21723 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21724
21725 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21726
21727 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21728
21729 [BZ #16977]
21730 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21731 value when x - 1 is zero.
21732 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21733 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21734 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21735 0.0L for an argument of 1.0L.
21736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21737 Likewise.
21738 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21739 value when x - 1 is zero.
21740 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21741 * sysdeps/i386/fpu/libm-test-ulps: Update.
21742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21743
21744 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21745
21746 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21747 alphasort and versionsort.
21748
21749 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21750
21751 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21752 macro.
21753 [copysignf]: Likewise.
21754
21755 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21756
21757 * crypt/md5-crypt.c: Fix formatting.
21758
21759 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21760
21761 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21762 (b64_from_24bit): New function.
21763
21764 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21765
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21767 libc_hidden_builtin_def to ifunc.
21768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21769 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21770
21771 2014-05-21 Roland McGrath <roland@hack.frob.com>
21772
21773 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21774 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21775
21776 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21777
21778 * nscd/Depend (linuxthreads): Remove.
21779 (nptl): Add.
21780 * resolv/Depend (linuxthreads): Remove.
21781 * rt/Depend (linuxthreads): Remove.
21782
21783 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21784 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21785 $(common-objpfx)elf/.
21786 (link-libc-before-gnulib): Likewise.
21787 (elfobjdir): Remove variable.
21788 * Makefile (install): Use $(elf-objpfx) instead of
21789 $(common-objpfx)elf/.
21790 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21791 $(elfobjdir)/.
21792 (link-libc-deps): Likewise.
21793 ($(common-objpfx)libc.so): Likewise.
21794 ($(common-objpfx)linkobj/libc.so): Likewise.
21795 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21796 instead of $(common-objpfx)elf/.
21797 (symbolic-link-list): Likewise.
21798 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21799 [$(cross-compiling) = no]: Likewise.
21800 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21801 $(elfobjdir)/.
21802 (static-gnulib-arch): Likewise.
21803 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21804 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21805 $(common-objpfx)elf/.
21806
21807 2014-05-21 Richard Henderson <rth@redhat.com>
21808
21809 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21810 (SINGLE_THREAD_P): Use the correct width load. Fold
21811 into the ldr offset.
21812
21813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21814 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21815
21816 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21817
21818 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21819 (libgcc_s_resume): Use __attribute_used__.
21820 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21821 Likewise.
21822
21823 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21824
21825 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21826 optimization when used with float constants.
21827
21828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21829
21830 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21831
21832 [BZ #16915]
21833 * locale/nl_langinfo_l.c: Make direct reference to every
21834 _nl_current_CATEGORY symbol.
21835 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21836 (tests-static): Add tst-langinfo-static.
21837 (tests-special): Add tst-langinfo-static.out.
21838 ($(objpfx)tst-langinfo.out): Redirect output.
21839 ($(objpfx)tst-langinfo-static.out): New.
21840 * localedata/tst-langinfo.sh: Send output to stdout.
21841 * localedata/tst-langinfo-static.c: New file.
21842
21843 [BZ #16965]
21844 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21845 when the shift amount is modulo the limb size.
21846
21847 2014-05-20 Richard Henderson <rth@redhat.com>
21848
21849 [BZ #16967]
21850 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21851 Change type of sa_flags from unsigned int to int.
21852
21853 [BZ #16966]
21854 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21855
21856 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21857
21858 2014-05-20 Will Newton <will.newton@linaro.org>
21859
21860 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21861 Test the return value of the system call in the nocancel case.
21862
21863 2014-05-20 Will Newton <will.newton@linaro.org>
21864 Yvan Roux <yvan.roux@linaro.org>
21865
21866 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21867 #include of asm/ptrace.h.
21868 (PTRACE_GET_THREAD_AREA): Remove #undef.
21869 (PTRACE_GETHBPREGS): Likewise.
21870 (PTRACE_SETHBPREGS): Likewise.
21871 (struct user_regs_struct): New structure.
21872 (struct user_fpsimd_struct): New structure.
21873 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21874 #include of asm/ptrace.h and second #include of sys/user.h.
21875 (PTRACE_GET_THREAD_AREA): Remove #undef.
21876 (PTRACE_GETHBPREGS): Likewise.
21877 (PTRACE_SETHBPREGS): Likewise.
21878 (ELF_NGREG): Use new struct user_regs_struct.
21879 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21880
21881 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21882
21883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21885
21886 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21887
21888 [BZ #16958]
21889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21890 membar to avoid block loads/stores to overlap previous stores.
21891
21892 2014-05-17 Richard Henderson <rth@redhat.com>
21893
21894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21895 Create the __##syscall_name##_nocancel entry point.
21896 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21897 Remove; let the sysdep-cancel.h code create it.
21898
21899 2014-05-17 David S. Miller <davem@davemloft.net>
21900
21901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21902 Protect with __USE_GNU.
21903 (TIOCSET_TEMPT): Likewise.
21904 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21905 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21906 these are already provided in bits/ioctl-types.h
21907
21908 2014-05-16 Roland McGrath <roland@hack.frob.com>
21909
21910 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21911 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21912
21913 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21914 Use wait4 regardless of [__NR_waitpid].
21915
21916 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21917
21918 PR libgcc/60166
21919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21920 (_FP_NANSIGN_Q): Set the quiet bit.
21921
21922 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21923
21924 * benchtests/Makefile
21925 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21926 not $(common-objpfx)math/libm.so.
21927 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21928 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21929 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21930 $(common-objpfx)dlfcn/libdl.so.
21931 ($(objpfx)tst-audit8): Depend on $(libm), not
21932 $(common-objpfx)math/libm.so.
21933 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21934 not $(common-objpfx)dlfcn/libdl.so.
21935 * math/Makefile
21936 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21937 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21938 [$(build-shared) = yes].
21939 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21940 $(common-objpfx)nptl/libpthread.so.
21941 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21942 $(common-objpfx)math/libm.so$(libm.so-version) or
21943 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21944 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21945 $(common-objpfx)dlfcn/libdl.so.
21946 * setjmp/Makefile (link-libm): Remove variable.
21947 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21948 * stdio-common/Makefile (link-libm): Remove variable.
21949 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21950 * stdlib/Makefile (link-libm): Remove variable.
21951 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21952 ($(objpfx)tst-strtod-round): Likewise.
21953 ($(objpfx)tst-tininess): Likewise.
21954 ($(objpfx)tst-strtod-underflow): Likewise.
21955 ($(objpfx)tst-strtod6): Likewise.
21956 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21957 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21958 $(common-objpfx)dlfcn/libdl.so.
21959
21960 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21961
21962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21963 BSD terminal modes definitions.
21964
21965 2014-05-16 Roland McGrath <roland@hack.frob.com>
21966
21967 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21968 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21969
21970 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21971 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21972 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21973 Don't do #include_next.
21974 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21975 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21976 Don't do #include_next.
21977 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21978 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21979 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21980 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21981
21982 2014-05-16 Allan McRae <allan@archlinux.org>
21983
21984 * po/sv.po: Update Swedish translation from translation project.
21985
21986 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21987 in sed expression.
21988
21989 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21990
21991 [BZ #16917]
21992 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21993 errno if the TIOCGPTN ioctl fails with an error different than
21994 EINVAL.
21995 * login/tst-ptsname.c: New file.
21996 * login/Makefile (tests): Add tst-ptsname.
21997
21998 [BZ #16943]
21999 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22000 and prlimit64.
22001
22002 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22003
22004 [BZ #16849]
22005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22006 herrno to return EAI_AGAIN.
22007
22008 2014-05-14 Roland McGrath <roland@hack.frob.com>
22009
22010 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22011 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22012 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22013 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22014 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22015 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22016 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22017 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22019 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22020 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22021 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22022 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22023 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22024 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22025 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22026 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22027 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22028 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22029 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22030 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22031 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22032 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22033 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22034 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22035 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22036 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22037 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22038 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22039 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22041 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22043 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22045 Moved ...
22046 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22048 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22050 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22052 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22054 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22058 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22060 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22062 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22064 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22066 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22068 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22070 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22072 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22074 Moved ...
22075 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22077 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22081 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22083 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22087 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22089 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22091 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22093 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22095 Moved ...
22096 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22098 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22099
22100 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22101 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22102 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22103 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22104 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22105 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22106 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22107 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22108 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22109 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22110 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22111 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22112 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22113 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22114 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22115 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22116 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22117 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22118 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22119 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22120 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22121 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22122 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22127 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22128 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22129 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22130 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22131
22132 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22133 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22134
22135 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22136 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22137 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22138 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22139 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22140 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22141 Moved ...
22142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22143 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22144 Moved ...
22145 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22147 Moved ...
22148 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22149 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22150 Moved ...
22151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22152 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22153 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22155 Moved ...
22156 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22157 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22158 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22160 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22161 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22162 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22163 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22164 Moved ...
22165 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22166 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22167 Moved ...
22168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22169 ... here.
22170 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22171 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22172 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22173 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22174 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22175 Moved ...
22176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22177 ... here.
22178 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22179 Moved ...
22180 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22181 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22182 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22183 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22184 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22185 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22186 Moved ...
22187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22188 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22189 Moved ...
22190 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22192 Moved ...
22193 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22194 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22195 Moved ...
22196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22197 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22198 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22200 Moved ...
22201 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22202 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22203 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22205 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22206 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22207 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22208 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22209 Moved ...
22210 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22211 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22212 Moved ...
22213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22214 ... here.
22215 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22216 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22217 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22218 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22219 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22220 Moved ...
22221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22222 ... here.
22223 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22224 Moved ...
22225 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22226 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22227 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22228 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22229 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22230 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22231 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22232 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22233 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22235 Moved ...
22236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22237 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22238 Moved ...
22239 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22240 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22241 Moved ...
22242 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22244 Moved ...
22245 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22246 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22247 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22248 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22249 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22251 Moved ...
22252 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22253 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22254 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22256 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22257 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22258 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22259 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22260 Moved ...
22261 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22262 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22263 Moved ...
22264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22265 ... here.
22266 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22267 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22269 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22271 Moved ...
22272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22273 ... here.
22274 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22275 Moved ...
22276 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22277 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22278 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22279 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22280 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22281 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22282 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22283 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22284 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22285 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22286 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22287
22288 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22289 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22290
22291 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22292 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22293
22294 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22295 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22297 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22298 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22299 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22300 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22301 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22302 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22303 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22304 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22305 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22306 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22307 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22308 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22310 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22312 Moved ...
22313 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22315 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22317 Moved ...
22318 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22320 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22322 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22326 Moved ...
22327 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22329 Moved ...
22330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22336 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22338 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22340 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22341 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22342 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22343 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22344 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22345 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22346 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22347
22348 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22349 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22350 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22351 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22352 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22353
22354 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22355 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22356 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22357 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22358 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22359 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22360 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22361 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22362 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22363 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22364
22365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22367
22368 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22369 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22370 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22371 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22373 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22375 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22377 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22378 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22379 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22380 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22381 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22383 Update #include.
22384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22385 Likewise.
22386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22387 Likewise.
22388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22389 Likewise.
22390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22391 Likewise.
22392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22393 Likewise.
22394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22395 Likewise.
22396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22397 Likewise.
22398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22399 Likewise.
22400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22401 Likewise.
22402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22417
22418 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22419 that was previously under [RESET_PID].
22420 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22421 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22422 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22423
22424 * sysdeps/i386/nptl/Implies: New file.
22425 * sysdeps/x86_64/nptl/Implies: New file.
22426 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22427 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22428 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22429 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22430
22431 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22433 (__libc_vfork): New strong alias.
22434 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22435 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22436
22437 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22438 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22439 (__libc_vfork): New strong alias.
22440 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22441 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22442
22443 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22444 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22445 (__libc_vfork): New strong alias.
22446 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22447 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22448 * nptl/pt-vfork.c: New file.
22449 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22450 (libpthread: GLIBC_2.20): New version set (empty).
22451
22452 2014-05-14 Will Newton <will.newton@linaro.org>
22453
22454 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22455 rather than #if.
22456
22457 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22458
22459 [BZ #16564]
22460 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22461 arguments with exponent 65 or above.
22462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22463 arguments 0x1p113L or above.
22464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22465 to arguments 0x1p107L or above.
22466 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22467 positive arguments with exponent 65 or above.
22468 * math/auto-libm-test-in: Add more tests of log1p.
22469 * math/auto-libm-test-out: Regenerated.
22470
22471 [BZ #16928]
22472 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22473 non-finite arguments is +0.
22474 * math/s_cacosf.c (__cacosf): Likewise.
22475 * math/s_cacosl.c (__cacosl): Likewise.
22476 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22477 * sysdeps/i386/fpu/libm-test-ulps: Update.
22478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22479
22480 [BZ #16927]
22481 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22482 value.
22483 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22484 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22485 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22486 for explicit high bit of mantissa when testing for argument equal
22487 to 1.
22488 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22489 * sysdeps/i386/fpu/libm-test-ulps: Update.
22490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22491
22492 [BZ #16516]
22493 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22494 (__erf): Scale by 16 instead of 8 in potentially underflowing
22495 case. Ensure exception if result actually underflows.
22496 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22497 (__erff): Scale by 16 instead of 8 in potentially underflowing
22498 case. Ensure exception if result actually underflows.
22499 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22500 (efx8): Remove variable.
22501 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22502 case. Ensure exception if result actually underflows.
22503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22504 (efx8): Remove variable.
22505 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22506 case. Ensure exception if result actually underflows.
22507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22508 (efx8): Remove variable.
22509 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22510 case. Ensure exception if result actually underflows.
22511 * math/auto-libm-test-in: Add more tests of erf.
22512 * math/auto-libm-test-out: Regenerated.
22513
22514 2014-05-14 Andreas Schwab <schwab@suse.de>
22515
22516 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22517 Remove code conditionalized on USE___THREAD.
22518
22519 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22520 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22521 not definedness.
22522
22523 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22524
22525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22526 Define unconditionally.
22527 (__ASSUME_O_CLOEXEC): Likewise.
22528 (__ASSUME_SOCK_CLOEXEC): Likewise.
22529 (__ASSUME_IN_NONBLOCK): Likewise.
22530 (__ASSUME_PIPE2): Likewise.
22531 (__ASSUME_EVENTFD2): Likewise.
22532 (__ASSUME_SIGNALFD4): Likewise.
22533 (__ASSUME_DUP3): Likewise.
22534 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22535 (__ASSUME_DUP3): Do not define.
22536 (__ASSUME_EVENTFD2): Likewise.
22537 (__ASSUME_IN_NONBLOCK): Likewise.
22538 (__ASSUME_O_CLOEXEC): Likewise.
22539 (__ASSUME_PIPE2): Likewise.
22540 (__ASSUME_SIGNALFD4): Likewise.
22541 (__ASSUME_SOCK_CLOEXEC): Likewise.
22542 (__ASSUME_UTIMES): Undefine.
22543 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22544 (__ASSUME_UTIMES): Do not define.
22545 (__ASSUME_O_CLOEXEC): Likewise.
22546 (__ASSUME_SOCK_CLOEXEC): Likewise.
22547 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22548 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22549 0x020621].
22550 (__ASSUME_PIPE2): Likewise.
22551 (__ASSUME_EVENTFD2): Likewise.
22552 (__ASSUME_SIGNALFD4): Likewise.
22553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22554 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22555 Do not define.
22556 (__ASSUME_EVENTFD2): Likewise.
22557 (__ASSUME_SIGNALFD4): Likewise.
22558 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22559 (__ASSUME_32BITUIDS): Likewise.
22560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22561 (__ASSUME_IPC64): Likewise.
22562 (__ASSUME_ST_INO_64_BIT): Likewise.
22563 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22564 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22565 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22566 (__ASSUME_UTIMES): Do not define.
22567 (__ASSUME_PSELECT): Likewise.
22568 (__ASSUME_PPOLL): Likewise.
22569 (__ASSUME_O_CLOEXEC): Likewise.
22570 (__ASSUME_SOCK_CLOEXEC): Likewise.
22571 (__ASSUME_IN_NONBLOCK): Likewise.
22572 (__ASSUME_PIPE2): Likewise.
22573 (__ASSUME_EVENTFD2): Likewise.
22574 (__ASSUME_SIGNALFD4): Likewise.
22575 (__ASSUME_DUP3): Likewise.
22576 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22577 (__ASSUME_UTIMES): Likewise.
22578 (__ASSUME_O_CLOEXEC): Likewise.
22579 (__ASSUME_SOCK_CLOEXEC): Likewise.
22580 (__ASSUME_IN_NONBLOCK): Likewise.
22581 (__ASSUME_PIPE2): Likewise.
22582 (__ASSUME_EVENTFD2): Likewise.
22583 (__ASSUME_SIGNALFD4): Likewise.
22584 (__ASSUME_DUP3): Likewise.
22585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22586 (__ASSUME_UTIMES): Likewise.
22587 (__ASSUME_O_CLOEXEC): Likewise.
22588 (__ASSUME_SOCK_CLOEXEC): Likewise.
22589 (__ASSUME_IN_NONBLOCK): Likewise.
22590 (__ASSUME_PIPE2): Likewise.
22591 (__ASSUME_EVENTFD2): Likewise.
22592 (__ASSUME_SIGNALFD4): Likewise.
22593 (__ASSUME_DUP3): Likewise.
22594 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22595 Likewise.
22596 (__ASSUME_UTIMES): Likewise.
22597 (__ASSUME_EVENTFD2): Likewise.
22598 (__ASSUME_SIGNALFD4): Likewise.
22599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22600 (__ASSUME_O_CLOEXEC): Likewise.
22601 (__ASSUME_SOCK_CLOEXEC): Likewise.
22602 (__ASSUME_IN_NONBLOCK): Likewise.
22603 (__ASSUME_PIPE2): Likewise.
22604 (__ASSUME_EVENTFD2): Likewise.
22605 (__ASSUME_SIGNALFD4): Likewise.
22606 (__ASSUME_DUP3): Likewise.
22607 (__ASSUME_UTIMES): Undefine.
22608
22609 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22610 feclearexcept. Remove symbol versioning code.
22611 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22612 symbol versioning code.
22613 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22614 symbol versioning code.
22615 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22616 feupdateenv. Remove symbol versioning code.
22617 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22618 fegetexceptflag. Remove symbol versioning code.
22619 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22620 fesetexceptflag. Remove symbol versioning code.
22621 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22622 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22623 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22624 (__posix_fadvise64_l32): Remove prototype.
22625 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22626 code.
22627
22628 2014-05-13 Roland McGrath <roland@hack.frob.com>
22629
22630 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22631 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22632 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22633 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22634
22635 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22636
22637 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22638 current working directory
22639
22640 2014-05-13 Roland McGrath <roland@hack.frob.com>
22641
22642 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22643 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22644 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22645 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22646 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22647 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22648 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22649 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22650 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22651 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22652 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22653 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22654 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22655 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22656 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22657 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22658 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22659 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22660 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22661 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22662 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22663 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22664 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22665 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22666 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22667 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22668 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22669 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22670 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22671 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22672 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22673 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22674 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22675 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22676 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22677 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22678 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22679 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22680 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22681 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22682 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22683 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22684
22685 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22686 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22687
22688 * sysdeps/unix/sysv/linux/arm/Makefile
22689 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22690 Add rt-aeabi_unwind_cpp_pr1.
22691 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22692 Add nptl-aeabi_unwind_cpp_pr1.
22693 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22694 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22695 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22696 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22697 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22698 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22699
22700 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22701 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22702 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22703 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22704
22705 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22706 Deconditionalize the code that was previously under [RESET_PID].
22707 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22708
22709 * sysdeps/generic/exit-thread.h: New file.
22710 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22711 * include/unistd.h (__exit_thread): Remove declaration.
22712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22713 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22714 * csu/libc-start.c: Include <exit-thread.h>.
22715 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22716 * nptl/pthread_create.c: Include <exit-thread.h>.
22717 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22718 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22719 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22720 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22721 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22722 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22723 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22724 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22725 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22726 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22727 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22728 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22729 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22730 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22731 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22732 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22733 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22734
22735 2014-05-13 Andreas Schwab <schwab@suse.de>
22736
22737 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22738
22739 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22740
22741 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22742 (__ASSUME_UTIMES): Do not condition on kernel version.
22743 (__ASSUME_PSELECT): Define unconditionally.
22744 (__ASSUME_PPOLL): Likewise.
22745 (__ASSUME_ATFCTS): Likewise.
22746 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22747 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22748 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22749 (__ASSUME_UTIMENSAT): Define unconditionally.
22750 (__ASSUME_PRIVATE_FUTEX): Likewise.
22751 (__ASSUME_FALLOCATE): Likewise.
22752 (__ASSUME_O_CLOEXEC): Likewise.
22753 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22754 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22755 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22756 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22757 (__ASSUME_IN_NONBLOCK): Likewise.
22758 (__ASSUME_PIPE2): Likewise.
22759 (__ASSUME_EVENTFD2): Likewise.
22760 (__ASSUME_SIGNALFD4): Likewise.
22761 (__ASSUME_DUP3): Likewise.
22762 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22763 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22764 (__ASSUME_AT_RANDOM): Likewise.
22765 (__ASSUME_PREADV): Likewise.
22766 (__ASSUME_PWRITEV): Likewise.
22767 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22768 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22769 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22771 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22773 (__ASSUME_O_CLOEXEC): Define unconditionally.
22774 (__ASSUME_PSELECT): Do not undefine conditionally.
22775 (__ASSUME_PPOLL): Likewise.
22776 (__ASSUME_ATFCTS): Likewise.
22777 (__ASSUME_SET_ROBUST_LIST): Likewise.
22778 (__ASSUME_UTIMENSAT): Likewise.
22779 (__ASSUME_FDATASYNC): Define unconditionally.
22780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22781 (__ASSUME_SIGFRAME_V2): Likewise.
22782 )__ASSUME_EVENTFD2): Likewise.
22783 (__ASSUME_SIGNALFD4): Likewise.
22784 (__ASSUME_PSELECT): Do not undefine conditionally.
22785 (__ASSUME_PPOLL): Likewise.
22786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22787 (__ASSUME_PSELECT): Define unconditionally.
22788 (__ASSUME_PPOLL): Likewise.
22789 (__ASSUME_O_CLOEXEC): Likewise.
22790 (__ASSUME_SOCK_CLOEXEC): Likewise.
22791 (__ASSUME_IN_NONBLOCK): Likewise.
22792 (__ASSUME_PIPE2): Likewise.
22793 (__ASSUME_EVENTFD2): Likewise.
22794 (__ASSUME_SIGNALFD4): Likewise.
22795 (__ASSUME_DUP3): Likewise.
22796 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22797 (__ASSUME_O_CLOEXEC): Likewise.
22798 (__ASSUME_SOCK_CLOEXEC): Likewise.
22799 (__ASSUME_IN_NONBLOCK): Likewise.
22800 (__ASSUME_PIPE2): Likewise.
22801 (__ASSUME_EVENTFD2): Likewise.
22802 (__ASSUME_SIGNALFD4): Likewise.
22803 (__ASSUME_DUP3): Likewise.
22804 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22805 (__ASSUME_EVENTFD2): Likewise.
22806 (__ASSUME_SIGNALFD4): Likewise.
22807 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22808
22809 2014-05-12 Andreas Schwab <schwab@suse.de>
22810
22811 [BZ #16932]
22812 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22813 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22814 than maximum RPC packet size.
22815 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22816 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22817 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22818 (_nss_nis_getservbyport_r): Likewise.
22819
22820 2014-05-12 Will Newton <will.newton@linaro.org>
22821
22822 * malloc/Makefile (tests): Add tst-mallopt.
22823 * malloc/tst-mallopt.c: New file.
22824
22825 2014-05-09 Roland McGrath <roland@hack.frob.com>
22826
22827 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22828 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22829
22830 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22831
22832 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22833 (tst-tlsmod6.so): Likewise.
22834
22835 2014-05-09 Roland McGrath <roland@hack.frob.com>
22836
22837 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22838
22839 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22840
22841 [BZ #16064]
22842 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22843 and <dl-procinfo.h>.
22844 (__fegetenv): Save SSE state in envp->__eip if supported.
22845 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22846 envp->__eip if supported.
22847 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22848 and <dl-procinfo.h>.
22849 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22850 __data_offset and __data_selector in environment to 0. Set SSE
22851 state if supported.
22852 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22853 test-fenv-sse.
22854 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22855 -mfpmath=sse.
22856 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22857
22858 2014-05-09 Will Newton <will.newton@linaro.org>
22859
22860 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22861 and libc_relro_required for ARM.
22862 * sysdeps/arm/preconfigure: Regenerate.
22863
22864 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22865 Stefan Liebler <stli@linux.vnet.ibm.com>
22866
22867 * config.make.in (enable-lock-elision): New Makefile variable.
22868 * configure.ac: Likewise.
22869 * configure: Regenerate.
22870 * sysdeps/s390/configure.ac:
22871 Add check for gcc transactions support.
22872 * sysdeps/s390/configure: Regenerate.
22873 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22874 Build elision files if enabled.
22875 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22876 Add lock elision support for s390.
22877 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22878 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22879 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22880 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22881 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22882 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22884 Likewise.
22885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22886 Likewise.
22887 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22888 Likewise.
22889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22890 Likewise.
22891 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22892 (__lll_timedlock_elision, __lll_lock_elision)
22893 (__lll_unlock_elision, __lll_trylock_elision)
22894 (lll_timedlock_elision, lll_lock_elision)
22895 (lll_unlock_elision, lll_trylock_elision): Add.
22896 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22897 (pthread_mutex_t): Add lock elision support for s390.
22898
22899 2014-05-14 Wilco <wdijkstr@arm.com>
22900
22901 * sysdeps/arm/fclrexcpt.c: Cleanup.
22902 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22903 * sysdeps/arm/feenablxcpt.c: Cleanup.
22904 * sysdeps/arm/fegetenv.c: Cleanup.
22905 * sysdeps/arm/fegetexcept.c: Cleanup.
22906 * sysdeps/arm/fegetround.c: Cleanup.
22907 * sysdeps/arm/feholdexcpt.c: Cleanup.
22908 * sysdeps/arm/fesetenv.c: Cleanup.
22909 * sysdeps/arm/fesetround.c: Cleanup.
22910 * sysdeps/arm/feupdateenv.c: Cleanup.
22911 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22912 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22913 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22914 * sysdeps/arm/ftestexcept.c: Cleanup.
22915 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22916 * sysdeps/arm/setfpucw.c: Cleanup.
22917
22918 2014-05-09 Will Newton <will.newton@linaro.org>
22919
22920 * sysdeps/arm/armv7/strcmp.S: New file.
22921 * NEWS: Mention addition of ARMv7 optimized strcmp.
22922
22923 2014-05-08 Roland McGrath <roland@hack.frob.com>
22924
22925 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22926 look for %.ac rather than %.in.
22927
22928 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22929 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22930 * sysdeps/mach/hurd/configure: Regenerated.
22931 * sysdeps/unix/sysv/linux/configure: Regenerated.
22932
22933 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22934
22935 2014-05-07 Steve Ellcey <sellcey@mips.com>
22936
22937 [BZ# 16922]
22938 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22939 (LONG_SUB): Ditto.
22940 (PTR_SUB): Ditto.
22941
22942 2014-05-07 Andreas Schwab <schwab@suse.de>
22943
22944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22945 when skipping over non-matching result from nscd.
22946
22947 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22948
22949 [BZ #16876]
22950 * nptl/sockperf.c (client): Check socket return value.
22951
22952 [BZ #16877]
22953 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22954 nscd security class.
22955
22956 2014-05-06 Roland McGrath <roland@hack.frob.com>
22957
22958 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22959 * sysdeps/arm/unwind.h: ... here.
22960
22961 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22962
22963 [BZ# 16916]
22964 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22965 Define.
22966
22967 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22968
22969 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22970 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22971 multiarch strncpy for PPC64.
22972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22975 multiarch optimizations.
22976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22977 (__libc_ifunc_impl_list): Likewise.
22978 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22979 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22980 multiarch stpncpy for PPC64.
22981 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22982 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22983
22984 2014-05-06 Andreas Schwab <schwab@suse.de>
22985
22986 [BZ #16912]
22987 * gmon/mcount.c (_MCOUNT_DECL): Use
22988 atomic_compare_and_exchange_bool_acq instead of
22989 catomic_compare_and_exchange_bool_acq.
22990
22991 2014-05-05 Roland McGrath <roland@hack.frob.com>
22992
22993 * elf/Makefile (others, install-bin): Remove pldd.
22994 (pldd-modules): Variable removed.
22995 ($(objpfx)pldd): Target removed.
22996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22997 (others, install-bin): Append pldd here.
22998 ($(objpfx)pldd): New target.
22999
23000 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23001 to 0, so the first #if test emitted later doesn't see it undefined.
23002 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23003 * sysdeps/gnu/errlist.c: Regenerated.
23004
23005 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23006
23007 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23008 [libc_hidden_builtin_def]: Define to empty value.
23009 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23010 [libc_hidden_builtin_def]: Likewise.
23011 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23012 [libc_hidden_builtin_def]: Likewise.
23013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23014 [libc_hidden_builtin_def]: Likewise.
23015 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23016 __redirect_memcpy and define ifunc as default hidden symbol.
23017 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23018 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23019
23020 2014-05-04 Adam Conrad <adconrad@0c3.net>
23021
23022 * locale/iso-4217.def: Reintroduce XDR currency.
23023
23024 2014-05-04 Allan McRae <allan@archlinux.org>
23025
23026 * po/eo.po: Update Esperanto translation from translation project.
23027
23028 2014-05-02 Carlos O'Donell <carlos@redhat.com>
23029
23030 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23031 and FEATURE_INDEX_MAX to 1.
23032 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23033
23034 2014-05-01 Steve Ellcey <sellcey@mips.com>
23035
23036 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23037 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23038 * iconvdata/big5.c (ONE_DIRECTION): Define.
23039 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23040 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23041 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23042 * iconvdata/cp932.c (ONE_DIRECTION): Define.
23043 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23044 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23045 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23046 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23047 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23048 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23049 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23050 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23051 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23052 * iconvdata/gbk.c (ONE_DIRECTION): Define.
23053 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23054 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23055 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23056 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23057 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23058 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23059 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23060 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23061 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23062 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23063 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23064 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23065 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23066 * iconvdata/iso646.c (ONE_DIRECTION): Define.
23067 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23068 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23069 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23070 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23071 * iconvdata/johab.c (ONE_DIRECTION): Define.
23072 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23073 * iconvdata/sjis.c (ONE_DIRECTION): Define.
23074 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23075 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23076 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23077 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23078 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23079 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23080 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23081 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23082
23083 2014-05-01 Roland McGrath <roland@hack.frob.com>
23084
23085 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23086 (_IO_JUMPS_OFFSET): Define to 0.
23087
23088 * nptl/sysdeps/pthread/bits/libc-lock.h
23089 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23090 (__libc_lock_define_initialized_recursive): Always define using
23091 initializer. Modern compilers treat uninitialized (implicit zero) and
23092 explicit zero initializers the same (i.e. put the datum in bss).
23093
23094 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23095
23096 * nscd/nscd-client.h: Include <string.h>.
23097
23098 2014-05-01 David S. Miller <davem@davemloft.net>
23099
23100 [BZ #16885]
23101 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23102 multiple zero bytes exist at the end of a string.
23103 Reported by Aurelien Jarno <aurelien@aurel32.net>
23104
23105 * string/test-strcmp.c (check): Add explicit test for situations where
23106 there are multiple zero bytes after the first.
23107
23108 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23109
23110 [BZ #16890]
23111 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23112 when compiling wprintf.
23113 * stdio-common/tstdiomisc.c (t3): New function.
23114 (main): Call it.
23115
23116 2014-05-01 Steve Ellcey <sellcey@mips.com>
23117
23118 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23119 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23120 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23121 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23122
23123 2014-05-01 Steve Ellcey <sellcey@mips.com>
23124
23125 * stdlib/longlong.h: Updated from GCC.
23126
23127 2014-05-01 Will Newton <will.newton@linaro.org>
23128 Bernard Ogden <bernie.ogden@linaro.org>
23129
23130 * NEWS: Update fixed bug list.
23131
23132 [BZ #15119]
23133 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23134
23135 2014-04-30 David S. Miller <davem@davemloft.net>
23136
23137 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23138 (libc_feholdexcept_setround_sparc_ctx): New function.
23139 (libc_fesetenv_sparc_ctx): Likewise.
23140 (libc_feupdateenv_sparc_ctx): Likewise.
23141 (libc_feholdsetround_sparc_ctx): Likewise.
23142 (libc_feholdexcept_setround_ctx): Define.
23143 (libc_feholdexcept_setroundf_ctx): Likewise.
23144 (libc_feholdexcept_setroundl_ctx): Likewise.
23145 (libc_fesetenv_ctx): Likewise.
23146 (libc_fesetenvf_ctx): Likewise.
23147 (libc_fesetenvl_ctx): Likewise.
23148 (libc_feupdateenv_ctx): Likewise.
23149 (libc_feupdateenvf_ctx): Likewise.
23150 (libc_feupdateenvl_ctx): Likewise.
23151 (libc_feresetround_ctx): Likewise.
23152 (libc_feresetroundf_ctx): Likewise.
23153 (libc_feresetroundl_ctx): Likewise.
23154 (libc_feholdsetround_ctx): Likewise.
23155 (libc_feholdsetroundf_ctx): Likewise.
23156 (libc_feholdsetroundl_ctx): Likewise.
23157
23158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23159 with __USE_GNU instead of XOPEN cpp guards.
23160
23161 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23162 0.
23163
23164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23165 with XOPEN cpp guards.
23166
23167 2014-04-30 Julian Brown <julian@codesourcery.com>
23168
23169 [BZ #16888]
23170 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23171 handling.
23172
23173 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23174
23175 [BZ #9894]
23176 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23177 Change to 2.6.32.
23178 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23179 * sysdeps/unix/sysv/linux/configure: Regenerated.
23180 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23181 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23182 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23183 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23184 * README: Update reference to required Linux kernel version.
23185 * manual/install.texi (Linux): Update reference to required Linux
23186 kernel headers version.
23187 * INSTALL: Regenerated.
23188
23189 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23190 header inclusion.
23191 [POSIX] (limits.h): Likewise.
23192 [POSIX] (math.h): Likewise.
23193 [POSIX] (sys/wait.h): Likewise.
23194 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23195 function.
23196 [POSIX] (stddef.h): Do not allow header inclusion.
23197
23198 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23199
23200 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23201
23202 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23203
23204 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23205 Return immediately after lll_futex_wake.
23206
23207 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23208
23209 [BZ #16791]
23210 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23211 structure.
23212 (datahead_init_pos): Call datahead_init_common early.
23213 (datahead_init_neg): Likewise.
23214
23215 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23216 datahead_init_neg): New functions.
23217 * nscd/aicache.c (addhstaiX): Use them.
23218 * nscd/grpcache.c (cache_addgr): Likewise.
23219 * nscd/hstcache.c (cache_addhst): Likewise.
23220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23221 * nscd/netgroupcache.c (do_notfound): Likewise.
23222 (addgetnetgrentX): Likewise.
23223 (addinnetgrX): Likewise.
23224 * nscd/pwdcache.c (cache_addpw): Likewise.
23225 * nscd/servicescache.c (cache_addserv): Likewise.
23226
23227 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23228 Atsushi Onoe <atsushi@onoe.org>
23229
23230 [BZ #14308]
23231 [BZ #12994]
23232 [BZ #13651]
23233 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23234 one response is valid.
23235 * resolv/res_send.c (send_dg): Check for validity of other
23236 response if the current response is a referral.
23237
23238 2014-04-29 Steve Ellcey <sellcey@mips.com>
23239
23240 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23241
23242 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23243
23244 [BZ #16823]
23245 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23246 Always divide by positive zero when computing -Inf result.
23247 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23248 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23249
23250 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251
23252 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23253 FPSCR if value do not change.
23254 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23255 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23256 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23257 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23258 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23259 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23260 function.
23261
23262 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23263
23264 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23265 * sysdeps/unix/sysv/linux/hppa: Move directory from
23266 ports/systeps/unix/sysv/linux/hppa.
23267 * README: Update listing for hppa-*-linux-gnu.
23268
23269 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23270
23271 [BZ #16754]
23272 * manual/stdio.texi (Hook functions): Fix types of stream hook
23273 functions.
23274 [BZ #16854]
23275 * socket/sys/socket.h: Fix typo in comment.
23276
23277 2014-04-28 Wilco <wdijkstr@arm.com>
23278
23279 * sysdeps/arm/fenv_private.h: New file.
23280 * sysdeps/arm/math_private.h: New file.
23281 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23282
23283 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23286 with __int128_t.
23287 (La_x86_64_retval): Likewise.
23288
23289 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23290
23291 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23292 fpsr if value didn't change.
23293 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23294 to fpcr if value didn't change.
23295 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23296 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23297 fpsr or fpcr if value didn't change.
23298 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23299 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23300 fpcr if value didn't change.
23301 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23302 to fpsr if value didn't change.
23303
23304 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23305
23306 * nptl/tst-sem3.c: Use test-skeleton.c
23307 (main): Rename to do_test. Use return instead of
23308 exit.
23309 * nptl/tst-sem4.c: Use test-skeleton.c
23310 (main): Rename to do_test.
23311
23312 2014-04-22 David S. Miller <davem@davemloft.net>
23313
23314 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23315 (struct sigaction): New struct member __glibc_reserved0, change
23316 type of sa_flags to int.
23317
23318 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23319
23320 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23321 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23322
23323 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23324
23325 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23326 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23327
23328 2014-04-22 Will Newton <will.newton@linaro.org>
23329 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23330
23331 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23332 (__longjmp): Add longjmp and longjmp_target SystemTap
23333 probes.
23334 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23335 (__sigsetjmp): Add setjmp SystemTap probe.
23336
23337 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23338
23339 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23340 match manual order.
23341
23342 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343
23344 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23345
23346 * sysdeps/powerpc/fpu/fenv_private.h
23347 (libc_feholdexcept_setroundl_ctx): Define to
23348 libc_feholdexcept_setround_ppc_ctx.
23349 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23350 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23351 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23352 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23353
23354 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23355
23356 * sysdeps/aarch64/math-tests.h: New file.
23357
23358 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23359
23360 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23361 New.
23362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23363 Check and set bit_AVX2_Usable.
23364 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23365 macro.
23366 (bit_AVX2): Likewise.
23367 (index_AVX2_Usable): Likewise.
23368 (CPUID_AVX2): Likewise.
23369 (HAS_AVX2): Likewise.
23370
23371 2014-04-17 Will Newton <will.newton@linaro.org>
23372
23373 * manual/setjmp.texi (System V contexts): Add note that
23374 calling setcontext on a context created by a call to a
23375 signal handler is undefined. Update text to note that
23376 setcontext from a signal handler is possible but not
23377 recommended.
23378
23379 [BZ #16629]
23380 * stdlib/tst-setcontext.c: Include signal.h.
23381 (main): Check that the signal stack before and
23382 after swapcontext is the same.
23383
23384 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23385 Re-implement to restore registers in user code and avoid
23386 rt_sigreturn system call.
23387
23388 2014-04-17 Wilco <wdijkstr@arm.com>
23389
23390 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23391 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23392 * math/test-fenv.c: Skip exception trap tests on targets which only
23393 support non-stop mode.
23394
23395 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23396 Wilco Dijkstra <wilco.dijkstra@arm.com>
23397
23398 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23399 (libc_feholdsetround_aarch64_ctx)
23400 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23401 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23402 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23403 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23404 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23405 (libc_feresetround_noexl_ctx): Define.
23406
23407 2014-04-16 Richard Henderson <rth@redhat.com>
23408
23409 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23410
23411 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23412 unwind tables.
23413
23414 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23415 const from the non-libc, non-ldso copy.
23416
23417 * sysdeps/alpha/libm-test-ulps: Regenerate.
23418
23419 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23420 Wilco Dijkstra <wilco.dijkstra@arm.com>
23421
23422 * sysdeps/aarch64/fpu/math_private.h: New file.
23423
23424 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23425
23426 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23427
23428 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23429
23430 [BZ #16275]
23431 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23432 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23434 Intel MPX bound registers before _dl_profile_fixup.
23435 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23436 registers after _dl_profile_fixup. Save and restore bound
23437 registers bnd0/bnd1 when calling _dl_call_pltexit.
23438 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23439 (LR_BND_OFFSET): Likewise.
23440 (LRV_BND0_OFFSET): Likewise.
23441 (LRV_BND1_OFFSET): Likewise.
23442
23443 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23444
23445 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23446 to...
23447 * sysdeps/mach/hurd/i386/tls.h: ... here.
23448 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23449 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23450 fields.
23451
23452 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23453
23454 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23455
23456 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23457
23458 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23459
23460 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23461
23462 [BZ #14770]
23463 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23464 * sysdeps/s390/configure: Regenerate.
23465
23466 [BZ #16824]
23467 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23468 Set round-to-nearest internally to reduce error accumulation.
23469
23470 2014-04-16 Alan Modra <amodra@gmail.com>
23471
23472 [BZ #16740]
23473 [BZ #16619]
23474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23475 * math/libm-test.inc (frexp_test_data): Add tests.
23476 * NEWS: Update fixed bug list.
23477
23478 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23479
23480 * benchtests/Makefile: Depend on libraries in build directory.
23481 (bench-math): Separate out math tests.
23482 (bench-pthread): Separate out pthread tests.
23483 (bench): Include math and pthread tests.
23484
23485 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23486
23487 [BZ #16831]
23488 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23489 _dl_debug_initialize.
23490
23491 * configure.ac: Remove SELinux header check.
23492 * configure: Regenerate.
23493 * nscd/selinux.c (perms): Array of const char* to permission names.
23494 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23495 default policy. Call string_to_security_class and string_to_av_perm to
23496 translate strings. Enforce default policy and call avs_has_perm with
23497 results of translated strings.
23498
23499 2014-04-13 David S. Miller <davem@davemloft.net>
23500
23501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23502
23503 2014-04-12 Allan McRae <allan@archlinux.org>
23504
23505 [BZ #16838]
23506 * manual/string.texi (Collation Functions): Fix qsort argument
23507 order in example.
23508 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23509
23510 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23511
23512 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23513 Make the test a no-op if there are no exceptions defined.
23514
23515 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23516
23517 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23518 enable-hardcoded-path-in-tests
23519
23520 2014-04-11 Will Newton <will.newton@linaro.org>
23521
23522 * benchtests/Makefile (extra-objs): Add json-lib.o.
23523 (bench-func): Tidy up JSON output.
23524 * benchtests/bench-skeleton.c: Include json-lib.h.
23525 (main): Use JSON library functions to do output of
23526 benchmark results.
23527 * benchtests/bench-timing-type.c (main): Output the
23528 timing type simply, leaving formatting to the user.
23529 * benchtests/json-lib.c: New file.
23530 * benchtests/json-lib.h: Likewise.
23531
23532 2014-04-11 Torvald Riegel <triegel@redhat.com>
23533
23534 [BZ #15215]
23535 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23536 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23537 memory barriers. Add comments.
23538 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23539 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23540 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23541 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23542 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23543 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23544
23545 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23546
23547 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23548 * sysdeps/s390/s390-64/configure.ac: ... this ...
23549 * sysdeps/s390/configure.ac: ... to here.
23550 * sysdeps/s390/s390-32/configure: Delete file.
23551 * sysdeps/s390/s390-64/configure: Delete file.
23552 * sysdeps/s390/configure: Regenerate.
23553
23554 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23555
23556 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23557
23558 2014-04-11 Will Newton <will.newton@linaro.org>
23559
23560 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23561 to zero if it is not defined elsewhere. (mtrim): Test
23562 the value of MALLOC_DEBUG with #if rather than #ifdef.
23563
23564 2014-04-10 Torvald Riegel <triegel@redhat.com>
23565
23566 * benchtests/pthread_once-inputs: New file.
23567 * benchtests/pthread_once-source.c: New file.
23568 * benchtests/README: Update documentation.
23569
23570 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23571 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 [BZ #16275]
23574 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23575 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23576 * sysdeps/x86_64/configure: Regenerated.
23577 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23578 macro.
23579 (REGISTER_SAVE_RAX): Likewise.
23580 (REGISTER_SAVE_RCX): Likewise.
23581 (REGISTER_SAVE_RDX): Likewise.
23582 (REGISTER_SAVE_RSI): Likewise.
23583 (REGISTER_SAVE_RDI): Likewise.
23584 (REGISTER_SAVE_R8): Likewise.
23585 (REGISTER_SAVE_R9): Likewise.
23586 (REGISTER_SAVE_BND0): Likewise.
23587 (REGISTER_SAVE_BND1): Likewise.
23588 (REGISTER_SAVE_BND2): Likewise.
23589 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23590 bound registers when calling _dl_fixup.
23591
23592 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23593
23594 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23595 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23596 of its definition.
23597 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23598 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23599 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23600 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23601 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23602 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23603 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23604
23605 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23606
23607 [BZ #15514]
23608 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23609 pathconf(_PC_NAME_MAX).
23610
23611 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23612
23613 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23614 Remove macro usage.
23615 (__PTHREAD_SPINS): Move definition to ...
23616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23617 (__PTHREAD_SPINS): ... here.
23618 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23619 (__PTHREAD_SPIN): Likewise.
23620 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23621 (__PTHREAD_SPIN): Likewise.
23622 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23623 (__PTHREAD_SPIN): Likewise.
23624 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23625 (__PTHREAD_SPIN): Likewise.
23626 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23627 (__PTHREAD_SPIN): Likewise.
23628 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23629 (__PTHREAD_SPIN): Likewise.
23630 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23631 (__PTHREAD_SPIN): Likewise.
23632 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23633 (__PTHREAD_SPIN): Likewise.
23634 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23635 (__PTHREAD_SPIN): Likewise.
23636 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23637 (__PTHREAD_SPIN): Likewise.
23638 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23639 (__PTHREAD_SPIN): Likewise.
23640 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23641 (__PTHREAD_SPIN): Likewise.
23642
23643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23645 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23647 imply folder.
23648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23650 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23651 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23652 correct imply path.
23653 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23654 strlen symbol for non multi-arch builds.
23655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23656 missing hidden_def and weak_alias.
23657
23658 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23659
23660 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23661
23662 2014-04-07 Will Newton <will.newton@linaro.org>
23663
23664 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23665 and contents. [!_LIBC] Remove #ifndef and contents.
23666 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23667 * string/memccpy.c (__memccpy): Use ANSI prototype.
23668 * string/memfrob.c (memfrob): Likewise.
23669 * string/strcoll.c (STRCOLL): Likewise.
23670 * string/strlen.c (strlen): Likewise.
23671 * string/strtok.c (STRTOK): Likewise.
23672 * string/strcat.c: Remove unused #include of memcopy.h.
23673 (strcat): Use ANSI prototype.
23674 * string/strchr.c: Remove unused #include of memcopy.h.
23675 (strchr): Use ANSI prototype.
23676 * string/strcmp.c: Remove unused #include of memcopy.h.
23677 (strcmp): Use ANSI prototype.
23678 * string/strcpy.c: Remove unused #include of memcopy.h.
23679 (strcpy): Use ANSI prototype.
23680
23681 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23682
23683 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23684 * config.make.in (config-extra-cppflags): Set it from
23685 libc_extra_cppflags.
23686 * configure.ac (libc_extra_cflags): Make it accumulate over
23687 configure fragments.
23688 (libc_extra_cppflags): New flag.
23689 * configure. Regenerate.
23690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23691 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23692 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23694
23695 [BZ #16815]
23696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23697 result for FE_DOWNWARD rounding mode.
23698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23699 Likewise.
23700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23701
23702 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23703
23704 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23705 in function argument name.
23706
23707 2014-04-03 David Svoboda <svoboda@cert.org>
23708
23709 [BZ #5666]
23710 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23711 explicitly.
23712
23713 2014-04-03 Roland McGrath <roland@hack.frob.com>
23714
23715 * elf/dl-unmap-segments.h: New file.
23716 * sysdeps/generic/ldsodefs.h
23717 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23718 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23719 * elf/dl-fptr.c: Likewise.
23720 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23721 * sysdeps/aarch64/tlsdesc.c: Likewise.
23722 * sysdeps/arm/tlsdesc.c: Likewise.
23723 * sysdeps/i386/tlsdesc.c: Likewise.
23724 * sysdeps/tile/dl-runtime.c: Likewise.
23725 * sysdeps/x86_64/tlsdesc.c: Likewise.
23726 * elf/dl-load.h: New file.
23727 * elf/dl-load.c: Include it.
23728 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23729 Macros moved to dl-load.h.
23730 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23731 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23732 Use _dl_unmap_segments in place of __munmap.
23733 Break out segment-mapping loop into ...
23734 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23735
23736 2014-04-03 Will Newton <will.newton@linaro.org>
23737
23738 * elf/dl-lookup.c (do_lookup_x): Remove comment
23739 referring to nested function and move variable
23740 declarations down to before first use.
23741
23742 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23743
23744 [BZ #16799]
23745 [BZ #16800]
23746 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23747 with 0 numerator.
23748 * math/s_catanf.c (__catanf): Likewise.
23749 * math/s_catanh.c (__catanh): Likewise.
23750 * math/s_catanhf.c (__catanhf): Likewise.
23751 * math/s_catanhl.c (__catanhl): Likewise.
23752 * math/s_catanl.c (__catanl): Likewise.
23753 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23754 by positive zero when computing -Inf result.
23755 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23756 (catanh_test): Likewise.
23757 * sysdeps/i386/fpu/libm-test-ulps: Update.
23758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23759
23760 [BZ #16789]
23761 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23762 instead of using underflowing value in computing result.
23763 * math/s_clog10.c (__clog10): Likewise.
23764 * math/s_clog10f.c (__clog10f): Likewise.
23765 * math/s_clog10l.c (__clog10l): Likewise.
23766 * math/s_clogf.c (__clogf): Likewise.
23767 * math/s_clogl.c (__clogl): Likewise.
23768 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23769 (clog10_test): Likewise.
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23772
23773 2014-04-02 Alan Modra <amodra@gmail.com>
23774
23775 [BZ #16739]
23776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23777 output when value is near a power of two. Use int64_t for lx and
23778 remove casts. Use decimal rather than hex exponent constants.
23779 Don't use long double multiplication when double will suffice.
23780 * math/libm-test.inc (nextafter_test_data): Add tests.
23781 * NEWS: Add 16739 and 16786 to bug list.
23782
23783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23784
23785 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23786
23787 2014-04-01 Will Newton <will.newton@linaro.org>
23788
23789 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23790 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23791
23792 2014-04-01 Florian Weimer <fweimer@redhat.com>
23793
23794 [BZ #13347]
23795 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23796 * nptl/tst-setuid2.c: New file.
23797 * nptl/Makefile (xtests): Add tst-setuid2.
23798
23799 2014-04-01 Alan Modra <amodra@gmail.com>
23800
23801 [BZ #16786]
23802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23803
23804 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23805
23806 [BZ #6803]
23807 [BZ #6804]
23808 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23809 set errno as appropriate.
23810 * math/w_scalbf.c (__scalbf): Likewise.
23811 * math/w_scalbl.c (__scalbl): Likewise.
23812 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23813 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23814 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23815 Add more NaN tests.
23816
23817 [BZ #16349]
23818 * math/w_atan2.c: Include <errno.h>.
23819 (__atan2): Set errno for result underflowing to zero.
23820 * math/w_atan2f.c: Include <errno.h>.
23821 (__atan2f): Set errno for result underflowing to zero.
23822 * math/w_atan2l.c: Include <errno.h>.
23823 (__atan2l): Set errno for result underflowing to zero.
23824 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23825 tests.
23826 * math/auto-libm-test-out: Regenerated.
23827
23828 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23829
23830 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23831 Encode instruction correctly in little endian.
23832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23833 Likewise.
23834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23835 Likewise.
23836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23837 Likewise.
23838 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23839 Likewise.
23840
23841 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #9894]
23844 * sysdeps/unix/sysv/linux/kernel-features.h
23845 [__sparc__ && !__arch64__ && !__sparc_v9__]
23846 (__ASSUME_SET_ROBUST_LIST): Do not define.
23847 [__sparc__ && !__arch64__ && !__sparc_v9__]
23848 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23849 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23850 Likewise.
23851 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23852 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23853 (__ASSUME_REQUEUE_PI): Likewise.
23854 (__ASSUME_SET_ROBUST_LIST): Likewise.
23855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23856 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23857 Undefine.
23858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23860 Likewise.
23861 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23862 Likewise.
23863 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23864 Likewise.
23865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23866 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23867 Undefine.
23868 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23869 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23870 Likewise.
23871
23872 [BZ #16648]
23873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23875 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23876
23877 2014-03-31 Will Newton <will.newton@linaro.org>
23878
23879 * benchtests/Makefile (bench): Add ffs and ffsll to list
23880 of tests.
23881 * benchtests/ffs-inputs: New file.
23882 * benchtests/ffsll-inputs: Likewise.
23883
23884 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23885
23886 [BZ #16770]
23887 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23888 too large before casting to int.
23889 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23890 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23891 * math/libm-test.inc (scalb_test_data): Add more tests.
23892
23893 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23894
23895 * benchtests/Makefile (DETAILED_OPT): New make option.
23896 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23897 set.
23898 * benchtests/bench-skeleton.c: Include stdbool.h.
23899 (main): Store and print timings per input.
23900 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23901 member to each argument value.
23902 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23903 (_print_arg_data): Initialize per-input timing to 0.
23904
23905 * benchtests/Makefile (timing-type): New binary.
23906 (bench-clean): Also remove bench-timing-type.
23907 (bench): New target for timing-type.
23908 (bench-func): Print output in JSON format.
23909 * benchtests/bench-skeleton.c (main): Print output in JSON
23910 format.
23911 * benchtests/bench-timing-type.c: New file.
23912 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23913 (TIMING_PRINT_STATS): Remove.
23914 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23915 name separately.
23916
23917 * benchtests/bench-modf.c: Remove.
23918 * benchtests/modf-inputs: New inputs file.
23919
23920 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23921
23922 [BZ #16362]
23923 * math/s_clog10.c (M_PI_LOG10E): New macro.
23924 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23925 imaginary parts are 0.
23926 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23927 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23928 imaginary parts are 0.
23929 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23930 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23931 imaginary parts are 0.
23932 * math/libm-test.inc (clog10_test_data): Update expected results
23933 for when real and imaginary parts are 0.
23934
23935 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23936
23937 * elf/dl-load.c: Finish conversion of __builtin_expect into
23938 __glibc_{un}likely.
23939
23940 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #16348]
23943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23944 1+x for argument with exponent below -67.
23945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23946 Likewise.
23947 * math/auto-libm-test-in: Add more tests of exp.
23948 * math/auto-libm-test-out: Regenerated.
23949
23950 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 [BZ #16759]
23953 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23954 (nscd_getnetgrent): Use it.
23955
23956 [BZ #16760]
23957 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23958 of stpcpy.
23959
23960 2014-03-27 Andi Kleen <ak@linux.intel.com>
23961
23962 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23963 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23964 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23965 (lll_robust_unlock): Remove out of line section. Use cfi
23966 intrinsics.
23967 (LLL_STUB_UNWIND_INFO*): Remove.
23968 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23969 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23970 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23971 (lll_robust_unlock): Remove out of line section. Use cfi
23972 intrinsics.
23973 (LLL_STUB_UNWIND_INFO*): Remove.
23974
23975 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23976
23977 [BZ #16758]
23978 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23979 blank values.
23980
23981 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23982
23983 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23984
23985 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23986
23987 [BZ #16198]
23988 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23989 fnstenv.
23990 * math/test-fenv-preserve.c: New file.
23991 * math/Makefile (tests): Add test-fenv-preserve.
23992
23993 2014-03-26 Will Newton <will.newton@linaro.org>
23994
23995 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23996
23997 2014-03-25 Roland McGrath <roland@hack.frob.com>
23998
23999 * scripts/versionlist.awk: Partition the version sets and emit all
24000 GLIBC_* (sorted) before all others (sorted).
24001
24002 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24003
24004 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24005 GLIBC_2.2.5 version.
24006
24007 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24008
24009 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24010 calls.
24011
24012 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24013 previous change.
24014
24015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24016
24017 2014-03-25 Andreas Schwab <schwab@suse.de>
24018
24019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24020 label to be used after in6ailist is initialized.
24021
24022 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24023
24024 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24025 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24026
24027 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24028
24029 [BZ #16357]
24030 [BZ #16599]
24031 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24032 min_plus_half.
24033 (fp_formats): Update initializers.
24034 (init_fp_formats): Initialize new field.
24035 (output_for_one_input_case): Allow underflow for results up to
24036 min_plus_half.
24037 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24038 * math/auto-libm-test-in: Don't mark some underflows from asin and
24039 atanh as spurious.
24040 * math/auto-libm-test-out: Regenerated.
24041 * sysdeps/i386/fpu/libm-test-ulps: Update.
24042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24043
24044 2014-03-25 Andreas Schwab <schwab@suse.de>
24045
24046 * libio/Makefile (tst-ftell-partial-wide-ENV)
24047 (tst-ftell-active-handler-ENV): Define.
24048
24049 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24050
24051 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24052
24053 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24054
24055 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24056
24057 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24058
24059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24060 * sysdeps/x86_64/fpu/multiarch/e_exp.c
24061 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24062
24063 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24064
24065 [BZ #16634]
24066 * elf/dl-load.c (open_verify): Add mode parameter.
24067 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24068 (open_path): Change from boolean 'secure' to complete flag 'mode'
24069 (_dl_map_object): Adjust.
24070 * elf/Makefile (tests): Add tst-dlopen-aout.
24071 * elf/tst-dlopen-aout.c: New test.
24072
24073 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24074
24075 [BZ #16714]
24076 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24077 (struct stat): Rename member pad0 to __glibc_reserved0.
24078
24079 [BZ #16712]
24080 * sysdeps/s390/s390-32/bits/wordsize.h
24081 (__WORDSIZE32_SIZE_ULONG): New define.
24082 * sysdeps/s390/s390-64/bits/wordsize.h
24083 (__WORDSIZE32_SIZE_ULONG): Likewise.
24084 * sysdeps/generic/stdint.h (SIZE_MAX):
24085 Define as UL if __WORDSIZE32_SIZE_ULONG.
24086
24087 [BZ #16713]
24088 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24089 (__glibc_reserved0): New variable.
24090 (sa_flags): Change type to int.
24091
24092 * posix/Makefile (before-compile): Use += before-compile instead
24093 of a :=.
24094
24095 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24096 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24097
24098 2014-03-20 Andreas Schwab <schwab@suse.de>
24099
24100 [BZ #16743]
24101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24102 non-matching result from nscd.
24103
24104 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24105
24106 * scripts/bench.py: Moved to ...
24107 * benchtests/scripts/bench.py: ... here.
24108 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24109
24110 2014-03-24 Andreas Schwab <schwab@suse.de>
24111
24112 [BZ #16002]
24113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24114 alloca_account and account alloca use for struct in6ailist.
24115
24116 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24117
24118 [BZ #16284]
24119 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24120 rounding mode to recompute results that overflow to infinity or
24121 underflow to zero.
24122 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24123 bug 16284.
24124 * math/auto-libm-test-out: Regenerated.
24125 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24126 (ccosh_test): Likewise.
24127 (csin_test_data): Use plus_oflow.
24128 (csin_test): Use ALL_RM_TEST.
24129 (csinh_test_data): Use plus_oflow.
24130 (csinh_test): Use ALL_RM_TEST.
24131 * sysdeps/i386/fpu/libm-test-ulps: Update.
24132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24133
24134 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24135
24136 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24137 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24138 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24139
24140 [BZ #16731]
24141 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24142 when x - 1 is zero.
24143 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24144 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24145 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24147 argument is 1.
24148 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24149 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24150 zero.
24151 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24152 * sysdeps/i386/fpu/libm-test-ulps: Update.
24153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154
24155 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24156
24157 * scripts/bench.pl: Remove file.
24158 * scripts/bench.py: New benchmark script.
24159 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24160 * benchtests/README: Mention python dependency.
24161 * scripts/pylintrc: New file.
24162 * scripts/pylint: New file.
24163
24164 * bits/mathdef.h: Use #ifdef instead of #if.
24165 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24167 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24168 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24169 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24170 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24171
24172 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24173 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24174
24175 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24177 and strpbrk-ppc64 objects.
24178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24179 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24181 multiarch strpbrk for POWER7.
24182 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24183 multiarch strpbrk for PPC64.
24184 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24185 ifunc selector.
24186 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24187 strpbrk for POWER7.
24188
24189 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24190
24191 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24192 (atan_test): Likewise.
24193 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24194 (atanh_test): Use ALL_RM_TEST.
24195 (atan2_test_data): Likewise.
24196 (cabs_test): Likewise.
24197 (cacosh_test): Likewise.
24198 (carg_test): Likewise.
24199 (casin_test): Likewise.
24200 (casinh_test): Likewise.
24201 (cbrt_test): Likewise.
24202 (csqrt_test): Likewise.
24203 (erf_test): Likewise.
24204 (erfc_test): Likewise.
24205 (pow10_test): Likewise.
24206 (exp2_test): Likewise.
24207 (hypot_test): Likewise.
24208 (j0_test): Likewise.
24209 (j1_test): Likewise.
24210 (lgamma_test): Likewise.
24211 (gamma_test): Likewise.
24212 (sincos_test): Likewise.
24213 (tanh_test): Likewise.
24214 (y0_test): Likewise.
24215 (y1_test): Likewise.
24216 * sysdeps/i386/fpu/libm-test-ulps: Update.
24217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24218
24219 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24220
24221 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24223 and strcspn-ppc64 objects.
24224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24225 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24226 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24227 multiarch strcspn for POWER7.
24228 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24229 multiarch strcspn for PPC64.
24230 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24231 ifunc selector.
24232 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24233 strcspn for POWER7.
24234
24235 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24236
24237 * math/gen-libm-test.pl (generate_testfile): Expect only function
24238 name as argument to AUTO_TESTS_* and pass results for all rounding
24239 modes to parse_args.
24240 (parse_auto_input): Separate inputs of automatic tests from
24241 outputs before storing in %auto_tests.
24242 * math/libm-test.inc (acos_test_data): Update call to
24243 AUTO_TESTS_f_f.
24244 (acos_test): Use ALL_RM_TEST.
24245 (acos_tonearest_test_data): Remove.
24246 (acos_test_tonearest): Likewise.
24247 (acos_towardzero_test_data): Likewise.
24248 (acos_test_towardzero): Likewise.
24249 (acos_downward_test_data): Likewise.
24250 (acos_test_downward): Likewise.
24251 (acos_upward_test_data): Likewise.
24252 (acos_test_upward): Likewise.
24253 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24254 (asin_test_data): Likewise.
24255 (asin_test): Use ALL_RM_TEST.
24256 (asin_tonearest_test_data): Remove.
24257 (asin_test_tonearest): Likewise.
24258 (asin_towardzero_test_data): Likewise.
24259 (asin_test_towardzero): Likewise.
24260 (asin_downward_test_data): Likewise.
24261 (asin_test_downward): Likewise.
24262 (asin_upward_test_data): Likewise.
24263 (asin_test_upward): Likewise.
24264 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24265 (atan_test_data): Likewise.
24266 (atanh_test_data): Likewise.
24267 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24268 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24269 (carg_test_data): Likewise.
24270 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24271 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24272 (ccosh_test_data): Likewise.
24273 (cexp_test_data): Likewise.
24274 (clog_test_data): Likewise.
24275 (clog10_test_data): Likewise.
24276 (cos_test_data): Update call to AUTO_TESTS_f_f.
24277 (cos_test): Use ALL_RM_TEST.
24278 (cos_tonearest_test_data): Remove.
24279 (cos_test_tonearest): Likewise.
24280 (cos_towardzero_test_data): Likewise.
24281 (cos_test_towardzero): Likewise.
24282 (cos_downward_test_data): Likewise.
24283 (cos_test_downward): Likewise.
24284 (cos_upward_test_data): Likewise.
24285 (cos_test_upward): Likewise.
24286 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24287 (cosh_test): Use ALL_RM_TEST.
24288 (cosh_tonearest_test_data): Remove.
24289 (cosh_test_tonearest): Likewise.
24290 (cosh_towardzero_test_data): Likewise.
24291 (cosh_test_towardzero): Likewise.
24292 (cosh_downward_test_data): Likewise.
24293 (cosh_test_downward): Likewise.
24294 (cosh_upward_test_data): Likewise.
24295 (cosh_test_upward): Likewise.
24296 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24297 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24298 (ctan_test_data): Likewise.
24299 (ctan_test): Use ALL_RM_TEST.
24300 (ctan_tonearest_test_data): Remove.
24301 (ctan_test_tonearest): Likewise.
24302 (ctan_towardzero_test_data): Likewise.
24303 (ctan_test_towardzero): Likewise.
24304 (ctan_downward_test_data): Likewise.
24305 (ctan_test_downward): Likewise.
24306 (ctan_upward_test_data): Likewise.
24307 (ctan_test_upward): Likewise.
24308 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24309 (ctanh_test): Use ALL_RM_TEST.
24310 (ctanh_tonearest_test_data): Remove.
24311 (ctanh_test_tonearest): Likewise.
24312 (ctanh_towardzero_test_data): Likewise.
24313 (ctanh_test_towardzero): Likewise.
24314 (ctanh_downward_test_data): Likewise.
24315 (ctanh_test_downward): Likewise.
24316 (ctanh_upward_test_data): Likewise.
24317 (ctanh_test_upward): Likewise.
24318 (erf_test_data): Update call to AUTO_TESTS_f_f.
24319 (erfc_test_data): Likewise.
24320 (exp_test_data): Likewise.
24321 (exp_test): Use ALL_RM_TEST.
24322 (exp_tonearest_test_data): Remove.
24323 (exp_test_tonearest): Likewise.
24324 (exp_towardzero_test_data): Likewise.
24325 (exp_test_towardzero): Likewise.
24326 (exp_downward_test_data): Likewise.
24327 (exp_test_downward): Likewise.
24328 (exp_upward_test_data): Likewise.
24329 (exp_test_upward): Likewise.
24330 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24331 (exp10_test): Use ALL_RM_TEST.
24332 (exp10_tonearest_test_data): Remove.
24333 (exp10_test_tonearest): Likewise.
24334 (exp10_towardzero_test_data): Likewise.
24335 (exp10_test_towardzero): Likewise.
24336 (exp10_downward_test_data): Likewise.
24337 (exp10_test_downward): Likewise.
24338 (exp10_upward_test_data): Likewise.
24339 (exp10_test_upward): Likewise.
24340 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24341 (expm1_test_data): Likewise.
24342 (expm1_test): Use ALL_RM_TEST.
24343 (expm1_tonearest_test_data): Remove.
24344 (expm1_test_tonearest): Likewise.
24345 (expm1_towardzero_test_data): Likewise.
24346 (expm1_test_towardzero): Likewise.
24347 (expm1_downward_test_data): Likewise.
24348 (expm1_test_downward): Likewise.
24349 (expm1_upward_test_data): Likewise.
24350 (expm1_test_upward): Likewise.
24351 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24352 (fma_test): Use ALL_RM_TEST.
24353 (fma_towardzero_test_data): Remove.
24354 (fma_test_towardzero): Likewise.
24355 (fma_downward_test_data): Likewise.
24356 (fma_test_downward): Likewise.
24357 (fma_upward_test_data): Likewise.
24358 (fma_test_upward): Likewise.
24359 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24360 (j0_test_data): Update call to AUTO_TESTS_f_f.
24361 (j1_test_data): Likewise.
24362 (jn_test_data): Update call to AUTO_TESTS_if_f.
24363 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24364 (log_test_data): Update call to AUTO_TESTS_f_f.
24365 (log10_test_data): Likewise.
24366 (log1p_test_data): Likewise.
24367 (log2_test_data): Likewise.
24368 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24369 (pow_tonearest_test_data): Likewise.
24370 (sin_test_data): Update call to AUTO_TESTS_f_f.
24371 (sin_test): Use ALL_RM_TEST.
24372 (sin_tonearest_test_data): Remove.
24373 (sin_test_tonearest): Likewise.
24374 (sin_towardzero_test_data): Likewise.
24375 (sin_test_towardzero): Likewise.
24376 (sin_downward_test_data): Likewise.
24377 (sin_test_downward): Likewise.
24378 (sin_upward_test_data): Likewise.
24379 (sin_test_upward): Likewise.
24380 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24381 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24382 (sinh_test): Use ALL_RM_TEST.
24383 (sinh_tonearest_test_data): Remove.
24384 (sinh_test_tonearest): Likewise.
24385 (sinh_towardzero_test_data): Likewise.
24386 (sinh_test_towardzero): Likewise.
24387 (sinh_downward_test_data): Likewise.
24388 (sinh_test_downward): Likewise.
24389 (sinh_upward_test_data): Likewise.
24390 (sinh_test_upward): Likewise.
24391 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24392 (sqrt_test): Use ALL_RM_TEST.
24393 (sqrt_tonearest_test_data): Remove.
24394 (sqrt_test_tonearest): Likewise.
24395 (sqrt_towardzero_test_data): Likewise.
24396 (sqrt_test_towardzero): Likewise.
24397 (sqrt_downward_test_data): Likewise.
24398 (sqrt_test_downward): Likewise.
24399 (sqrt_upward_test_data): Likewise.
24400 (sqrt_test_upward): Likewise.
24401 (tan_test_data): Update call to AUTO_TESTS_f_f.
24402 (tan_test): Use ALL_RM_TEST.
24403 (tan_tonearest_test_data): Remove.
24404 (tan_test_tonearest): Likewise.
24405 (tan_towardzero_test_data): Likewise.
24406 (tan_test_towardzero): Likewise.
24407 (tan_downward_test_data): Likewise.
24408 (tan_test_downward): Likewise.
24409 (tan_upward_test_data): Likewise.
24410 (tan_test_upward): Likewise.
24411 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24412 (tgamma_test_data): Likewise.
24413 (y0_test_data): Likewise.
24414 (y1_test_data): Likewise.
24415 (yn_test_data): Update call to AUTO_TESTS_if_f.
24416 (main): Do not call removed functions.
24417
24418 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24419
24420 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24421 (ldexp_test_data): Remove.
24422 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24423 scalbn_test_data.
24424 (scalb_test): Use ALL_RM_TEST.
24425
24426 2014-03-19 Andreas Schwab <schwab@suse.de>
24427
24428 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24429
24430 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24431
24432 [BZ #16649]
24433 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24437 (__ASSUME_PREADV): Undefine.
24438 (__ASSUME_PWRITEV): Likewise.
24439
24440 2014-03-18 Roland McGrath <roland@hack.frob.com>
24441
24442 * bits/mman-linux.h: Add comment about non-Linux use.
24443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24444 bits/mman-linux.h resting place.
24445
24446 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24447 * bits/mman-linux.h: ... here.
24448
24449 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24450
24451 * conform/conformtest.pl: Add standard definition when calling C
24452 preprocessor on data files.
24453 (checknamespace): Remove unused variable.
24454
24455 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24456
24457 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24458 minus_oflow, plus_uflow and minus_uflow in expected results.
24459 * math/libm-test.inc (scalbn_test_data): Add more tests of
24460 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24461 minus_uflow.
24462 (scalbn_test): Use ALL_RM_TEST.
24463 (scalbln_test_data): Add more tests of negative arguments. Use
24464 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24465 (scalbln_test): Use ALL_RM_TEST.
24466
24467 2014-03-18 Roland McGrath <roland@hack.frob.com>
24468
24469 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24470
24471 2014-03-18 Will Newton <will.newton@linaro.org>
24472
24473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24474 inaccurate comment.
24475
24476 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24477
24478 * Makerules [!subdir] (check-abi): Exit with error status if a
24479 test failed.
24480
24481 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24482
24483 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24484 for rint. Include results for all rounding modes.
24485 (nearbyint_test): Use ALL_RM_TEST.
24486 (rint_test_data): Include all tests used for nearbyint.
24487
24488 2014-03-17 Will Newton <will.newton@linaro.org>
24489
24490 * nptl/sysdeps/pthread/pthread.h: Revert previous
24491 change.
24492
24493 * sysdeps/generic/ldsodefs.h: Revert previous
24494 change.
24495
24496 * libio/genops.c: Revert previous change.
24497 * libio/libioP.h: Likewise.
24498 * stdio-common/vfprintf.c: Likewise.
24499
24500 * sysdeps/generic/math_private.h: Revert previous
24501 change.
24502
24503 * sysdeps/generic/math_private.h: Check whether
24504 HAVE_RM_CTX is defined with #ifdef rather
24505 than #if.
24506
24507 * argp/argp-fmtstream.h: Check whether
24508 __STRICT_ANSI__ is defined with #ifdef rather
24509 than #if.
24510 * argp/argp.h: Likewise.
24511
24512 * libio/genops.c: Check whether
24513 _IO_JUMPS_OFFSET is defined with #ifdef rather
24514 than #if.
24515 * libio/libioP.h: Likewise.
24516 * stdio-common/vfprintf.c: Likewise.
24517
24518 * sysdeps/generic/ldsodefs.h: Check whether
24519 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24520 than #if.
24521
24522 * nptl/sysdeps/pthread/pthread.h: Check
24523 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24524 its value.
24525
24526 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24527
24528 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24529 setting O_APPEND.
24530 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24531 test case.
24532
24533 [BZ #16680]
24534 * libio/fileops.c (_IO_file_open): Seek to end of file but
24535 don't cache the offset.
24536 (get_file_offset): Remove function.
24537 (do_ftell): Use cached offset when available.
24538 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24539 don't cache the offset.
24540 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24541 case.
24542 (do_one_test): Call it.
24543 (do_ftell_test): Fix up expected old offset for a+ mode.
24544 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24545 available.
24546
24547 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24548 up test status with function return status.
24549 (do_write_test): Likewise.
24550 (do_append_test): Likewise.
24551
24552 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24553 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24554 Remove.
24555
24556 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24557
24558 * math/gen-libm-test.pl (parse_args): Handle results specified for
24559 each rounding mode separately.
24560 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24561 tests and results from lrint_tonearest_test_data,
24562 lrint_towardzero_test_data, lrint_downward_test_data and
24563 lrint_upward_test_data.
24564 (lrint_test): Use ALL_RM_TEST.
24565 (lrint_tonearest_test_data): Remove.
24566 (lrint_test_tonearest): Likewise.
24567 (lrint_towardzero_test_data): Likewise.
24568 (lrint_test_towardzero): Likewise.
24569 (lrint_downward_test_data): Likewise.
24570 (lrint_test_downward): Likewise.
24571 (lrint_upward_test_data): Likewise.
24572 (lrint_test_upward): Likewise.
24573 (llrint_test_data): Merge in per-rounding-mode tests and results
24574 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24575 llrint_downward_test_data and llrint_upward_test_data.
24576 (llrint_test): Use ALL_RM_TEST.
24577 (llrint_tonearest_test_data): Remove.
24578 (llrint_test_tonearest): Likewise.
24579 (llrint_towardzero_test_data): Likewise.
24580 (llrint_test_towardzero): Likewise.
24581 (llrint_downward_test_data): Likewise.
24582 (llrint_test_downward): Likewise.
24583 (llrint_upward_test_data): Likewise.
24584 (llrint_test_upward): Likewise.
24585 (rint_test_data): Merge in per-rounding-mode tests and results
24586 from rint_tonearest_test_data, rint_towardzero_test_data,
24587 rint_downward_test_data and rint_upward_test_data. Add
24588 per-rounding-mode results for tests not in those arrays.
24589 (rint_test): Use ALL_RM_TEST.
24590 (rint_tonearest_test_data): Remove.
24591 (rint_test_tonearest): Likewise.
24592 (rint_towardzero_test_data): Likewise.
24593 (rint_test_towardzero): Likewise.
24594 (rint_downward_test_data): Likewise.
24595 (rint_test_downward): Likewise.
24596 (rint_upward_test_data): Likewise.
24597 (rint_test_upward): Likewise.
24598 (main): Don't call removed functions.
24599
24600 2014-03-14 Roland McGrath <roland@hack.frob.com>
24601
24602 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24603 "Compiled on ..." crapola. It is anti-useful.
24604
24605 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24606
24607 * scripts/evaluate-test.sh: Handle fourth argument to determine
24608 whether test run should stop on failure.
24609 * Makeconfig (stop-on-test-failure): New variable.
24610 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24611 $(stop-on-test-failure).
24612 * Makefile (tests): Give a summary of results from testing and
24613 exit with failure status if they include an ERROR or FAIL.
24614 (xtests): Likewise.
24615 * manual/install.texi (Configuring and compiling): Mention
24616 stop-on-test-failure=y.
24617 * INSTALL: Regenerated.
24618
24619 2014-03-14 Roland McGrath <roland@hack.frob.com>
24620
24621 * scripts/versionlist.awk: New file.
24622 * Makerules [$(build-shared) = yes]
24623 (postclean-generated): Add Versions.def, not Versions.def.v and
24624 Versions.def.v.i.
24625 ($(common-objpfx)Versions.def.v.i): Target removed.
24626 ($(common-objpfx)Versions.def): New target.
24627 ($(common-objpfx)Versions.all): Depend on that rather that
24628 $(common-objpfx)Versions.def.v.
24629 * Versions.def: File removed.
24630
24631 * Makeconfig (+gccwarn): Add -Wundef.
24632 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24633 a dl-sysdep.h breaking its contract.
24634 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24635 * include/stackinfo.h: New file.
24636 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24637 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24638 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24639 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24640 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24641 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24642 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24643 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24644 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24645 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24646 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24647 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24648 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24649 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24650 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24651
24652 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24653
24654 [BZ #16707]
24655 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24656 implementation.
24657 * math/libm-test.inc (round_test_data): Add more tests.
24658
24659 [BZ #16706]
24660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24661 implementation.
24662 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24663
24664 [BZ #16701]
24665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24666 implementation.
24667 * math/libm-test.inc (ceil_test_data): Add more tests.
24668
24669 * math/libm-test.inc (trunc_test_data): Add more tests related to
24670 BZ#16414.
24671
24672 2014-03-14 Roland McGrath <roland@hack.frob.com>
24673
24674 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24675 with #if rather than #ifdef.
24676 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24677
24678 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24679
24680 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24681 first. Disable AVX-512 GCC support if assembler doesn't support
24682 it.
24683 * sysdeps/x86_64/configure: Regenerated.
24684
24685 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24686
24687 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24688 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24689 (__old_pthread_attr_setstack): Likewise.
24690 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24691 [!_STACK_GROWS_DOWN]: Likewise.
24692
24693 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24694
24695 * config.make.in (have-bash2): Delete.
24696 * configure.ac (libc_cv_have_bash2): Delete.
24697 * configure: Regenerate.
24698 * elf/Makefile (common-ldd-rewrite): Rename to ...
24699 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24700 (sh-ldd-rewrite): Delete.
24701 (bash-ldd-rewrite): Delete.
24702 (have-bash2): Delete checks.
24703 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24704 ldd-rewrite.
24705
24706 * config.make.in (have-ksh): Delete.
24707 (KSH): Delete.
24708 * configure.ac (libc_cv_have_ksh): Delete.
24709 * configure: Regenerate.
24710
24711 * elf/Makefile: Delete $(have-ksh) check.
24712 ($(objpfx)sotruss): Change KSH to BASH.
24713 * elf/sotruss.ksh: Rename to ...
24714 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24715 function style to match POSIX. Drop ksh vim mode setting.
24716
24717 * manual/time.texi (Specifying the Time Zone with TZ): Change
24718 Tuesday to Thursday.
24719
24720 * debug/tst-longjmp_chk2.c: Update header comment.
24721 (stackoverflow_handler): Add comment. Call assert on pass value.
24722
24723 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24724
24725 [BZ #16194]
24726 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24727 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24728 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24729 (La_x86_64_vector): Add zmm.
24730 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24731 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24732 ($(objpfx)tst-audit10): New target.
24733 ($(objpfx)tst-audit10.out): Likewise.
24734 (tst-audit10-ENV): New.
24735 (AVX512-CFLAGS): Likewise.
24736 (CFLAGS-tst-audit10.c): Likewise.
24737 (CFLAGS-tst-auditmod10a.c): Likewise.
24738 (CFLAGS-tst-auditmod10b.c): Likewise.
24739 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24740 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24741 * sysdeps/x86_64/configure: Regenerated.
24742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24743 AVX-512 zmm register support.
24744 (_dl_x86_64_save_sse): Likewise.
24745 (_dl_x86_64_restore_sse): Likewise.
24746 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24747 size vector registers.
24748 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24749 (ZMM_SIZE): Likewise.
24750 * sysdeps/x86_64/tst-audit10.c: New file.
24751 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24752 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24753
24754 2014-03-13 Roland McGrath <roland@hack.frob.com>
24755
24756 * configure.ac (HAVE_EHDR_START): New check.
24757 * configure: Regenerated.
24758 * config.h.in (HAVE_EHDR_START): New #undef.
24759 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24760 assuming the lowest-addressed segment maps the start of the file.
24761
24762 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24763
24764 * INSTALL: Regenerated.
24765
24766 2014-03-13 Will Newton <will.newton@linaro.org>
24767
24768 * manual/setjmp.texi (System V contexts): Improve
24769 clarity and grammar of documentation.
24770
24771 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24772
24773 [BZ #16381]
24774 * elf/Makefile (tests): Add tst-pie2.
24775 (tests-pie): Add tst-pie2.
24776 * elf/tst-pie2.c: New file.
24777 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24778 for ET_EXEC.
24779 * elf/rtld.c (map_doit): Load executable as lt_executable.
24780 (dl_main): Likewise.
24781
24782 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #16642]
24785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24786 (__ASSUME_PSELECT): Undefine.
24787
24788 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24789
24790 [BZ #16689]
24791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24792 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24793 static build.
24794 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24795 selector for static builds.
24796
24797 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24798
24799 [BZ #16695]
24800 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24801 key in the buffer.
24802
24803 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24804
24805 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24806 IFUNC selector for static builds.
24807
24808 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24809
24810 * sysdeps/mips/math_private.h [__mips_hard_float]
24811 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24812 libc_feresetround_mips_ctx.
24813 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24814 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24815 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24816
24817 [BZ #16677]
24818 * math/s_nextafter.c (__nextafter): Do not return value from
24819 overflowing computation.
24820 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24821 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24823 Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24825 Likewise.
24826 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24827 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24828
24829 2014-03-11 Roland McGrath <roland@hack.frob.com>
24830
24831 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24832 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24833 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24834 the new mov targetting sp.
24835
24836 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24837
24838 [BZ #16683]
24839 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24840 Define it for static builds as well.
24841 (NO_BZERO_IMPL): Likewise.
24842
24843 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24844
24845 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24846 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24847 multiarch strspn for PPC64.
24848 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24849 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24851 (__libc_ifunc_impl_list): Likewise.
24852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24853 multiarch optimizations
24854 * string/strspn.c (strspn): Using macro to redefine symbol name.
24855
24856 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24857 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24858
24859 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24860 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24861 multiarch strncat for PPC64.
24862 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24863 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24865 (__libc_ifunc_impl_list): Likewise.
24866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24867 multiarch optimizations
24868
24869 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24870
24871 [BZ #16639]
24872 * nscd/nscd.service: Make service type forking.
24873
24874 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24875
24876 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24877 sign in non default rounding modes.
24878 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24879
24880 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24881
24882 * math/libm-test.inc (ALL_RM_TEST): New macro.
24883 (ceil_test): Use ALL_RM_TEST.
24884 (cimag_test): Likewise.
24885 (conj_test): Likewise.
24886 (copysign_test): Likewise.
24887 (cproj_test): Likewise.
24888 (creal_test): Likewise.
24889 (fabs_test): Likewise.
24890 (floor_test): Likewise.
24891 (fmax_test): Likewise.
24892 (fmin_test): Likewise.
24893 (fmod_test): Likewise.
24894 (fpclassify_test): Likewise.
24895 (frexp_test): Likewise.
24896 (ilogb_test): Likewise.
24897 (isfinite_test): Likewise.
24898 (finite_test): Likewise.
24899 (isgreater_test): Likewise.
24900 (isgreaterequal_test): Likewise.
24901 (isinf_test): Likewise.
24902 (isless_test): Likewise.
24903 (islessequal_test): Likewise.
24904 (islessgreater_test): Likewise.
24905 (isnan_test): Likewise.
24906 (isnormal_test): Likewise.
24907 (issignaling_test): Likewise.
24908 (isunordered_test): Likewise.
24909 (logb_test): Likewise.
24910 (logb_downward_test_data): Remove.
24911 (logb_test_downward): Likewise.
24912 (lround_test): Use ALL_RM_TEST.
24913 (llround_test): Likewise.
24914 (modf_test): Likewise.
24915 (nexttoward_test): Likewise.
24916 (remainder_test): Likewise.
24917 (drem_test): Likewise.
24918 (remainder_tonearest_test_data): Likewise.
24919 (remainder_test_tonearest): Likewise.
24920 (drem_test_tonearest): Likewise.
24921 (remainder_towardzero_test_data): Likewise.
24922 (remainder_test_towardzero): Likewise.
24923 (drem_test_towardzero): Likewise.
24924 (remainder_downward_test_data): Likewise.
24925 (remainder_test_downward): Likewise.
24926 (drem_test_downward): Likewise.
24927 (remainder_upward_test_data): Likewise.
24928 (remainder_test_upward): Likewise.
24929 (drem_test_upward): Likewise.
24930 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24931 (round_test): Use ALL_RM_TEST.
24932 (signbit_test): Likewise.
24933 (trunc_test): Likewise.
24934 (significand_test): Likewise.
24935 (main): Don't call removed functions.
24936
24937 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24938
24939 [BZ #16674]
24940 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24941 || __USE_XOPEN2K8].
24942 (ILL_ILLOPN): Likewise.
24943 (ILL_ILLADR): Likewise.
24944 (ILL_ILLTRP): Likewise.
24945 (ILL_PRVOPC): Likewise.
24946 (ILL_PRVREG): Likewise.
24947 (ILL_COPROC): Likewise.
24948 (ILL_BADSTK): Likewise.
24949 (FPE_INTDIV): Likewise.
24950 (FPE_INTOVF): Likewise.
24951 (FPE_FLTDIV): Likewise.
24952 (FPE_FLTOVF): Likewise.
24953 (FPE_FLTUND): Likewise.
24954 (FPE_FLTRES): Likewise.
24955 (FPE_FLTINV): Likewise.
24956 (FPE_FLTSUB): Likewise.
24957 (SEGV_MAPERR): Likewise.
24958 (SEGV_ACCERR): Likewise.
24959 (BUS_ADRALN): Likewise.
24960 (BUS_ADRERR): Likewise.
24961 (BUS_OBJERR): Likewise.
24962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24963 (TRAP_TRACE): Likewise.
24964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24965 __USE_XOPEN2K8].
24966 (CLD_KILLED): Likewise.
24967 (CLD_DUMPED): Likewise.
24968 (CLD_TRAPPED): Likewise.
24969 (CLD_STOPPED): Likewise.
24970 (CLD_CONTINUED): Likewise.
24971 (POLL_IN): Likewise.
24972 (POLL_OUT): Likewise.
24973 (POLL_MSG): Likewise.
24974 (POLL_ERR): Likewise.
24975 (POLL_PRI): Likewise.
24976 (POLL_HUP): Likewise.
24977 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24978 Likewise.
24979 (ILL_ILLOPN): Likewise.
24980 (ILL_ILLADR): Likewise.
24981 (ILL_ILLTRP): Likewise.
24982 (ILL_PRVOPC): Likewise.
24983 (ILL_PRVREG): Likewise.
24984 (ILL_COPROC): Likewise.
24985 (ILL_BADSTK): Likewise.
24986 (FPE_INTDIV): Likewise.
24987 (FPE_INTOVF): Likewise.
24988 (FPE_FLTDIV): Likewise.
24989 (FPE_FLTOVF): Likewise.
24990 (FPE_FLTUND): Likewise.
24991 (FPE_FLTRES): Likewise.
24992 (FPE_FLTINV): Likewise.
24993 (FPE_FLTSUB): Likewise.
24994 (SEGV_MAPERR): Likewise.
24995 (SEGV_ACCERR): Likewise.
24996 (BUS_ADRALN): Likewise.
24997 (BUS_ADRERR): Likewise.
24998 (BUS_OBJERR): Likewise.
24999 (BUS_MCEERR_AR): Likewise.
25000 (BUS_MCEERR_AO): Likewise.
25001 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25002 (TRAP_TRACE): Likewise.
25003 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25004 __USE_XOPEN2K8].
25005 (CLD_KILLED): Likewise.
25006 (CLD_DUMPED): Likewise.
25007 (CLD_TRAPPED): Likewise.
25008 (CLD_STOPPED): Likewise.
25009 (CLD_CONTINUED): Likewise.
25010 (POLL_IN): Likewise.
25011 (POLL_OUT): Likewise.
25012 (POLL_MSG): Likewise.
25013 (POLL_ERR): Likewise.
25014 (POLL_PRI): Likewise.
25015 (POLL_HUP): Likewise.
25016 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25017 (ILL_ILLOPN): Likewise.
25018 (ILL_ILLADR): Likewise.
25019 (ILL_ILLTRP): Likewise.
25020 (ILL_PRVOPC): Likewise.
25021 (ILL_PRVREG): Likewise.
25022 (ILL_COPROC): Likewise.
25023 (ILL_BADSTK): Likewise.
25024 (FPE_INTDIV): Likewise.
25025 (FPE_INTOVF): Likewise.
25026 (FPE_FLTDIV): Likewise.
25027 (FPE_FLTOVF): Likewise.
25028 (FPE_FLTUND): Likewise.
25029 (FPE_FLTRES): Likewise.
25030 (FPE_FLTINV): Likewise.
25031 (FPE_FLTSUB): Likewise.
25032 (SEGV_MAPERR): Likewise.
25033 (SEGV_ACCERR): Likewise.
25034 (BUS_ADRALN): Likewise.
25035 (BUS_ADRERR): Likewise.
25036 (BUS_OBJERR): Likewise.
25037 (BUS_MCEERR_AR): Likewise.
25038 (BUS_MCEERR_AO): Likewise.
25039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25040 (TRAP_TRACE): Likewise.
25041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25042 __USE_XOPEN2K8].
25043 (CLD_KILLED): Likewise.
25044 (CLD_DUMPED): Likewise.
25045 (CLD_TRAPPED): Likewise.
25046 (CLD_STOPPED): Likewise.
25047 (CLD_CONTINUED): Likewise.
25048 (POLL_IN): Likewise.
25049 (POLL_OUT): Likewise.
25050 (POLL_MSG): Likewise.
25051 (POLL_ERR): Likewise.
25052 (POLL_PRI): Likewise.
25053 (POLL_HUP): Likewise.
25054 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25055 Likewise.
25056 (ILL_ILLOPN): Likewise.
25057 (ILL_ILLADR): Likewise.
25058 (ILL_ILLTRP): Likewise.
25059 (ILL_PRVOPC): Likewise.
25060 (ILL_PRVREG): Likewise.
25061 (ILL_COPROC): Likewise.
25062 (ILL_BADSTK): Likewise.
25063 (ILL_BADIADDR): Likewise.
25064 (ILL_BREAK): Likewise.
25065 (FPE_INTDIV): Likewise.
25066 (FPE_INTOVF): Likewise.
25067 (FPE_FLTDIV): Likewise.
25068 (FPE_FLTOVF): Likewise.
25069 (FPE_FLTUND): Likewise.
25070 (FPE_FLTRES): Likewise.
25071 (FPE_FLTINV): Likewise.
25072 (FPE_FLTSUB): Likewise.
25073 (FPE_DECOVF): Likewise.
25074 (FPE_DECDIV): Likewise.
25075 (FPE_DECERR): Likewise.
25076 (FPE_INVASC): Likewise.
25077 (FPE_INVDEC): Likewise.
25078 (SEGV_MAPERR): Likewise.
25079 (SEGV_ACCERR): Likewise.
25080 (SEGV_PSTKOVF): Likewise.
25081 (BUS_ADRALN): Likewise.
25082 (BUS_ADRERR): Likewise.
25083 (BUS_OBJERR): Likewise.
25084 (BUS_MCEERR_AR): Likewise.
25085 (BUS_MCEERR_AO): Likewise.
25086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25087 (TRAP_TRACE): Likewise.
25088 (TRAP_BRANCH): Likewise.
25089 (TRAP_HWBKPT): Likewise.
25090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25091 __USE_XOPEN2K8].
25092 (CLD_KILLED): Likewise.
25093 (CLD_DUMPED): Likewise.
25094 (CLD_TRAPPED): Likewise.
25095 (CLD_STOPPED): Likewise.
25096 (CLD_CONTINUED): Likewise.
25097 (POLL_IN): Likewise.
25098 (POLL_OUT): Likewise.
25099 (POLL_MSG): Likewise.
25100 (POLL_ERR): Likewise.
25101 (POLL_PRI): Likewise.
25102 (POLL_HUP): Likewise.
25103 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25104 (ILL_ILLOPN): Likewise.
25105 (ILL_ILLADR): Likewise.
25106 (ILL_ILLTRP): Likewise.
25107 (ILL_PRVOPC): Likewise.
25108 (ILL_PRVREG): Likewise.
25109 (ILL_COPROC): Likewise.
25110 (ILL_BADSTK): Likewise.
25111 (FPE_INTDIV): Likewise.
25112 (FPE_INTOVF): Likewise.
25113 (FPE_FLTDIV): Likewise.
25114 (FPE_FLTOVF): Likewise.
25115 (FPE_FLTUND): Likewise.
25116 (FPE_FLTRES): Likewise.
25117 (FPE_FLTINV): Likewise.
25118 (FPE_FLTSUB): Likewise.
25119 (SEGV_MAPERR): Likewise.
25120 (SEGV_ACCERR): Likewise.
25121 (BUS_ADRALN): Likewise.
25122 (BUS_ADRERR): Likewise.
25123 (BUS_OBJERR): Likewise.
25124 (BUS_MCEERR_AR): Likewise.
25125 (BUS_MCEERR_AO): Likewise.
25126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25127 (TRAP_TRACE): Likewise.
25128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25129 __USE_XOPEN2K8].
25130 (CLD_KILLED): Likewise.
25131 (CLD_DUMPED): Likewise.
25132 (CLD_TRAPPED): Likewise.
25133 (CLD_STOPPED): Likewise.
25134 (CLD_CONTINUED): Likewise.
25135 (POLL_IN): Likewise.
25136 (POLL_OUT): Likewise.
25137 (POLL_MSG): Likewise.
25138 (POLL_ERR): Likewise.
25139 (POLL_PRI): Likewise.
25140 (POLL_HUP): Likewise.
25141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25142 (ILL_ILLOPN): Likewise.
25143 (ILL_ILLADR): Likewise.
25144 (ILL_ILLTRP): Likewise.
25145 (ILL_PRVOPC): Likewise.
25146 (ILL_PRVREG): Likewise.
25147 (ILL_COPROC): Likewise.
25148 (ILL_BADSTK): Likewise.
25149 (FPE_INTDIV): Likewise.
25150 (FPE_INTOVF): Likewise.
25151 (FPE_FLTDIV): Likewise.
25152 (FPE_FLTOVF): Likewise.
25153 (FPE_FLTUND): Likewise.
25154 (FPE_FLTRES): Likewise.
25155 (FPE_FLTINV): Likewise.
25156 (FPE_FLTSUB): Likewise.
25157 (SEGV_MAPERR): Likewise.
25158 (SEGV_ACCERR): Likewise.
25159 (BUS_ADRALN): Likewise.
25160 (BUS_ADRERR): Likewise.
25161 (BUS_OBJERR): Likewise.
25162 (BUS_MCEERR_AR): Likewise.
25163 (BUS_MCEERR_AO): Likewise.
25164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25165 (TRAP_TRACE): Likewise.
25166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25167 __USE_XOPEN2K8].
25168 (CLD_KILLED): Likewise.
25169 (CLD_DUMPED): Likewise.
25170 (CLD_TRAPPED): Likewise.
25171 (CLD_STOPPED): Likewise.
25172 (CLD_CONTINUED): Likewise.
25173 (POLL_IN): Likewise.
25174 (POLL_OUT): Likewise.
25175 (POLL_MSG): Likewise.
25176 (POLL_ERR): Likewise.
25177 (POLL_PRI): Likewise.
25178 (POLL_HUP): Likewise.
25179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25180 (ILL_ILLOPN): Likewise.
25181 (ILL_ILLADR): Likewise.
25182 (ILL_ILLTRP): Likewise.
25183 (ILL_PRVOPC): Likewise.
25184 (ILL_PRVREG): Likewise.
25185 (ILL_COPROC): Likewise.
25186 (ILL_BADSTK): Likewise.
25187 (FPE_INTDIV): Likewise.
25188 (FPE_INTOVF): Likewise.
25189 (FPE_FLTDIV): Likewise.
25190 (FPE_FLTOVF): Likewise.
25191 (FPE_FLTUND): Likewise.
25192 (FPE_FLTRES): Likewise.
25193 (FPE_FLTINV): Likewise.
25194 (FPE_FLTSUB): Likewise.
25195 (SEGV_MAPERR): Likewise.
25196 (SEGV_ACCERR): Likewise.
25197 (BUS_ADRALN): Likewise.
25198 (BUS_ADRERR): Likewise.
25199 (BUS_OBJERR): Likewise.
25200 (BUS_MCEERR_AR): Likewise.
25201 (BUS_MCEERR_AO): Likewise.
25202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25203 (TRAP_TRACE): Likewise.
25204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25205 __USE_XOPEN2K8].
25206 (CLD_KILLED): Likewise.
25207 (CLD_DUMPED): Likewise.
25208 (CLD_TRAPPED): Likewise.
25209 (CLD_STOPPED): Likewise.
25210 (CLD_CONTINUED): Likewise.
25211 (POLL_IN): Likewise.
25212 (POLL_OUT): Likewise.
25213 (POLL_MSG): Likewise.
25214 (POLL_ERR): Likewise.
25215 (POLL_PRI): Likewise.
25216 (POLL_HUP): Likewise.
25217 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25218 (ILL_ILLOPN): Likewise.
25219 (ILL_ILLADR): Likewise.
25220 (ILL_ILLTRP): Likewise.
25221 (ILL_PRVOPC): Likewise.
25222 (ILL_PRVREG): Likewise.
25223 (ILL_COPROC): Likewise.
25224 (ILL_BADSTK): Likewise.
25225 (ILL_DBLFLT): Likewise.
25226 (ILL_HARDWALL): Likewise.
25227 (FPE_INTDIV): Likewise.
25228 (FPE_INTOVF): Likewise.
25229 (FPE_FLTDIV): Likewise.
25230 (FPE_FLTOVF): Likewise.
25231 (FPE_FLTUND): Likewise.
25232 (FPE_FLTRES): Likewise.
25233 (FPE_FLTINV): Likewise.
25234 (FPE_FLTSUB): Likewise.
25235 (SEGV_MAPERR): Likewise.
25236 (SEGV_ACCERR): Likewise.
25237 (BUS_ADRALN): Likewise.
25238 (BUS_ADRERR): Likewise.
25239 (BUS_OBJERR): Likewise.
25240 (BUS_MCEERR_AR): Likewise.
25241 (BUS_MCEERR_AO): Likewise.
25242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25243 (TRAP_TRACE): Likewise.
25244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25245 __USE_XOPEN2K8].
25246 (CLD_KILLED): Likewise.
25247 (CLD_DUMPED): Likewise.
25248 (CLD_TRAPPED): Likewise.
25249 (CLD_STOPPED): Likewise.
25250 (CLD_CONTINUED): Likewise.
25251 (POLL_IN): Likewise.
25252 (POLL_OUT): Likewise.
25253 (POLL_MSG): Likewise.
25254 (POLL_ERR): Likewise.
25255 (POLL_PRI): Likewise.
25256 (POLL_HUP): Likewise.
25257 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25258 (ILL_ILLOPN): Likewise.
25259 (ILL_ILLADR): Likewise.
25260 (ILL_ILLTRP): Likewise.
25261 (ILL_PRVOPC): Likewise.
25262 (ILL_PRVREG): Likewise.
25263 (ILL_COPROC): Likewise.
25264 (ILL_BADSTK): Likewise.
25265 (FPE_INTDIV): Likewise.
25266 (FPE_INTOVF): Likewise.
25267 (FPE_FLTDIV): Likewise.
25268 (FPE_FLTOVF): Likewise.
25269 (FPE_FLTUND): Likewise.
25270 (FPE_FLTRES): Likewise.
25271 (FPE_FLTINV): Likewise.
25272 (FPE_FLTSUB): Likewise.
25273 (SEGV_MAPERR): Likewise.
25274 (SEGV_ACCERR): Likewise.
25275 (BUS_ADRALN): Likewise.
25276 (BUS_ADRERR): Likewise.
25277 (BUS_OBJERR): Likewise.
25278 (BUS_MCEERR_AR): Likewise.
25279 (BUS_MCEERR_AO): Likewise.
25280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25281 (TRAP_TRACE): Likewise.
25282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25283 __USE_XOPEN2K8].
25284 (CLD_KILLED): Likewise.
25285 (CLD_DUMPED): Likewise.
25286 (CLD_TRAPPED): Likewise.
25287 (CLD_STOPPED): Likewise.
25288 (CLD_CONTINUED): Likewise.
25289 (POLL_IN): Likewise.
25290 (POLL_OUT): Likewise.
25291 (POLL_MSG): Likewise.
25292 (POLL_ERR): Likewise.
25293 (POLL_PRI): Likewise.
25294 (POLL_HUP): Likewise.
25295 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25296 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25297
25298 [BZ #16670]
25299 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25300 before #include of <time.h>.
25301 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25302 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25303 (test-xfail-UNIX98/sched.h/conform): Likewise.
25304
25305 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25306
25307 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25308 error absence of trapping exception support.
25309 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25310
25311 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25312
25313 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25314 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25315 * timezone/Makefile (testdata): Move definition above include of
25316 Rules.
25317 (test-zones): New variable.
25318 (tests-special): Add zone files.
25319 (build-testdata): Use $(evaluate-test).
25320
25321 * elf/Makefile (tests-special): Rename tests to end with .out.
25322 ($(objpfx)noload-mem): Likewise.
25323 ($(objpfx)tst-leaks1-mem): Likewise.
25324 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25325 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25326 $(objpfx)test-iconvconfig.out.
25327 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25328 set -e inside subshell and redirect output to file.
25329 * iconvdata/Makefile (generated): Rename tests to end with .out.
25330 Correct type.
25331 (tests-special): Rename tests to end with .out.
25332 ($(objpfx)mtrace-tst-loading): Likewise.
25333 * intl/Makefile (generated): Likewise.
25334 (tests-special): Likewise.
25335 ($(objpfx)mtrace-tst-gettext): Likewise.
25336 * misc/Makefile (generated): Likewise.
25337 (tests-special): Likewise.
25338 ($(objpfx)tst-error1-mem): Likewise.
25339 * nptl/Makefile (tests-special): Likewise.
25340 ($(objpfx)tst-stack3-mem): Likewise.
25341 (generated): Likewise.
25342 * posix/Makefile (generated): Likewise.
25343 (tests-special): Likewise.
25344 (xtests-special): Likewise.
25345 ($(objpfx)tst-fnmatch-mem): Likewise.
25346 ($(objpfx)bug-regex2-mem): Likewise.
25347 ($(objpfx)bug-regex14-mem): Likewise.
25348 ($(objpfx)bug-regex21-mem): Likewise.
25349 ($(objpfx)bug-regex31-mem): Likewise.
25350 ($(objpfx)tst-vfork3-mem): Likewise.
25351 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25352 ($(objpfx)tst-pcre-mem): Likewise.
25353 ($(objpfx)tst-boost-mem): Likewise.
25354 ($(objpfx)bug-ga2-mem): Likewise.
25355 ($(objpfx)bug-glob2-mem): Likewise.
25356 * resolv/Makefile (generate): Likewise.
25357 (tests-special): Likewise.
25358 (xtests-special): Likewise.
25359 (generated): Likewise.
25360 ($(objpfx)mtrace-tst-leaks): Likewise.
25361 ($(objpfx)mtrace-tst-leaks2): Likewise.
25362
25363 * scripts/merge-test-results.sh: New file.
25364 * Makefile (tests-special-notdir): New variable.
25365 (tests): Run merge-test-results.sh.
25366 (xtests): Likewise.
25367 * Rules (tests-special-notdir): New variable.
25368 (xtests-special-notdir): Likewise.
25369 (tests): Run merge-test-results.sh
25370 (xtests): Likewise.
25371
25372 * Makeconfig (test-xfail-name): New variable.
25373 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25374 compute variable name for expected failures.
25375 * conform/Makefile (conformtest-headers-data): New variable.
25376 (conformtest-standards): Likewise.
25377 (conformtest-headers-ISO): Likewise.
25378 (conformtest-headers-ISO99): Likewise.
25379 (conformtest-headers-ISO11): Likewise.
25380 (conformtest-headers-POSIX): Likewise.
25381 (conformtest-headers-XPG3): Likewise.
25382 (conformtest-headers-XPG4): Likewise.
25383 (conformtest-headers-UNIX98): Likewise.
25384 (conformtest-headers-XOPEN2K): Likewise.
25385 (conformtest-headers-POSIX2008): Likewise.
25386 (conformtest-headers-XOPEN2K8): Likewise.
25387 (conformtest-header-list-base): Likewise.
25388 (conformtest-header-list-tests): Likewise.
25389 (conformtest-header-base): Likewise.
25390 (conformtest-header-tests): Likewise.
25391 (tests-special): Add $(conformtest-header-list-tests). If
25392 [$(fast-check) && !$(cross-compiling)], add
25393 $(conformtest-header-tests) instead of
25394 $(objpfx)run-conformtest.out.
25395 (generated): Add $(conformtest-header-list-base). If
25396 [$(fast-check) && !$(cross-compiling)], add
25397 $(conformtest-header-base). Remove previous setting.
25398 ($(conformtest-header-list-tests)): New target.
25399 (test-xfail-run-conformtest): Remove variable.
25400 ($(objpfx)run-conformtest.out): Remove target.
25401 (test-xfail-ISO11/complex.h/conform): New variable.
25402 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25403 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25404 (test-xfail-XPG3/varargs.h/conform): Likewise.
25405 (test-xfail-XPG4/varargs.h/conform): Likewise.
25406 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25407 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25408 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25409 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25410 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25411 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25412 (test-xfail-XPG3/ftw.h/conform): Likewise.
25413 (test-xfail-XPG3/grp.h/conform): Likewise.
25414 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25415 (test-xfail-XPG3/limits.h/conform): Likewise.
25416 (test-xfail-XPG3/pwd.h/conform): Likewise.
25417 (test-xfail-XPG3/search.h/conform): Likewise.
25418 (test-xfail-XPG3/signal.h/conform): Likewise.
25419 (test-xfail-XPG3/stdio.h/conform): Likewise.
25420 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25421 (test-xfail-XPG3/string.h/conform): Likewise.
25422 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25423 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25424 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25425 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25426 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25427 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25428 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25429 (test-xfail-XPG3/termios.h/conform): Likewise.
25430 (test-xfail-XPG3/time.h/conform): Likewise.
25431 (test-xfail-XPG3/unistd.h/conform): Likewise.
25432 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25433 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25434 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25435 (test-xfail-XPG4/netdb.h/conform): Likewise.
25436 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25437 (test-xfail-XPG4/signal.h/conform): Likewise.
25438 (test-xfail-XPG4/stdio.h/conform): Likewise.
25439 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25440 (test-xfail-XPG4/stropts.h/conform): Likewise.
25441 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25442 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25443 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25444 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25445 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25446 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25447 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25448 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25449 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25450 (test-xfail-XPG4/termios.h/conform): Likewise.
25451 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25452 (test-xfail-XPG4/unistd.h/conform): Likewise.
25453 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25454 (test-xfail-POSIX/sched.h/conform): Likewise.
25455 (test-xfail-POSIX/signal.h/conform): Likewise.
25456 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25457 (test-xfail-POSIX/tar.h/conform): Likewise.
25458 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25459 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25460 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25461 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25462 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25463 (test-xfail-UNIX98/sched.h/conform): Likewise.
25464 (test-xfail-UNIX98/signal.h/conform): Likewise.
25465 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25466 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25467 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25468 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25469 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25470 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25471 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25472 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25473 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25474 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25475 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25476 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25477 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25478 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25479 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25480 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25481 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25482 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25483 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25484 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25485 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25486 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25487 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25488 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25489 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25490 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25491 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25492 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25493 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25494 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25495 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25496 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25497 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25498 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25499 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25500 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25501 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25502 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25503 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25504 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25505 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25506 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25507 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25508 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25509 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25510 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25511 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25512 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25513 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25514 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25515 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25516 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25517 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25518 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25519 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25520 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25521 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25522 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25523 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25524 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25525 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25526 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25527 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25528 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25529 (conformtest-cc-flags): Likewise.
25530 ($(conformtest-header-tests): New target.
25531 * conform/check-header-lists.sh: New file.
25532 * conform/run-conformtest.sh: Remove.
25533
25534 * conform/conformtest.pl: Allow ' and \ in values given for
25535 constants.
25536 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25537 inclusion.
25538 [POSIX] (sys/types.h): Likewise.
25539 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25540 inclusion.
25541 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25542 inclusion.
25543 * conform/data/signal.h-data (SIGIO): Remove expectation.
25544 [XPG3] (SIGBUS): Do not expect.
25545 [POSIX || XPG3] (SIGPOLL): Likewise.
25546 [POSIX || XPG3] (SIGPROF): Likewise.
25547 [POSIX || XPG3] (SIGSYS): Likewise.
25548 [XPG3] (SIGTRAP): Likewise.
25549 [POSIX || XPG3] (SIGURG): Likewise.
25550 [POSIX || XPG3] (SIGVTALRM): Likewise.
25551 [POSIX || XPG3] (SIGXCPU): Likewise.
25552 [POSIX || XPG3] (SIGXFSZ): Likewise.
25553 [POSIX] (SA_SIGINFO): Expect.
25554 [XPG3] (siginfo_t): Do not expect type or contents.
25555 [POSIX] (si_pid): Do not expect element.
25556 [POSIX] (si_uid): Likewise.
25557 [POSIX] (si_addr): Likewise.
25558 [POSIX] (si_status): Likewise.
25559 [POSIX] (si_band): Likewise.
25560 [XPG4] (si_value): Likewise.
25561 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25562 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25563 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25564 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25565 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25566 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25567 [POSIX || XPG3] (ILL_COPROC): Likewise.
25568 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25569 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25570 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25571 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25572 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25573 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25574 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25575 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25576 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25577 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25578 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25579 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25580 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25581 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25582 [POSIX || XPG3] (CLD_EXITED): Likewise.
25583 [POSIX || XPG3] (CLD_KILLED): Likewise.
25584 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25585 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25586 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25587 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25588 [POSIX || XPG3] (POLL_IN): Likewise.
25589 [POSIX || XPG3] (POLL_OUT): Likewise.
25590 [POSIX || XPG3] (POLL_MSG): Likewise.
25591 [POSIX || XPG3] (POLL_ERR): Likewise.
25592 [POSIX || XPG3] (POLL_PRI): Likewise.
25593 [POSIX || XPG3] (POLL_HUP): Likewise.
25594 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25595 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25596 (SIG*): Do not allow.
25597 [XPG3] (si_*): Likewise.
25598 [XPG3] (SI_*): Likewise.
25599 [XPG3 || XPG4] (sigev_*): Likewise.
25600 [XPG3 || XPG4] (SIGEV_*): Likewise.
25601 [XPG3 || XPG4] (sival_*): Likewise.
25602 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25603 [POSIX || XPG3] (BUS_*): Likewise.
25604 [POSIX || XPG3] (CLD_*): Likewise.
25605 [POSIX || XPG3] (FPE_*): Likewise.
25606 [POSIX || XPG3] (ILL_*): Likewise.
25607 [POSIX || XPG3] (POLL_*): Likewise.
25608 [POSIX || XPG3] (SEGV_*): Likewise.
25609 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25610 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25611 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25612 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25613 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25614 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25615 Specify type and value.
25616 (TVERSLEN): Likewise.
25617 (REGTYPE): Likewise.
25618 (AREGTYPE): Likewise.
25619 (LNKTYPE): Likewise.
25620 (SYMTYPE): Likewise.
25621 (CHRTYPE): Likewise.
25622 (BLKTYPE): Likewise.
25623 (DIRTYPE): Likewise.
25624 (FIFOTYPE): Likewise.
25625 (CONTTYPE): Likewise.
25626 (TSUID): Likewise.
25627 (TSGID): Likewise.
25628 (TSVTX): Likewise.
25629 (TUREAD): Likewise.
25630 (TUWRITE): Likewise.
25631 (TUEXEC): Likewise.
25632 (TGREAD): Likewise.
25633 (TGWRITE): Likewise.
25634 (TGEXEC): Likewise.
25635 (TOREAD): Likewise.
25636 (TOWRITE): Likewise.
25637 (TOEXEC): Likewise.
25638 [POSIX] (TSVTX): Expect constant.
25639
25640 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25641
25642 * Makefile (tests): Change dependencies to ....
25643 (tests-special): ... additions to this variable.
25644 (tests): Depend on $(tests-special).
25645 * Makerules (check-abi-list): New variable.
25646 (check-abi): Depend on $(check-abi-list).
25647 [$(subdir) = elf] (tests-special): Add
25648 $(objpfx)check-abi-libc.out.
25649 [$(build-shared) = yes && subdir] (tests-special): Add
25650 $(check-abi-list).
25651 [$(build-shared) = yes && subdir] (tests): Do not depend on
25652 check-abi.
25653 * Rules (tests): Depend on $(tests-special).
25654 (xtests): Depend on $(xtests-special).
25655 * catgets/Makefile (tests): Change dependencies to ....
25656 (tests-special): ... additions to this variable.
25657 * conform/Makefile (tests): Change dependencies to ....
25658 (tests-special): ... additions to this variable.
25659 * elf/Makefile (tests): Change dependencies to ....
25660 (tests-special): ... additions to this variable.
25661 * grp/Makefile (tests): Change dependencies to ....
25662 (tests-special): ... additions to this variable.
25663 * iconv/Makefile (xtests): Change dependencies to ....
25664 (xtests-special): ... additions to this variable.
25665 * iconvdata/Makefile (tests): Change dependencies to ....
25666 (tests-special): ... additions to this variable.
25667 * intl/Makefile (tests): Change dependencies to ....
25668 (tests-special): ... additions to this variable. Also add
25669 $(objpfx)tst-gettext.out.
25670 * io/Makefile (tests): Change dependencies to ....
25671 (tests-special): ... additions to this variable.
25672 * libio/Makefile (tests): Change dependencies to ....
25673 (tests-special): ... additions to this variable.
25674 * malloc/Makefile (tests): Change dependencies to ....
25675 (tests-special): ... additions to this variable.
25676 * misc/Makefile (tests): Change dependencies to ....
25677 (tests-special): ... additions to this variable.
25678 * nptl/Makefile (tests): Change dependencies to ....
25679 (tests-special): ... additions to this variable.
25680 * nptl_db/Makefile (tests): Change dependencies to ....
25681 (tests-special): ... additions to this variable.
25682 * posix/Makefile (tests): Change dependencies to ....
25683 (tests-special): ... additions to this variable.
25684 (xtests): Change dependencies to ....
25685 (xtests-special): ... additions to this variable.
25686 * resolv/Makefile (tests): Change dependencies to ....
25687 (tests-special): ... additions to this variable.
25688 (xtests): Change dependencies to ....
25689 (xtests-special): ... additions to this variable.
25690 * stdio-common/Makefile (tests): Change dependencies to ....
25691 (tests-special): ... additions to this variable.
25692 (do-tst-unbputc): Remove target.
25693 (do-tst-printf): Likewise.
25694 * stdlib/Makefile (tests): Change dependencies to ....
25695 (tests-special): ... additions to this variable.
25696 * string/Makefile (tests): Change dependencies to ....
25697 (tests-special): ... additions to this variable.
25698 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25699 (tests-special): ... additions to this variable.
25700
25701 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25702 whole file.
25703 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25704 whole file.
25705 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25706 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25707
25708 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25709 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25710 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25711 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25712 * conform/data/libgen.h-data [XPG3]: Likewise.
25713 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25714 * conform/data/ndbm.h-data [XPG3]: Likewise.
25715 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25716 * conform/data/netdb.h-data [XPG3]: Likewise.
25717 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25718 * conform/data/poll.h-data [XPG3]: Likewise.
25719 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25720 * conform/data/strings.h-data [XPG3]: Likewise.
25721 * conform/data/stropts.h-data [XPG3]: Likewise.
25722 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25723 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25724 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25725 Likewise.
25726 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25727 * conform/data/sys/time.h-data [XPG3]: Likewise.
25728 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25729 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25730 * conform/data/sys/un.h-data [XPG3]: Likewise.
25731 * conform/data/syslog.h-data [XPG3]: Likewise.
25732 * conform/data/ucontext.h-data [XPG3]: Likewise.
25733 * conform/data/utmpx.h-data [XPG3]: Likewise.
25734 * conform/data/varargs.h-data [UNIX98]: Enable file.
25735
25736 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25737
25738 * math/libm-test.inc (struct test_f_f_data): Move expected results
25739 into structure for each rounding mode.
25740 (struct test_ff_f_data): Likewise.
25741 (struct test_ff_f_data_nexttoward): Likewise.
25742 (struct test_fi_f_data): Likewise.
25743 (struct test_fl_f_data): Likewise.
25744 (struct test_if_f_data): Likewise.
25745 (struct test_fff_f_data): Likewise.
25746 (struct test_c_f_data): Likewise.
25747 (struct test_f_f1_data): Likewise.
25748 (struct test_fF_f1_data): Likewise.
25749 (struct test_ffI_f1_data): Likewise.
25750 (struct test_c_c_data): Likewise.
25751 (struct test_cc_c_data): Likewise.
25752 (struct test_f_i_data): Likewise.
25753 (struct test_ff_i_data): Likewise.
25754 (struct test_f_l_data): Likewise.
25755 (struct test_f_L_data): Likewise.
25756 (struct test_fFF_11_data): Likewise.
25757 (RM_): New macro.
25758 (RM_FE_DOWNWARD): Likewise.
25759 (RM_FE_TONEAREST): Likewise.
25760 (RM_FE_TOWARDZERO): Likewise.
25761 (RM_FE_UPWARD): Likewise.
25762 (RUN_TEST_LOOP_f_f): Update references to expected results.
25763 (RUN_TEST_LOOP_2_f): Likewise.
25764 (RUN_TEST_LOOP_fff_f): Likewise.
25765 (RUN_TEST_LOOP_c_f): Likewise.
25766 (RUN_TEST_LOOP_f_f1): Likewise.
25767 (RUN_TEST_LOOP_fF_f1): Likewise.
25768 (RUN_TEST_LOOP_fI_f1): Likewise.
25769 (RUN_TEST_LOOP_ffI_f1): Likewise.
25770 (RUN_TEST_LOOP_c_c): Likewise.
25771 (RUN_TEST_LOOP_cc_c): Likewise.
25772 (RUN_TEST_LOOP_f_i): Likewise.
25773 (RUN_TEST_LOOP_f_i_tg): Likewise.
25774 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25775 (RUN_TEST_LOOP_f_b): Likewise.
25776 (RUN_TEST_LOOP_f_b_tg): Likewise.
25777 (RUN_TEST_LOOP_f_l): Likewise.
25778 (RUN_TEST_LOOP_f_L): Likewise.
25779 (RUN_TEST_LOOP_fFF_11): Likewise.
25780 * math/gen-libm-test.pl (parse_args): Output four copies of
25781 expected results for each test.
25782
25783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25784 (__ASSUME_UTIMES): Remove.
25785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25786 (__ASSUME_UTIMES): Likewise.
25787
25788 * math/gen-auto-libm-tests.c: Update comment on output format.
25789 (output_for_one_input_case): Generate before-rounding and
25790 after-rounding information as conditions on output flags not
25791 floating-point format.
25792 * math/auto-libm-test-out: Regenerated.
25793 * math/gen-libm-test.pl (cond_value): New function.
25794 (or_cond_value): Use cond_value.
25795 (generate_testfile): Handle conditional exceptions.
25796
25797 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25798
25799 * math/libm-test.inc (max_valid_error): New variable.
25800 (init_max_error): Take new argument specifying whether function
25801 results are exactly determined. Set max_valid_error and bound
25802 other variables for errors based on this argument.
25803 (set_max_error): Do not record results above max_valid_error.
25804 (check_float_internal): Only accept errors of up to 0.5ulps if
25805 also at most max_valid_error.
25806 (START): Take new argument EXACT and pass it to init_max_error.
25807 (acos_test): Update call to START.
25808 (acos_test_tonearest): Likewise.
25809 (acos_test_towardzero): Likewise.
25810 (acos_test_downward): Likewise.
25811 (acos_test_upward): Likewise.
25812 (acosh_test): Likewise.
25813 (asin_test): Likewise.
25814 (asin_test_tonearest): Likewise.
25815 (asin_test_towardzero): Likewise.
25816 (asin_test_downward): Likewise.
25817 (asin_test_upward): Likewise.
25818 (asinh_test): Likewise.
25819 (atan_test): Likewise.
25820 (atanh_test): Likewise.
25821 (atan2_test): Likewise.
25822 (cabs_test): Likewise.
25823 (cacos_test): Likewise.
25824 (cacosh_test): Likewise.
25825 (carg_test): Likewise.
25826 (casin_test): Likewise.
25827 (casinh_test): Likewise.
25828 (catan_test): Likewise.
25829 (catanh_test): Likewise.
25830 (cbrt_test): Likewise.
25831 (ccos_test): Likewise.
25832 (ccosh_test): Likewise.
25833 (ceil_test): Likewise.
25834 (cexp_test): Likewise.
25835 (cimag_test): Likewise.
25836 (clog_test): Likewise.
25837 (clog10_test): Likewise.
25838 (conj_test): Likewise.
25839 (copysign_test): Likewise.
25840 (cos_test): Likewise.
25841 (cos_test_tonearest): Likewise.
25842 (cos_test_towardzero): Likewise.
25843 (cos_test_downward): Likewise.
25844 (cos_test_upward): Likewise.
25845 (cosh_test): Likewise.
25846 (cosh_test_tonearest): Likewise.
25847 (cosh_test_towardzero): Likewise.
25848 (cosh_test_downward): Likewise.
25849 (cosh_test_upward): Likewise.
25850 (cpow_test): Likewise.
25851 (cproj_test): Likewise.
25852 (creal_test): Likewise.
25853 (csin_test): Likewise.
25854 (csinh_test): Likewise.
25855 (csqrt_test): Likewise.
25856 (ctan_test): Likewise.
25857 (ctan_test_tonearest): Likewise.
25858 (ctan_test_towardzero): Likewise.
25859 (ctan_test_downward): Likewise.
25860 (ctan_test_upward): Likewise.
25861 (ctanh_test): Likewise.
25862 (ctanh_test_tonearest): Likewise.
25863 (ctanh_test_towardzero): Likewise.
25864 (ctanh_test_downward): Likewise.
25865 (ctanh_test_upward): Likewise.
25866 (erf_test): Likewise.
25867 (erfc_test): Likewise.
25868 (exp_test): Likewise.
25869 (exp_test_tonearest): Likewise.
25870 (exp_test_towardzero): Likewise.
25871 (exp_test_downward): Likewise.
25872 (exp_test_upward): Likewise.
25873 (exp10_test): Likewise.
25874 (exp10_test_tonearest): Likewise.
25875 (exp10_test_towardzero): Likewise.
25876 (exp10_test_downward): Likewise.
25877 (exp10_test_upward): Likewise.
25878 (pow10_test): Likewise.
25879 (exp2_test): Likewise.
25880 (expm1_test): Likewise.
25881 (expm1_test_tonearest): Likewise.
25882 (expm1_test_towardzero): Likewise.
25883 (expm1_test_downward): Likewise.
25884 (expm1_test_upward): Likewise.
25885 (fabs_test): Likewise.
25886 (fdim_test): Likewise.
25887 (floor_test): Likewise.
25888 (fma_test): Likewise.
25889 (fma_test_towardzero): Likewise.
25890 (fma_test_downward): Likewise.
25891 (fma_test_upward): Likewise.
25892 (fmax_test): Likewise.
25893 (fmin_test): Likewise.
25894 (fmod_test): Likewise.
25895 (fpclassify_test): Likewise.
25896 (frexp_test): Likewise.
25897 (hypot_test): Likewise.
25898 (ilogb_test): Likewise.
25899 (isfinite_test): Likewise.
25900 (finite_test): Likewise.
25901 (isgreater_test): Likewise.
25902 (isgreaterequal_test): Likewise.
25903 (isinf_test): Likewise.
25904 (isless_test): Likewise.
25905 (islessequal_test): Likewise.
25906 (islessgreater_test): Likewise.
25907 (isnan_test): Likewise.
25908 (isnormal_test): Likewise.
25909 (issignaling_test): Likewise.
25910 (isunordered_test): Likewise.
25911 (j0_test): Likewise.
25912 (j1_test): Likewise.
25913 (jn_test): Likewise.
25914 (ldexp_test): Likewise.
25915 (lgamma_test): Likewise.
25916 (gamma_test): Likewise.
25917 (lrint_test): Likewise.
25918 (lrint_test_tonearest): Likewise.
25919 (lrint_test_towardzero): Likewise.
25920 (lrint_test_downward): Likewise.
25921 (lrint_test_upward): Likewise.
25922 (llrint_test): Likewise.
25923 (llrint_test_tonearest): Likewise.
25924 (llrint_test_towardzero): Likewise.
25925 (llrint_test_downward): Likewise.
25926 (llrint_test_upward): Likewise.
25927 (log_test): Likewise.
25928 (log10_test): Likewise.
25929 (log1p_test): Likewise.
25930 (log2_test): Likewise.
25931 (logb_test): Likewise.
25932 (logb_test_downward): Likewise.
25933 (lround_test): Likewise.
25934 (llround_test): Likewise.
25935 (modf_test): Likewise.
25936 (nearbyint_test): Likewise.
25937 (nextafter_test): Likewise.
25938 (nexttoward_test): Likewise.
25939 (pow_test): Likewise.
25940 (pow_test_tonearest): Likewise.
25941 (pow_test_towardzero): Likewise.
25942 (pow_test_downward): Likewise.
25943 (pow_test_upward): Likewise.
25944 (remainder_test): Likewise.
25945 (drem_test): Likewise.
25946 (remainder_test_tonearest): Likewise.
25947 (drem_test_tonearest): Likewise.
25948 (remainder_test_towardzero): Likewise.
25949 (drem_test_towardzero): Likewise.
25950 (remainder_test_downward): Likewise.
25951 (drem_test_downward): Likewise.
25952 (remainder_test_upward): Likewise.
25953 (drem_test_upward): Likewise.
25954 (remquo_test): Likewise.
25955 (rint_test): Likewise.
25956 (rint_test_tonearest): Likewise.
25957 (rint_test_towardzero): Likewise.
25958 (rint_test_downward): Likewise.
25959 (rint_test_upward): Likewise.
25960 (round_test): Likewise.
25961 (scalb_test): Likewise.
25962 (scalbn_test): Likewise.
25963 (scalbln_test): Likewise.
25964 (signbit_test): Likewise.
25965 (sin_test): Likewise.
25966 (sin_test_tonearest): Likewise.
25967 (sin_test_towardzero): Likewise.
25968 (sin_test_downward): Likewise.
25969 (sin_test_upward): Likewise.
25970 (sincos_test): Likewise.
25971 (sinh_test): Likewise.
25972 (sinh_test_tonearest): Likewise.
25973 (sinh_test_towardzero): Likewise.
25974 (sinh_test_downward): Likewise.
25975 (sinh_test_upward): Likewise.
25976 (sqrt_test): Likewise.
25977 (sqrt_test_tonearest): Likewise.
25978 (sqrt_test_towardzero): Likewise.
25979 (sqrt_test_downward): Likewise.
25980 (sqrt_test_upward): Likewise.
25981 (tan_test): Likewise.
25982 (tan_test_tonearest): Likewise.
25983 (tan_test_towardzero): Likewise.
25984 (tan_test_downward): Likewise.
25985 (tan_test_upward): Likewise.
25986 (tanh_test): Likewise.
25987 (tgamma_test): Likewise.
25988 (trunc_test): Likewise.
25989 (y0_test): Likewise.
25990 (y1_test): Likewise.
25991 (yn_test): Likewise.
25992 (significand_test): Likewise.
25993
25994 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25995 individual tests in comment.
25996 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25997 (prev_max_error): New variable.
25998 (prev_real_max_error): Likewise.
25999 (prev_imag_max_error): Likewise.
26000 (compare_ulp_data): Don't refer to test names in comment.
26001 (find_test_ulps): Remove function.
26002 (find_function_ulps): Likewise.
26003 (find_complex_function_ulps): Likewise.
26004 (init_max_error): Take function name as argument. Look up ulps
26005 for that function.
26006 (print_ulps): Remove function.
26007 (print_max_error): Use prev_max_error instead of calling
26008 find_function_ulps.
26009 (print_complex_max_error): Use prev_real_max_error and
26010 prev_imag_max_error instead of calling find_complex_function_ulps.
26011 (check_float_internal): Take max_ulp parameter instead of calling
26012 find_test_ulps. Don't call print_ulps.
26013 (check_float): Update call to check_float_internal.
26014 (check_complex): Update calls to check_float_internal.
26015 (START): Pass argument to init_max_error.
26016 * math/gen-libm-test.pl (%results): Don't include "kind"
26017 information.
26018 (parse_ulps): Don't handle ulps of individual tests.
26019 (print_ulps_file): Likewise.
26020 (output_ulps): Likewise.
26021 * math/README.libm-test: Update.
26022 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26023 individual tests.
26024 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26025 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26026 * sysdeps/arm/libm-test-ulps: Likewise.
26027 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26028 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26029 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26030 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26031 * sysdeps/microblaze/libm-test-ulps: Likewise.
26032 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26033 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26035 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26036 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26037 * sysdeps/sh/libm-test-ulps: Likewise.
26038 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26039 * sysdeps/tile/libm-test-ulps: Likewise.
26040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26041
26042 2014-03-04 Joseph Myers <joseph@codesourcery.com>
26043
26044 * math/libm-test.inc (print_complex_max_error): Check separately
26045 whether real and imaginary errors are within allowed range and
26046 pass 0 to print_complex_function_ulps instead of value within
26047 allowed range.
26048
26049 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26050
26051 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26052 formatting.
26053 (get_handles_fopen): Likewise.
26054 (do_write_test): Likewise.
26055
26056 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26057
26058 * libio/fileops.c (do_ftell): Use cached offset when
26059 available.
26060 * libio/iofwide.c (do_ftell_wide): Likewise.
26061 * libio/iofdopen.c (_IO_new_fdopen): Don't use
26062 _IO_file_attach.
26063 * libio/wfileops.c (_IO_fwide): Don't cache offset.
26064
26065 [BZ #16532]
26066 * libio/libioP.h (get_file_offset): New function.
26067 * libio/fileops.c (get_file_offset): Likewise.
26068 (do_ftell): Likewise.
26069 (_IO_new_file_seekoff): Split out ftell logic.
26070 * libio/wfileops.c (do_ftell_wide): Likewise.
26071 (_IO_wfile_seekoff): Split out ftell logic.
26072 * libio/tst-ftell-active-handler.c: New test case.
26073 * libio/Makefile (tests): Add it.
26074
26075 2014-03-03 Roland McGrath <roland@hack.frob.com>
26076
26077 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26078 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26079
26080 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26081
26082 [BZ #16639]
26083 * nscd/connections.c (nscd_init): Call do_exit.
26084 (start_threads): Call do_exit and notify_parent.
26085 (begin_drop_privileges): Call do_exit.
26086 (finish_drop_privileges): Likewise.
26087 * nscd/selinux.c (preserve_capabilities): Likewise.
26088 (install_real_capabilities): Likewise.
26089 (nscd_selinux_enabled): Likewise.
26090 (avc_create_thread): Likewise.
26091 (avc_alloc_lock): Likewise.
26092 (nscd_avc_init): Likewise.
26093 * nscd/nscd.c (parent_fd): New static variable.
26094 (main): Create a pipe between parent and child processes.
26095 Skip closing parent_fd.
26096 (monitor_child): New function.
26097 (do_exit): Likewise.
26098 (notify_parent): Likewise.
26099 * nscd/nscd.h (notify_parent): Likewise.
26100 (do_exit): Likewise.
26101
26102 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26103
26104 * malloc/malloc.c (__libc_calloc): Revert last change.
26105
26106 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26107
26108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26109
26110 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26111
26112 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26114 implementation.
26115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26116 (__libc_ifunc_impl_list): Likewise.
26117 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26119 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26120 * string/strrchr.c: Define STRRCHR.
26121
26122 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26123
26124 * benchtest/bench-strtok.c (simple_strtok): Delete.
26125 (strtok_string): Use as benchmark.
26126 * string/strtok (STRTOK): New macro.
26127
26128 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26129
26130 * manual/threads.texi: Add header and standard comments to all
26131 functions.
26132
26133 * elf/dl-lookup.c (check_match): New function.
26134 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26135 (do_lookup_x): Remove nested function check_match. Use non-nested
26136 function check_match.
26137
26138 2014-02-28 Roland McGrath <roland@hack.frob.com>
26139
26140 * csu/Makefile (generated, before-compile): Use += rather than =.
26141 * catgets/Makefile (generated, generated-dirs): Likewise.
26142 * debug/Makefile (generated): Likewise.
26143 * dlfcn/Makefile (generated): Likewise.
26144 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26145 * iconvdata/Makefile (before-compile, generated): Likewise.
26146 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26147 * libio/Makefile (generated): Likewise.
26148 * malloc/Makefile (generated): Likewise.
26149 * manual/Makefile (generated, generated-dirs): Likewise.
26150 * misc/Makefile (generated): Likewise.
26151 * posix/Makefile (generated): Likewise.
26152 * resolv/Makefile (generated): Likewise.
26153 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26154 * timezone/Makefile (generated, generated-dirs): Likewise.
26155
26156 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26157
26158 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26159
26160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26161 power8 implementation.
26162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26163 file: POWER8 llround ifunc implementation.
26164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26165 (__lllround): Add POWER8 implementation.
26166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26167 POWER8 llround implementation.
26168
26169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26170 power8 implementation.
26171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26172 file: POWER8 llrint ifunc implementation.
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26174 Add POWER8 implementation.
26175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26176 POWER8 llrint implementation.
26177
26178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26179 power8 implementation.
26180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26181 file: POWER8 finite ifunc implementation.
26182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26183 Add POWER8 implementation.
26184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26185 Likewise.
26186 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26187 POWER8 finite implementation.
26188 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26189
26190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26191 power8 implementation.
26192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26193 file: POWER8 isinf ifunc implementation.
26194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26195 POWER8 implementation.
26196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26197 Likewise.
26198 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26199 isinf implementation.
26200 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26201
26202 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26203 (INIT_ARCH): Add hwcap2 initialization.
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26205 power8 implementation.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26207 file: POWER8 isnan ifunc implementation.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26209 POWER8 implementation.
26210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26211 Likewise.
26212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26213 isnan implementation.
26214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26215
26216 2014-02-27 Joey Ye <joey.ye@arm.com>
26217
26218 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26219 (_FP_NANFRAC_Q): Set to zero.
26220
26221 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26222
26223 [BZ #16623]
26224 * math/auto-libm-test-in: New test inputs.
26225 * math/auto-libm-test-out: Regenerate.
26226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26227 and DA.
26228 (__cos): Likewise.
26229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26230
26231 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26232
26233 * scripts/evaluate-test.sh: Take new argument indicating whether
26234 failure is expected.
26235 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26236 indicating whether failure is expected.
26237 * conform/Makefile (test-xfail-run-conformtest): New variable.
26238 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26239 level.
26240 * posix/Makefile (test-xfail-annexc): New variable.
26241 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26242
26243 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26244
26245 * argp/Makefile: Include Makeconfig immediately after defining
26246 subdir.
26247 * assert/Makefile: Likewise.
26248 * benchtests/Makefile: Likewise.
26249 * catgets/Makefile: Likewise.
26250 * conform/Makefile: Likewise.
26251 * crypt/Makefile: Likewise.
26252 * csu/Makefile: Likewise.
26253 (all): Remove target.
26254 * ctype/Makefile: Include Makeconfig immediately after defining
26255 subdir.
26256 * debug/Makefile: Likewise.
26257 * dirent/Makefile: Likewise.
26258 * dlfcn/Makefile: Likewise.
26259 * gmon/Makefile: Likewise.
26260 * gnulib/Makefile: Likewise.
26261 * grp/Makefile: Likewise.
26262 * gshadow/Makefile: Likewise.
26263 * hesiod/Makefile: Likewise.
26264 * hurd/Makefile: Likewise.
26265 (all): Remove target.
26266 * iconvdata/Makefile: Include Makeconfig immediately after
26267 defining subdir.
26268 * inet/Makefile: Likewise.
26269 * intl/Makefile: Likewise.
26270 * io/Makefile: Likewise.
26271 * libio/Makefile: Likewise.
26272 (all): Remove target.
26273 * locale/Makefile: Include Makeconfig immediately after defining
26274 subdir.
26275 * login/Makefile: Likewise.
26276 * mach/Makefile: Likewise.
26277 (all): Remove target.
26278 * malloc/Makefile: Include Makeconfig immediately after defining
26279 subdir.
26280 (all): Remove target.
26281 * manual/Makefile: Include Makeconfig immediately after defining
26282 subdir.
26283 * math/Makefile: Likewise.
26284 * misc/Makefile: Likewise.
26285 * nis/Makefile: Likewise.
26286 * nss/Makefile: Likewise.
26287 * po/Makefile: Likewise.
26288 (all): Remove target.
26289 * posix/Makefile: Include Makeconfig immediately after defining
26290 subdir.
26291 * pwd/Makefile: Likewise.
26292 * resolv/Makefile: Likewise.
26293 * resource/Makefile: Likewise.
26294 * rt/Makefile: Likewise.
26295 * setjmp/Makefile: Likewise.
26296 * shadow/Makefile: Likewise.
26297 * signal/Makefile: Likewise.
26298 * socket/Makefile: Likewise.
26299 * soft-fp/Makefile: Likewise.
26300 * stdio-common/Makefile: Likewise.
26301 * stdlib/Makefile: Likewise.
26302 * streams/Makefile: Likewise.
26303 * string/Makefile: Likewise.
26304 * sunrpc/Makefile: Likewise.
26305 (all): Remove target.
26306 * sysvipc/Makefile: Include Makeconfig immediately after defining
26307 subdir.
26308 * termios/Makefile: Likewise.
26309 * time/Makefile: Likewise.
26310 * timezone/Makefile: Likewise.
26311 (all): Remove target.
26312 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26313 subdir.
26314 * wctype/Makefile: Likewise.
26315
26316 2014-02-26 Steve Ellcey <sellcey@mips.com>
26317
26318 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26319 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26320 (libc_feholdexcept_setround_mips): Ditto.
26321 (libc_feholdsetround): New.
26322 (libc_feholdsetroundf): New.
26323 (libc_feholdsetroundl): New.
26324 (libc_feupdateenv_test_mips): New.
26325 (libc_feupdateenv_test): New.
26326 (libc_feupdateenv_testf): New.
26327 (libc_feupdateenv_testl): New.
26328 (libc_feresetround): New.
26329 (libc_feresetroundf): New.
26330 (libc_feresetroundl): New.
26331 (libc_fetestexcept_mips): New.
26332 (libc_fetestexcept): New.
26333 (libc_fetestexceptf): New.
26334 (libc_fetestexceptl): New.
26335 (HAVE_RM_CTX): New.
26336 (libc_feholdexcept_setround_mips_ctx): New.
26337 (libc_feholdexcept_setround_ctx): New.
26338 (libc_feholdexcept_setroundf_ctx): New.
26339 (libc_feholdexcept_setroundl_ctx): New.
26340 (libc_fesetenv_mips_ctx): New.
26341 (libc_fesetenv_ctx): New.
26342 (libc_fesetenv_ctxf): New.
26343 (libc_fesetenv_ctxl): New.
26344 (libc_feupdateenv_mips_ctx): New.
26345 (libc_feupdateenv_ctx): New.
26346 (libc_feupdateenvf_ctx): New.
26347 (libc_feupdateenvl_ctx): New.
26348 (libc_feholdsetround_mips_ctx): New.
26349 (libc_feholdsetround_ctx): New.
26350 (libc_feholdsetroundf_ctx): New.
26351 (libc_feholdsetroundl_ctx): New.
26352 (libc_feresetround_mips_ctx): New.
26353 (libc_feresetround_ctx): New.
26354 (libc_feresetroundf_ctx): New.
26355 (libc_feresetroundl_ctx): New.
26356
26357 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26358
26359 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26360
26361 * manual/ipc.texi: New file.
26362 * manual/Makefile (chapters): Add ipc.
26363 * manual/job.texi: Add "Inter-Process Communication" to next.
26364 * manual/process.texi: Add "Inter-Process Communication" to prev.
26365
26366 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26367
26368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26369
26370 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26371
26372 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26373
26374 * manual/arith.texi: Fix spaces after sentences.
26375 * manual/charset.texi: Likewise.
26376 * manual/errno.texi: Likewise.
26377 * manual/install.texi: Likewise.
26378 * manual/llio.texi: Likewise.
26379 * manual/locale.texi: Likewise.
26380 * manual/maint.texi: Likewise.
26381 * manual/math.texi: Likewise.
26382 * manual/memory.texi: Likewise.
26383 * manual/message.texi: Likewise.
26384 * manual/probes.texi: Likewise.
26385 * manual/resource.texi: Likewise.
26386 * manual/signal.texi: Likewise.
26387 * manual/socket.texi: Likewise.
26388 * manual/stdio.texi: Likewise.
26389 * manual/string.texi: Likewise.
26390 * manual/time.texi: Likewise.
26391 * manual/users.texi: Likewise.
26392
26393 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26394
26395 [BZ #16632]
26396 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26397 _DEFAULT_SOURCE is defined.
26398
26399 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26400 Carlos O'Donell <carlos@redhat.com>
26401
26402 [BZ #16613]
26403 * elf/dl-tls.c (_dl_count_modids): New function.
26404 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26405 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26406 audit library and increment generation counter.
26407 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26408 * elf/tst-audit9.c: New file.
26409 * elf/tst-auditmod9a.c: New file.
26410 * elf/tst-auditmod9b.c: New file.
26411 * elf/Makefile: Add rules to build and run tst-audit9.
26412
26413 2014-02-25 Florian Weimer <fweimer@redhat.com>
26414
26415 [BZ #15347]
26416 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26417
26418 2014-02-25 Will Newton <will.newton@linaro.org>
26419
26420 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26421 (__longjmp): Restore sp and lr before restoring callee
26422 saved registers. Add longjmp and longjmp_target
26423 SystemTap probe point.
26424 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26425 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26426 Define to zero to match jmpbuf layout.
26427 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26428 (__sigsetjmp): Save sp and lr before saving callee
26429 saved registers. Add setjmp SystemTap probe point.
26430
26431 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26432
26433 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26434
26435 2014-02-24 Andreas Schwab <schwab@suse.de>
26436
26437 [BZ #15804]
26438 * elf/pldd.c (wait_for_ptrace_stop): New function.
26439 (main): Call it after attaching.
26440
26441 2014-02-22 Roland McGrath <roland@hack.frob.com>
26442
26443 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26444 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26445 Versions files is now verboten.
26446 * hurd/Versions (libc: GLIBC_2.0):
26447 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26448 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26449 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26450 * mach/Versions: Likewise.
26451
26452 * csu/Versions: Remove unused %include.
26453 * resolv/Versions: Likewise.
26454
26455 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26456
26457 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26458 ($(objpfx)check-local-headers.out): Likewise.
26459 ($(objpfx)begin-end-check.out): Likewise.
26460 * Makerules (check-abi-%.out): Likewise.
26461 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26462 ($(objpfx)test2.cat): Likewise.
26463 ($(objpfx)de/libc.cat): Likewise.
26464 ($(objpfx)test-gencat.out): Likewise.
26465 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26466 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26467 ($(objpfx)noload-mem): Likewise.
26468 ($(objpfx)tst-pathopt.out): Likewise.
26469 ($(objpfx)tst-rtld-load-self.out): Likewise.
26470 ($(objpfx)tst-array1-cmp.out): Likewise.
26471 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26472 ($(objpfx)tst-array2-cmp.out): Likewise.
26473 ($(objpfx)tst-array3-cmp.out): Likewise.
26474 ($(objpfx)tst-array4-cmp.out): Likewise.
26475 ($(objpfx)tst-array5-cmp.out): Likewise.
26476 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26477 ($(objpfx)check-textrel.out): Likewise.
26478 ($(objpfx)check-execstack.out): Likewise.
26479 ($(objpfx)check-localplt.out): Likewise.
26480 ($(objpfx)order2-cmp.out): Likewise.
26481 ($(objpfx)tst-leaks1-mem): Likewise.
26482 ($(objpfx)tst-leaks1-static-mem): Likewise.
26483 ($(objpfx)tst-initorder-cmp.out): Likewise.
26484 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26485 ($(objpfx)tst-unused-dep.out): Likewise.
26486 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26488 * iconv/Makefile (test-iconvconfig): Likewise.
26489 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26490 ($(objpfx)iconv-test.out): Likewise.
26491 ($(objpfx)tst-tables.out): Likewise.
26492 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26493 ($(objpfx)tst-gettext.out): Likewise.
26494 ($(objpfx)tst-translit.out): Likewise.
26495 ($(objpfx)tst-gettext2.out): Likewise.
26496 ($(objpfx)tst-gettext4.out): Likewise.
26497 ($(objpfx)tst-gettext6.out): Likewise.
26498 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26499 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26500 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26501 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26502 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26503 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26504 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26505 ($(objpfx)wordexp-tst.out): Likewise.
26506 ($(objpfx)annexc.out): Likewise.
26507 ($(objpfx)tst-fnmatch-mem): Likewise.
26508 ($(objpfx)bug-regex2-mem): Likewise.
26509 ($(objpfx)bug-regex14-mem): Likewise.
26510 ($(objpfx)bug-regex21-mem): Likewise.
26511 ($(objpfx)bug-regex31-mem): Likewise.
26512 ($(objpfx)tst-vfork3-mem): Likewise.
26513 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26514 ($(objpfx)tst-pcre-mem): Likewise.
26515 ($(objpfx)tst-boost-mem): Likewise.
26516 ($(objpfx)tst-getconf.out): Likewise.
26517 ($(objpfx)bug-ga2-mem): Likewise.
26518 ($(objpfx)bug-glob2-mem): Likewise.
26519 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26520 ($(objpfx)mtrace-tst-leaks2): Likewise.
26521 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26522 ($(objpfx)tst-printf.out): Likewise.
26523 ($(objpfx)tst-setvbuf1.out): Likewise.
26524 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26525 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26526 ($(objpfx)tst-fmtmsg.out): Likewise.
26527 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26528 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26529
26530 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26531 * bits/sigaction.h [__USE_MISC]: Likewise.
26532 * bits/waitstatus.h: Update #endif comments.
26533 * ctype/ctype.h: Likewise.
26534 * dirent/dirent.h: Likewise.
26535 [__USE_MISC]: Remove redundant conditionals.
26536 * grp/grp.h: Update #endif comments.
26537 [__USE_GNU]: Remove redundant conditionals.
26538 [__USE_MISC]: Likewise.
26539 * inet/netinet/in.h [__USE_GNU]: Likewise.
26540 * io/sys/stat.h [__USE_MISC]: Likewise.
26541 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26542 * libio/bits/stdio.h: Update #endif comments.
26543 [__USE_MISC]: Remove redundant conditionals.
26544 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26545 * libio/stdio.h: Update #endif comments.
26546 [__USE_MISC]: Remove redundant conditionals.
26547 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26548 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26549 * math/math.h: Update #else and #endif comments.
26550 [__USE_MISC]: Remove redundant conditionals.
26551 * misc/sys/uio.h: Update #endif comments.
26552 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26553 * posix/glob.h [__USE_MISC]: Likewise.
26554 * posix/sys/types.h: Update #endif comments.
26555 [__USE_MISC]: Remove redundant conditionals.
26556 * posix/sys/wait.h: Update #endif comments.
26557 [__USE_MISC]: Remove redundant conditionals.
26558 * posix/unistd.h: Update #endif comments.
26559 [__USE_MISC]: Remove redundant conditionals.
26560 * pwd/pwd.h [__USE_GNU]: Likewise.
26561 [__USE_MISC]: Likewise.
26562 * resolv/netdb.h [__USE_GNU]: Likewise.
26563 * signal/signal.h: Update #endif comments.
26564 [__USE_MISC]: Remove redundant conditionals.
26565 * stdlib/stdlib.h: Update #else and #endif comments.
26566 [__USE_MISC]: Remove redundant conditionals.
26567 [__USE_GNU]: Likewise.
26568 * string/bits/string2.h [__USE_MISC]: Likewise.
26569 * string/string.h: Update #endif comments.
26570 [__USE_MISC]: Remove redundant conditionals.
26571 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26572 Likewise.
26573 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26574 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26575 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26576 Likewise.
26577 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26578 Likewise.
26579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26580 comments.
26581 [__USE_MISC]: Remove redundant conditionals.
26582 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26583 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26584 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26585 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26586 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26587 Likewise.
26588 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26589 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26590 Likewise.
26591 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26593 Likewise.
26594 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26595 Likewise.
26596 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26597 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26598 Likewise.
26599 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26600 Likewise.
26601 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26602 * sysdeps/x86/bits/string.h: Update #endif comments.
26603 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26604 conditionals.
26605 * time/sys/time.h: Update #endif comments.
26606 * time/time.h: Likewise.
26607 [__USE_MISC]: Remove redundant conditionals.
26608
26609 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26610
26611 [BZ #16600]
26612 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26613
26614 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26615
26616 * Versions.def (librt): Add GLIBC_2.17.
26617
26618 2014-02-21 Adam Conrad <adconrad@0c3.net>
26619
26620 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26621 synonym for _SYS_AUXV_H to allow direct inclusion.
26622 * sysdeps/sparc/bits/hwcap.h: Likewise.
26623 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26624 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26625 * sysdeps/sparc/sysdep.h: Likewise.
26626
26627 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26628
26629 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26630
26631 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26632
26633 * benchtests/bench-strrchr.c: Print length instead of position.
26634
26635 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26636
26637 [BZ #16611]
26638 * sysdeps/unix/sysv/linux/kernel-features.h
26639 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26640 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26641 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26642 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26643 Likewise.
26644 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26645 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26646 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26647 (__ASSUME_SENDMMSG): Define instead of using previous
26648 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26649 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26650 (__ASSUME_SENDMMSG_SYSCALL): Define.
26651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26652 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26653 Likewise.
26654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26655 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26656 Likewise.
26657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26658 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26659 Likewise.
26660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26661 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26662 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26663 [__ASSUME_SENDMMSG]: Change conditionals to
26664 [__ASSUME_SENDMMSG_SOCKETCALL].
26665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26666 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26667 Define.
26668 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26669 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26670 Likewise.
26671 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26672 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26673 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26674 [!__ASSUME_SENDMMSG]: Change conditional to
26675 [!__ASSUME_SENDMMSG_SOCKETCALL].
26676 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26677 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26678 Define.
26679
26680 [BZ #16610]
26681 * sysdeps/unix/sysv/linux/kernel-features.h
26682 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26683 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26684 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26685 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26686 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26687 [__i386__ || __sparc__]
26688 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26689 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26690 (__ASSUME_RECVMMSG): Define instead of using previous
26691 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26692 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26693 (__ASSUME_RECVMMSG_SYSCALL): Define.
26694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26695 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26696 Likewise.
26697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26698 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26699 Likewise.
26700 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26701 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26702 Likewise.
26703 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26704 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26705 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26706 [__ASSUME_RECVMMSG]: Change condition to
26707 [__ASSUME_RECVMMSG_SOCKETCALL].
26708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26710 Define.
26711 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26713 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26714 Likewise.
26715 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26716 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26717 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26718 [!__ASSUME_RECVMMSG]: Change condition to
26719 [!__ASSUME_RECVMMSG_SOCKETCALL].
26720 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26721 (__ASSUME_RECVMMSG_SYSCALL): Define.
26722
26723 [BZ #16609]
26724 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26725 __powerpc__ || __s390__ || __sh__ || __sparc__]
26726 (__ASSUME_SOCKETCALL): Define.
26727 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26728 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26729 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26730 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26731 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26732 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26733 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26734 (__ASSUME_ACCEPT4): Define instead of using previous
26735 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26736 __powerpc__ || __sparc__ || __s390__)] condition.
26737 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26738 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26739 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26740 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26741 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26742 [!__ASSUME_ACCEPT4]: Change condition to
26743 [!__ASSUME_ACCEPT4_SOCKETCALL].
26744 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26745 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26746 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26748 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26749 __ASSUME_ACCEPT4_SYSCALL.
26750 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26751 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26753 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26754 __ASSUME_ACCEPT4_SYSCALL.
26755 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26756 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26757 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26758 [__ASSUME_ACCEPT4]: Change condition to
26759 [__ASSUME_ACCEPT4_SOCKETCALL].
26760 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26761 (__ASSUME_SOCKETCALL): Define.
26762 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26764 (__ASSUME_SOCKETCALL): Define.
26765 (__ASSUME_ACCEPT4): Remove.
26766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26767 Define.
26768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26769 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26770 Likewise.
26771 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26772 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26773
26774 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26775 macro.
26776 (HWCAP_ARM_LPAE): Likewise.
26777 (HWCAP_ARM_EVTSTRM): Likewise.
26778 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26779 Add vpfd32, lpae and evtstrm.
26780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26781 Increase to 22.
26782
26783 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26784
26785 * math/auto-libm-test-in: Add tests of clog10.
26786 * math/auto-libm-test-out: Regenerated.
26787 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26788 * sysdeps/i386/fpu/libm-test-ulps: Update.
26789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790
26791 2014-02-18 Andreas Schwab <schwab@suse.de>
26792
26793 [BZ #16574]
26794 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26795 Store non-zero if the second buffer was newly allocated.
26796 (send_dg): Likewise.
26797 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26798 to send_vc and send_dg.
26799 (res_nsend): Pass NULL for ansp2_malloced.
26800 * resolv/res_query.c (__libc_res_nquery): Add parameter
26801 answerp2_malloced and pass it down to __libc_res_nsend.
26802 (res_nquery): Pass additional NULL to __libc_res_nquery.
26803 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26804 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26805 second answer buffer if answerp2_malloced was set.
26806 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26807 (__libc_res_nquerydomain): Add parameter
26808 answerp2_malloced and pass it down to __libc_res_nquery.
26809 (res_nquerydomain): Pass additional NULL to
26810 __libc_res_nquerydomain.
26811 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26812 additional NULL to __libc_res_nsend and __libc_res_nquery.
26813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26814 additional NULL to __libc_res_nsearch.
26815 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26816 parameter of __libc_res_nsearch to check for separately allocated
26817 second buffer.
26818 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26819 __libc_res_nquery.
26820 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26821 additional NULL to __libc_res_nquery.
26822 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26823 __libc_res_nsearch.
26824 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26825 * include/resolv.h: Update prototypes of __libc_res_nquery,
26826 __libc_res_nsearch, __libc_res_nsend.
26827
26828 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26829
26830 * math/auto-libm-test-in: Add tests of fma.
26831 * math/auto-libm-test-out: Regenerated.
26832 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26833 (fma_towardzero_test_data): Likewise.
26834 (fma_downward_test_data): Likewise.
26835 (fma_upward_test_data): Likewise.
26836 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26837 mpc_mode.
26838 (rounding_modes): Add values for new field.
26839 (func_calc_method): Add value mpfr_fff_f.
26840 (func_calc_desc): Add mpfr_fff_f union field.
26841 (test_function): Add field exact_args.
26842 (FUNC): Add macro argument EXACT_ARGS.
26843 (FUNC_mpfr_f_f): Update call to FUNC.
26844 (FUNC_mpfr_f_f): Likewise.
26845 (FUNC_mpfr_ff_f): Likewise.
26846 (FUNC_mpfr_if_f): Likewise.
26847 (FUNC_mpc_c_f): Likewise.
26848 (FUNC_mpc_c_c): Likewise.
26849 (test_functions): Add fma. Update calls to FUNC.
26850 (handle_input_arg): Add argument exact_args.
26851 (add_test): Update call to handle_input_arg.
26852 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26853 (output_for_one_input_case): Update call to calc_generic_results.
26854 Recalculate exact zero results in each rounding mode.
26855
26856 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26857 non-negative before setting low bit.
26858 * math/auto-libm-test-in: Mark one asin test possibly having
26859 spurious underflow.
26860 * math/auto-libm-test-out: Regenerated.
26861 * sysdeps/i386/fpu/libm-test-ulps: Update.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863
26864 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26865
26866 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26867 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26868 ports/sysdeps/unix/sysv/linux/microblaze.
26869 * README: Add missing listing for microblaze*-*-linux-gnu.
26870
26871 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26872
26873 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26874 duplicate code
26875
26876 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26877
26878 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26879 * sysdeps/unix/sysv/linux/ia64: Move directory from
26880 ports/sysdeps/unix/sysv/linux/ia64.
26881 * README: Update listing for ia64-*-linux-gnu.
26882
26883 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26884 Joseph Myers <joseph@codesourcery.com>
26885
26886 * Makeconfig (test-name): New variable.
26887 (evaluate-test): Likewise.
26888 * Makerules (do-test-clean): Remove .test-result files.
26889 (common-mostlyclean): Likewise.
26890 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26891 * scripts/evaluate-test.sh: New file.
26892
26893 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26894
26895 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26896 separate $(objpfx)tst-fopenloc-cmp.out and
26897 $(objpfx)tst-fopenloc-mem.out targets.
26898 (tests): Update dependencies.
26899 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26900 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26901 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26902 (tst-rxspencer-no-utf8-ARGS): New variable.
26903 (tst-rxspencer-no-utf8-ENV): Likewise.
26904 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26905 instead of $(objpfx)tst-rxspencer-mem.
26906 ($(objpfx)tst-rxspencer-mem): Change target to
26907 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26908 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26909 * posix/tst-rxspencer-no-utf8.c: New file.
26910
26911 * elf/Makefile ($(objpfx)order.out): Remove rule.
26912 [$(run-built-tests) = yes] (tests): Depend on
26913 $(objpfx)order-cmp.out.
26914 ($(objpfx)order-cmp.out): New rule.
26915 [$(run-built-tests) = yes] (tests): Depend on
26916 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26917 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26918 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26919 $(objpfx)tst-array5-static-cmp.out.
26920 ($(objpfx)tst-array1.out): Remove rule.
26921 ($(objpfx)tst-array1-cmp.out): New rule.
26922 ($(objpfx)tst-array1-static.out): Remove rule.
26923 ($(objpfx)tst-array1-static-cmp.out): New rule.
26924 ($(objpfx)tst-array2.out): Remove rule.
26925 ($(objpfx)tst-array2-cmp.out): New rule.
26926 ($(objpfx)tst-array3.out): Remove rule.
26927 ($(objpfx)tst-array3-cmp.out): New rule.
26928 ($(objpfx)tst-array4.out): Remove rule.
26929 ($(objpfx)tst-array4-cmp.out): New rule.
26930 ($(objpfx)tst-array5.out): Remove rule.
26931 ($(objpfx)tst-array5-cmp.out): New rule.
26932 ($(objpfx)tst-array5-static.out): Remove rule.
26933 ($(objpfx)tst-array5-static-cmp.out): New rule.
26934 [$(run-built-tests) = yes] (tests): Depend on
26935 $(objpfx)order2-cmp.out.
26936 ($(objpfx)order2.out): Remove rule.
26937 ($(objpfx)order2-cmp.out): New rule.
26938 ($(objpfx)tst-initorder.out): Remove rule.
26939 [$(run-built-tests) = yes] (tests): Depend on
26940 $(objpfx)tst-initorder-cmp.out.
26941 ($(objpfx)tst-initorder-cmp.out): New rule.
26942 ($(objpfx)tst-initorder2.out): Remove rule.
26943 [$(run-built-tests) = yes] (tests): Depend on
26944 $(objpfx)tst-initorder2-cmp.out.
26945 ($(objpfx)tst-initorder2-cmp.out): New rule.
26946 [$(run-built-tests) = yes] (tests): Depend on
26947 $(objpfx)tst-unused-dep-cmp.out.
26948 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26949 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26950 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26951 on $(objpfx)tst-setvbuf1-cmp.out.
26952 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26953 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26954 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26955 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26956 ($(objpfx)tst-svc.out): Remove rule.
26957 ($(objpfx)tst-svc-cmp.out): New rule.
26958
26959 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26960
26961 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26962 * ctype/ctype.h [__USE_MISC]: Likewise.
26963 * dirent/dirent.h [__USE_MISC]: Likewise.
26964 * grp/grp.h [__USE_MISC]: Likewise.
26965 * io/fcntl.h [__USE_MISC]: Likewise.
26966 * io/sys/stat.h [__USE_MISC]: Likewise.
26967 * libio/stdio.h [__USE_MISC]: Likewise.
26968 * posix/unistd.h [__USE_MISC]: Likewise.
26969 * pwd/pwd.h [__USE_MISC]: Likewise.
26970 * stdlib.h [__USE_MISC]: Likewise.
26971 * string/bits/string2.h [__USE_MISC]: Likewise.
26972 * string/string.h [__USE_MISC]: Likewise.
26973 * time/time.h [__USE_MISC]: Likewise.
26974
26975 2014-02-13 Andreas Schwab <schwab@suse.de>
26976
26977 [BZ #16574]
26978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26979 second answer buffer if it was separately allocated.
26980
26981 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26982
26983 * sysdeps/mips/math-tests.h: Include <features.h>.
26984 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26985 (ROUNDING_TESTS_long_double): Do not define.
26986 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26987 (EXCEPTION_TESTS_long_double): Likewise.
26988 * sysdeps/mips/mips64/libm-test-ulps: Update.
26989
26990 * include/features.h (__USE_BSD): Remove macro definitions.
26991 (__USE_SVID): Likewise.
26992 (_BSD_SOURCE): Likewise.
26993 (_SVID_SOURCE): Likewise.
26994 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26995 from definition of _DEFAULT_SOURCE.
26996 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26997 [_DEFAULT_SOURCE].
26998 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26999 * bits/mman.h [__USE_BSD]: Likewise.
27000 * bits/termios.h [__USE_BSD]: Likewise.
27001 * bits/waitstatus.h [__USE_BSD]: Likewise.
27002 * ctype/ctype.h [__USE_SVID]: Likewise.
27003 * dirent/dirent.h [__USE_BSD]: Likewise.
27004 * grp/grp.h [__USE_SVID]: Likewise.
27005 [__USE_BSD]: Likewise.
27006 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27007 * io/fcntl.h [__USE_BSD]: Likewise.
27008 * io/ftw.h [__USE_BSD]: Likewise.
27009 * io/sys/stat.h [__USE_BSD]: Likewise.
27010 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27011 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27012 * libio/stdio.h [__USE_SVID]: Likewise.
27013 [__USE_BSD]: Likewise.
27014 * math/math.h [__USE_SVID]: Likewise.
27015 [__USE_BSD]: Likewise.
27016 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27017 * misc/bits/syslog.h [__USE_BSD]: Likewise.
27018 * misc/search.h [__USE_SVID]: Likewise.
27019 * misc/sys/mman.h [__USE_BSD]: Likewise.
27020 * misc/sys/syslog.h [__USE_BSD]: Likewise.
27021 * misc/sys/uio.h [__USE_BSD]: Likewise.
27022 * posix/bits/unistd.h [__USE_BSD]: Likewise.
27023 * posix/glob.h [__USE_BSD]: Likewise.
27024 * posix/regex.h [__USE_BSD]: Likewise.
27025 * posix/sys/types.h [__USE_BSD]: Likewise.
27026 [__USE_SVID]: Likewise.
27027 * posix/sys/utsname.h [__USE_SVID]: Likewise.
27028 * posix/sys/wait.h [__USE_BSD]: Likewise.
27029 [__USE_SVID]: Likewise.
27030 * posix/unistd.h [__USE_BSD]: Likewise.
27031 [__USE_SVID]: Likewise.
27032 * pwd/pwd.h [__USE_SVID]: Likewise.
27033 * resolv/netdb.h [__USE_BSD]: Likewise.
27034 * setjmp/setjmp.h [__USE_BSD]: Likewise.
27035 * signal/signal.h [__USE_BSD]: Likewise.
27036 [__USE_SVID]: Likewise.
27037 * socket/sys/socket.h [__USE_BSD]: Likewise.
27038 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27039 * stdlib/stdlib.h [__USE_BSD]: Likewise.
27040 [__USE_SVID]: Likewise.
27041 * string/bits/string2.h [__USE_BSD]: Likewise.
27042 [__USE_SVID]: Likewise.
27043 * string/bits/string3.h [__USE_BSD]: Likewise.
27044 * string/endian.h [__USE_BSD]: Likewise.
27045 * string/string.h [__USE_SVID]: Likewise.
27046 [__USE_BSD]: Likewise.
27047 * string/strings.h [__USE_BSD]: Likewise.
27048 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27049 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27050 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27051 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27052 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27053 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27054 Likewise.
27055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27056 Likewise.
27057 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27058 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27059 Likewise.
27060 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27061 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27062 Likewise.
27063 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27064 Likewise.
27065 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27066 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27068 Likewise.
27069 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27070 Likewise.
27071 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27072 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27073 * termios/termios.h [__USE_BSD]: Likewise.
27074 * time/sys/time.h [__USE_BSD]: Likewise.
27075 * time/time.h [__USE_BSD]: Likewise.
27076 [__USE_SVID]: Likewise.
27077
27078 * Makefile (subdir_targets): Remove subdir_lint.out.
27079
27080 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27081 (do-tst-printf): Likewise.
27082 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27083 $(objpfx)tst-printf.out.
27084
27085 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27086
27087 * Makerules (check-abi-%): Change target to
27088 $(objpfx)check-abi-%.out.
27089 (check-abi target): Update dependencies.
27090 (check-abi-pattern variable): Redirect output of diff to $@.
27091 (check-abi variable): Likewise.
27092 * elf/Makefile (check-abi): Update dependencies.
27093
27094 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27095 unused.
27096 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27097 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27098 subnormal range.
27099 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27100 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27101 value has largest subnormal exponent.
27102 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27103 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27104 * sysdeps/aarch64/soft-fp/sfp-machine.h
27105 (_FP_TININESS_AFTER_ROUNDING): New macro.
27106 * sysdeps/alpha/soft-fp/sfp-machine.h
27107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27108 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27109 Likewise.
27110 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27111 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27112 * sysdeps/mips/soft-fp/sfp-machine.h
27113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27114 * sysdeps/powerpc/soft-fp/sfp-machine.h
27115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27116 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27117 Likewise.
27118 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27119 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27122 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27123 Likewise.
27124
27125 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27126
27127 [BZ #16545]
27128 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27129 model 1.
27130
27131 2014-02-12 Richard Henderson <rth@redhat.com>
27132
27133 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27134 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27135 * sysdeps/unix/sysv/linux/alpha: Move directory from
27136 ports/sysdeps/unix/sysv/linux/alpha.
27137 * README: Update listing for alpha-*-linux-gnu.
27138
27139 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27140
27141 * include/features.h: Update comment documenting feature test
27142 macros.
27143 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27144 _DEFAULT_SOURCE.
27145 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27146 (_SVID_SOURCE): Likewise.
27147 (_DEFAULT_SOURCE): Update description of default features.
27148 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27149 with _GNU_SOURCE.
27150 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27151 (S_ISVTX): Likewise.
27152 * manual/math.texi (Mathematical Constants): Likewise.
27153 * manual/signal.texi (Interrupted Primitives): Likewise.
27154 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27155 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27156 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27157 Don't refer to _SVID_SOURCE in warning text.
27158
27159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27160
27161 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27162 already defined.
27163 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27164 * sysdeps/mips/dl-lookup.c: Remove.
27165 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27166
27167 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27168
27169 [BZ #16447]
27170 * math/auto-libm-test-in: Add testcase for expl.
27171 * math/auto-libm-test-out: Regenerate.
27172 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27173 calculation of unsafe.
27174 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27175
27176 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27177
27178 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27179 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27180 ports/sysdeps/unix/sysv/linux/aarch64.
27181 * README: Update listing for aarch64*-*-linux-gnu.
27182
27183 2014-02-11 Will Newton <will.newton@linaro.org>
27184
27185 * manual/probes.texi (Mathematical Function Probes): Use
27186 "triggered" instead of "hit".
27187
27188 * manual/probes.texi (Internal Probes): Add documentation
27189 of setjmp, longjmp and longjmp_target probes.
27190
27191 * include/stap-probe.h: Add comment about probe argument
27192 format.
27193
27194 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27195 definition. (tr_where, tr_freehook, tr_mallochook,
27196 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27197
27198 2014-02-11 David S. Miller <davem@davemloft.net>
27199
27200 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27201 processing int_tests.
27202
27203 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27204
27205 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27206 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27207 * sysdeps/unix/sysv/linux/mips: Move directory from
27208 ports/sysdeps/unix/sysv/linux/mips.
27209 * README: Update listing for mips-*-linux-gnu and
27210 mips64-*-linux-gnu.
27211
27212 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27213
27214 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27215 * sysdeps/unix/sysv/linux/m68k: Move directory from
27216 ports/sysdeps/unix/sysv/linux/m68k.
27217 * README: Update listing for m68k-*-linux-gnu.
27218
27219 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27220
27221 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27222 * sysdeps/unix/sysv/linux/generic: Move directory from
27223 ports/sysdeps/unix/sysv/linux/generic.
27224 * sysdeps/unix/sysv/linux/tile: Move directory from
27225 ports/sysdeps/unix/sysv/linux/tile.
27226 * README: Update listing for tile*-*-linux-gnu.
27227
27228 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27229
27230 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27231 __builtin_expect.
27232 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27233 * catgets/open_catalog.c (__open_catalog): Likewise.
27234 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27235 * debug/confstr_chk.c: Likewise.
27236 * debug/fread_chk.c (__fread_chk): Likewise.
27237 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27238 * debug/getgroups_chk.c: Likewise.
27239 * debug/mbsnrtowcs_chk.c: Likewise.
27240 * debug/mbsrtowcs_chk.c: Likewise.
27241 * debug/mbstowcs_chk.c: Likewise.
27242 * debug/memcpy_chk.c: Likewise.
27243 * debug/memmove_chk.c: Likewise.
27244 * debug/mempcpy_chk.c: Likewise.
27245 * debug/memset_chk.c: Likewise.
27246 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27247 * debug/strcat_chk.c (__strcat_chk): Likewise.
27248 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27249 * debug/strncat_chk.c (__strncat_chk): Likewise.
27250 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27251 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27252 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27253 * debug/wcpncpy_chk.c: Likewise.
27254 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27255 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27256 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27257 * debug/wcsncpy_chk.c: Likewise.
27258 * debug/wcsnrtombs_chk.c: Likewise.
27259 * debug/wcsrtombs_chk.c: Likewise.
27260 * debug/wcstombs_chk.c: Likewise.
27261 * debug/wmemcpy_chk.c: Likewise.
27262 * debug/wmemmove_chk.c: Likewise.
27263 * debug/wmempcpy_chk.c: Likewise.
27264 * debug/wmemset_chk.c: Likewise.
27265 * dirent/scandirat.c (SCANDIRAT): Likewise.
27266 * dlfcn/dladdr1.c (dladdr1): Likewise.
27267 * dlfcn/dladdr.c (dladdr): Likewise.
27268 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27269 * dlfcn/dlerror.c (__dlerror): Likewise.
27270 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27271 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27272 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27273 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27274 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27275 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27276 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27277 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27278 Likewise.
27279 * elf/dl-conflict.c: Likewise.
27280 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27281 * elf/dl-dst.h: Likewise.
27282 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27283 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27284 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27285 * elf/dl-init.c (call_init, _dl_init): Likewise.
27286 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27287 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27288 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27289 Likewise.
27290 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27291 Likewise.
27292 * elf/dl-minimal.c (__libc_memalign): Likewise.
27293 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27294 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27295 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27296 * elf/dl-sym.c (do_sym): Likewise.
27297 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27298 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27299 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27300 * elf/dl-writev.h (_dl_writev): Likewise.
27301 * elf/ldconfig.c (search_dir): Likewise.
27302 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27303 (dl_main): Likewise.
27304 * elf/setup-vdso.h (setup_vdso): Likewise.
27305 * grp/compat-initgroups.c (compat_call): Likewise.
27306 * grp/fgetgrent.c (fgetgrent): Likewise.
27307 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27308 * grp/putgrent.c (putgrent): Likewise.
27309 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27310 Likewise.
27311 * hurd/hurdinit.c: Likewise.
27312 * iconvdata/8bit-gap.c (struct): Likewise.
27313 * iconvdata/ansi_x3.110.c : Likewise.
27314 * iconvdata/big5.c : Likewise.
27315 * iconvdata/big5hkscs.c : Likewise.
27316 * iconvdata/cp1255.c: Likewise.
27317 * iconvdata/cp1258.c : Likewise.
27318 * iconvdata/cp932.c : Likewise.
27319 * iconvdata/euc-cn.c: Likewise.
27320 * iconvdata/euc-jisx0213.c : Likewise.
27321 * iconvdata/euc-jp.c: Likewise.
27322 * iconvdata/euc-jp-ms.c : Likewise.
27323 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27324 * iconvdata/gb18030.c : Likewise.
27325 * iconvdata/gbbig5.c (const): Likewise.
27326 * iconvdata/gbgbk.c: Likewise.
27327 * iconvdata/gbk.c : Likewise.
27328 * iconvdata/ibm1364.c : Likewise.
27329 * iconvdata/ibm930.c : Likewise.
27330 * iconvdata/ibm932.c: Likewise.
27331 * iconvdata/ibm933.c : Likewise.
27332 * iconvdata/ibm935.c : Likewise.
27333 * iconvdata/ibm937.c : Likewise.
27334 * iconvdata/ibm939.c : Likewise.
27335 * iconvdata/ibm943.c: Likewise.
27336 * iconvdata/iso_11548-1.c: Likewise.
27337 * iconvdata/iso-2022-cn.c : Likewise.
27338 * iconvdata/iso-2022-cn-ext.c : Likewise.
27339 * iconvdata/iso-2022-jp-3.c: Likewise.
27340 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27341 * iconvdata/iso-2022-kr.c : Likewise.
27342 * iconvdata/iso646.c (gconv_end): Likewise.
27343 * iconvdata/iso_6937-2.c : Likewise.
27344 * iconvdata/iso_6937.c : Likewise.
27345 * iconvdata/iso8859-1.c: Likewise.
27346 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27347 * iconvdata/shift_jisx0213.c : Likewise.
27348 * iconvdata/sjis.c : Likewise.
27349 * iconvdata/t.61.c : Likewise.
27350 * iconvdata/tcvn5712-1.c : Likewise.
27351 * iconvdata/tscii.c: Likewise.
27352 * iconvdata/uhc.c : Likewise.
27353 * iconvdata/unicode.c (gconv_end): Likewise.
27354 * iconvdata/utf-16.c (gconv_end): Likewise.
27355 * iconvdata/utf-32.c (gconv_end): Likewise.
27356 * iconvdata/utf-7.c (base64): Likewise.
27357 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27358 * iconv/gconv_close.c (__gconv_close): Likewise.
27359 * iconv/gconv_open.c (__gconv_open): Likewise.
27360 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27361 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27362 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27363 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27364 (ucs4le_internal_loop_single): Likewise.
27365 * iconv/iconv.c (iconv): Likewise.
27366 * iconv/iconv_close.c: Likewise.
27367 * iconv/loop.c (SINGLE): Likewise.
27368 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27369 * include/atomic.h: Likewise.
27370 * inet/inet6_option.c (option_alloc): Likewise.
27371 * intl/bindtextdom.c (set_binding_values): Likewise.
27372 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27373 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27374 * intl/localealias.c (read_alias_file): Likewise.
27375 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27376 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27377 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27378 * libio/fmemopen.c (fmemopen): Likewise.
27379 * libio/iofgets.c (_IO_fgets): Likewise.
27380 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27381 * libio/iofgetws.c (fgetws): Likewise.
27382 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27383 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27384 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27385 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27386 * locale/findlocale.c (_nl_find_locale): Likewise.
27387 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27388 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27389 Likewise.
27390 * locale/setlocale.c (setlocale): Likewise.
27391 * login/programs/pt_chown.c (main): Likewise.
27392 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27393 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27394 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27395 (mmap, mmap64, mremap, munmap): Likewise.
27396 * math/e_exp2l.c: Likewise.
27397 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27398 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27399 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27400 * math/s_catan.c (__catan): Likewise.
27401 * math/s_catanf.c (__catanf): Likewise.
27402 * math/s_catanh.c (__catanh): Likewise.
27403 * math/s_catanhf.c (__catanhf): Likewise.
27404 * math/s_catanhl.c (__catanhl): Likewise.
27405 * math/s_catanl.c (__catanl): Likewise.
27406 * math/s_ccosh.c (__ccosh): Likewise.
27407 * math/s_ccoshf.c (__ccoshf): Likewise.
27408 * math/s_ccoshl.c (__ccoshl): Likewise.
27409 * math/s_cexp.c (__cexp): Likewise.
27410 * math/s_cexpf.c (__cexpf): Likewise.
27411 * math/s_cexpl.c (__cexpl): Likewise.
27412 * math/s_clog10.c (__clog10): Likewise.
27413 * math/s_clog10f.c (__clog10f): Likewise.
27414 * math/s_clog10l.c (__clog10l): Likewise.
27415 * math/s_clog.c (__clog): Likewise.
27416 * math/s_clogf.c (__clogf): Likewise.
27417 * math/s_clogl.c (__clogl): Likewise.
27418 * math/s_csin.c (__csin): Likewise.
27419 * math/s_csinf.c (__csinf): Likewise.
27420 * math/s_csinh.c (__csinh): Likewise.
27421 * math/s_csinhf.c (__csinhf): Likewise.
27422 * math/s_csinhl.c (__csinhl): Likewise.
27423 * math/s_csinl.c (__csinl): Likewise.
27424 * math/s_csqrt.c (__csqrt): Likewise.
27425 * math/s_csqrtf.c (__csqrtf): Likewise.
27426 * math/s_csqrtl.c (__csqrtl): Likewise.
27427 * math/s_ctan.c (__ctan): Likewise.
27428 * math/s_ctanf.c (__ctanf): Likewise.
27429 * math/s_ctanh.c (__ctanh): Likewise.
27430 * math/s_ctanhf.c (__ctanhf): Likewise.
27431 * math/s_ctanhl.c (__ctanhl): Likewise.
27432 * math/s_ctanl.c (__ctanl): Likewise.
27433 * math/w_pow.c: Likewise.
27434 * math/w_powf.c: Likewise.
27435 * math/w_powl.c: Likewise.
27436 * math/w_scalb.c (sysv_scalb): Likewise.
27437 * math/w_scalbf.c (sysv_scalbf): Likewise.
27438 * math/w_scalbl.c (sysv_scalbl): Likewise.
27439 * misc/error.c (error_tail): Likewise.
27440 * misc/pselect.c (__pselect): Likewise.
27441 * nis/nis_callback.c (__nis_create_callback): Likewise.
27442 * nis/nis_call.c (__nisfind_server): Likewise.
27443 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27444 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27445 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27446 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27447 * nis/nis_lookup.c (nis_lookup): Likewise.
27448 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27449 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27450 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27451 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27452 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27453 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27454 * nis/nss_compat/compat-initgroups.c (add_group)
27455 (internal_getgrent_r): Likewise.
27456 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27457 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27458 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27459 (internal_getspnam_r): Likewise.
27460 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27461 (_nss_nis_getaliasbyname_r): Likewise.
27462 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27463 (_nss_nis_getntohost_r): Likewise.
27464 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27465 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27466 (_nss_nis_getgrgid_r): Likewise.
27467 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27468 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27469 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27470 (_nss_nis_gethostbyname4_r): Likewise.
27471 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27472 (initgroups_netid): Likewise.
27473 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27474 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27475 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27476 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27477 (_nss_nis_getprotobynumber_r): Likewise.
27478 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27479 (_nss_nis_getsecretkey): Likewise.
27480 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27481 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27482 (_nss_nis_getpwuid_r): Likewise.
27483 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27484 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27485 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27486 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27487 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27488 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27489 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27490 Likewise.
27491 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27492 (_nss_nisplus_getntohost_r): Likewise.
27493 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27494 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27495 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27496 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27497 Likewise.
27498 * nis/nss_nisplus/nisplus-initgroups.c
27499 (_nss_nisplus_initgroups_dyn): Likewise.
27500 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27501 (_nss_nisplus_getnetbyaddr_r): Likewise.
27502 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27503 (_nss_nisplus_getprotobynumber_r): Likewise.
27504 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27505 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27506 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27507 Likewise.
27508 * nis/nss_nisplus/nisplus-service.c
27509 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27510 (_nss_nisplus_getservbyport_r): Likewise.
27511 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27512 (_nss_nisplus_getspnam_r): Likewise.
27513 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27514 Likewise.
27515 * nscd/aicache.c (addhstaiX): Likewise.
27516 * nscd/cache.c (cache_search, prune_cache): Likewise.
27517 * nscd/connections.c (register_traced_file, send_ro_fd)
27518 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27519 (main_loop_epoll): Likewise.
27520 * nscd/grpcache.c (addgrbyX): Likewise.
27521 * nscd/hstcache.c (addhstbyX): Likewise.
27522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27523 * nscd/mem.c (gc, mempool_alloc): Likewise.
27524 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27525 (addinnetgrX): Likewise.
27526 * nscd/nscd-client.h (__nscd_acquire_maplock)
27527 (__nscd_drop_map_ref): Likewise.
27528 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27529 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27530 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27531 Likewise.
27532 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27533 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27534 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27535 (__nscd_get_map_ref): Likewise.
27536 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27537 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27538 Likewise.
27539 * nscd/pwdcache.c (addpwbyX): Likewise.
27540 * nscd/selinux.c (preserve_capabilities): Likewise.
27541 * nscd/servicescache.c (addservbyX): Likewise.
27542 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27543 * posix/fnmatch.c (fnmatch): Likewise.
27544 * posix/getopt.c (_getopt_internal_r): Likewise.
27545 * posix/glob.c (glob, glob_in_dir): Likewise.
27546 * posix/wordexp.c (exec_comm_child): Likewise.
27547 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27548 (getanswer_r, gaih_getanswer_slice): Likewise.
27549 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27550 * resolv/res_init.c: Likewise.
27551 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27552 * resolv/res_query.c (__libc_res_nquery): Likewise.
27553 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27554 Likewise.
27555 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27556 * stdio-common/perror.c (perror): Likewise.
27557 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27558 * stdio-common/tmpnam.c (tmpnam): Likewise.
27559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27560 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27561 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27562 Likewise.
27563 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27564 * stdlib/putenv.c (putenv): Likewise.
27565 * stdlib/setenv.c (__add_to_environ): Likewise.
27566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27567 * stdlib/strtol_l.c (INTERNAL): Likewise.
27568 * string/memmem.c (memmem): Likewise.
27569 * string/strerror.c (strerror): Likewise.
27570 * string/strnlen.c (__strnlen): Likewise.
27571 * string/test-memmem.c (simple_memmem): Likewise.
27572 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27573 * sunrpc/pm_getport.c (__get_socket): Likewise.
27574 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27575 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27576 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27577 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27578 Likewise.
27579 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27582 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27583 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27584 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27585 Likewise.
27586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27587 Likewise.
27588 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27589 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27591 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27592 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27594 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27596 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27597 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27598 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27599 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27600 Likewise.
27601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27602 Likewise.
27603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27604 Likewise.
27605 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27607 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27609 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27610 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27611 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27618 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27620 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27621 Likewise.
27622 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27623 Likewise.
27624 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27625 Likewise.
27626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27627 Likewise.
27628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27630 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27631 Likewise.
27632 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27633 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27634 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27635 * sysdeps/posix/sleep.c: Likewise.
27636 * sysdeps/posix/tempname.c: Likewise.
27637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27638 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27639 Likewise.
27640 * sysdeps/powerpc/powerpc32/dl-machine.h
27641 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27642 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27644 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27645 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27646 Likewise.
27647 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27649 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27651 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27652 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27653 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27654 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27655 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27656 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27658 (elf_machine_lazy_rel): Likewise.
27659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27661 (elf_machine_lazy_rel): Likewise.
27662 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27663 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27664 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27665 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27666 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27667 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27672 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27673 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27674 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27676 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27677 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27678 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27679 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27680 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27681 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27682 Likewise.
27683 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27684 (__posix_fallocate64_l64): Likewise.
27685 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27686 (posix_fallocate): Likewise.
27687 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27688 Likewise.
27689 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27690 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27691 (getifaddrs_internal): Likewise.
27692 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27693 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27694 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27695 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27696 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27697 (__posix_fallocate64_l64): Likewise.
27698 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27699 Likewise.
27700 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27701 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27702 (__get_clockfreq): Likewise.
27703 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27704 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27705 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27709 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27710 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27711 Likewise.
27712 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27713 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27714 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27715 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27716 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27717 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27718 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27719 Likewise.
27720 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27721 (posix_fallocate): Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27723 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27724 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27725 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27726 (elf_machine_rela, elf_machine_rela_relative)
27727 (elf_machine_lazy_rel): Likewise.
27728 * time/asctime.c (asctime_internal): Likewise.
27729 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27730 * time/tzset.c (__tzset_parse_tz): Likewise.
27731 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27732 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27733 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27734 * wcsmbs/wcsmbsload.h: Likewise.
27735
27736 [BZ #15894]
27737 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27738
27739 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27740 (arena_get2): Remove THREAD_STATS conditionals.
27741 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27742 (__malloc_stats, int): Likewise.
27743
27744 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27745
27746 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27747 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27748
27749 * manual/setjmp.texi: Fix typos/grammar errors.
27750
27751 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27752 Only return early when n is <= 0. Delete unused return statement.
27753
27754 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27755 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27756 * debug/tst-longjmp_chk3.c: New file.
27757
27758 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27759 (test_main): Replace code with set_fortify_handler call.
27760 * debug/test-strcpy_chk.c: Likewise.
27761 * debug/tst-chk1.c: Likewise.
27762 * debug/tst-longjmp_chk.c: Likewise.
27763 * test-skeleton.c: Include fcntl.h & paths.h
27764 (set_fortify_handler): Define.
27765
27766 * debug/tst-longjmp_chk.c: Add header comment and include
27767 ../test-skeleton.c.
27768 (do_test): Mark static.
27769 (TEST_FUNCTION): Define.
27770
27771 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27772 (IP_PMTUDISC_INTERFACE): Likewise.
27773 (IP_MULTICAST_IF): Likewise.
27774 (IP_MULTICAST_TTL): Likewise.
27775 (IP_MULTICAST_LOOP): Likewise.
27776 (IP_ADD_MEMBERSHIP): Likewise.
27777 (IP_DROP_MEMBERSHIP): Likewise.
27778 (IP_UNBLOCK_SOURCE): Likewise.
27779 (IP_BLOCK_SOURCE): Likewise.
27780 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27781 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27782 (IP_MSFILTER): Likewise.
27783 (MCAST_JOIN_GROUP): Likewise.
27784 (MCAST_BLOCK_SOURCE): Likewise.
27785 (MCAST_UNBLOCK_SOURCE): Likewise.
27786 (MCAST_LEAVE_GROUP): Likewise.
27787 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27788 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27789 (MCAST_MSFILTER): Likewise.
27790 (IP_MULTICAST_ALL): Likewise.
27791 (IP_UNICAST_IF): Likewise.
27792
27793 * timezone/Makefile: Delete $(have-ksh) check.
27794 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27795 * timezone/tzselect.ksh: Add +x mode bits.
27796
27797 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27798 (ANON_INODE_FS_MAGIC): Likewise.
27799 (BDEVFS_MAGIC): Likewise.
27800 (BINFMTFS_MAGIC): Likewise.
27801 (BTRFS_TEST_MAGIC): Likewise.
27802 (CRAMFS_MAGIC_WEND): Likewise.
27803 (DEBUGFS_MAGIC): Likewise.
27804 (ECRYPTFS_SUPER_MAGIC): Likewise.
27805 (EXT3_SUPER_MAGIC): Likewise.
27806 (EXT4_SUPER_MAGIC): Likewise.
27807 (FUTEXFS_SUPER_MAGIC): Likewise.
27808 (HOSTFS_SUPER_MAGIC): Likewise.
27809 (HUGETLBFS_MAGIC): Likewise.
27810 (MINIX3_SUPER_MAGIC): Likewise.
27811 (MTD_INODE_FS_MAGIC): Likewise.
27812 (NILFS_SUPER_MAGIC): Likewise.
27813 (OPENPROM_SUPER_MAGIC): Likewise.
27814 (PIPEFS_MAGIC): Likewise.
27815 (PSTOREFS_MAGIC): Likewise.
27816 (QNX6_SUPER_MAGIC): Likewise.
27817 (RAMFS_MAGIC): Likewise.
27818 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27819 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27820 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27821 (SECURITYFS_MAGIC): Likewise.
27822 (SELINUX_MAGIC): Likewise.
27823 (SMACK_MAGIC): Likewise.
27824 (SOCKFS_MAGIC): Likewise.
27825 (SQUASHFS_MAGIC): Likewise.
27826 (STACK_END_MAGIC): Likewise.
27827 (TMPFS_MAGIC): Likewise.
27828 (USBDEVICE_SUPER_MAGIC): Likewise.
27829 (V9FS_MAGIC): Likewise.
27830 (XENFS_SUPER_MAGIC): Likewise.
27831 (CRAMFS_MAGIC): Fix typo in comment.
27832 (EXT2_SUPER_MAGIC): Update comment.
27833 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27834
27835 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27836
27837 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27838 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27839 * sysdeps/unix/sysv/linux/arm: Move directory from
27840 ports/sysdeps/unix/sysv/linux/arm.
27841 * README: Update listing for arm-*-linux-gnueabi.
27842
27843 * README: Remove mention of am33.
27844
27845 2014-02-07 Roland McGrath <roland@hack.frob.com>
27846
27847 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27848 than the comma operator, to avoid "rhs of comma has no effect"
27849 compiler warnings.
27850 (__sigfillset, __sigandset, __sigorset): Likewise.
27851 * include/signal.h (__sigemptyset): Likewise.
27852 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27853
27854 2014-02-07 Allan McRae <allan@archlinux.org>
27855
27856 * version.h (RELEASE): Set to "development".
27857 (VERSION): Set to "2.19.90"
27858 * NEWS: Add 2.20 section.
27859
27860 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27861
27862 [BZ #16529]
27863 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27864
27865 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27866
27867 * manual/contrib.texi: Update entry for Carlos O'Donell,
27868 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27869
27870 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27871
27872 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27873
27874 * sysdeps/unix/sysv/linux/kernel-features.h
27875 [__LINUX_KERNEL_VERSION >= 0x020621]
27876 (__ASSUME_PROC_PID_TASK_COMM): Define.
27877
27878 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27879
27880 [BZ #16398]
27881 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27882 conversion when destination buffer does not have enough space.
27883 * libio/tst-ftell-partial-wide.c: New test case.
27884 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27885
27886 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27887 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27888 Leonard and Allan McRae.
27889
27890 2014-02-04 David S. Miller <davem@davemloft.net>
27891
27892 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27893 32-bit.
27894
27895 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27896
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27898 New file
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27900 New file
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27902 New file.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27904 New file.
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27906 New file.
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27908 New file.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27910 New file.
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27912 New file.
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27914 New file.
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27916 New file.
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27918 New file.
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27920 New file.
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27922 New file.
27923
27924 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27925
27926 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27927 * shlib-versions: Likewise.
27928
27929 2014-02-04 Roland McGrath <roland@hack.frob.com>
27930 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27931
27932 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27933 (abilist-pattern): New variable, set to %-le.abilist.
27934
27935 * Makerules (abilist-pattern): New variable.
27936 (vpath): Use $(abilist-pattern) in place of %.abilist.
27937 (check-abi-% pattern rule): Likewise.
27938 (check-abi, update-abi): Likewise.
27939
27940 2014-02-04 Eric Wong <normalperson@yhbt.net>
27941
27942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27943
27944 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27945
27946 * manual/startup.texi: Add next, previous, and top entries for
27947 the `Program Arguments' and `Environment Variables' nodes.
27948
27949 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27950
27951 * manual/macros.texi: Add comments before MTASC-safety macros.
27952
27953 * manual/users.texi: Document MTASC-safety properties.
27954
27955 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27956 (pthread_getspecific, pthread_setspecific): Format with
27957 @deftypefun, and add @safety note.
27958 * manual/signal.texi: Move comments that analyze the above
27959 functions to their home place.
27960
27961 2014-02-03 Allan McRae <allan@archlinux.org>
27962
27963 * po/sl.po: Update Slovenian translation from translation project.
27964
27965 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27966
27967 * manual/time.texi (timegm): Add missing blank after @c.
27968 Reported by Joseph Myers <joseph@codesourcery.com>.
27969
27970 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27971
27972 * manual/check-safety.sh: New.
27973 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27974
27975 * manual/terminal.texi: Document MTASC-safety properties.
27976
27977 * manual/filesys.texi: Document MTASC-safety properties.
27978
27979 * manual/errno.texi: Document MTASC-safety properties.
27980
27981 * manual/intro.texi: Document safety identifiers and
27982 conditionals.
27983
27984 * manual/string.texi (wcstok): Fix prototype.
27985 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27986
27987 * manual/time.texi: Document MTASC-safety properties.
27988
27989 * manual/string.texi: Document MTASC-safety properties.
27990
27991 * manual/threads.texi: Document MTASC-safety properties.
27992
27993 * manual/stdio.texi: Document MTASC-safety properties.
27994
27995 * manual/syslog.texi: Document MTASC-safety properties.
27996
27997 * manual/sysinfo.texi: Document MTASC-safety properties.
27998
27999 * manual/startup.texi: Document MTASC-safety properties.
28000
28001 * manual/socket.texi: Document MTASC-safety properties.
28002
28003 * manual/signal.texi: Document MTASC-safety properties.
28004
28005 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28006
28007 * manual/setjmp.texi: Document MTASC-safety properties.
28008
28009 * manual/search.texi: Document MTASC-safety properties.
28010
28011 * manual/resource.texi: Document MTASC-safety properties.
28012
28013 * manual/process.texi: Document MTASC-safety properties.
28014
28015 * manual/platform.texi: Document MTASC-safety properties.
28016
28017 * manual/pipe.texi: Document MTASC-safety properties.
28018
28019 * manual/pattern.texi: Document MTASC-safety properties.
28020
28021 * manual/message.texi: Document MTASC-safety properties.
28022
28023 [BZ #12751]
28024 * manual/memory.texi: Document MTASC-safety properties.
28025
28026 * manual/math.texi: Document MTASC-safety properties.
28027
28028 * manual/locale.texi: Document MTASC-safety properties.
28029
28030 * manual/llio.texi: Document MTASC-safety properties.
28031
28032 * manual/libdl.texi: New.
28033
28034 * manual/lang.texi: Document MTASC-safety properties.
28035
28036 * manual/job.texi: Document MTASC-safety properties.
28037
28038 * manual/getopt.texi: Document MTASC-safety properties.
28039
28040 * manual/ctype.texi: Document MTASC-safety properties.
28041
28042 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28043
28044 [BZ #16046]
28045 * csu/libc-tls.c (static_map): Remove variable.
28046 (__libc_setup_tls): Use main executable's link map for TLS data.
28047 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28048 casing for LM_ID_BASE and GL(dl_nns).
28049 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28050 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
28051 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28052 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28053 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28054 member.
28055 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28056 l_phnum members.
28057
28058 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
28059
28060 * manual/debug.texi: Document MTASC-safety properties.
28061
28062 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
28063
28064 [BZ #16510]
28065 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28066 of __x86_64__ when disabling x87 inline functions.
28067
28068 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
28069
28070 * manual/charset.texi: Document MTASC-safety properties.
28071
28072 * manual/crypt.texi: Document MTASC-safety properties.
28073
28074 * manual/conf.texi: Document MTASC-safety properties.
28075
28076 * manual/arith.texi: Document MTASC-safety properties.
28077
28078 * manual/argp.texi: Document MTASC-safety properties.
28079
28080 * manual/macros.texi: Introduce macros to document multi
28081 thread, asynchronous signal and asynchronous cancellation
28082 safety properties.
28083 * manual/intro.texi: Introduce the properties themselves.
28084
28085 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28086
28087 * sysdeps/sh/sh4/Makefile: New file.
28088
28089 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28090
28091 * math/gen-libm-test.pl ($srcdir): New variable.
28092 ($auto_input): Use it.
28093
28094 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28095
28096 [BZ #16506]
28097 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28098 access beyond array bounds when parsing netgroups file.
28099
28100 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28101 the old buffer before realloc.
28102
28103 2014-01-27 Allan McRae <allan@archlinux.org>
28104
28105 * po/fr.po: Update French translation from translation project.
28106
28107 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28108
28109 * sysdeps/sh/libm-test-ulps: Regenerate.
28110
28111 2014-01-24 David S. Miller <davem@davemloft.net>
28112
28113 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28114
28115 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28116
28117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28118 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28119
28120 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28121
28122 [BZ #16474]
28123 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28124 string pointers after reallocation.
28125
28126 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28127
28128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28129 __SH4A__ instead of __SH_FPU_ANY__.
28130
28131 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28132
28133 * sysdeps/sh/fpu_control.h: New file.
28134 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28135 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28136 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28137 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28138 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28139 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28140 * sysdeps/sh/sys/ucontext.h: Remove.
28141 * sysdeps/sh/sys: Remove directory.
28142
28143 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28144
28145 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28146 s390/sys/ucontext.h.
28147 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28148 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28149
28150 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 [BZ #15605]
28153 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28154
28155 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28156
28157 [BZ#16431]
28158 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28159 Adjust the vDSO correctly for internal calls.
28160 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28161
28162 2014-01-20 Allan McRae <allan@archlinux.org>
28163
28164 * po/ca.po: Update Catalan translation from translation project.
28165
28166 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28167
28168 * sysdeps/s390/sotruss-lib.c: New file.
28169
28170 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28171
28172 [BZ#16430]
28173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28174 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28175 local calls issues by not having a PLT stub required for IFUNC calls.
28176 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28177
28178 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28179
28180 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28181 * math/test-fpucw-static.c: Likewise.
28182
28183 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28184
28185 [BZ #16453]
28186 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28187
28188 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28189
28190 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28191 implementation for powerpc.
28192
28193 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28194
28195 [BZ #14782]
28196 * sysdeps/posix/system.c (__libc_system): Do not enable
28197 asynchronous cancellation.
28198
28199 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28200
28201 [BZ #16427]
28202 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28203 handling only for numbers special also in the IEEE case.
28204
28205 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28206
28207 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28208
28209 2014-01-11 Allan McRae <allan@archlinux.org>
28210
28211 * po/bg.po: Update Bulgarian translation from translation project.
28212
28213 * po/de.po: Update German translation from translation project.
28214
28215 2014-01-10 Roland McGrath <roland@hack.frob.com>
28216
28217 * sysdeps/generic/gcc-compat.h: New file.
28218
28219 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28220
28221 * benchtests/asin-inputs: Correct slow inputs.
28222 * benchtests/acos-inputs: Likewise.
28223
28224 2014-01-10 Allan McRae <allan@archlinux.org>
28225
28226 * po:sv.po: Update Swedish translation from translation project.
28227
28228 * po/vi.po: Update Vietnamese translation from translation project.
28229
28230 * po/eo.po: Update Esperanto translation from translation project.
28231
28232 * po/cs.po: Update Czech translation from translation project.
28233
28234 * po/nl.po: Update Dutch translation from translation project.
28235
28236 * po/pl.po: Update Polish translation from translation project.
28237
28238 * po/ru.po: Update Russian translation from translation project.
28239
28240 * po/uk.po: Update Ukrainian translation from translation project.
28241
28242 2014-01-08 Brooks Moses <bmoses@google.com>
28243
28244 * elf/dl-load.c: Fix comment typo.
28245
28246 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28247
28248 * po/header.pot: Rename to...
28249 * po/pot.header: ... this.
28250 * po/Makefile: Use pot.header.
28251
28252 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28253 Maxim Kuvyrkov <maxim@kugelworks.com>
28254
28255 [BZ #16394]
28256 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28257 SRC and DEST against LEN.
28258
28259 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28260
28261 [BZ #16414]
28262 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28263 implementation.
28264 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28265
28266 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28267
28268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28269
28270 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28271
28272 [BZ #16408]
28273 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28274 for large positive arguments.
28275
28276 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28277
28278 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28279
28280 * math/auto-libm-test-in: Mark various tests with
28281 xfail-rounding:ldbl-128ibm.
28282 * math/auto-libm-test-out: Regenerated.
28283
28284 [BZ #16407]
28285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28286 Increase overflow threshold.
28287
28288 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28289
28290 [BZ #14286]
28291 * stdio-common/vfprintf.c: Check for integer overflow.
28292
28293 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28294
28295 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28296 the first argument and return value of __tls_get_addr_internal.
28297
28298 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28299
28300 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28301 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28302
28303 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28304
28305 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28306 * sysdeps/s390/rtld-global-offsets.sym: New file.
28307 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28308 GLIBC_2.19 symbol.
28309 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28310 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28311 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28312 ... this.
28313 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28315 ... this.
28316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28317 Regenerate.
28318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28319 Regenerate.
28320 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28321 halfs of GPRs for high_gprs contexts.
28322 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28323 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28324 field.
28325 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28326 uc_flags field.
28327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28328 64 bit versions:
28329 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28330 for high GPRs (uc_high_gprs) and for future extensions
28331 (__reserved).
28332 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28333 for future extensions (__reserved).
28334 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28335 64 bit versions:
28336 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28337 SC_HIGHGPRS offset definition.
28338 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28339 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28340
28341 * Versions.def: Add GLIBC_2.19 for libpthread.
28342 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28343 siglongjmp for libpthread with GLIBC_2.19 symver.
28344 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28345 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28346 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28347 * sysdeps/s390/__longjmp.c: New file.
28348 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28349 * sysdeps/s390/longjmp.c: New file.
28350 * sysdeps/s390/setjmp.S: New file.
28351 * sysdeps/s390/sigjmp.S: New file.
28352 * sysdeps/s390/v1-longjmp.c: New file.
28353 * sysdeps/s390/v1-setjmp.h: New file.
28354 * sysdeps/s390/v1-sigjmp.c: New file.
28355 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28356 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28357 GLIBC_2.19 version.
28358 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28359 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28360 versioned symbols for ____longjmp_chk.
28361 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28362 Likewise.
28363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28364 Regenerate.
28365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28366 Regenerate.
28367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28368 Regenerate.
28369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28370 Regenerate.
28371 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28372 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28373 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28374 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28375 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28376 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28377 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28378 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28379 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28380 * sysdeps/s390/rtld-__longjmp.c: New file.
28381 * sysdeps/s390/rtld-setjmp.S: New file.
28382
28383 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28384
28385 [BZ #16400]
28386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28387 Return -__logl (x) for small positive arguments without evaluating
28388 a polynomial.
28389
28390 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28391
28392 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28393 Rename to ...
28394 (__ptrace_peeksiginfo_args): ... this.
28395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28398
28399 2014-01-06 Allan McRae <allan@archlinux.org>
28400
28401 * inet/netinet/in.h: Fix typo in comment.
28402
28403 2014-01-05 Andreas Jaeger <aj@suse.de>
28404
28405 * sysdeps/i386/fpu/libm-test-ulps: Update.
28406
28407 2014-01-05 Allan McRae <allan@archlinux.org>
28408
28409 * po/libc.pot: Regenerated.
28410
28411 * malloc/memusagestat.c: Fix gettext call formatting.
28412
28413 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28414
28415 * nscd/nscd.c: Improve usage() output.
28416
28417 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28418
28419 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28420 * sysdeps/unix/sysv/linux/configure: Regenerated.
28421 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28422 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28423
28424 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28425
28426 [BZ #16390]
28427 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28428 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28429
28430 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28431
28432 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28433 extra tokens at end of #undef directive.
28434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28435 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28436 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28437
28438 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28439
28440 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28441
28442 * math/auto-libm-test-in: Mark various tests with
28443 xfail-rounding:ldbl-128ibm.
28444 * math/auto-libm-test-out: Regenerated.
28445
28446 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28447
28448 [BZ #16386]
28449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28450 numbers with subnormal high part when calculating exponent.
28451
28452 [BZ #16385]
28453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28454 fabs.
28455
28456 [BZ #16384]
28457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28458 M_LN2l.
28459 (__ieee754_acoshl): Use __log1pl not __log1p.
28460
28461 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28462
28463 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28464 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28465 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28466 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28467 (reused_arena, arena_get2): Convert to GNU style.
28468 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28469 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28470 (memalign_check, __malloc_set_state): Likewise.
28471 * malloc/mallocbug.c (main): Likewise.
28472 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28473 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28474 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28475 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28476 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28477 (__posix_memalign, malloc_info): Likewise.
28478 * malloc/malloc.h: Likewise.
28479 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28480 (mallochook, memalignhook, reallochook, mabort): Likewise.
28481 * malloc/mcheck.h: Likewise.
28482 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28483 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28484 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28485 * malloc/morecore.c (__default_morecore): Likewise.
28486 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28487 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28488 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28489 (print_and_abort): Likewise.
28490 * malloc/obstack.h: Likewise.
28491 * malloc/set-freeres.c (__libc_freeres): Likewise.
28492 * malloc/tst-mallocstate.c (main): Likewise.
28493 * malloc/tst-mtrace.c (main): Likewise.
28494 * malloc/tst-realloc.c (do_test): Likewise.
28495
28496 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28497
28498 [BZ #16366]
28499 * nscd/netgroupcache.c (do_notfound): New function.
28500 (addgetnetgrentX): Use it.
28501
28502 [BZ # 16365]
28503 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28504 NSS_STATUS_NOTFOUND.
28505
28506 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28507
28508 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28510
28511 2014-01-01 Allan McRae <allan@archlinux.org>
28512
28513 * scripts/update-copyrights: Update configure input file suffix.
28514
28515 * NEWS: Update copyright year.
28516 * catgets/gencat.c: Likewise.
28517 * csu/version.c: Likewise.
28518 * debug/catchsegv.sh: Likewise.
28519 * debug/pcprofiledump.c: Likewise.
28520 * debug/xtrace.sh: Likewise.
28521 * elf/ldconfig.c: Likewise.
28522 * elf/ldd.bash.in: Likewise.
28523 * elf/pldd.c: Likewise.
28524 * elf/sotruss.ksh: Likewise.
28525 * elf/sprof.c: Likewise.
28526 * iconv/iconv_prog.c: Likewise.
28527 * iconv/iconvconfig.c: Likewise.
28528 * locale/programs/locale.c: Likewise.
28529 * locale/programs/localedef.c: Likewise.
28530 * login/programs/pt_chown.c: Likewise.
28531 * malloc/memusage.sh: Likewise.
28532 * malloc/memusagestat.c: Likewise.
28533 * malloc/mtrace.pl: Likewise.
28534 * manual/libc.texinfo: Likewise.
28535 * nscd/nscd.c: Likewise.
28536 * nss/getent.c: Likewise.
28537 * nss/makedb.c: Likewise.
28538 * posix/getconf.c: Likewise.
28539 * scripts/test-installation.pl: Likewise.
28540
28541 * All files with FSF copyright notices: Update copyright dates
28542 using scripts/update-copyrights.
28543 * intl/plural.c: Regenerated.
28544 * locale/programs/charmap-kw.h: Likewise.
28545 * locale/programs/locfile-kw.h: Likewise.
28546
28547 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28548
28549 * sysdeps/unix/sysv/linux/configure: Regenerated.
28550 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28551 the linux/fanotify.h header.
28552 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28553 HAVE_LINUX_FANOTIFY_H is defined.
28554
28555 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28556
28557 * benchtests/cos-inputs: New inputs.
28558 * benchtests/sin-inputs: Likewise.
28559
28560 * benchtests/atan-inputs: New inputs. Fix name of multiple
28561 precision fallback inputs.
28562
28563 * benchtests/atanh-inputs: New inputs.
28564 * benchtests/tanh-inputs: Likewise.
28565
28566 * benchtests/acosh-inputs: New inputs.
28567 * benchtests/asinh-inputs: Likewise.
28568
28569 * benchtests/cosh-inputs: New inputs.
28570 * benchtests/sinh-inputs: Likewise.
28571
28572 * benchtests/acos-inputs: Add more inputs.
28573 * benchtests/asin-inputs: Likewise.
28574
28575 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28576
28577 [BZ #16375]
28578 * manual/arith.texi: Fix spelling.
28579 * manual/charset.texi: Likewise.
28580 * manual/errno.texi: Likewise.
28581 * manual/filesys.texi: Likewise.
28582 * manual/lang.texi: Likewise.
28583 * manual/llio.texi: Likewise.
28584 * manual/locale.texi: Likewise.
28585 * manual/message.texi: Likewise.
28586 * manual/resource.texi: Likewise.
28587 * manual/search.texi: Likewise.
28588 * manual/setjmp.texi: Likewise.
28589 * manual/stdio.texi: Likewise.
28590 * manual/string.texi: Likewise.
28591 * manual/sysinfo.texi: Likewise.
28592 * manual/time.texi: Likewise.
28593
28594 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28595
28596 * po/sl.po: New file.
28597
28598 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28599
28600 * .gitignore: Add core/.gdbinit/.gdb_history.
28601
28602 2013-12-27 Allan McRae <allan@archlinux.org>
28603
28604 [BZ #16369]
28605 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28606 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28607
28608 2013-12-24 Brooks Moses <bmoses@google.com>
28609
28610 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28611 all compilers that claim C++98 compliance, not just GCC.
28612 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28613 Likewise.
28614
28615 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28616
28617 * NEWS: Restore accidentally deleted bug-fix entries.
28618
28619 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28620 Ondřej Bílka <neleai@seznam.cz>
28621
28622 [BZ #15073]
28623 * malloc/malloc.c (_int_free): Perform sanity check only if we
28624 have_lock.
28625
28626 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28627
28628 [BZ #12986]
28629 * manual/stdio.texi (String Input Conversions): Clarify that character
28630 classes are not supported.
28631
28632 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28633
28634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28635
28636 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28637
28638 [BZ #16337]
28639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28640 Calculate results for small negative arguments directly rather
28641 than using reflection formula with special underflow handling.
28642
28643 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28644 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28645 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28646 (fchflags): Likewise.
28647 (revoke): Likewise.
28648 (setlogin): Likewise.
28649 (sigaltstack): Likewise.
28650 (wait4): Likewise.
28651 (sigblock): Remove.
28652 (sigsetmask): Likewise.
28653 (wait3): Likewise.
28654 (waitpid): Likewise.
28655 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28656 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28657 file.
28658 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28659 * sysdeps/unix/bsd/Makefile: ... here.
28660 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28661 * sysdeps/unix/bsd/Versions: ... here.
28662 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28663 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28664 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28665 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28666 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28667 * sysdeps/unix/bsd/sigblock.c: ... here.
28668 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28669 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28670 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28671 * sysdeps/unix/bsd/sigvec.c: ... here.
28672 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28673 * sysdeps/unix/bsd/tcdrain.c: ... here.
28674 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28675 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28676 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28677 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28678 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28679 * sysdeps/unix/bsd/wait.c: ... here.
28680 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28681 * sysdeps/unix/bsd/wait3.c: ... here.
28682 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28683 * sysdeps/unix/bsd/waitpid.c: ... here.
28684
28685 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28686
28687 [BZ #16356]
28688 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28689 round-to-nearest for [!USE_AS_EXPM1L].
28690 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28691 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28692 more tests of exp and exp10. Expect some exp10 tests to miss
28693 exceptions or fail in directed rounding modes.
28694 * math/auto-libm-test-out: Regenerated.
28695 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28696 (exp10_test_tonearest): New function.
28697 (exp10_towardzero_test_data): New array.
28698 (exp10_test_towardzero): New function.
28699 (exp10_downward_test_data): New array.
28700 (exp10_test_downward): New function.
28701 (exp10_upward_test_data): New array.
28702 (exp10_test_upward): New function.
28703 (main): Call the new functions.
28704 * sysdeps/i386/fpu/libm-test-ulps: Update.
28705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28706
28707 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28708
28709 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28710 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28711 * math/auto-libm-test-out: Regenerated.
28712 * math/libm-test.inc (acosh_test_data): Add more tests.
28713 (atanh_test_data): Likewise.
28714 (ceil_test_data): Likewise.
28715 (copysign_test_data): Likewise.
28716 * sysdeps/i386/fpu/libm-test-ulps: Update.
28717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28718
28719 * timezone/checktab.awk: Update from tzcode 2013i.
28720 * timezone/private.h: Likewise.
28721 * timezone/scheck.c: Likewise.
28722 * timezone/tzfile.h: Likewise.
28723 * timezone/tzselect.ksh: Likewise.
28724 * timezone/zdump.c: Likewise.
28725 * timezone/zic.c: Likewise.
28726
28727 * math/auto-libm-test-in: Add tests of cpow.
28728 * math/auto-libm-test-out: Regenerated.
28729 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28730 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28731 mpc_cc_c.
28732 (func_calc_desc): Add mpc_cc_c union field.
28733 (test_functions): Add cpow.
28734 (special_fill_2pi): New function.
28735 (special_real_inputs): Add 2pi.
28736 (calc_generic_results): Handle mpc_cc_c.
28737 * sysdeps/i386/fpu/libm-test-ulps: Update.
28738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28739
28740 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28741 csqrt, ctan and ctanh.
28742 * math/auto-libm-test-out: Regenerated.
28743 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28744 (TEST_COND_x86): Likewise.
28745 (ccos_test_data): Use AUTO_TESTS_c_c.
28746 (ccosh_test_data): Likewise.
28747 (cexp_test_data): Likewise.
28748 (clog_test_data): Likewise.
28749 (csqrt_test_data): Likewise.
28750 (ctan_test_data): Likewise.
28751 (ctan_tonearest_test_data): Likewise.
28752 (ctan_towardzero_test_data): Likewise.
28753 (ctan_downward_test_data): Likewise.
28754 (ctan_upward_test_data): Likewise.
28755 (ctanh_test_data): Likewise.
28756 (ctanh_tonearest_test_data): Likewise.
28757 (ctanh_towardzero_test_data): Likewise.
28758 (ctanh_downward_test_data): Likewise.
28759 (ctanh_upward_test_data): Likewise.
28760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28761 mpc_c_c.
28762 (func_calc_desc): Add mpc_c_c union field.
28763 (FUNC_mpc_c_c): New macro.
28764 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28765 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28766 ctanh.
28767 (special_fill_min_subnorm_p120): New function.
28768 (special_real_inputs): Add min_subnorm_p120.
28769 (calc_generic_results): Handle mpc_c_c.
28770 * sysdeps/i386/fpu/libm-test-ulps: Update.
28771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28772
28773 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28774
28775 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28776 (do_sin_slow): New functions.
28777 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28778 (cslow2, csloww1, csloww2): Use the new functions.
28779
28780 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28781 Use M to change sign of result instead of X. Assume X is
28782 positive.
28783 (csloww1): Likewise.
28784 (__sin): Adjust.
28785 (__cos): Adjust.
28786
28787 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28788 arguments A and DA.
28789 (__sin): Adjust.
28790 (__cos): Likewise.
28791
28792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28793 (__cos): Likewise.
28794 (sloww1): Don't adjust sign of DX.
28795 (csloww1): Likewise.
28796 (sloww2): Use X directly and don't adjust sign of DX.
28797 (csloww2): Likewise.
28798
28799 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28800
28801 * math/auto-libm-test-in: Add tests of cabs and carg.
28802 * math/auto-libm-test-out: Regenerated.
28803 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28804 (carg_test_data): Likewise.
28805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28806 mpc_c_f.
28807 (func_calc_desc): Add mpc_c_f union field.
28808 (test_functions): Add cabs and carg.
28809 (calc_generic_results): Handle mpc_c_f.
28810
28811 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28812 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28813 as a macro and a compat symbol.
28814 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28816 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28817 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28818 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28820 not use .hidden.
28821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28822 Likewise.
28823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28824 Likewise.
28825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28826 Likewise.
28827 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28828 Likewise.
28829 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28830 Likewise.
28831 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28832 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28833 from GLIBC_2.3.2.
28834
28835 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28836
28837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28838
28839 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28840
28841 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28842 trailing whitespace removed.
28843 * scripts/config.guess: Update to version 2013-11-29.
28844 * scripts/config.sub: Update to version 2013-10-01.
28845
28846 * math/auto-libm-test-in: Add tests of sincos.
28847 * math/auto-libm-test-out: Regenerated.
28848 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28850 mpfr_f_11.
28851 (func_calc_desc): Add mpfr_f_11 union field.
28852 (test_functions): Add sincos.
28853 (calc_generic_results): Handle mpfr_f_11.
28854 * sysdeps/i386/fpu/libm-test-ulps: Update.
28855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28856
28857 2013-12-19 Andreas Schwab <schwab@suse.de>
28858
28859 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28860 CALL_MCOUNT.
28861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28862 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28863 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28864
28865 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28866
28867 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28868 * sysdeps/i386/fpu/libm-test-ulps: Update.
28869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28870
28871 [BZ #16293]
28872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28873 round-to-nearest mode when using frndint.
28874 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28875 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28877 Likewise.
28878 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28879 sinh test to fail.
28880 * math/auto-libm-test-out: Regenerated.
28881 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28882 (TEST_COND_x86): Likewise.
28883 (expm1_tonearest_test_data): New array.
28884 (expm1_test_tonearest): New function.
28885 (expm1_towardzero_test_data): New array.
28886 (expm1_test_towardzero): New function.
28887 (expm1_downward_test_data): New array.
28888 (expm1_test_downward): New function.
28889 (expm1_upward_test_data): New array.
28890 (expm1_test_upward): New function.
28891 (main): Run the new test functions.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28894
28895 * include/features.h: Update comment documenting feature test
28896 macros. Mention _DEFAULT_SOURCE in comment.
28897 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28898 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28899 _BSD_SOURCE and _SVID_SOURCE.
28900 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28901 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28902 !_SVID_SOURCE]: Likewise.
28903 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28904 (__USE_POSIX_IMPLICITLY): Define.
28905 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28906 (_POSIX_SOURCE): Undefine and redefine.
28907 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28908 (_POSIX_C_SOURCE): Likewise.
28909 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28910 (Feature Test Macros): Update documentation of default features.
28911
28912 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28913
28914 * benchtests/Makefile: Add bench-strtok.
28915 * benchtests/bench-strtok.c: New file: strtok benchtest.
28916
28917 2013-12-19 Allan McRae <allan@archlinux.org>
28918
28919 * manual/install.texi: Suppress menu for plain text output.
28920 * INSTALL: Regenerated.
28921
28922 2013-12-18 Brooks Moses <bmoses@google.com>
28923
28924 [BZ #15846]
28925 * misc/getauxval.c: Include errno.h.
28926 (__getauxval): Set errno to ENOENT if the requested type is not
28927 found.
28928 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28929 don't declare with __attribute_const__.
28930 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28931 * manual/startup.texi: Document that getauxval sets errno.
28932
28933 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28934
28935 * math/auto-libm-test-in: Add tests of jn and yn.
28936 * math/auto-libm-test-out: Regenerated.
28937 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28938 (yn_test_data): Likewise.
28939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28940 mpfr_if_f.
28941 (func_calc_desc): Add mpfr_if_f union field.
28942 (FUNC_mpfr_if_f): New macro.
28943 (test_functions): Add jn and yn.
28944 (calc_generic_results): Assert type of second input for
28945 mpfr_ff_f. Handle mpfr_if_f.
28946 (output_for_one_input_case): Disable all checking for arguments
28947 fitting floating-point types in case of an integer argument.
28948 * sysdeps/i386/fpu/libm-test-ulps: Update.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28950
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28952 Don't expect fegetround reference in libm.so.
28953
28954 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28955
28956 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28957 $(config-cflags-nofma).
28958
28959 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28960
28961 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28962 * math/auto-libm-test-out: Regenerated.
28963
28964 [BZ #16338]
28965 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28966 to determine exponent and adjust argument to have exponent of -1.
28967 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28968 log2.
28969 * math/auto-libm-test-out: Regenerated.
28970 * sysdeps/i386/fpu/libm-test-ulps: Update.
28971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28972
28973 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28974
28975 * manual/probes.texi: Remove cases when per-thread arenas are
28976 disabled.
28977
28978 2013-12-18 Andreas Schwab <schwab@suse.de>
28979
28980 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28981 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28982 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28984 * sysdeps/i386/i686/multiarch/Makefile: Update.
28985 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28986
28987 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28988
28989 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28990 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28991
28992 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28993
28994 [BZ #15968]
28995 Support TZ transition times < 00:00:00.
28996 This is needed for version-3 tz-format files; it supports time
28997 stamps past 2037 for America/Godthab (the only entry in the tz
28998 database for which this change is relevant).
28999 * manual/time.texi (TZ Variable): Document transition times
29000 from -167:59:59 through -00:00:01.
29001 * time/tzset.c (tz_rule): Time of day is now signed.
29002 (__tzset_parse_tz): Parse negative time of day.
29003
29004 Document TZ transition times >= 25:00:00.
29005 * manual/time.texi (TZ Variable): Document transition times from
29006 25:00:00 through 167:59:59. These are already supported, and this
29007 support will help with version-3 tz-format files.
29008
29009 * manual/time.texi (TZ Variable): Modernize North America example
29010 to reflect current (i.e., 2007-and-later) daylight saving rules.
29011
29012 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29013
29014 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29015
29016 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29017 * sysdeps/unix/bsd/bits/stat.h: Likewise.
29018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29020 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29021 * sysdeps/unix/bsd/bsdstat.h: Likewise.
29022 * sysdeps/unix/bsd/clock.c: Likewise.
29023 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29024 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29025 * sysdeps/unix/bsd/init-posix.c: Likewise.
29026 * sysdeps/unix/bsd/poll.c: Likewise.
29027 * sysdeps/unix/bsd/ptsname.c: Likewise.
29028 * sysdeps/unix/bsd/seekdir.c: Likewise.
29029 * sysdeps/unix/bsd/setegid.c: Likewise.
29030 * sysdeps/unix/bsd/seteuid.c: Likewise.
29031 * sysdeps/unix/bsd/setgid.c: Likewise.
29032 * sysdeps/unix/bsd/setrgid.c: Likewise.
29033 * sysdeps/unix/bsd/setruid.c: Likewise.
29034 * sysdeps/unix/bsd/setsid.c: Likewise.
29035 * sysdeps/unix/bsd/setuid.c: Likewise.
29036 * sysdeps/unix/bsd/sigaction.c: Likewise.
29037 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29038 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29039 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29040 * sysdeps/unix/bsd/telldir.c: Likewise.
29041 * sysdeps/unix/bsd/times.c: Likewise.
29042 * sysdeps/unix/bsd/usleep.c: Likewise.
29043
29044 * misc/Makefile (install-lib): Remove libbsd-compat.a.
29045 ($(objpfx)libbsd-compat.a): Remove rule.
29046
29047 * include/features.h (__FAVOR_BSD): Do not define.
29048 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29049 features conflicting with POSIX.
29050 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29051 (_BSD_SOURCE): Remove description of not being a subset of other
29052 feature test macros.
29053 * manual/job.texi (getpgrp): Do not document BSD version.
29054 (getpgid): Do not document by reference to BSD getpgrp.
29055 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29056 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29057 * signal/signal.h [__FAVOR_BSD]: Likewise.
29058 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29059 instead of making contents conditional on [__FAVOR_BSD].
29060 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29061
29062 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29063
29064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29065
29066 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29067
29068 [BZ #16314]
29069 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29070 values below 2**-450, not 2**-500.
29071 * math/auto-libm-test-in: Don't allow spurious underflow from
29072 hypot.
29073 * math/auto-libm-test-out: Regenerated.
29074
29075 [BZ #16316]
29076 [BZ #16330]
29077 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29078 values of ha and hb and sort them after adjusting subnormal
29079 arguments.
29080 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29081 Likewise.
29082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29083 values of ea and eb and sort them after adjusting subnormal
29084 arguments.
29085 * math/auto-libm-test-in: Do not expect some hypot tests of
29086 subnormals to fail. Add more hypot tests.
29087 * math/auto-libm-test-out: Regenerated.
29088
29089 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29090
29091 [BZ #13304]
29092 * sysdeps/sh/s_fma.c: New file.
29093 * sysdeps/sh/s_fmaf.c: New file.
29094 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29095 version.
29096 * sysdeps/sh/Implies: Add sh/soft-fp.
29097
29098 2013-12-16 Roland McGrath <roland@hack.frob.com>
29099
29100 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29101 level of indirection to members `objname', `errstring', `malloced'.
29102 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29103 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29104 it as the __longjmp argument (just pass 1 instead).
29105 (_dl_catch_error): Initialize C with argument pointers and address of
29106 volatile local ERRCODE rather than copying values out of C at return.
29107
29108 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29109
29110 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29111 * math/auto-libm-test-out: Regenerated.
29112 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29113 (hypot_test_data): Likewise.
29114 (pow_test_data): Likewise.
29115 (pow_tonearest_test_data): Likewise.
29116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29117 mpfr_ff_f.
29118 (func_calc_desc): Add mpfr_ff_f union field.
29119 (FUNC_mpfr_ff_f): New macro.
29120 (test_functions): Add atan2, hypot and pow.
29121 (special_fill_min): New function.
29122 (special_fill_minus_min): Likewise.
29123 (special_fill_min_subnorm): Likewise.
29124 (special_fill_minus_min_subnorm): Likewise.
29125 (special_real_inputs): Add min, -min, min_subnorm and
29126 -min_subnorm.
29127 (calc_generic_results): Handle mpfr_ff_f.
29128 * sysdeps/i386/fpu/libm-test-ulps: Update.
29129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29130
29131 2013-12-16 Will Newton <will.newton@linaro.org>
29132
29133 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29134 (Aligned Memory Blocks): Add documentation for aligned_alloc
29135 and suggest it as an alternative to posix_memalign.
29136 (Hooks for Malloc): Document __memalign_hook is also called
29137 for aligned_alloc. (Summary of Malloc): Add summary for
29138 aligned alloc. Document __memalign_hook is also called
29139 for aligned_alloc.
29140
29141 2013-12-16 Will Newton <will.newton@linaro.org>
29142
29143 * manual/memory.texi (Malloc Examples): Clarify default
29144 alignment documentation. Suggest posix_memalign rather
29145 than memalign or valloc.
29146 (Aligned Memory Blocks): Remove suggestion to use memalign
29147 or valloc. Remove obsolete comment about BSD.
29148 Document memalign errno values and mark the function obsolete.
29149 Document posix_memalign returned error codes. Mark valloc
29150 as obsolete. (Hooks for Malloc): __memalign_hook is also
29151 called for posix_memalign and valloc.
29152 (Summary of Malloc): Add posix_memalign to function summary.
29153 __memalign_hook is also called for posix_memalign and valloc.
29154
29155 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29156
29157 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29158 TAYLOR_SIN.
29159 (__sin): Adjust.
29160 (__cos): Likewise.
29161 (sloww): Use mynumber union. Expand ternary operator into
29162 if-else statements.
29163 (cslow): use mynumber union.
29164
29165 2013-12-16 Allan McRae <allan@archlinux.org>
29166
29167 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29168 * configure: Regenerated.
29169
29170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29171
29172 [BZ #14120]
29173 * configure.ac: Added --enable-maintainer-mode. Check for
29174 autoconf when enabled.
29175 * configure: Regenerated.
29176
29177 * nscd/nscd.service: New file.
29178 * nscd/nscd.tmpfiles: New file.
29179
29180 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29181
29182 [BZ #12100]
29183 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29184 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29185 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29186 (strstr): Add __strstr_sse2_unaligned ifunc.
29187 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29188 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29189 (strcasestr): Remove __strcasestr_sse42 ifunc.
29190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29193
29194 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29195
29196 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29197 * sysdeps/sh/bits/fenv.h: ... here.
29198 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29199
29200 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29201
29202 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29203
29204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29205 hypotf multiarch implementations.
29206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29209 multiarch hypot for PPC64.
29210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29213 multiarch hypotf for PPC64.
29214
29215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29216 modff multiarch implementations.
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29220 multiarch modf for PPC64.
29221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29224 multiarch modff for PPC64.
29225
29226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29227 and logl multiarch implementations.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29231 multiarch logb for PPC64.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29235 multiarch logb for PPC64.
29236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29239 multiarch logb for PPC64.
29240
29241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29242 isinff multiarch implementation.
29243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29244 file.
29245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29247 multiarch isinf for PPC64.
29248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29249 file.
29250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29251 multiarch isinff for PPC64.
29252
29253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29254 finitef multiarch implementation.
29255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29256 file.
29257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29259 multiarch finite for PPC64.
29260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29261 file.
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29263 multiarch finitef for PPC64.
29264
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29266 lrint multiarch implementation.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29268 file.
29269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29271 multiarch llrint for PPC64.
29272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29273 multiarch lrint for PPC64.
29274
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29276 copysignf multiarch implementation.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29278 file.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29280 file.
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29282 multiarch copysign for PPC64.
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29284 multiarch copysignf for PPC64.
29285
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29287 multiarch implementation.
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29289 file.
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29291 file.
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29293 file.
29294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29295 file.
29296 multiarch llround for PPC64.
29297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29298 multiarch trunc for PPC64.
29299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29300 multiarch truncf for PPC64.
29301
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29303 multiarch implementation.
29304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29305 file.
29306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29307 file.
29308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29309 file.
29310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29311 file.
29312 multiarch llround for PPC64.
29313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29314 multiarch round for PPC64.
29315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29316 multiarch roundf for PPC64.
29317
29318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29319 multiarch implementation.
29320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29321 file.
29322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29323 file.
29324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29325 file.
29326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29327 file.
29328 multiarch llround for PPC64.
29329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29330 multiarch floor for PPC64.
29331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29332 multiarch floorf for PPC64.
29333
29334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29335 multiarch implementation.
29336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29337 file.
29338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29339 file.
29340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29341 file.
29342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29343 file.
29344 multiarch llround for PPC64.
29345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29346 multiarch ceil for PPC64.
29347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29348 multiarch ceilf for PPC64.
29349
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29351 multiarch implementation.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29353 file.
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29355 file.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29357 file.
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29359 multiarch llround for PPC64.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29361 multiarch lround for PPC64.
29362
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29364 multiarch implementation.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29368 file.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29372 multiarch isnan for PPC64.
29373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29374 multiarch isnanf for PPC64.
29375
29376 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29377 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29378 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29379 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29380 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29382
29383 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29387
29388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29389 multiarch implementations.
29390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29391 (__libc_ifunc_impl_list): Likewise.
29392 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29395 multiarch stpcpy for PPC64.
29396
29397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29398 multiarch implementations.
29399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29400 (__libc_ifunc_impl_list): Likewise.
29401 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29402 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29403 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29404 multiarch strcpy for PPC64.
29405
29406 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29407 redefine function name.
29408 (_wordcopy_fwd_dest_aligned): Likewise.
29409 (_wordcopy_bwd_aligned): Likewise.
29410 (_wordcopy_bwd_dest_aligned): Likewise.
29411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29412 multiarch implementations.
29413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29414 (__libc_ifunc_impl_list): Likewise.
29415 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29419 multiarch wcscpy for PPC64.
29420
29421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29422 multiarch implementations.
29423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29424 (__libc_ifunc_impl_list): Likewise.
29425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29428 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29429 multiarch wcscpy for PPC64.
29430
29431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29432 multiarch implementations.
29433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29434 (__libc_ifunc_impl_list): Likewise.
29435 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29436 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29438 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29439 multiarch wcsrchr for PPC64.
29440
29441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29442 multiarch implementations.
29443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29444 (__libc_ifunc_impl_list): Likewise.
29445 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29446 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29447 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29448 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29449 multiarch wcschr for PPC64.
29450
29451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29452 multiarch implementations.
29453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29454 (__libc_ifunc_impl_list): Likewise.
29455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29457 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29458 multiarch strchrnul for PPC64.
29459
29460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29461 implementations.
29462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29463 (__libc_ifunc_impl_list): Likewise.
29464 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29465 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29466 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29467 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29468 strchr for PPC64.
29469
29470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29471 implementations.
29472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29473 (__libc_ifunc_impl_list): Likewise.
29474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29477 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29478 strncmp for PPC64.
29479
29480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29481 multiarch implementations.
29482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29483 (__libc_ifunc_impl_list): Likewise.
29484 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29485 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29486 strncasecmp for PPC64.
29487 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29488 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29489 multiarch strncasecmp_l for PPC64.
29490
29491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29492 multiarch implementations.
29493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29494 (__libc_ifunc_impl_list): Likewise.
29495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29497 multiarch strcasecmp for PPC64.
29498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29499 file.
29500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29501 multiarch strcasecmp_l for PPC64.
29502
29503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29504 implementations.
29505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29506 (__libc_ifunc_impl_list): Likewise.
29507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29508 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29509 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29510 strnlen for PPC64.
29511
29512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29513 implementations.
29514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29515 (__libc_ifunc_impl_list): Likewise.
29516 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29517 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29518 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29519 strlen for PPC64.
29520
29521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29522 implementations.
29523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29524 (__libc_ifunc_impl_list): Likewise.
29525 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29526 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29527 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29528 rawmemrchr for PPC64.
29529
29530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29531 implementation.
29532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29533 (__libc_ifunc_impl_list): Likewise.
29534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29535 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29536 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29537 memrchr for PPC64.
29538
29539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29540 implementation.
29541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29542 (__libc_ifunc_impl_list): Likewise.
29543 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29544 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29545 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29546 memchr for PPC64.
29547
29548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29549 implementation.
29550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29551 (__libc_ifunc_impl_list): Likewise.
29552 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29554 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29555 mempcpy for PPC64.
29556
29557 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29558 avoid cretion of __bzero symbol.
29559 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29560 Likewise.
29561 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29562 Likewise.
29563 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29564 Likewise.
29565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29566 multiarch implementations.
29567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29568 (__libc_ifunc_impl_list): Likewise.
29569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29572 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29573 bzero for PPC32.
29574 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29575 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29576 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29577 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29578 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29579 memset for PPC64.
29580 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29581
29582 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29584 implementations.
29585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29586 (__libc_ifunc_impl_list): Likewise.
29587 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29589 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29590 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29591 memcmp for PPC64.
29592
29593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29594 multiarch for POWER/PPC64.
29595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29596 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29603 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29604 memcpy for PPC64.
29605
29606 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29607 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29608 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29609 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29610 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29611 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29612 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29613 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29614 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29615 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29616 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29617 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29618 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29619 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29620 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29628
29629 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29630
29631 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29632
29633 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29634
29635 * benchtests/Makefile (bench): Add exp2 and log2.
29636 (LDLIBS-bench-exp2): Add -lm.
29637 (LDLIBS-bench-log2): Likewise.
29638 * benchtests/exp2-inputs: New inputs file.
29639 * benchtests/log2-inputs: New inputs file.
29640 * benchtests/log-inputs: Add new inputs.
29641 * benchtests/tan-inputs: Likewise.
29642
29643 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29644
29645 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29646 definition...
29647 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29648 (csloww2): ... from here.
29649
29650 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29651 instead of structures.
29652 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29653 (POLYNOMIAL): Likewise.
29654 (TAYLOR_SLOW): Likewise.
29655 (__sin): Likewise.
29656 (__cos): Likewise.
29657 (slow1): Likewise.
29658 (slow2): Likewise.
29659 (sloww): Likewise.
29660 (sloww1); Likewise.
29661 (sloww2): Likewise.
29662 (bsloww1): Likewise.
29663 (bsloww2): Likewise.
29664 (cslow2): Likewise.
29665 (csloww): Likewise.
29666 (csloww1): Likewise.
29667 (csloww2): Likewise.
29668
29669 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29670
29671 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29672 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29673 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29674 * malloc/hooks.c (realloc_check): Likewise.
29675
29676 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29677 * malloc/arena.c: Remove PER_THREAD conditional.
29678 [!PER_THREAD]: Remove code.
29679 (ptmalloc_unlock_all2): Likewise.
29680 (ptmalloc_init): Likewise.
29681 (_int_new_arena): Likewise.
29682 (arena_get2): Likewise.
29683 * malloc/hooks.c (__malloc_get_state): Likewise.
29684 (__malloc_set_state): Likewise.
29685 * malloc/malloc.c: Likewise.
29686 (struct malloc_state): Likewise.
29687 (struct malloc_par): Likewise.
29688 (__libc_realloc): Likewise.
29689 (__libc_mallopt): Likewise.
29690
29691 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29692
29693 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29694
29695 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29696
29697 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29698 macro to a function. Check for zero perturb_byte.
29699 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29700
29701 * malloc/malloc.c: (force_reg): Remove.
29702 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29703 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29704 force_reg by atomic_forced_read.
29705 * malloc/arena.c (ptmalloc_init): Likewise.
29706 * malloc/hooks.c (top_check): Likewise.
29707
29708 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29709
29710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29711
29712 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29713
29714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29715
29716 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29717
29718 * math/auto-libm-test-in: Add tests of lgamma.
29719 * math/auto-libm-test-out: Regenerated.
29720 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29721 (M_LOG_2_SQRT_PIl): Likewise.
29722 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29723 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29724 mpfr_f_f1.
29725 (func_calc_desc): Add mpfr_f_f1 union field.
29726 (ARGS1): New macro.
29727 (ARGS2): Likewise.
29728 (ARGS3): Likewise.
29729 (ARGS4): Likewise.
29730 (RET1): Likewise.
29731 (RET2): Likewise.
29732 (CALC): Likewise.
29733 (FUNC): Likewise.
29734 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29735 (test_functions): Add lgamma.
29736 (calc_generic_results): Handle mpfr_f_f1.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29739
29740 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29741
29742 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29743 __mpn_add_n for PowerPC64/POWER7.
29744 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29745 __mpn_sub_n for PowerPC64/POWER7.
29746
29747 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29748 __mpn_addmul_1 for PowerPC64.
29749 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29750 __mpn_submul_1 for PowerPC64.
29751 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29752 for PowerPC64.
29753 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29754 for PowerPC64.
29755
29756 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29757
29758 [BZ #15089]
29759 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29760
29761 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29762
29763 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29764
29765 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29766 add multiarch folders.
29767 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29768 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29769 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29770 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29771 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29772 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29773 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29774 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29775 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29776 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29777 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29784
29785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29786 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29788 New file.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29790 New file.
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29792 multiarch __ieee754_hypot for PowerPC32.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29794 New file.
29795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29796 New file.
29797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29798 multiarch __ieee754_hypotf for PowerPC32.
29799
29800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29801 long_double_symbol only if __logbl is defined.
29802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29803 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29805 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29807 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29809 path for implementation.
29810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29813 logb, and logbl multiarch implementations for PowerPC32.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29815 file.
29816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29817 file.
29818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29819 multiarch logb for PowerPC32.
29820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29821 file.
29822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29823 file.
29824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29825 multiarch logbf for PowerPC32.
29826 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29828 file.
29829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29830 multiarch logbl implementation for PowerPC32.
29831
29832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29833 and modff multiarch implementations.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29835 New file.
29836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29837 New file.
29838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29839 multiarch modf for PowerPC32.
29840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29841 New file.
29842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29843 New file.
29844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29845 multiarch modff for PowerPC32.
29846
29847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29848 and lrintf multiarch implementations.
29849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29850 New file.
29851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29852 New file.
29853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29854 multiarch lrint for PowerPC32.
29855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29856 file: multiarch lrintf for PowerPC32.
29857
29858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29859 and lroundf multiarch implementations.
29860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29861 New file.
29862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29863 New file.
29864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29865 New file.
29866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29867 multiarch lround for PowerPC32.
29868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29869 file: multiarch lroundf for PowerPC32.
29870
29871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29872 copysign and copysignf multiarch implementations.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29874 New file.
29875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29876 New file.
29877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29878 file: multiarch copysign for PowerPC32.
29879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29880 file: multiarch copysignf for PowerPC32.
29881
29882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29883 and truncf multiarch implementations.
29884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29885 New file.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29887 file.
29888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29889 multiarch trunc for PowerPC32.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29891 New file.
29892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29893 New file.
29894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29895 multiarch truncf for PowerPC32.
29896
29897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29898 and roundf multiarch implementations.
29899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29900 New file.
29901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29902 file.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29904 multiarch round for PowerPC32.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29906 New file.
29907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29908 New file.
29909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29910 multiarch roundf for PowerPC32.
29911
29912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29913 and floorf multiarch implementations.
29914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29915 New file.
29916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29917 file.
29918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29919 multiarch floor for PowerPC32.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29921 New file.
29922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29923 New file.
29924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29925 multiarch floorf for PowerPC32.
29926
29927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29928 and ceilf multiarch implementations.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29930 New file.
29931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29932 file.
29933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29934 multiarch ceil for PowerPC32.
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29936 New file.
29937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29938 file.
29939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29940 multiarch ceilf for PowerPC32.
29941
29942 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29943 is defined.
29944 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29945 FINITEF is defined.
29946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29947 and finitef multiarch implementations.
29948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29949 New file.
29950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29951 file.
29952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29953 multiarch finite for PowerPC32.
29954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29955 New file.
29956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29957 file: multiarch finitef for PowerPC32.
29958
29959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29960 and isinff multiarch implementations.
29961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29962 file.
29963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29964 file.
29965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29966 multiarch isinf for PowerPC32.
29967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29968 New file.
29969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29970 multiarch isinff for PowerPC32.
29971
29972 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29973 alias when __isnan is defined.
29974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29975 and isnanf multiarch implementations.
29976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29977 file.
29978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29979 file.
29980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29981 file.
29982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29983 file.
29984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29985 multiarch isnan for PowerPC32.
29986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29987 New file.
29988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29989 New file.
29990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29991 multiarch isnanf for PowerPC32.
29992
29993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29994 and sqrtf multiarch implementations.
29995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29996 file.
29997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29998 file.
29999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30000 multiarch sqrt for PowerPC32.
30001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30002 file.
30003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30004 file.
30005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30006 multiarch sqrtf for PowerPC32.
30007
30008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30009 and llroundf multiarch implementations.
30010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30011 New file.
30012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30013 New file.
30014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30015 New file.
30016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30017 file: multiarch llround for PowerPC32.
30018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30019 file: multiarch llroundf for PowerPC32.
30020
30021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30022 multiarch PowerPC32 fpu implementations.
30023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30024 New file.
30025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30026 New file.
30027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30028 multiarch llrint for PowerPC32.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30030 New file.
30031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30032 New file.
30033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30034 file.
30035
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30037
30038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30039 file.
30040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30041 file.
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30043 file.
30044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30045 multiarch wordcopy for PPC32.
30046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30047 wordcopy objects.
30048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30049 (__libc_ifunc_impl_list): Likewise.
30050 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30051 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30053 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30055 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30056
30057 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30059 file.
30060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30061 file.
30062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30063 file.
30064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30065 multiarch wcscpy for PPC32.
30066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30067 multiarch objects.
30068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30069 (__libc_ifunc_impl_list): Likewise.
30070 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30071 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30072 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30073 sysdeps/powerpc/power6/wcscpy.c.
30074
30075 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30077 file.
30078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30079 file.
30080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30081 file.
30082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30083 multiarch wcsrchr for PPC32.
30084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30085 multiarch objects.
30086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30087 (__libc_ifunc_impl_list): Likewise.
30088 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30089 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30090 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30091 sysdeps/powerpc/power6/wcsrchr.c.
30092
30093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30094 file.
30095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30096 file.
30097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30099 multiarch wcschr for PPc32.
30100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30101 multiarch objects.
30102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30103 (__libc_ifunc_impl_list): Likewise.
30104 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30105 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30106 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30107 sysdeps/powerpc/power6/wcschr.c.
30108
30109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30111 file.
30112 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30113 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30114 file: multiarch strchr for PPC32.
30115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30116 multiarch objects.
30117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30118 (__libc_ifunc_impl_list): Likewise.
30119
30120 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30121 name.
30122 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30123 file.
30124 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30125 file.
30126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30127 multiarch strchrnul for PPC32.
30128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30129 multiarch objects.
30130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30131 (__libc_ifunc_impl_list): Likewise.
30132
30133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30134 file.
30135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30136 multiarch strncasecmp for PPC32.
30137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30138 file.
30139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30140 multiarch strncasecmp_l for PPC32.
30141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30142 strncasecmp multiarch objects.
30143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30144 (__libc_ifunc_impl_list): Likewise.
30145
30146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30147 file.
30148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30149 multiarch strncasecmp for PPC32.
30150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30151 New file.
30152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30153 multiarch strcasecmp_l for PPC32.
30154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30155 multiarch objects.
30156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30157 (__libc_ifunc_impl_list): Likewise.
30158
30159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30160 file.
30161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30162 file.
30163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30164 multiarch strncmp for PPC32.
30165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30166 multiarch objects.
30167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30168 (__libc_ifunc_impl_list): Likewise.
30169
30170 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30171 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30172 file.
30173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30174 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30176 multiarch objects.
30177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30178 (__libc_ifunc_impl_list): Likewise.
30179
30180 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30181 file.
30182 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30183 file.
30184 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30186 multiarch objects.
30187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30188 (__libc_ifunc_impl_list): Likewise.
30189
30190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30191 file.
30192 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30193 file.
30194 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30195 multiarch rawmemchr for PPC32.
30196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30197 multiarch objects.
30198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30199 (__libc_ifunc_impl_list): Likewise.
30200
30201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30202 file.
30203 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30204 file.
30205 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30206 file: memrchr multiarch for PPC32.
30207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30208 multiarch objects.
30209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30210 (__libc_ifunc_impl_list): Likewise.
30211
30212 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30214 file.
30215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30217 multiarch memchr for PPC32.
30218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30219 multiarch objects.
30220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30221 (__libc_ifunc_impl_list): Likewise.
30222
30223 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30224 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30225 file.
30226 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30227 file.
30228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30229 file: multiarch mempcpy for PPC32.
30230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30231 multiarch objects.
30232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30233 (__libc_ifunc_impl_list): Likewise.
30234
30235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30239 multiarch bzero for PPC32.
30240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30241 file.
30242 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30243 file.
30244 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30245 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30246 file: multiarch memset for PPC32.
30247 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30249 memset multiarch objects.
30250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30251 (__libc_ifunc_impl_list): Likewise.
30252
30253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30254 file.
30255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30257 memcmp for PPC32.
30258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30260 multiarch objects.
30261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30262 (__libc_ifunc_impl_list): Likewise.
30263
30264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30267 file.
30268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30269 file.
30270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30271 file.
30272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30273 multiarch memcpy for PPC32.
30274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30275 multiarch objects.
30276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30277 (__libc_ifunc_impl_list): Likewise.
30278
30279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30280 support multiarch for POWER/PPC32.
30281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30282 Likewise.
30283 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30285 Implies file to make multiarch folder appers before the fpu and
30286 default folder for power4 configuration.
30287
30288 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30289
30290 * scripts/bench.pl: Append volatile keyword to type.
30291
30292 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30293
30294 * sysdeps/sh/sotruss-lib.c: New file.
30295 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30296
30297 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30298
30299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30300
30301 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30302
30303 [BZ #6810]
30304 * math/w_tgamma.c: Include <errno.h>.
30305 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30306 * math/w_tgammaf.c: Include <errno.h>.
30307 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30308 * math/w_tgammal.c: Include <errno.h>.
30309 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30310 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30311 underflow. Add more tgamma tests.
30312 * math/auto-libm-test-out: Regenerated.
30313 * sysdeps/i386/fpu/libm-test-ulps: Update.
30314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30315
30316 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30317 sin, sinh, tan, tanh, tgamma, y0 and y1.
30318 * math/auto-libm-test-out: Regenerated.
30319 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30320 (TEST_COND_x86): Likewise.
30321 (M_E2l): Remove macro.
30322 (M_E3l): Likewise.
30323 (M_2_SQRT_PIl): Likewise.
30324 (M_SQRT_PIl): Likewise.
30325 (M_1_DIV_El): Likewise.
30326 (log_test_data): Use AUTO_TESTS_f_f.
30327 (log10_test_data): Likewise.
30328 (log1p_test_data): Likewise.
30329 (log2_test_data): Likewise.
30330 (sin_test_data): Likewise.
30331 (sin_tonearest_test_data): Likewise.
30332 (sin_towardzero_test_data): Likewise.
30333 (sin_downward_test_data): Likewise.
30334 (sin_upward_test_data): Likewise.
30335 (sinh_test_data): Likewise.
30336 (sinh_tonearest_test_data): Likewise.
30337 (sinh_towardzero_test_data): Likewise.
30338 (sinh_downward_test_data): Likewise.
30339 (sinh_upward_test_data): Likewise.
30340 (tan_test_data): Likewise.
30341 (tan_tonearest_test_data): Likewise.
30342 (tan_towardzero_test_data): Likewise.
30343 (tan_downward_test_data): Likewise.
30344 (tan_upward_test_data): Likewise.
30345 (tanh_test_data): Likewise.
30346 (tgamma_test_data): Likewise.
30347 (y0_test_data): Likewise.
30348 (y1_test_data): Likewise.
30349 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30350 (special_real_inputs): Add pi/4.
30351 * sysdeps/i386/fpu/libm-test-ulps: Update.
30352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30353
30354 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355
30356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30357 "longjmp_target" static probes.
30358 (__longjmp): Rename to __longjmp_symbol.
30359 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30360 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30361 on which longjmp to generate.
30362 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30363 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30364 probe.
30365 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30366 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30367 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30368 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30369 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30370 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30372 __longjmp_symbol based on which __longjmp to generate.
30373 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30374 probe.
30375 (setjmp): Rename to setjmp_symbol.
30376 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30377 (_setjmp): Rename to _setjmp_symbol.
30378 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30379 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30380 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30381 which setjmp to generate.
30382 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30383 "longjmp_target" static probes.
30384
30385 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
30387 * benchtests/README: Add note about output arguments.
30388 * benchtests/bench-sincos.c: Remove file.
30389 * benchtests/sincos-inputs: New file.
30390 * scripts/bench.pl: Identify output arguments and define
30391 static variables for them.
30392
30393 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30394
30395 [BZ #15941]
30396 * Makefile (INSTALL): Add install-plain.texi as the primary
30397 dependency.
30398 * manual/install-plain.texi: New file.
30399 * manual/install.texi: Include node directive only for
30400 non-plaintext output.
30401
30402 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30403
30404 * stdlib/longlong.h: Update from GCC.
30405
30406 [BZ #6807]
30407 [BZ #15901]
30408 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30409 * math/w_j0f.c (y0f): Likewise.
30410 * math/w_j0l.c (__y0l): Likewise.
30411 * math/w_j1.c (y1): Likewise.
30412 * math/w_j1f.c (y1f): Likewise.
30413 * math/w_j1l.c (__y1l): Likewise
30414 * math/w_jn.c (yn): Likewise.
30415 * math/w_jnf.c (ynf): Likewise.
30416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30417 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30418 value for Bessel function domain errors outside _SVID_ mode.
30419 Adjust sign of return value for yn (negative integer, 0).
30420 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30421 by zero in return for negative x and set sign appropriately for
30422 negative n.
30423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30425 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30426 expectations in error cases.
30427 (y1_test_data): Likewise.
30428 (yn_test_data): Likewise.
30429 * sysdeps/i386/fpu/libm-test-ulps: Update.
30430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30431
30432 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30433
30434 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30435 "64" to "64-v1". Add "64-v2".
30436 (abi-64-options): Rename to ...
30437 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30438 (abi-64-condition): Rename to ...
30439 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30440 (abi-64-ld-soname): Rename to ...
30441 (abi-64-v1-ld-soname): ... this.
30442 (abi-64-v2-options): Define.
30443 (abi-64-v2-condition): Likewise.
30444 (abi-64-v2-ld-soname): Likewise.
30445 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30446 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30450
30451 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30452 Alan Modra <amodra@gmail.com>
30453
30454 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30455 New versions for use with the ELFv2 ABI.
30456 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30457 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30458 declaration.
30459 (struct La_ppc64v2_retval): Likewise.
30460 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30461 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30462 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30463 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30464 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30465 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30466 Do not save or restore CR.
30467 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30468 (_dl_profile_resolve): Do no save or restore CR. Support extended
30469 return values for ELFv2 ABI. Fix location of FPR return registers.
30470 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30471 updated values for _CALL_ELF == 2.
30472 (La_regs, La_retval, int_retval): Likewise.
30473
30474 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30475
30476 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30477 (FRAME_MIN_SIZE_PARM): Likewise.
30478 (FRAME_BACKCHAIN): Likewise.
30479 (FRAME_CR_SAVE): Likewise.
30480 (FRAME_LR_SAVE): Likewise.
30481 (FRAME_TOC_SAVE): Likewise.
30482 (FRAME_PARM_SAVE): Likewise.
30483 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30484 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30485 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30486 (call_mcount_parm_offset): New macro.
30487 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30488 (PROF): Use symbolic stack frame offsets.
30489 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30490 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30491 Redefine in terms of FRAME_MIN_SIZE.
30492 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30493 (_dl_profile_resolve): Likewise. Update comment.
30494 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30495 symbols stack frame offsets.
30496 (__sigsetjmp): Likewise.
30497 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30498 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30499 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30500 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30501
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30503 (FRAME_BACKCHAIN): Remove.
30504 (FRAME_CR_SAVE): Likewise.
30505 (FRAME_LR_SAVE): Likewise.
30506 (FRAME_COMPILER_DW): Likewise.
30507 (FRAME_LINKER_DW): Likewise.
30508 (FRAME_TOC_SAVE): Likewise.
30509 (FRAME_PARM_SAVE): Likewise.
30510 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30511 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30512 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30514 (CHECK_SP): Use symbolic stack frame offsets.
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30516 zone" instead of caller's parameter save area for temp storage.
30517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30518 Likewise. Also, use symbolic stack frame offsets.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30520 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30521 our own stack frame instead of the caller's.
30522 (__socket): Use symbolic stack frame offsets.
30523
30524 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30525 Alan Modra <amodra@gmail.com>
30526
30527 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30528 Define.
30529 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30530 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30531 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30532 New function.
30533 (elf_machine_fixup_plt): Call it.
30534 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30535 reloc arguments.
30536 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30537 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30538 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30539 r2 before calling target.
30540
30541 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30542 Alan Modra <amodra@gmail.com>
30543
30544 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30545 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30546 versions of macros to support ELFv2 ABI.
30547 (LOCALENTRY): New macro.
30548 (ENTRY, EALIGN): Use it.
30549 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30550 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30551 fall through into ENTRY entry point.
30552 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30553 Only define if _CALL_ELF != 2.
30554
30555 (elf_machine_matches_host): Verify ABI version matches.
30556 (RTLD_START): Use LOCALENTRY.
30557 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30558 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30559 (PLT_ENTRY_WORDS): New macro.
30560 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30561 (elf_machine_runtime_setup): Support ELFv2 ABI.
30562 (elf_machine_fixup_plt): Likewise.
30563 (elf_machine_plt_conflict): Likewise.
30564 (resolve_ifunc): Likewise.
30565 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30567 Likewise.
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30569 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30571 (makecontext): Support ELFv2 ABI.
30572 * elf/elf.h (EF_PPC64_ABI): Define.
30573
30574 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30575
30576 * sysdeps/powerpc/powerpc64/sysdep.h
30577 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30578 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30579 (ENTRY) [ASSEMBLER]: ... but instead here ...
30580 (EALIGN) [ASSEMBLER]: ... and here.
30581 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30582 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30583 (ENTRY_2) [!ASSEMBLER]: Use it.
30584 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30585 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30587 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30588 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30590 Use PPC64_LOAD_FUNCPTR.
30591
30592 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30593
30594 2013-12-04 Alan Modra <amodra@gmail.com>
30595
30596 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30597 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30598 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30599 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30600
30601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30602 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30603 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30604 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30605 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30606 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30607
30608 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30609
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30611 (__makecontext): Fix incorrect CFI when backtracing out of
30612 context created via makecontext.
30613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30614 (__setcontext): Fix incorrect CFI during switch to new context.
30615 (__novec_setcontext): Likewise.
30616
30617 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30618
30619 [BZ #4772]
30620 * time/strptime_l.c (__strptime_internal): Allow modifiers
30621 in strptime.
30622 * time/tst-strptime.c (day_tests): Add testcase.
30623
30624 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30625
30626 * scripts/bench.pl: Skip over blank lines.
30627
30628 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30629
30630 [BZ #926]
30631 * manual/time.texi (Calendar Time): Clarify what timezone functions
30632 use.
30633
30634 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30635
30636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30637
30638 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30639
30640 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30641 implementation.
30642 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30643 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30644 * debug/memset_chk.c (__memset_chk): Likewise.
30645 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30646 * debug/strncpy_chk.c: Likewise.
30647
30648 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30649
30650 [BZ #15268]
30651 [BZ #15425]
30652 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30653 (__ieee754_exp): For possibly underflowing results, check size of
30654 result and force underflow exception if required.
30655 * math/auto-libm-test-in: Add more tests of exp.
30656 * math/auto-libm-test-out: Regenerated.
30657 * sysdeps/i386/fpu/libm-test-ulps: Update.
30658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30659
30660 [BZ #16283]
30661 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30662 * math/w_exp2f.c (__exp2f): Likewise.
30663 * math/w_exp2l.c (__exp2l): Likewise.
30664 * math/auto-libm-test-in: Do not allow missing errno on exp2
30665 underflow.
30666 * math/auto-libm-test-out: Regenerated.
30667
30668 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30669
30670 [BZ #16274]
30671 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30672 handle filename validation.
30673 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30674 (do_open): Delete.
30675
30676 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30677
30678 [BZ #6786]
30679 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30680 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30681 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30682 <float.h>.
30683 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30685 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30686 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30687 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30689 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30690 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30691 Add more erfc tests.
30692 * math/auto-libm-test-out: Regenerated.
30693 * sysdeps/i386/fpu/libm-test-ulps: Update.
30694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30695
30696 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30697 exp2, expm1, j0 and j1.
30698 * math/auto-libm-test-out: Regenerated.
30699 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30700 (erfc_test_data): Likewise.
30701 (exp_test_data): Likewise.
30702 (exp_tonearest_test_data): Likewise.
30703 (exp_towardzero_test_data): Likewise.
30704 (exp_downward_test_data): Likewise.
30705 (exp_upward_test_data): Likewise.
30706 (exp10_test_data): Likewise.
30707 (exp2_test_data): Likewise.
30708 (expm1_test_data): Likewise.
30709 (j0_test_data): Likewise.
30710 (j1_test_data): Likewise.
30711 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30712 (input_flag_type): Add flag_xfail_rounding.
30713 (input_flags): Add xfail-rounding.
30714 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30715 (output_for_one_input_case): Handle flag_xfail_rounding.
30716 * sysdeps/i386/fpu/libm-test-ulps: Update.
30717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30718
30719 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30720
30721 [BZ #16289]
30722 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30723 division by 0.
30724
30725 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30726
30727 [BZ #16195]
30728 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30729 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30730 (STAP_PROBE0): New macro.
30731 (STAP_PROBE1): Likewise.
30732 (STAP_PROBE2): Likewise.
30733 (STAP_PROBE3): Likewise.
30734 (STAP_PROBE4): Likewise.
30735
30736 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30737
30738 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30739
30740 2013-12-02 Steve Ellcey <sellcey@mips.com>
30741
30742 * benchtests/Makefile (bench): Add sqrt.
30743 (LDLIBS-bench-sqrt): New.
30744 * benchtests/sqrt-input: New.
30745
30746 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30747
30748 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30749 (GAIH_EAI): Likewise.
30750 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30751 (gaih_inet): Likewise.
30752 (getaddrinfo): Don't use GAIH_EAI.
30753
30754 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30755 (struct gaih): Remove definition.
30756
30757 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30758
30759 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30760 Use HERRNOP directly.
30761
30762 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30763
30764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30765
30766 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30767
30768 * math/gen-auto-libm-tests.c (test_functions): Add more
30769 single-argument functions.
30770 (special_fill_pi_2): New function.
30771 (special_fill_minus_pi_2): Likewise.
30772 (special_fill_pi_6): Likewise.
30773 (special_fill_minus_pi_6): Likewise.
30774 (special_fill_pi_3): Likewise.
30775 (special_fill_2pi_3): Likewise.
30776 (special_fill_e): Likewise.
30777 (special_fill_1_e): Likewise.
30778 (special_fill_e_minus_1): Likewise.
30779 (special_real_inputs): Add more special inputs.
30780 (output_for_one_input_case): Do not require ERANGE on underflow to
30781 zero if round-to-nearest result does not underflow to zero, unless
30782 exact results required.
30783 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30784 atan, atanh, cbrt, cos and cosh.
30785 * math/auto-libm-test-out: Regenerated.
30786 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30787 (acos_tonearest_test_data): Likewise.
30788 (acos_towardzero_test_data): Likewise.
30789 (acos_downward_test_data): Likewise.
30790 (acos_upward_test_data): Likewise.
30791 (acosh_test_data): Likewise.
30792 (asin_test_data): Likewise.
30793 (asin_tonearest_test_data): Likewise.
30794 (asin_towardzero_test_data): Likewise.
30795 (asin_upward_test_data): Likewise.
30796 (asinh_test_data): Likewise.
30797 (atan_test_data): Likewise.
30798 (atanh_test_data): Likewise.
30799 (cbrt_test_data): Likewise.
30800 (cos_test_data): Likewise.
30801 (cos_tonearest_test_data): Likewise.
30802 (cos_towardzero_test_data): Likewise.
30803 (cos_downward_test_data): Likewise.
30804 (cos_upward_test_data): Likewise.
30805 (cosh_test_data): Likewise.
30806 (cosh_tonearest_test_data): Likewise.
30807 (cosh_towardzero_test_data): Likewise.
30808 (cosh_downward_test_data): Likewise.
30809 (cosh_upward_test_data): Likewise.
30810 * sysdeps/i386/fpu/libm-test-ulps: Update.
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30812
30813 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30814
30815 [BZ #6787]
30816 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30817 * math/w_exp10f.c (__exp10f): Likewise.
30818 * math/w_exp10l.c (__exp10l): Likewise.
30819 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30820 errno settings in existing tests.
30821
30822 [BZ #14032]
30823 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30824 precision control set to double precision.
30825 * sysdeps/i386/fpu/w_sqrt.c: New file.
30826 * math/auto-libm-test-in: Add more tests.
30827 * math/auto-libm-test-out: Update.
30828
30829 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30830 (sqrt_test_tonearest): New function.
30831 (sqrt_towardzero_test_data): New variable.
30832 (sqrt_test_towardzero): New function.
30833 (sqrt_downward_test_data): New variable.
30834 (sqrt_test_downward): New function.
30835 (sqrt_upward_test_data): New variable.
30836 (sqrt_test_upward): New function.
30837 (main): Call the new functions.
30838
30839 * math/gen-auto-libm-tests.c: New file.
30840 * math/auto-libm-test-in: Likewise.
30841 * math/auto-libm-test-out: New generated file.
30842 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30843 variables.
30844 (%beautify): Add generated representations of zero.
30845 (top level): Set $auto_input and call parse_auto_input.
30846 (beautify): Remove trailing "f" from hex float constants.
30847 (parse_args): Handle XFAIL_TEST.
30848 (convert_condition): New function.
30849 (or_value): Likewise.
30850 (or_cond_value): Likewise.
30851 (generate_testfile): Handle AUTO_TESTS_* lines.
30852 (parse_auto_input): New function.
30853 * math/libm-test.inc (XFAIL_TEST): New macro.
30854 (ERRNO_UNCHANGED): Update value.
30855 (ERRNO_EDOM): Likewise.
30856 (ERRNO_ERANGE): Likewise.
30857 (IGNORE_RESULT): Likewise.
30858 (TEST_COND_flt_32): New macro.
30859 (TEST_COND_dbl_64): Likewise.
30860 (TEST_COND_ldbl_96_intel): Likewise.
30861 (TEST_COND_ldbl_96_m68k): Likewise.
30862 (TEST_COND_ldbl_128): Likewise.
30863 (TEST_COND_ldbl_128ibm): Likewise.
30864 (TEST_COND_long32): Likewise.
30865 (TEST_COND_long64): Likewise.
30866 (TEST_COND_before_rounding): Likewise.
30867 (TEST_COND_after_rounding): Likewise.
30868 (enable_test): Handle XFAIL_TEST flag.
30869 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30870 with finite results.
30871 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30872 auto-libm-test-out.
30873
30874 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30875 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30876
30877 [BZ #16214]
30878 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30879 __tls_get_addr_internal instead of __tls_get_offset in order to
30880 avoid GOT pointer dependency. Make rtld export
30881 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30882 __tls_get_addr since we are a __tls_get_offset platform.
30883 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30884 GOT pointer being set up before.
30885 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30886
30887 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30888
30889 * manual/math.texi (Errors in Math Functions): Document accuracy
30890 goals.
30891
30892 [BZ #15004]
30893 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30894 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30909
30910 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30911 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30912 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30913 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30914 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30915 Likewise.
30916 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30917 Likewise.
30918 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30919 Likewise.
30920 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30921 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30922 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30923 atomic-feupdateenv and flt-rounds.
30924 * sysdeps/powerpc/nofpu/Versions (libc): Add
30925 __atomic_feholdexcept, __atomic_feclearexcept,
30926 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30927 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30928 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30929 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30930 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30931 here.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30933 Update.
30934
30935 * manual/arith.texi (FP Exceptions): Document that exceptions may
30936 not be raised when matherr is used.
30937 (Math Error Reporting): Document overflow in directed rounding
30938 modes. Document that errno may not be set when finite values are
30939 returned on overflow. Document intent to set errno on underflow
30940 only for underflow to zero.
30941
30942 [BZ #16271]
30943 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30944 round-to-nearest then adjust result for other rounding modes.
30945 * include/fenv.h (fegetround): Use libm_hidden_proto.
30946 * math/fegetround.c (fegetround): Use libm_hidden_def.
30947 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30948 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30949 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30951 Likewise.
30952 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30953 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30954 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30955 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30956
30957 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30958
30959 [BZ #16077]
30960 * nss/Versions (libnss_files): Add
30961 _nss_files_gethostbyname3_r.
30962 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30963 New function.
30964 (HOST_DB_LOOKUP): Remove macro.
30965 (_nss_files_gethostbyname_r): Implement function without the
30966 HOST_DB_LOOKUP macro.
30967 (_nss_files_gethostbyname2_r): Likewise.
30968
30969 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30970
30971 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30972
30973 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30974
30975 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30976 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30977 warning.
30978
30979 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30980
30981 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30982 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30983 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30984 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30985 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30986 __fe_nomask_env_priv and attribute_hidden.
30987 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30988 (libc_feupdateenv_test_ppc): Likewise.
30989 (libc_feresetround_ppc): Likewise.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30991 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30992 compat_symbol macro.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30994 (__fe_nomask_env): Likewise.
30995 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30996
30997 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30998
30999 * string/Makefile: Remove ifunc tests.
31000 * string/test-string.h: Define TEST_IFUNC.
31001 * string/test-bcopy-ifunc.c: Remove.
31002 * string/test-bzero-ifunc.c: Likewise.
31003 * string/test-memccpy-ifunc.c: Likewise.
31004 * string/test-memchr-ifunc.c: Likewise.
31005 * string/test-memcmp-ifunc.c: Likewise.
31006 * string/test-memcpy-ifunc.c: Likewise.
31007 * string/test-memmem-ifunc.c: Likewise.
31008 * string/test-memmove-ifunc.c: Likewise.
31009 * string/test-mempcpy-ifunc.c: Likewise.
31010 * string/test-memrchr-ifunc.c: Likewise.
31011 * string/test-memset-ifunc.c: Likewise.
31012 * string/test-rawmemchr-ifunc.c: Likewise.
31013 * string/test-stpcpy-ifunc.c: Likewise.
31014 * string/test-stpncpy-ifunc.c: Likewise.
31015 * string/test-strcasecmp-ifunc.c: Likewise.
31016 * string/test-strcasestr-ifunc.c: Likewise.
31017 * string/test-strcat-ifunc.c: Likewise.
31018 * string/test-strchr-ifunc.c: Likewise.
31019 * string/test-strchrnul-ifunc.c: Likewise.
31020 * string/test-strcmp-ifunc.c: Likewise.
31021 * string/test-strcpy-ifunc.c: Likewise.
31022 * string/test-strcspn-ifunc.c: Likewise.
31023 * string/test-strlen-ifunc.c: Likewise.
31024 * string/test-strncasecmp-ifunc.c: Likewise.
31025 * string/test-strncat-ifunc.c: Likewise.
31026 * string/test-strncmp-ifunc.c: Likewise.
31027 * string/test-strncpy-ifunc.c: Likewise.
31028 * string/test-strnlen-ifunc.c: Likewise.
31029 * string/test-strpbrk-ifunc.c: Likewise.
31030 * string/test-strrchr-ifunc.c: Likewise.
31031 * string/test-strspn-ifunc.c: Likewise.
31032 * string/test-strstr-ifunc.c: Likewise.
31033
31034 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31035
31036 * benchtests/Makefile: Remove ifunc tests.
31037 * benchtests/bench-string.h: Define TEST_IFUNC.
31038 * benchtests/bench-bcopy-ifunc.c: Remove.
31039 * benchtests/bench-bzero-ifunc.c: Likewise.
31040 * benchtests/bench-memccpy-ifunc.c: Likewise.
31041 * benchtests/bench-memchr-ifunc.c: Likewise.
31042 * benchtests/bench-memcmp-ifunc.c: Likewise.
31043 * benchtests/bench-memcpy-ifunc.c: Likewise.
31044 * benchtests/bench-memmem-ifunc.c: Likewise.
31045 * benchtests/bench-memmove-ifunc.c: Likewise.
31046 * benchtests/bench-mempcpy-ifunc.c: Likewise.
31047 * benchtests/bench-memrchr-ifunc.c: Likewise.
31048 * benchtests/bench-memset-ifunc.c: Likewise.
31049 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31050 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31051 * benchtests/bench-stpcpy-ifunc.c: Likewise.
31052 * benchtests/bench-stpncpy-ifunc.c: Likewise.
31053 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31054 * benchtests/bench-strcasestr-ifunc.c: Likewise.
31055 * benchtests/bench-strcat-ifunc.c: Likewise.
31056 * benchtests/bench-strchr-ifunc.c: Likewise.
31057 * benchtests/bench-strchrnul-ifunc.c: Likewise.
31058 * benchtests/bench-strcmp-ifunc.c: Likewise.
31059 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31060 * benchtests/bench-strcpy-ifunc.c: Likewise.
31061 * benchtests/bench-strcspn-ifunc.c: Likewise.
31062 * benchtests/bench-strlen-ifunc.c: Likewise.
31063 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31064 * benchtests/bench-strncat-ifunc.c: Likewise.
31065 * benchtests/bench-strncmp-ifunc.c: Likewise.
31066 * benchtests/bench-strncpy-ifunc.c: Likewise.
31067 * benchtests/bench-strnlen-ifunc.c: Likewise.
31068 * benchtests/bench-strpbrk-ifunc.c: Likewise.
31069 * benchtests/bench-strrchr-ifunc.c: Likewise.
31070 * benchtests/bench-strsep-ifunc.c: Likewise.
31071 * benchtests/bench-strspn-ifunc.c: Likewise.
31072 * benchtests/bench-strstr-ifunc.c: Likewise.
31073
31074 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31075
31076 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31077
31078 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31079
31080 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31081 * rt/aio.h: Likewise.
31082 * sysdeps/gnu/bits/utmp.h: Likewise.
31083 * sysdeps/gnu/bits/utmpx.h: Likewise.
31084 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31085 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31086 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31087 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31088 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31089 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31090 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31091 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31092 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31093 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31094 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31095 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31096 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31098 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31099 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31100 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31102 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31103 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31104 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31105 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31106 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31107 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31108 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31110 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31111 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31112 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31113 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31114 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31115 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31117 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31118 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31119 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31121 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31122 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31123 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31124 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31125 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31126
31127 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31128
31129 [BZ #16245]
31130 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31131 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31132
31133 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31134
31135 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31136 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31137 Likewise.
31138
31139 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31140
31141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31142 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31143 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31144 (__fesetround): Remove define.
31145 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31146 rounding and exceptions handling.
31147 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31148 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31149 (__fe_nomask_env): Likewise.
31150 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31151 __fegetround instead of fegetround.
31152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31154
31155 2013-11-21 Roland McGrath <roland@hack.frob.com>
31156
31157 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31158 it's there.
31159
31160 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31161
31162 2013-11-21 Meador Inge <meadori@codesourcery.com>
31163
31164 [BZ #11157]
31165 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31166 (encrypt_r): Likewise.
31167 * malloc/obstack.h (obstack_free): Likewise.
31168 * posix/unistd.h (encrypt): Likewise.
31169
31170 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31171
31172 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31173 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31174 DL_CALL_DT_FINI() that call the functions directly.
31175 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31176 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31177 * elf/dl-fini.c: Likewise.
31178
31179 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31180
31181 * malloc/hooks.c (memalign_check): Add alignment rounding.
31182 * malloc/malloc.c (_mid_memalign): New function.
31183 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31184 Implement by calling _mid_memalign.
31185 * manual/probes.texi (Memory Allocation Probes): Remove
31186 memory_valloc_retry and memory_pvalloc_retry.
31187
31188 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31189
31190 * locale/programs/locarchive.c (open_archive): Add const
31191 qualifier to ARCHIVEFNAME and copy default fname to
31192 DEFAULT_FNAME.
31193
31194 [BZ #15601]
31195 * libio/tst-widetext.input: Rename Oriya to Odia.
31196 * locale/iso-639.def: Likewise.
31197
31198 * manual/probes.texi (Mathematical Function Probes): Add
31199 documentation for sin, cos, asin and acos probes.
31200 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31201 (__sin32): Add slowasin probe.
31202 (__cos32): Add slowacos probe.
31203 (__mpsin): Add slowsin probe.
31204 (__mpcos): Add slowcos probe.
31205
31206 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31207
31208 [BZ #15483]
31209 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31210 thread-local __sim_exceptions_thread and global
31211 __sim_exceptions_global.
31212 (__sim_disabled_exceptions): Change to thread-local
31213 __sim_disabled_exceptions_thread and global
31214 __sim_disabled_exceptions_global.
31215 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31216 and global __sim_round_mode_global.
31217 (__simulate_exceptions): Use thread-local floating-point state and
31218 set global state from it as needed.
31219 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31220 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31221 __sim_round_mode_thread.
31222 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31223 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31224 and global __sim_exceptions_global.
31225 (__sim_disabled_exceptions): Change to thread-local
31226 __sim_disabled_exceptions_thread and global
31227 __sim_disabled_exceptions_global.
31228 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31229 and global __sim_round_mode_global.
31230 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31231 (SIM_SET_GLOBAL): Likewise.
31232 * sysdeps/powerpc/soft-fp/sfp-machine.h
31233 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31234 __sim_round_mode_thread.
31235 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31236 __sim_disabled_exceptions_thread.
31237 (__sim_exceptions): Change to __sim_exceptions_thread.
31238 (__sim_disabled_exceptions): Change to
31239 __sim_disabled_exceptions_thread.
31240 (__sim_round_mode): Change to __sim_round_mode_thread.
31241 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31242 thread-local floating-point state and set global state from it as
31243 needed.
31244 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31245 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31246 (__sim_disabled_exceptions): Remove extern declaration.
31247 (feenableexcept): Use thread-local floating-point state and set
31248 global state from it as needed.
31249 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31250 extern declaration.
31251 (__sim_disabled_exceptions): Likewise.
31252 (__sim_round_mode): Likewise.
31253 (__fegetenv): Use thread-local floating-point state.
31254 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31255 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31256 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31257 floating-point state and set global state from it as needed.
31258 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31259 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31260 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31261 Likewise.
31262 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31263 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31264 Likewise.
31265 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31266 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31267 Use __sim_round_mode_thread.
31268 * math/test-fenv-tls.c: New file.
31269 * math/Makefile (tests): Add test-fenv-tls.
31270 ($(objpfx)test-fenv-tls): Depend on
31271 $(common-objpfx)nptl/libpthread.so.
31272
31273 2013-11-19 Andreas Schwab <schwab@suse.de>
31274
31275 * locale/programs/locale.c (show_info): Decode wordarray elements.
31276 * locale/categories.def (LC_MONETARY): Add element for
31277 _NL_MONETARY_CRNCYSTR.
31278 * locale/C-monetary.c (conversion_rate): New variable.
31279 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31280 element.
31281
31282 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31283
31284 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31285 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31286
31287 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31288
31289 * elf/Makefile (tst-auxv): New test.
31290 * elf/tst-auxv.c: New
31291 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31292
31293 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31294
31295 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31296 (hidden_proto): Caller changed.
31297 (hidden_tls_proto): New macro.
31298 (libc_hidden_tls_proto): Likewise.
31299 (rtld_hidden_tls_proto): Likewise.
31300 (libm_hidden_tls_proto): Likewise.
31301 (libresolv_hidden_tls_proto): Likewise.
31302 (librt_hidden_tls_proto): Likewise.
31303 (libdl_hidden_tls_proto): Likewise.
31304 (libnss_files_hidden_tls_proto): Likewise.
31305 (libnsl_hidden_tls_proto): Likewise.
31306 (libnss_nisplus_hidden_tls_proto): Likewise.
31307 (libutil_hidden_tls_proto): Likewise.
31308
31309 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31310
31311 [BZ #10253]
31312 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31313 (decompose_rpath): Defer expansion to fillin_rpath.
31314 (_dl_init_paths): Pass linkmap to fillin_rpath.
31315
31316 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31317
31318 * benchtests/Makefile: Add strsep.
31319 * benchtests/bench-strsep.c: New file: strsep benchtest.
31320 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31321
31322 2013-11-18 Andreas Schwab <schwab@suse.de>
31323
31324 * locale/programs/locale.c (show_info) [case byte]: Check for
31325 '\377' instead of '\177'.
31326 * locale/C-monetary.c (not_available): Always use "\377".
31327 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31328 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31329 detect unavailable sign_posn locale elements.
31330 * locale/localeconv.c (__localeconv): For grouping and
31331 mon_grouping handle "\177" and "\377" like no grouping.
31332 (INT_ELEM): New macro. Use it to set all numeric members.
31333 * locale/programs/ld-monetary.c (monetary_read)
31334 <tok_mon_grouping>: Normalize single -1 to the empty string.
31335 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31336 Likewise.
31337
31338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31339
31340 [BZ #16055]
31341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31342 when we match (nil).
31343 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31344
31345 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31346
31347 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31348 (NO_TEST_INLINE): Update value.
31349 (ERRNO_UNCHANGED): Likewise.
31350 (ERRNO_EDOM): Likewise.
31351 (ERRNO_ERANGE): Likewise.
31352 (IGNORE_RESULT): Likewise.
31353 (check_float_internal): Check signs of NaN results if
31354 TEST_NAN_SIGN used.
31355 (check_complex): Pass TEST_NAN_SIGN flag through to second
31356 check_float_internal call.
31357 (copysign_test_data): Add tests with quiet NaNs as second
31358 argument. Use TEST_NAN_SIGN.
31359 (fabs_test_data): Add test of negative quiet NaN argument. Use
31360 TEST_NAN_SIGN.
31361 (signbit_test_data): Add tests of quiet NaN argument.
31362 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31363
31364 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31365 $ignore_result.
31366 (parse_args): Handle function results specified as IGNORE.
31367 * math/libm-test.inc (IGNORE_RESULT): New macro.
31368 (check_float_internal): Do not check numerical result if flag
31369 IGNORE_RESULT set.
31370 (check_complex): Pass through IGNORE_RESULT to second
31371 check_float_internal call.
31372 (check_int): Do not check numerical result if flag IGNORE_RESULT
31373 set.
31374 (check_long): Likewise.
31375 (check_bool): Likewise.
31376 (check_longlong): Likewise.
31377 (lrint_test_data): Add tests of infinite and NaN arguments.
31378 (lrint_tonearest_test_data): Likewise.
31379 (lrint_towardzero_test_data): Likewise.
31380 (lrint_downward_test_data): Likewise.
31381 (lrint_upward_test_data): Likewise.
31382 (llrint_test_data): Likewise.
31383 (llrint_tonearest_test_data): Likewise.
31384 (llrint_towardzero_test_data): Likewise.
31385 (llrint_downward_test_data): Likewise.
31386 (llrint_upward_test_data): Likewise.
31387 (lround_test_data): Likewise.
31388 (llround_test_data): Likewise.
31389
31390 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31391 (ERRNO_UNCHANGED): Update value.
31392 (ERRNO_EDOM): Likewise.
31393 (ERRNO_ERANGE): Likewise.
31394 (NO_TEST_INLINE_FLOAT): New macro.
31395 (NO_TEST_INLINE_DOUBLE): Likewise.
31396 (enable_test): New function.
31397 (RUN_TEST_f_f): Check enable_test before running test.
31398 (RUN_TEST_2_f): Likewise.
31399 (RUN_TEST_fff_f): Likewise.
31400 (RUN_TEST_c_f): Likewise.
31401 (RUN_TEST_f_f1): Likewise.
31402 (RUN_TEST_fF_f1): Likewise.
31403 (RUN_TEST_fI_f1): Likewise.
31404 (RUN_TEST_ffI_f1): Likewise.
31405 (RUN_TEST_c_c): Likewise.
31406 (RUN_TEST_cc_c): Likewise.
31407 (RUN_TEST_f_i): Likewise.
31408 (RUN_TEST_f_i_tg): Likewise.
31409 (RUN_TEST_ff_i_tg): Likewise.
31410 (RUN_TEST_f_b): Likewise.
31411 (RUN_TEST_f_b_tg): Likewise.
31412 (RUN_TEST_f_l): Likewise.
31413 (RUN_TEST_f_L): Likewise.
31414 (RUN_TEST_fFF_11): Likewise.
31415 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31416 conditionals.
31417 (cosh_test_data): Likewise.
31418 (exp_test_data): Likewise.
31419 (expm1_test_data): Likewise.
31420 (hypot_test_data): Likewise.
31421 (pow_test_data): Likewise.
31422 (sinh_test_data): Likewise.
31423 (tanh_test_data): Likewise.
31424 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31425 flags argument.
31426
31427 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31428 tests with quiet NaN input and output.
31429 (acosh_test_data): Likewise.
31430 (asin_test_data): Likewise.
31431 (asinh_test_data): Likewise.
31432 (atan_test_data): Likewise.
31433 (atanh_test_data): Likewise.
31434 (atan2_test_data): Likewise.
31435 (cbrt_test_data): Likewise.
31436 (cos_test_data): Likewise.
31437 (cosh_test_data): Likewise.
31438 (erf_test_data): Likewise.
31439 (erfc_test_data): Likewise.
31440 (exp_test_data): Likewise.
31441 (exp10_test_data): Likewise.
31442 (exp2_test_data): Likewise.
31443 (expm1_test_data): Likewise.
31444 (hypot_test_data): Likewise.
31445 (j0_test_data): Likewise.
31446 (j1_test_data): Likewise.
31447 (jn_test_data): Likewise.
31448 (lgamma_test_data): Likewise.
31449 (log_test_data): Likewise.
31450 (log10_test_data): Likewise.
31451 (log1p_test_data): Likewise.
31452 (log2_test_data): Likewise.
31453 (pow_test_data): Likewise.
31454 (scalb_test_data): Likewise.
31455 (sin_test_data): Likewise.
31456 (sincos_test_data): Likewise.
31457 (sinh_test_data): Likewise.
31458 (tan_test_data): Likewise.
31459 (tanh_test_data): Likewise.
31460 (tgamma_test_data): Likewise.
31461 (y0_test_data): Likewise.
31462 (y1_test_data): Likewise.
31463 (yn_test_data): Likewise.
31464
31465 [BZ #16167]
31466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31467 argument being NaN and avoid computations with second argument in
31468 that case.
31469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31471 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31472
31473 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31474
31475 * locale/iso-639.def: Add Chitwani Tharu (the).
31476
31477 2013-11-14 Andreas Schwab <schwab@suse.de>
31478
31479 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31480 word instead of empty string.
31481
31482 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31483
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31485 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31487 (__fe_nomask_env): Likewise.
31488
31489 2013-11-13 Steve Ellcey <sellcey@mips.com>
31490
31491 * benchtests/bench-timing.h: Include time.h.
31492
31493 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31494
31495 [BZ #15997]
31496 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31497 to 3.4.0 for x32.
31498 * sysdeps/unix/sysv/linux/configure: Regenerated.
31499
31500 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31501
31502 [BZ #16151]
31503 * stdlib/strtod_l.c (round_and_return): Do not consider
31504 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31505 exponent one less than half the least subnormal exponent.
31506 * stdlib/test-strtod-round-data: Add more tests.
31507 * stdlib/tst-strtod-round.c (tests): Regenerated.
31508
31509 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31510
31511 [BZ #14143]
31512 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31513 (__fe_mask_env): Likewise.
31514 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31515 libm_hidden_proto and add function prototype.
31516 (__fe_mask_env): Add function prototype.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31518 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31520 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31522 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31523
31524 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31525
31526 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31527 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31528
31529 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31530
31531 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31532 of htab_find_slot().
31533
31534 2013-11-11 David S. Miller <davem@davemloft.net>
31535
31536 [BZ #16150]
31537 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31538 symbol in the non-vis3 case in static builds.
31539 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31540 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31541 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31542 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31543
31544 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31545
31546 [BZ #387]
31547 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31548 it is empty.
31549
31550 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31551
31552 * benchtests/Makefile: Add bench-strtod.
31553 * benchtests/bench-strtod.c: New file: strtod benchtest
31554
31555 2013-11-11 Andreas Schwab <schwab@suse.de>
31556
31557 [BZ #16153]
31558 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31559 terminating NUL in key length.
31560
31561 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31562
31563 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31564 Add artificial ODP entry for vDSO symbol for PPC64.
31565 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31566 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31567
31568 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31569
31570 [BZ #15374]
31571 * nss/getent.c (services_keys): Recognize services starting with digit.
31572
31573 2013-11-06 David S. Miller <davem@davemloft.net>
31574
31575 [BZ #15985]
31576 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31577 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31578
31579 2013-11-06 Will Newton <will.newton@linaro.org>
31580
31581 * manual/memory.texi (Malloc Examples): Remove register
31582 keyword from examples.
31583
31584 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31585
31586 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31587
31588 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31589
31590 [BZ #6981]
31591 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31592 depending on [__GCC_IEC_559 > 0].
31593 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31594 depending on [__GCC_IEC_559_COMPLEX > 0].
31595
31596 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31597
31598 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31599 to iso-639.def.
31600
31601 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31602
31603 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31604
31605 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31606
31607 [BZ #16112]
31608 * malloc/malloc (malloc_info): Do not handle first bin as
31609 special case.
31610
31611 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31612
31613 * locale/iso-639.def: Add Central Nahuatl (nhn).
31614
31615 2013-11-01 Bruno Haible <bruno@clisp.org>
31616
31617 [BZ #7003]
31618 * manual/math.texi (BSD Random): Specify range upper bound as
31619 in POSIX.
31620
31621 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31622
31623 * locale/iso-639.def: Add Meadow Mari (mhr).
31624
31625 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31626
31627 [BZ #14752], [BZ #15763]
31628 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31629 Validate name.
31630 * rt/tst_shm.c: Add test for escaping directory.
31631
31632 2013-10-31 Andreas Schwab <schwab@suse.de>
31633
31634 [BZ #15917]
31635 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31636 followed by 'x' as part of digit sequence.
31637 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31638
31639 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31640
31641 [BZ #16037]
31642 * configure.ac: allow GNU Make 4.0 and greater.
31643 * configure: Regenerated.
31644
31645 2013-10-30 Will Newton <will.newton@linaro.org>
31646
31647 [BZ #16038]
31648 * malloc/hooks.c (memalign_check): Limit alignment to the
31649 maximum representable power of two.
31650 * malloc/malloc.c (__libc_memalign): Likewise.
31651 * malloc/tst-memalign.c (do_test): Add test for very
31652 large alignment values.
31653 * malloc/tst-posix_memalign.c (do_test): Likewise.
31654
31655 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31656
31657 [BZ #11087]
31658 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31659 (munmap_chunk): Likewise.
31660 (mremap_chunk): Likewise.
31661
31662 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31663
31664 [BZ #15799]
31665 * stdlib/div.c (div): Remove obsolete code.
31666 * stdlib/ldiv.c (ldiv): Likewise.
31667 * stdlib/lldiv.c (lldiv): Likewise.
31668
31669 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31670
31671 [BZ #16071]
31672 * nss/nss_files/files-XXX.c (get_contents_ret): New
31673 enumerator.
31674 (get_contents): New function.
31675 (internal_getent): Use it. Expand size of LINEBUFLEN.
31676
31677 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31678
31679 * configure.in: Moved to ...
31680 * configure.ac: ... here. Change reference to configure.in
31681 to configure.ac.
31682 * sysdeps/arm/preconfigure.ac: ... here.
31683 configure.in to configure.ac.
31684 * sysdeps/gnu/configure.in: Moved to ...
31685 * sysdeps/gnu/configure.ac: ... here.
31686 * sysdeps/i386/configure.in: Moved to ...
31687 * sysdeps/i386/configure.ac: ... here.
31688 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31689 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31690 * sysdeps/mach/configure.in: Moved to ...
31691 * sysdeps/mach/configure.ac: ... here.
31692 * sysdeps/mach/hurd/configure.in: Moved to ...
31693 * sysdeps/mach/hurd/configure.ac: ... here.
31694 * sysdeps/powerpc/configure.in: Moved to ...
31695 * sysdeps/powerpc/configure.ac: ... here.
31696 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31697 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31698 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31699 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31700 * sysdeps/s390/s390-32/configure.in: Moved to ...
31701 * sysdeps/s390/s390-32/configure.ac: ... here.
31702 * sysdeps/s390/s390-64/configure.in: Moved to ...
31703 * sysdeps/s390/s390-64/configure.ac: ... here.
31704 * sysdeps/sh/configure.in: Moved to ...
31705 * sysdeps/sh/configure.ac: ... here.
31706 * sysdeps/sparc/configure.in: Moved to ...
31707 * sysdeps/sparc/configure.ac: ... here.
31708 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31709 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31710 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31711 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31712 * sysdeps/x86_64/configure.in: Moved to ...
31713 * sysdeps/x86_64/configure.ac: ... here.
31714 * sysdeps/x86_64/preconfigure.in: Moved to ...
31715 * sysdeps/x86_64/preconfigure.ac: ... here.
31716 * aclocal.m4: Change reference to configure.in to configure.ac.
31717 * config.h.in: Likewise.
31718 * manual/install.texi: Likewise.
31719 * manual/maint.texi: Likewise.
31720 * Makefile: Likewise.
31721 * malloc/Makefile: Likewise.
31722 * nscd/Makefile: Likewise.
31723 * Makeconfig: Change reference to configure.in and
31724 preconfigure.in to configure.ac and preconfigure.ac
31725 respectively.
31726 * INSTALL: Regenerated.
31727 * configure: Likewise.
31728 * sysdeps/gnu/configure: Likewise.
31729 * sysdeps/i386/configure: Likewise.
31730 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31731 * sysdeps/mach/configure: Likewise.
31732 * sysdeps/mach/hurd/configure: Likewise.
31733 * sysdeps/powerpc/configure: Likewise.
31734 * sysdeps/powerpc/powerpc32/configure: Likewise.
31735 * sysdeps/powerpc/powerpc64/configure: Likewise.
31736 * sysdeps/s390/s390-32/configure: Likewise.
31737 * sysdeps/s390/s390-64/configure: Likewise.
31738 * sysdeps/sh/configure: Likewise.
31739 * sysdeps/sparc/configure: Likewise.
31740 * sysdeps/unix/sysv/linux/configure: Likewise.
31741 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31742 * sysdeps/x86_64/configure: Likewise.
31743 * sysdeps/x86_64/preconfigure: Likewise.
31744
31745 2013-10-29 Andreas Schwab <schwab@suse.de>
31746
31747 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31748
31749 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31750
31751 * benchtests/pow-inputs: Add new inputs.
31752
31753 * benchtests/exp-inputs: Add new inputs.
31754
31755 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31756 conditional check for return value.
31757 (__cos32): Likewise.
31758
31759 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31760
31761 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31762 to provide a boost for large inputs with word alignment.
31763 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31764 implementation based on optimized PPC64 strcpy.
31765 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31766 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31767 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31768 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31769
31770 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31771
31772 [BZ #2801]
31773 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31774
31775 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31776
31777 [BZ #14876]
31778 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31779 * time/tst-strptime.c (day_tests): Add testcase.
31780
31781 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31782
31783 [BZ #14029]
31784 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31785
31786 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31787
31788 [BZ #16074]
31789 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31790 MAP_FAILED on error.
31791
31792 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31793
31794 [BZ #16072]
31795 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31796 heap for large requests.
31797
31798 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31799
31800 [BZ #9954]
31801 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31802 result if the result has no associated interface.
31803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31804 interface for all 127.X.Y.Z addresses.
31805
31806 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31807
31808 * locale/iso-639.def: Add Ligurian (lij)
31809
31810 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31811
31812 [BZ #15825]
31813 * sunrpc/rpc_main.c: Document rpcgen -5.
31814
31815 2013-10-19 Michael Stahl <mstahl@redhat.com>
31816
31817 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31818
31819 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31820
31821 [BZ #10278]
31822 * posix/glob.c: Match only directories when trailing slash is present.
31823 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31824 (main): Add testcase.
31825
31826 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31827
31828 [BZ #15670]
31829 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31830
31831 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31832
31833 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31834 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31835 AUTH_DES and cindex for FIPS 140-2.
31836 (DES Encryption): Add cindex FIPS 46-3.
31837
31838 * locale/locarchive.h (struct locarhandle): Add fname.
31839 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31840 if an optional argument was specified to --list-archive,
31841 otherwise NULL.
31842 * locale/programs/locarchive.c (show_archive_content): Take new
31843 argument fname and pass it via ah.fname to open_archive.
31844 * locale/programs/localedef.h: Update decl.
31845 (open_archive): If AH->fname is non-null, open that file
31846 rather than the default file name, and don't ignore ENOENT.
31847 (create_archive): Set AH.fname to NULL.
31848 (delete_locales_from_archive): Likewise.
31849 (add_locales_to_archive): Likewise.
31850 * locale/programs/locfile.c (write_all_categories): Likewise.
31851
31852 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31853 Aldy Hernandez <aldyh@redhat.com>
31854
31855 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31856 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31857 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31858 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31859 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31862 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31863 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31864 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31865 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31866 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31867 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31868 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31870 Likewise.
31871 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31872 Likewise.
31873 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31874 Likewise.
31875 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31876 Likewise.
31877 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31878 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31879 Likewise.
31880 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31881 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31882 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31883 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31884 Likewise.
31885 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31886 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31887 * sysdeps/powerpc/preconfigure: Likewise.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31889 Likewise.
31890 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31891 Replace contents of file by #include of <fenv_libc.h>.
31892 * sysdeps/powerpc/soft-fp/sfp-machine.h
31893 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31894 and <sys/prctl.h>.
31895 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31908 Allow copysignl PLT reference to be missing.
31909
31910 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31911 Joseph Myers <joseph@codesourcery.com
31912
31913 [BZ #15948]
31914 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31915 single character.
31916 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31917
31918 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31919
31920 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31921 * elf/tst-tls1.c: Likewise.
31922 * elf/tst-tls10.h: Likewise.
31923 * elf/tst-tls14.c: Likewise.
31924 * elf/tst-tls2.c: Likewise.
31925 * elf/tst-tls3.c: Likewise.
31926 * elf/tst-tls4.c: Likewise.
31927 * elf/tst-tls5.c: Likewise.
31928 * elf/tst-tls6.c: Likewise.
31929 * elf/tst-tls7.c: Likewise.
31930 * elf/tst-tls8.c: Likewise.
31931 * elf/tst-tls9.c: Likewise.
31932 * elf/tst-tlsmod1.c: Likewise.
31933 * elf/tst-tlsmod13.c: Likewise.
31934 * elf/tst-tlsmod13a.c: Likewise.
31935 * elf/tst-tlsmod14a.c: Likewise.
31936 * elf/tst-tlsmod16a.c: Likewise.
31937 * elf/tst-tlsmod16b.c: Likewise.
31938 * elf/tst-tlsmod2.c: Likewise.
31939 * elf/tst-tlsmod3.c: Likewise.
31940 * elf/tst-tlsmod4.c: Likewise.
31941 * elf/tst-tlsmod5.c: Likewise.
31942 * elf/tst-tlsmod6.c: Likewise.
31943
31944 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31945
31946 [BZ #12486]
31947 * malloc/malloc.c: remove checks for statistics.
31948
31949 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31950
31951 [BZ #15277]
31952 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31953 * inet/tst-network.c: Add testcase.
31954
31955 2013-10-17 Andreas Schwab <schwab@suse.de>
31956
31957 [BZ #15218]
31958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31959 to determine canonical name.
31960
31961 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31962
31963 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31964 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31987 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31988 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32004 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32005 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32006 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32007 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32010 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32013 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32021
32022 2013-10-17 Joseph Myers <joseph@codesourcery.com>
32023
32024 [BZ #16041]
32025 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32026 make result into a quiet NaN.
32027
32028 2013-10-16 Joseph Myers <joseph@codesourcery.com>
32029
32030 * soft-fp/adddf3.c: Fix horizontal whitespace.
32031 * soft-fp/addsf3.c: Likewise.
32032 * soft-fp/addtf3.c: Likewise.
32033 * soft-fp/divdf3.c: Likewise.
32034 * soft-fp/divsf3.c: Likewise.
32035 * soft-fp/divtf3.c: Likewise.
32036 * soft-fp/double.h: Likewise.
32037 * soft-fp/eqdf2.c: Likewise.
32038 * soft-fp/eqsf2.c: Likewise.
32039 * soft-fp/eqtf2.c: Likewise.
32040 * soft-fp/extenddftf2.c: Likewise.
32041 * soft-fp/extended.h: Likewise.
32042 * soft-fp/extendsfdf2.c: Likewise.
32043 * soft-fp/extendsftf2.c: Likewise.
32044 * soft-fp/extendxftf2.c: Likewise.
32045 * soft-fp/fixdfdi.c: Likewise.
32046 * soft-fp/fixdfsi.c: Likewise.
32047 * soft-fp/fixdfti.c: Likewise.
32048 * soft-fp/fixsfdi.c: Likewise.
32049 * soft-fp/fixsfsi.c: Likewise.
32050 * soft-fp/fixsfti.c: Likewise.
32051 * soft-fp/fixtfdi.c: Likewise.
32052 * soft-fp/fixtfsi.c: Likewise.
32053 * soft-fp/fixtfti.c: Likewise.
32054 * soft-fp/fixunsdfdi.c: Likewise.
32055 * soft-fp/fixunsdfsi.c: Likewise.
32056 * soft-fp/fixunsdfti.c: Likewise.
32057 * soft-fp/fixunssfdi.c: Likewise.
32058 * soft-fp/fixunssfsi.c: Likewise.
32059 * soft-fp/fixunssfti.c: Likewise.
32060 * soft-fp/fixunstfdi.c: Likewise.
32061 * soft-fp/fixunstfsi.c: Likewise.
32062 * soft-fp/fixunstfti.c: Likewise.
32063 * soft-fp/floatdidf.c: Likewise.
32064 * soft-fp/floatdisf.c: Likewise.
32065 * soft-fp/floatditf.c: Likewise.
32066 * soft-fp/floatsidf.c: Likewise.
32067 * soft-fp/floatsisf.c: Likewise.
32068 * soft-fp/floatsitf.c: Likewise.
32069 * soft-fp/floattidf.c: Likewise.
32070 * soft-fp/floattisf.c: Likewise.
32071 * soft-fp/floattitf.c: Likewise.
32072 * soft-fp/floatundidf.c: Likewise.
32073 * soft-fp/floatundisf.c: Likewise.
32074 * soft-fp/floatunditf.c: Likewise.
32075 * soft-fp/floatunsidf.c: Likewise.
32076 * soft-fp/floatunsisf.c: Likewise.
32077 * soft-fp/floatunsitf.c: Likewise.
32078 * soft-fp/floatuntidf.c: Likewise.
32079 * soft-fp/floatuntisf.c: Likewise.
32080 * soft-fp/floatuntitf.c: Likewise.
32081 * soft-fp/fmadf4.c: Likewise.
32082 * soft-fp/fmasf4.c: Likewise.
32083 * soft-fp/fmatf4.c: Likewise.
32084 * soft-fp/gedf2.c: Likewise.
32085 * soft-fp/gesf2.c: Likewise.
32086 * soft-fp/getf2.c: Likewise.
32087 * soft-fp/ledf2.c: Likewise.
32088 * soft-fp/lesf2.c: Likewise.
32089 * soft-fp/letf2.c: Likewise.
32090 * soft-fp/muldf3.c: Likewise.
32091 * soft-fp/mulsf3.c: Likewise.
32092 * soft-fp/multf3.c: Likewise.
32093 * soft-fp/negdf2.c: Likewise.
32094 * soft-fp/negsf2.c: Likewise.
32095 * soft-fp/negtf2.c: Likewise.
32096 * soft-fp/op-1.h: Likewise.
32097 * soft-fp/op-2.h: Likewise.
32098 * soft-fp/op-4.h: Likewise.
32099 * soft-fp/op-8.h: Likewise.
32100 * soft-fp/op-common.h: Likewise.
32101 * soft-fp/quad.h: Likewise.
32102 * soft-fp/single.h: Likewise.
32103 * soft-fp/soft-fp.h: Likewise.
32104 * soft-fp/sqrtdf2.c: Likewise.
32105 * soft-fp/sqrtsf2.c: Likewise.
32106 * soft-fp/sqrttf2.c: Likewise.
32107 * soft-fp/subdf3.c: Likewise.
32108 * soft-fp/subsf3.c: Likewise.
32109 * soft-fp/subtf3.c: Likewise.
32110 * soft-fp/truncdfsf2.c: Likewise.
32111 * soft-fp/trunctfdf2.c: Likewise.
32112 * soft-fp/trunctfsf2.c: Likewise.
32113 * soft-fp/trunctfxf2.c: Likewise.
32114 * soft-fp/unorddf2.c: Likewise.
32115 * soft-fp/unordsf2.c: Likewise.
32116 * soft-fp/unordtf2.c: Likewise.
32117
32118 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32119
32120 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32121 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32122
32123 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32124
32125 * elf/dl-libc.c: Clear initfini list after freeing.
32126
32127 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32128
32129 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32130 * soft-fp/addsf3.c: Likewise.
32131 * soft-fp/addtf3.c: Likewise.
32132 * soft-fp/divdf3.c: Likewise.
32133 * soft-fp/divsf3.c: Likewise.
32134 * soft-fp/divtf3.c: Likewise.
32135 * soft-fp/double.h: Likewise.
32136 * soft-fp/eqdf2.c: Likewise.
32137 * soft-fp/eqsf2.c: Likewise.
32138 * soft-fp/eqtf2.c: Likewise.
32139 * soft-fp/extenddftf2.c: Likewise.
32140 * soft-fp/extended.h: Likewise.
32141 * soft-fp/extendsfdf2.c: Likewise.
32142 * soft-fp/extendsftf2.c: Likewise.
32143 * soft-fp/extendxftf2.c: Likewise.
32144 * soft-fp/fixdfdi.c: Likewise.
32145 * soft-fp/fixdfsi.c: Likewise.
32146 * soft-fp/fixdfti.c: Likewise.
32147 * soft-fp/fixsfdi.c: Likewise.
32148 * soft-fp/fixsfsi.c: Likewise.
32149 * soft-fp/fixsfti.c: Likewise.
32150 * soft-fp/fixtfdi.c: Likewise.
32151 * soft-fp/fixtfsi.c: Likewise.
32152 * soft-fp/fixtfti.c: Likewise.
32153 * soft-fp/fixunsdfdi.c: Likewise.
32154 * soft-fp/fixunsdfsi.c: Likewise.
32155 * soft-fp/fixunsdfti.c: Likewise.
32156 * soft-fp/fixunssfdi.c: Likewise.
32157 * soft-fp/fixunssfsi.c: Likewise.
32158 * soft-fp/fixunssfti.c: Likewise.
32159 * soft-fp/fixunstfdi.c: Likewise.
32160 * soft-fp/fixunstfsi.c: Likewise.
32161 * soft-fp/fixunstfti.c: Likewise.
32162 * soft-fp/floatdidf.c: Likewise.
32163 * soft-fp/floatdisf.c: Likewise.
32164 * soft-fp/floatditf.c: Likewise.
32165 * soft-fp/floatsidf.c: Likewise.
32166 * soft-fp/floatsisf.c: Likewise.
32167 * soft-fp/floatsitf.c: Likewise.
32168 * soft-fp/floattidf.c: Likewise.
32169 * soft-fp/floattisf.c: Likewise.
32170 * soft-fp/floattitf.c: Likewise.
32171 * soft-fp/floatundidf.c: Likewise.
32172 * soft-fp/floatundisf.c: Likewise.
32173 * soft-fp/floatunsidf.c: Likewise.
32174 * soft-fp/floatunsisf.c: Likewise.
32175 * soft-fp/floatuntidf.c: Likewise.
32176 * soft-fp/floatuntisf.c: Likewise.
32177 * soft-fp/floatuntitf.c: Likewise.
32178 * soft-fp/fmadf4.c: Likewise.
32179 * soft-fp/fmasf4.c: Likewise.
32180 * soft-fp/fmatf4.c: Likewise.
32181 * soft-fp/gedf2.c: Likewise.
32182 * soft-fp/gesf2.c: Likewise.
32183 * soft-fp/getf2.c: Likewise.
32184 * soft-fp/ledf2.c: Likewise.
32185 * soft-fp/lesf2.c: Likewise.
32186 * soft-fp/letf2.c: Likewise.
32187 * soft-fp/muldf3.c: Likewise.
32188 * soft-fp/mulsf3.c: Likewise.
32189 * soft-fp/multf3.c: Likewise.
32190 * soft-fp/negdf2.c: Likewise.
32191 * soft-fp/negsf2.c: Likewise.
32192 * soft-fp/negtf2.c: Likewise.
32193 * soft-fp/op-1.h: Likewise.
32194 * soft-fp/op-2.h: Likewise.
32195 * soft-fp/op-4.h: Likewise.
32196 * soft-fp/op-8.h: Likewise.
32197 * soft-fp/op-common.h: Likewise.
32198 * soft-fp/quad.h: Likewise.
32199 * soft-fp/single.h: Likewise.
32200 * soft-fp/soft-fp.h: Likewise.
32201 * soft-fp/sqrtdf2.c: Likewise.
32202 * soft-fp/sqrtsf2.c: Likewise.
32203 * soft-fp/sqrttf2.c: Likewise.
32204 * soft-fp/subdf3.c: Likewise.
32205 * soft-fp/subsf3.c: Likewise.
32206 * soft-fp/subtf3.c: Likewise.
32207 * soft-fp/truncdfsf2.c: Likewise.
32208 * soft-fp/trunctfdf2.c: Likewise.
32209 * soft-fp/trunctfsf2.c: Likewise.
32210 * soft-fp/trunctfxf2.c: Likewise.
32211 * soft-fp/unorddf2.c: Likewise.
32212 * soft-fp/unordsf2.c: Likewise.
32213 * soft-fp/unordtf2.c: Likewise.
32214
32215 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32216
32217 [BZ #15672]
32218 * misc/error.c (error_tail): Fix possible buffer overflow.
32219
32220 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32221
32222 [BZ #13028]
32223 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32224 address.
32225
32226 2013-10-14 P. J. McDermott <pj@pehjota.net>
32227
32228 [BZ #832]
32229 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32230 testing pipefail option.
32231
32232 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32233
32234 * soft-fp/double.h: Indent preprocessor directives inside #if.
32235 * soft-fp/extended.h: Likewise.
32236 * soft-fp/op-2.h: Likewise.
32237 * soft-fp/op-4.h: Likewise.
32238 * soft-fp/op-common.h: Likewise.
32239 * soft-fp/quad.h: Likewise.
32240 * soft-fp/single.h: Likewise.
32241 * soft-fp/soft-fp.h: Likewise.
32242
32243 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32244
32245 * iconv/iconv_prog.c: Fix typos.
32246 * stdio-common/psiginfo-data.h: Likewise.
32247
32248 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32249
32250 [BZ #15764]
32251 * locale/setlocale.c: Fix typo.
32252
32253 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32254
32255 [BZ #16036]
32256 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32257 signaling NaN arguments.
32258 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32259 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32260
32261 [BZ #14910]
32262 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32263 unordered operands.
32264 * soft-fp/gesf2.c (__gesf2): Likewise.
32265 * soft-fp/getf2.c (__getf2): Likewise.
32266 * soft-fp/ledf2.c (__ledf2): Likewise.
32267 * soft-fp/lesf2.c (__lesf2): Likewise.
32268 * soft-fp/letf2.c (__letf2): Likewise.
32269
32270 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32271 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32272 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32273 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32274 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32275 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32276 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32277 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32278 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32279 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32280 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32281 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32282 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32283 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32284 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32285 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32286 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32287 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32288 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32289 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32290 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32291 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32292 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32293 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32294 * soft-fp/floattidf.c (__floattidf): Likewise.
32295 * soft-fp/floattisf.c (__floattisf): Likewise.
32296 * soft-fp/floattitf.c (__floattitf): Likewise.
32297 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32298 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32299 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32300 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32301 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32302 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32303 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32304 * soft-fp/gesf2.c (__gesf2): Likewise.
32305 * soft-fp/getf2.c (__getf2): Likewise.
32306 * soft-fp/ledf2.c (__ledf2): Likewise.
32307 * soft-fp/lesf2.c (__lesf2): Likewise.
32308 * soft-fp/letf2.c (__letf2): Likewise.
32309
32310 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32311 Undefine and redefine.
32312 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32313 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32314 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32315 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32316 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32317 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32318 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32319 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32320 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32321 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32322 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32323 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32324 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32325 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32326 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32327
32328 [BZ #16032]
32329 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32330 without decrementing exponent if mantissa >= that for the
32331 denominator, not >.
32332 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32333 denominator, not >. Decrement exponent in < case instead of
32334 incrementing in >= case.
32335 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32336 without decrementing exponent if mantissa >= that for the
32337 denominator, not >.
32338
32339 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32340 computing saturated result for unsigned overflow.
32341
32342 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32343 Jeff Law <law@redhat.com>
32344
32345 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32346 (atan2Mp): Add systemtap probe marker.
32347 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32348 (__ieee754_log): Add systemtap probe marker.
32349 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32350 (atanMp): Add systemtap probe marker.
32351 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32352 (tanMp): Add systemtap probe marker.
32353 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32354 (__slowexp): Add systemtap probe marker.
32355 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32356 (__slowpow): Add systemtap probe marker.
32357 * manual/probes.texi: Document probes.
32358
32359 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32360
32361 [BZ #15362]
32362 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32363 written.
32364 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32365 written.
32366 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32367 written to buffer but not flushed.
32368 * libio/iofwrite_u.c: Likewise.
32369 * libio/iopadn.c: Return bytes returned even if EOF was
32370 encountered.
32371 * libio/iowpadn.c: Likewise.
32372 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32373 if _IO_padn does not write the whole buffer.
32374 [!COMPILE_WPRINTF] (PAD): Likewise.
32375
32376 2013-10-10 David S. Miller <davem@davemloft.net>
32377
32378 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32379 directory block.
32380
32381 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32382
32383 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32384 instead of FSF address.
32385 * soft-fp/fixdfti.c: Likewise.
32386 * soft-fp/fixsfti.c: Likewise.
32387 * soft-fp/fixtfti.c: Likewise.
32388 * soft-fp/fixunsdfti.c: Likewise.
32389 * soft-fp/fixunssfti.c: Likewise.
32390 * soft-fp/fixunstfti.c: Likewise.
32391 * soft-fp/floattidf.c: Likewise.
32392 * soft-fp/floattisf.c: Likewise.
32393 * soft-fp/floattitf.c: Likewise.
32394 * soft-fp/floatuntidf.c: Likewise.
32395 * soft-fp/floatuntisf.c: Likewise.
32396 * soft-fp/floatuntitf.c: Likewise.
32397 * soft-fp/trunctfxf2.c: Likewise.
32398
32399 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32400 * soft-fp/fixdfti.c: Likewise.
32401 * soft-fp/fixsfti.c: Likewise.
32402 * soft-fp/fixtfti.c: Likewise.
32403 * soft-fp/fixunsdfti.c: Likewise.
32404 * soft-fp/fixunssfti.c: Likewise.
32405 * soft-fp/fixunstfti.c: Likewise.
32406 * soft-fp/floattidf.c: Likewise.
32407 * soft-fp/floattisf.c: Likewise.
32408 * soft-fp/floattitf.c: Likewise.
32409 * soft-fp/floatuntidf.c: Likewise.
32410 * soft-fp/floatuntisf.c: Likewise.
32411 * soft-fp/floatuntitf.c: Likewise.
32412 * soft-fp/trunctfxf2.c: Likewise.
32413
32414 2013-10-10 David S. Miller <davem@davemloft.net>
32415
32416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32417
32418 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32419
32420 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32421 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32422 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32427
32428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32429 for NaNs before doing comparisons on argument.
32430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32431 Likewise.
32432
32433 2013-10-10 Will Newton <will.newton@linaro.org>
32434
32435 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32436 passed to _int_memalign does not overflow.
32437
32438 2013-10-10 Torvald Riegel <triegel@redhat.com>
32439
32440 * scripts/bench.pl: Add include-sources directive.
32441 * benchtests/README: Update documentation.
32442
32443 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32444
32445 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32446 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32447 instead of FP_INIT_ROUNDMODE.
32448 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32449 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32450
32451 [BZ #16034]
32452 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32453 copy class of input value.
32454 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32455 not handle exceptions.
32456 * soft-fp/negsf2.c (__negsf2): Likewise.
32457 * soft-fp/negtf2.c (__negtf2): Likewise.
32458 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32459
32460 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32461
32462 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32463 semicolon. From Linux kernel.
32464
32465 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32466
32467 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32468
32469 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32470
32471 [BZ #156]
32472 * manual/socket.texi: Added statement about buffer
32473 for gethostbyname2_r.
32474
32475 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32476
32477 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32478 Use .p2align directive instead, throughout.
32479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32480 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32481 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32482 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32484 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32485 * sysdeps/x86_64/strchr.S: Likewise.
32486 * sysdeps/x86_64/strrchr.S: Likewise.
32487
32488 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32489
32490 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32491
32492 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32493
32494 * sysdeps/generic/math_private.h (__mpsin1): Remove
32495 declaration.
32496 (__mpcos1): Likewise.
32497 (__mpsin): New argument __range_reduce.
32498 (__mpcos): Likewise.
32499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32500 (slow): Use __mpsin and __mpcos.
32501 (slow1): Likewise.
32502 (slow2): Likewise.
32503 (sloww): Likewise.
32504 (sloww1): Likewise.
32505 (sloww2): Likewise.
32506 (bsloww): Likewise.
32507 (bsloww1): Likewise.
32508 (bsloww2): Likewise.
32509 (cslow2): Likewise.
32510 (csloww): Likewise.
32511 (csloww1): Likewise.
32512 (csloww2): Likewise.
32513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32514 range_reduce. Merge in __mpsin1.
32515 (__mpcos): Likewise.
32516 (__mpsin1): Remove.
32517 (__mpcos1): Likewise.
32518
32519 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32520
32521 * locale/loadlocale.c (_nl_intern_locale_data): Use
32522 LOCFILE_ALIGNED_P.
32523 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32524 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32525 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32526 obstack data is appropriately aligned.
32527 (obstack_int32_grow_fast): Likewise.
32528 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32529 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32530 (add_locale_uint32_array): Likewise.
32531
32532 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32533
32534 * benchtests/Makefile: Remove ARGLIST and RET variables.
32535 ($(objpfx)bench-%.c): Pass only function name to the script.
32536 * benchtests/README: Update documentation.
32537 * benchtests/acos-inputs: Add new directives.
32538 * benchtests/acosh-inputs: Likewise.
32539 * benchtests/asin-inputs: Likewise.
32540 * benchtests/asinh-inputs: Likewise.
32541 * benchtests/atan-inputs: Likewise.
32542 * benchtests/atanh-inputs: Likewise.
32543 * benchtests/cos-inputs: Likewise.
32544 * benchtests/cosh-inputs: Likewise.
32545 * benchtests/exp-inputs: Likewise.
32546 * benchtests/log-inputs: Likewise.
32547 * benchtests/pow-inputs: Likewise.
32548 * benchtests/rint-inputs: Likewise.
32549 * benchtests/sin-inputs: Likewise.
32550 * benchtests/sinh-inputs: Likewise.
32551 * benchtests/tan-inputs: Likewise.
32552 * benchtests/tanh-inputs: Likewise.
32553 * scripts/bench.pl: Add support for new directives.
32554
32555 2013-10-07 Alan Modra <amodra@gmail.com>
32556
32557 * README: Fix careless merge.
32558
32559 2013-10-05 Alan Modra <amodra@gmail.com>
32560
32561 * NEWS: Mention powerpc64le support and bugs fixed.
32562 * README: Both big-endian and little-endian powerpc64 supported.
32563
32564 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32565
32566 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32567 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32568 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32569 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32570
32571 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32572
32573 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32574 match prototype.
32575
32576 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32577
32578 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32579 Move -mhard-float appending from
32580 ports/sysdeps/powerpc/powerpc32/Makefile.
32581 [$(with-fp) = yes] (ASFLAGS): Likewise.
32582 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32583 * sysdeps/powerpc/nofpu: Move directory from
32584 ports/sysdeps/powerpc/nofpu.
32585 * sysdeps/powerpc/soft-fp: Move directory from
32586 ports/sysdeps/powerpc/soft-fp.
32587 * sysdeps/powerpc/powerpc32/405: Move directory from
32588 ports/sysdeps/powerpc/powerpc32/405.
32589 * sysdeps/powerpc/powerpc32/440: Move directory from
32590 ports/sysdeps/powerpc/powerpc32/440.
32591 * sysdeps/powerpc/powerpc32/464: Move directory from
32592 ports/sysdeps/powerpc/powerpc32/464.
32593 * sysdeps/powerpc/powerpc32/476: Move directory from
32594 ports/sysdeps/powerpc/powerpc32/476.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32600 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32602 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32604 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32605 * README: Update for powerpc-*-linux-gnu software floating point
32606 support in libc.
32607
32608 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32609 case to powerpc/powerpc32*.
32610 * sysdeps/unix/sysv/linux/configure: Regenerated.
32611
32612 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32613 (_FPU_MASK_OM): Define as 0x04.
32614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32616 0x00c10080.
32617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32618 0x0000003c.
32619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32620
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32622 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32623 getcontext_e500.
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32625 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32626 setcontext_e500.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32628 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32629 and setcontext_e500.
32630
32631 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32632
32633 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32634
32635 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32636
32637 * manual/threads.texi (Default Thread Attributes): Fix typo.
32638
32639 2013-10-04 Will Newton <will.newton@linaro.org>
32640
32641 * malloc/Makefile: Add tst-memalign.
32642 * malloc/tst-memalign.c: New file.
32643
32644 * malloc/tst-posix_memalign.c: Add comments.
32645 (do_test): Add comments and call free on all potentially
32646 allocated pointers. Add space after cast.
32647
32648 * malloc/tst-pvalloc.c: Add comments.
32649 (do_test): Add comments and call free on all potentially
32650 allocated pointers. Remove duplicate check for NULL pointer.
32651 Add space after cast.
32652
32653 * malloc/tst-valloc.c: Add comments.
32654 (do_test): Add comments and call free on all potentially
32655 allocated pointers. Remove duplicate check for NULL pointer.
32656 Add space after cast.
32657
32658 2013-10-04 Alan Modra <amodra@gmail.com>
32659
32660 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32661 Use stdint types in rather than __attribute__((mode())).
32662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32663
32664 2013-10-04 Alan Modra <amodra@gmail.com>
32665
32666 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32667 Correct handling of unaligned relocs for little-endian.
32668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32669
32670 2013-10-04 Alan Modra <amodra@gmail.com>
32671
32672 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32673 * configure: Regenerate.
32674 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32675 * shlib-versions: Likewise.
32676
32677 2013-10-04 Alan Modra <amodra@gmail.com>
32678
32679 * string/tester.c (test_memrchr): Increment reported test cycle.
32680
32681 2013-10-04 Alan Modra <amodra@gmail.com>
32682
32683 * string/test-memcpy.c (do_one_test): When reporting errors, print
32684 string address and don't overrun end of string.
32685
32686 2013-10-04 Alan Modra <amodra@gmail.com>
32687
32688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32689 insrdi. Make better use of reg selection to speed exit slightly.
32690 Schedule entry path a little better. Remove useless "are we done"
32691 checks on entry to main loop. Handle wrapping around zero address.
32692 Correct main loop count. Handle single left-over word from main
32693 loop inline rather than by using loop_small. Remove extra word
32694 case in loop_small caused by wrong loop count. Add little-endian
32695 support.
32696 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32698 cache hint.
32699 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32701 support. Avoid rlwimi.
32702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32703
32704 2013-10-04 Alan Modra <amodra@gmail.com>
32705
32706 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32707 insrdi. Formatting.
32708 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32709 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32710 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32711 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32712 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32713 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32714
32715 2013-10-04 Alan Modra <amodra@gmail.com>
32716
32717 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32722 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32723 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32726 use of regs. Use power7 mtocrf. Tidy function tails.
32727
32728 2013-10-04 Alan Modra <amodra@gmail.com>
32729
32730 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32731 Formatting. Consistently use rXXX register defines or rN defines.
32732 Use early exit labels that avoid restoring unused non-volatile regs.
32733 Make cr field use more consistent with rWORDn compares. Rename
32734 regs used as shift registers for unaligned loop, using rN defines
32735 for short lifetime/multiple use regs.
32736 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32737 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32738 addi 1,1,64 to pop stack frame. Simplify return value code.
32739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32740
32741 2013-10-04 Alan Modra <amodra@gmail.com>
32742
32743 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32744 support. Correct typos, formatting. Optimize tail. Use insrdi
32745 rather than rlwimi.
32746 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32747 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32748 little-endian support. Correct typos.
32749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32750 rather than rlwimi.
32751 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32752 in loop and entry code to keep "and." results.
32753 (strchr): Add little-endian support. Comment. Move cntlzd
32754 earlier in tail.
32755 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32756
32757 2013-10-04 Alan Modra <amodra@gmail.com>
32758
32759 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32760 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32761 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32762 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32763
32764 2013-10-04 Alan Modra <amodra@gmail.com>
32765
32766 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32767 (rTMP): Define as r11.
32768 (strcmp): Add little-endian support. Optimise tail.
32769 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32770 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32776
32777 2013-10-04 Alan Modra <amodra@gmail.com>
32778
32779 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32780 little-endian support. Remove unnecessary "are we done" tests.
32781 Handle "s" wrapping around zero and extremely large "size".
32782 Correct main loop count. Handle single left-over word from main
32783 loop inline rather than by using small_loop. Correct comments.
32784 Delete "zero" tail, use "end_max" instead.
32785 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32786
32787 2013-10-04 Alan Modra <amodra@gmail.com>
32788
32789 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32790 support. Don't branch over align.
32791 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32792 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32793 support. Rearrange tmp reg use to suit. Comment.
32794 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32795
32796 2013-10-04 Alan Modra <amodra@gmail.com>
32797
32798 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32799
32800 2013-10-04 Alan Modra <amodra@gmail.com>
32801
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32803 conditional form of branch and link when obtaining pc.
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32805
32806 2013-10-04 Alan Modra <amodra@gmail.com>
32807
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32809 HIWORD/LOWORD.
32810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32812
32813 2013-10-04 Alan Modra <amodra@gmail.com>
32814
32815 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32816 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32817 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32818 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32819 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32820 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32821 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32822 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32823 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32824 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32825
32826 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32827 Alistair Popple <alistair@ozlabs.au.ibm.com>
32828 Alan Modra <amodra@gmail.com>
32829
32830 [BZ #15723]
32831 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32832 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32833 _dl_hwcap access for little-endian.
32834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32835 destroy vmx regs when saving unaligned.
32836 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32837 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32838 destroy vmx regs when saving unaligned.
32839
32840 2013-10-04 Alan Modra <amodra@gmail.com>
32841
32842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32843 Don't use a union to pack hi/low value.
32844
32845 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32846
32847 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32848 for little-endian.
32849 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32851 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32852 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32853 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32854
32855 2013-10-04 Alan Modra <amodra@gmail.com>
32856
32857 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32858 constants to usual value for .cst8 section, and remove redundant
32859 high address load.
32860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32861 constant for 0x1p52. Load little-endian words of double from
32862 correct stack offsets.
32863
32864 2013-10-04 Alan Modra <amodra@gmail.com>
32865
32866 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32867 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32868 words of double from correct stack offsets.
32869 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32871 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32876 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32877 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32880 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32881 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32883 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32884 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32885 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32886
32887 2013-10-04 Alan Modra <amodra@gmail.com>
32888
32889 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32890 64-bit int/double union.
32891 (_FPU_SETCW): Likewise.
32892 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32893 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32894
32895 2013-10-04 Alan Modra <amodra@gmail.com>
32896
32897 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32898 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32899
32900 2013-10-04 Alan Modra <amodra@gmail.com>
32901
32902 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32903 use vector int constants.
32904 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32905
32906 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32907
32908 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32909 array with long long.
32910 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32911 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32912 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32913 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32914 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32915 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32916 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32917 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32918 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32919 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32920 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32921 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32922 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32923
32924 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32925
32926 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32927 (__signbit): Likewise. Correct for little-endian.
32928 (__signbitl): Call __signbit.
32929 (lrint): Correct for little-endian.
32930 (lrintf): Call lrint.
32931
32932 2013-10-04 Alan Modra <amodra@gmail.com>
32933
32934 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32935 union 32-bit int array member with 64-bit int array.
32936 (t515, tm256): Double rather than long double.
32937 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32938
32939 2013-10-04 Alan Modra <amodra@gmail.com>
32940
32941 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32942 Delete.
32943 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32945 version of math_ldbl.h.
32946
32947 2013-10-04 Alan Modra <amodra@gmail.com>
32948
32949 [BZ #15734], [BZ #15735]
32950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32951 all uses of ieee875 long double macros and unions. Simplify test
32952 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32953 ldbl_extract_mantissa value for ix,iy exponents. Properly
32954 normalize after ldbl_extract_mantissa, and don't add hidden bit
32955 already handled. Don't treat low word of ieee854 mantissa like
32956 low word of IBM long double and mask off bit when testing for
32957 zero.
32958 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32959 all uses of ieee875 long double macros and unions. Simplify tests
32960 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32961 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32962 two1022, instead use their values. Recognise that tests for large
32963 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32964 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32965 Rewrite all uses of ieee875 long double macros and unions. Simplify
32966 test for 0.0L and nan. Correct negation.
32967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32968 ieee875 long double macros and unions. Correct output for large
32969 magnitude x. Correct absolute value calculation.
32970 (__erfcl): Likewise.
32971 * math/libm-test.inc: Add tests for errors discovered in IBM long
32972 double versions of fmodl, remainderl, erfl and erfcl.
32973
32974 2013-10-04 Alan Modra <amodra@gmail.com>
32975
32976 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32977 all uses of ieee854 long double macros and unions. Simplify tests
32978 for long doubles that are fully specified by the high double.
32979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32980 Likewise.
32981 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32982 Remove dead code too.
32983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32984 (__ieee754_ynl): Likewise.
32985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32988 Remove dead code too.
32989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32991 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32992 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32993 Simplify.
32994 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32995 Simplify.
32996 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32997 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32999 Comment on variable precision.
33000 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33002 Likewise.
33003 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33004 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33005 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33007 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33008
33009 2013-10-04 Alan Modra <amodra@gmail.com>
33010
33011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33013 all uses of ieee854 long double macros and unions.
33014 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33018 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33020 Likewise.
33021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33026 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33027 Simplify sign and nan test too.
33028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33032 Likewise.
33033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33034 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33035 Likewise.
33036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33037 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33038 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33039 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33040 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33042
33043 2013-10-04 Alan Modra <amodra@gmail.com>
33044
33045 * stdio-common/printf_size.c (__printf_size): Don't use
33046 union ieee854_long_double in fpnum union.
33047 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
33048 signbit macro to retrieve sign from long double.
33049 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33050 retrieve sign from long double.
33051 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33052 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33053 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33054 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33055 * math/test-misc.c (main): Don't use union ieee854_long_double.
33056
33057 2013-10-04 Alan Modra <amodra@gmail.com>
33058
33059 [BZ #15680]
33060 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33061 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33062 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33063 calculation. Remove unnecessary test for denormal exponent.
33064 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33065 Correct handling of denormals. Avoid undefined shift behaviour.
33066 Correct normalisation of low mantissa when low double is denormal.
33067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33068 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
33069 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33070 Correct normalisation of low mantissa. Test for overflow of high
33071 mantissa and normalise.
33072 (ldbl_nearbyint): Use more readable constant for two52.
33073 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33074 (__mpn_construct_long_double): Fix test for overflow of high
33075 mantissa and correct normalisation. Avoid undefined shift.
33076
33077 2013-10-04 Alan Modra <amodra@gmail.com>
33078
33079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33080 (union ibm_extended_long_double): Define as an array of ieee754_double.
33081 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33083 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33084 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33092
33093 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33094
33095 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33096 page size instead of calling getpagesize.
33097
33098 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33099 (LOCFILE_ALIGN_MASK): Likewise.
33100 (LOCFILE_ALIGN_UP): Likewise.
33101 (LOCFILE_ALIGNED_P): Likewise.
33102 * locale/programs/ld-collate.c (collate_output): Use the new
33103 macros instead of __alignof__ (int32_t).
33104 * locale/weight.h (findidx): Likewise.
33105
33106 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33107
33108 [BZ #431]
33109 * manual/string.texi: Fix strncat and wcsncat.
33110
33111 2013-10-03 Brooks Moses <bmoses@google.com>
33112
33113 [BZ #15915]
33114 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33115 * Makerules: ...here, and adjust associated comments.
33116
33117 2013-10-02 Will Newton <will.newton@linaro.org>
33118
33119 * malloc/Makefile: Add tst-pvalloc.
33120 * malloc/tst-pvalloc.c: New file.
33121
33122 2013-10-02 Will Newton <will.newton@linaro.org>
33123
33124 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33125 improve test coverage.
33126
33127 2013-10-02 Will Newton <will.newton@linaro.org>
33128
33129 * malloc/Makefile: Add tst-posix_memalign.
33130 * malloc/tst-posix_memalign.c: New file.
33131
33132 2013-10-01 Eric Blake <eblake@redhat.com>
33133
33134 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33135 Use __THROWNL rather than __THROW on static functions.
33136
33137 2013-09-30 Petr Machata <pmachata@redhat.com>
33138
33139 * elf/elf.h (R_AARCH64_ABS16): New macro.
33140 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33141 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33142 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33143 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33144 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33145 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33146 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33147 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33148 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33149 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33150 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33151 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33152 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33153 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33154 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33155 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33156 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33157 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33158 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33159 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33160 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33161 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33162 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33163 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33164 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33165 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33166 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33167 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33168 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33169 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33170 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33171 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33172 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33173 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33174 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33175 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33176 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33177 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33178 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33179 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33180 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33181 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33182 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33183 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33184 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33185 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33186 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33187 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33188 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33189 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33190 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33191 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33192 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33193 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33194 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33195 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33196 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33197 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33198 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33199 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33200 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33201 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33202 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33203 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33204 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33205 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33206 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33207 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33208 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33209 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33210 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33211 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33212 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33213 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33214 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33215 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33216 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33217 (R_AARCH64_TLSDESC_LDR): Likewise.
33218 (R_AARCH64_TLSDESC_ADD): Likewise.
33219 (R_AARCH64_TLSDESC_CALL): Likewise.
33220
33221 2013-09-30 Andreas Schwab <schwab@suse.de>
33222
33223 [BZ #15048]
33224 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33225 the nss database lookup.
33226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33228
33229 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33230
33231 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33232
33233 2013-09-28 P. J. McDermott <pj@pehjota.net>
33234
33235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33236 ${Bash-specific parameter/pattern/string} parameter expansion.
33237 * sysdeps/unix/make-syscalls.sh: Likewise.
33238
33239 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33240
33241 * sysdeps/sh/stackguard-macros.h: New file.
33242
33243 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33244
33245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33247 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33250 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33251
33252 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33253
33254 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33255 Fix thread ID register.
33256
33257 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33258
33259 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33260 [POSIX || UNIX98]: Require rather than permitting all symbols from
33261 <time.h>.
33262 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33263 element of struct sched_param.
33264 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33265 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33266 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33267 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33268 constant.
33269
33270 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33271
33272 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33273 argument calculation.
33274
33275 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33276
33277 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33278 Expect macro.
33279 [POSIX] (pthread_attr_t): Do not require type.
33280 [POSIX] (pthread_cond_t): Likewise.
33281 [POSIX] (pthread_condattr_t): Likewise.
33282 [POSIX] (pthread_key_t): Likewise.
33283 [POSIX] (pthread_mutex_t): Likewise.
33284 [POSIX] (pthread_mutexattr_t): Likewise.
33285 [POSIX] (pthread_once_t): Likewise.
33286 [POSIX] (pthread_t): Likewise.
33287 [POSIX-based standards] (pthread_atfork): Expect function.
33288
33289 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33290 Richard Sandiford <richard@codesourcery.com>
33291
33292 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33293 (swap_endianness_p): New extern variable.
33294 (set_big_endian): New inline function.
33295 (maybe_swap_uint32): Likewise.
33296 (maybe_swap_uint32_array): Likewise.
33297 (maybe_swap_uint32_obstack): Likewise.
33298 * locale/programs/locfile.c: Include <stdbool.h>.
33299 (swap_endianness_p): New variable.
33300 (add_locale_uint32): Call maybe_swap_uint32.
33301 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33302 (write_locale_data): Call maybe_swap_uint32_array.
33303 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33304 maybe_swap_uint32.
33305 (obstack_int32_grow_fast): Likewise.
33306 (output_weightwc): Call maybe_swap_uint32_obstack.
33307 (collate_output): Likewise.
33308 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33309 (OPT_LITTLE_ENDIAN): Likewise.
33310 (options): Add --little-endian and --big-endian options.
33311 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33312 * locale/programs/locarchive.c: Include "locfile.h".
33313 (GET): New macro.
33314 (SET): Likewise.
33315 (INC): Likewise.
33316 (create_archive): Use the new macros to access fields of
33317 structures directly mapped from or written to locale archives.
33318 (oldlocrecentcmp): Likewise.
33319 (enlarge_archive): Likewise.
33320 (insert_name): Likewise.
33321 (add_alias): Likewise.
33322 (add_locale): Likewise.
33323 (delete_locales_from_archive): Likewise.
33324 (show_archive_content): Likewise.
33325 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33326 locale data.
33327
33328 2013-09-24 Roland McGrath <roland@hack.frob.com>
33329
33330 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33331 http://www.gnu.org/doc/freemanuals.texi.
33332 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33333
33334 2013-09-24 Will Newton <will.newton@linaro.org>
33335
33336 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33337 macro.
33338
33339 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33340
33341 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33342 unsigned char.
33343
33344 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33345
33346 * manual/threads.texi (POSIX Threads): Fix a typo.
33347
33348 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33349
33350 [BZ #14547]
33351 * string/tst-strcoll-overflow.c: New test case.
33352 * string/Makefile (xtests): Add tst-strcoll-overflow.
33353 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33354 cache if string sizes may cause integer overflow.
33355
33356 [BZ #14547]
33357 * string/strcoll_l.c (coll_seq): New members rule, idx,
33358 save_idx and back_us.
33359 (get_next_seq_nocache): New function.
33360 (do_compare_nocache): New function.
33361 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33362 when malloc fails.
33363
33364 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33365
33366 [BZ #15754]
33367 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33368 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33369 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33370
33371 [BZ #15754]
33372 * elf/Makefile (tests): Add tst-ptrguard1.
33373 (tests-static): Add tst-ptrguard1-static.
33374 (tst-ptrguard1-ARGS): Define.
33375 (tst-ptrguard1-static-ARGS): Define.
33376 * elf/tst-ptrguard1.c: New file.
33377 * elf/tst-ptrguard1-static.c: New file.
33378 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33379 * sysdeps/i386/stackguard-macros.h: Likewise.
33380 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33381 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33382 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33383 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33384 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33385 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33386
33387 2013-09-23 Hector Marco <hecmargi@upv.es>
33388 Ismael Ripoll <iripoll@disca.upv.es>
33389 Carlos O'Donell <carlos@redhat.com>
33390
33391 [BZ #15754]
33392 * sysdeps/generic/stackguard-macros.h: Define
33393 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33394 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33395 Define __pointer_chk_guard_local.
33396 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33397 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33398
33399 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33400
33401 [BZ #15859]
33402 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33403
33404 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33405
33406 * include/string.h (__ffs): Declare as hidden.
33407 * string/ffs.c (__ffs): Define as hidden.
33408 * sysdeps/i386/ffs.c (__ffs): Likewise.
33409 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33410 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33411 * sysdeps/s390/ffs.c (__ffs): Likewise.
33412 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33413
33414 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33415
33416 * NEWS: Mention malloc probes.
33417
33418 * malloc/arena.c (new_heap): New memory_heap_new probe.
33419 (grow_heap): New memory_heap_more probe.
33420 (shrink_heap): New memory_heap_less probe.
33421 (heap_trim): New memory_heap_free probe.
33422 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33423 (systrim): New memory_sbrk_less probe.
33424 * manual/probes.texi: Document them.
33425
33426 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33427 * manual/probes.texi: Document it.
33428
33429 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33430 (__libc_realloc): Add memory_realloc_retry probe.
33431 (__libc_memalign): Add memory_memalign_retry probe.
33432 (__libc_valloc): Add memory_valloc_retry probe.
33433 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33434 (__libc_calloc): Add memory_calloc_retry probe.
33435 * manual/probes.texi: Document them.
33436
33437 * malloc/arena.c (get_free_list): Add probe
33438 memory_arena_reuse_free_list.
33439 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33440 and memory_arena_reuse.
33441 (arena_get2) [!PER_THREAD]: Likewise.
33442 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33443 memory_arena_reuse_realloc.
33444 * manual/probes.texi: Document them.
33445
33446 * malloc/malloc.c (__libc_free): Add
33447 memory_mallopt_free_dyn_thresholds probe.
33448 (__libc_mallopt): Add multiple memory_mallopt probes.
33449 * manual/probes.texi: Document them.
33450
33451 * malloc/malloc.c: Include stap-probe.h.
33452 (__libc_mallopt): Add memory_mallopt probe.
33453 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33454 * manual/probes.texi: New.
33455 * manual/Makefile (chapters): Add probes.
33456 * manual/threads.texi: Set next node.
33457
33458 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33459
33460 [BZ #15963, #13985]
33461 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33462 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33463 Add `Chinese' to `nan' entry name.
33464
33465 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33466
33467 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33468 (POLYNOMIAL): Likewise.
33469 (TAYLOR_SINCOS): Likewise.
33470 (TAYLOR_SLOW): Likewise.
33471 (__sin): Use TAYLOR_SINCOS.
33472 (__cos): Likewise.
33473 (slow): Use TAYLOR_SLOW.
33474 (sloww): Likewise.
33475 (bsloww): Likewise.
33476 (csloww): Likewise.
33477
33478 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33479
33480 * stdlib/strtod_l.c: Fix buffer overrun.
33481
33482 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33483
33484 * benchtests/Makefile (bench): Add sincos.
33485 * benchtests/bench-sincos.c: New file.
33486
33487 * math/libm-test.inc (cos_test_data): New test inputs.
33488 (sin_test_data): Likewise.
33489
33490 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33491 macro.
33492 (__sin): Use it.
33493 (__cos): Likewise.
33494 (slow1): Likewise.
33495 (slow2): Likewise.
33496 (sloww1): Likewise.
33497 (sloww2): Likewise.
33498 (bsloww1): Likewise.
33499 (bsloww2): Likewise.
33500 (cslow2): Likewise.
33501 (csloww1): Likewise.
33502 (csloww2): Likewise.
33503
33504 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33505 function.
33506 (__sin): Use it.
33507 (__cos): Likewise.
33508
33509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33510 gotos.
33511 (__cos): Likewise.
33512
33513 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33514
33515 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33516 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33517 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33518 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33519 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33520 * elf/cache.c (print_entry): Handle the new cache flags.
33521
33522 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33523 Aldy Hernandez <aldyh@redhat.com>
33524
33525 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33526 Change condition to [_SOFT_FLOAT].
33527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33539 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33542 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33543 declaration.
33544
33545 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33546
33547 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33548 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33549 (__longjmp): Use LOAD_GP to load saved GPRs.
33550 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33551 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33552 (__sigsetjmp): Use SAVE_GP to save GPRs.
33553
33554 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33555 Do not append -msoft-float.
33556 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33557
33558 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33559
33560 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33561
33562 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33563
33564 [BZ #15966]
33565 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33566 (_FPU_GETCW): Use initial "__" on variable and field names but not
33567 on macro parameter name.
33568 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33569 parentheses around reference to macro parameter.
33570
33571 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33572
33573 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33574 prototype.
33575 (ctype_startup): Use uint32_t in cast and sizeof for
33576 ctype->charnames.
33577
33578 2013-09-11 Jia Liu <proljc@gmail.com>
33579
33580 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33581 __daddr_t_defined.
33582 [__FreeBSD__]: Likewise.
33583
33584 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33585
33586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33587 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33588 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33589 (strchr): Remove __strchr_sse42 ifunc selection.
33590 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33591 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33592
33593 2013-09-11 Will Newton <will.newton@linaro.org>
33594
33595 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33596 parameter to RES. Remove hardcoded 1000 value.
33597 * benchtests/bench-skeleton.c (main): Pass RES parameter
33598 to TIMING_INIT and multiply result by 1000.
33599
33600 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33601
33602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33603
33604 2013-09-11 Andreas Schwab <schwab@suse.de>
33605
33606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33607 if not defined.
33608 (O_TMPFILE) [__USE_GNU]: Define.
33609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33610 Define.
33611
33612 2013-09-11 Will Newton <will.newton@linaro.org>
33613
33614 [BZ #15857]
33615 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33616 does not overflow.
33617
33618 2013-09-11 Will Newton <will.newton@linaro.org>
33619
33620 [BZ #15856]
33621 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33622 does not overflow.
33623
33624 2013-09-11 Will Newton <will.newton@linaro.org>
33625
33626 [BZ #15855]
33627 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33628 does not overflow.
33629
33630 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33631
33632 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33633 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33637
33638 2013-09-10 Allan McRae <allan@archlinux.org>
33639
33640 [BZ #15748]
33641 * manual/arith.texi (Parsing of Floats): Clarify
33642 cross-reference.
33643
33644 [BZ #15849]
33645 * manual/install.texi (Running make install): Mention
33646 --enable-pt-chown.
33647 * INSTALL: Regenerated.
33648
33649 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33650
33651 * csu/init-first.c (_init): Remove the !SHARED condition around
33652 FPU control word initialization.
33653 * elf/dl-support.c (_dl_fpu_control): New variable.
33654 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33655 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33656 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33657 * math/test-fpucw-static.c: New file.
33658 * math/test-fpucw-ieee.c: New file.
33659 * math/test-fpucw-ieee-static.c: New file.
33660 * math/Makefile (tests): Add `test-fpucw-ieee' and
33661 `$(tests-static)'.
33662 (tests-static): New variable.
33663 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33664 dependency to...
33665 [($(build-shared),yes)]
33666 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33667 ... this.
33668 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33669 New dependency.
33670
33671 2013-09-09 Allan McRae <allan@archlinux.org>
33672
33673 [BZ #15939]
33674 * manual/string.texi (Collation Functions): Fix typo in
33675 strcoll example.
33676 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33677
33678 [BZ #15893]
33679 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33680
33681 [BZ #15892]
33682 * libio/memstream.c (open_memstream): Fix memory leak.
33683 * libio/wmemstream.c (open_wmemstream): Likewise.
33684
33685 [BZ #15895]
33686 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33687
33688 2013-09-09 Will Newton <will.newton@linaro.org>
33689
33690 * malloc/Makefile: Add tst-realloc to tests.
33691 * malloc/tst-realloc.c: New file.
33692
33693 2013-09-09 Allan McRae <allan@archlinux.org>
33694
33695 [BZ #15844]
33696 * COPYING: Update from GNU website to fix FSF address.
33697 * COPYING.LIB: Likewise.
33698
33699 2013-09-06 David S. Miller <davem@davemloft.net>
33700
33701 * po/zh_TW.po: Update Chinese (traditional) translation from
33702 translation project.
33703
33704 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33705 Joseph Myers <joseph@codesourcery.com>
33706
33707 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33708 "localeinfo.h".
33709 (obstack_chunk_alloc): New macro.
33710 (obstack_chunk_free): Likewise.
33711 (record_offset): New function.
33712 (init_locale_data): Likewise.
33713 (align_locale_data): Likewise.
33714 (add_locale_empty): Likewise.
33715 (add_locale_raw_data): Likewise.
33716 (add_locale_raw_obstack): Likewise.
33717 (add_locale_string): Likewise.
33718 (add_locale_wstring): Likewise.
33719 (add_locale_uint32): Likewise.
33720 (add_locale_uint32_array): Likewise.
33721 (add_locale_char): Likewise.
33722 (start_locale_structure): Likewise.
33723 (end_locale_structure): Likewise.
33724 (start_locale_prelude): Likewise.
33725 (end_locale_prelude): Likewise.
33726 (write_locale_data): Take locale_file structure rather than an
33727 iovec.
33728 * locale/programs/locfile.h: Include "obstack.h".
33729 (struct locale_file): Change to store locale file contents instead
33730 of header.
33731 (init_locale_data): New prototype.
33732 (align_locale_data): Likewise.
33733 (add_locale_empty): Likewise.
33734 (add_locale_raw_data): Likewise.
33735 (add_locale_raw_obstack): Likewise.
33736 (add_locale_string): Likewise.
33737 (add_locale_wstring): Likewise.
33738 (add_locale_uint32): Likewise.
33739 (add_locale_uint32_array): Likewise.
33740 (add_locale_char): Likewise.
33741 (start_locale_structure): Likewise.
33742 (end_locale_structure): Likewise.
33743 (start_locale_prelude): Likewise.
33744 (end_locale_prelude): Likewise.
33745 (write_locale_data): Update prototype.
33746 * locale/programs/3level.h (struct TABLE): Remove result field.
33747 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33748 Use new locale_file interface.
33749 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33750 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33751 * locale/programs/ld-address.c (address_output): Use new
33752 locale_file interface.
33753 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33754 NO_ADD_LOCALE.
33755 (collate_finish): Don't call collseq_table_finalize.
33756 (collate_output): Use new locale_file interface.
33757 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33758 in file.
33759 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33760 (TABLE): Move defines earlier in file.
33761 (ELEMENT): Likewise.
33762 (DEFAULT): Likewise.
33763 (wctrans_table_add): Move macro and inline function earlier in
33764 file.
33765 (struct wctype_table): Move type earlier in file.
33766 (add_locale_wctype_table): New static prototype.
33767 (struct locale_ctype_t): Use logical types instead of struct iovec
33768 pointers for members.
33769 (ctype_output): Use new locale_file interface.
33770 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33771 new locale_file interface.
33772 (allocate_arrays): Update for use of new locale_file interface.
33773 * locale/programs/ld-identification.c (identification_output): Use
33774 new locale_file interface.
33775 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33776 * locale/programs/ld-messages.c (messages_output): Likewise.
33777 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33778 * locale/programs/ld-name.c (name_output): Likewise.
33779 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33780 * locale/programs/ld-paper.c (paper_output): Likewise.
33781 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33782 * locale/programs/ld-time.c (time_output): Likewise.
33783
33784 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33785
33786 * benchtests/Makefile: Add memrchr benchmark.
33787 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33788 benchmark as memrchr.
33789 * benchtests/bench-memrchr-ifunc.c: New file.
33790 * benchtests/bench-memrchr.c: New file.
33791
33792 2013-09-06 Will Newton <will.newton@linaro.org>
33793
33794 * benchtests/Makefile (string-bench): Add memcpy.
33795
33796 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33797 Cong Wang <amwang@redhat.com>
33798
33799 [BZ #15850]
33800 * sysdeps/unix/sysv/linux/bits/in.h
33801 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33802 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33803 before __USE_KERNEL_IPV6_DEFS uses.
33804 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33805 IPPROTO_BEETPH.
33806 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33807 sockaddr_in6, or ipv6_mreq.
33808
33809 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33810
33811 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33812 memory access for final bytes in some large inputs.
33813 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33814
33815 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33816
33817 * string/test-memrchr.c: New file.
33818 * string/test-memrchr-ifunc.c: New file.
33819 * string/Makefile: Add new memrchr testcase.
33820
33821 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33822
33823 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33824 fanotify_init returns EPERM.
33825
33826 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33827
33828 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33829 errors.
33830 (top level): Treat second token from macro or constant entries for
33831 allowed headers as allowed.
33832 * include/complex.h: Condition internal declarations on
33833 [!_ISOMAC].
33834 * include/fenv.h: Condition include of <stdbool.h> and internal
33835 declarations on [!_ISOMAC].
33836
33837 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33838
33839 [BZ #15923]
33840 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33841
33842 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33843
33844 * configure.in (--enable-versioning): Remove configure option.
33845 (libc_cv_asm_symver_directive): Remove configure test.
33846 (libc_cv_ld_version_script_option): Likewise.
33847 (VERSIONING): Remove variable and AC_SUBST.
33848 (DO_VERSIONING): Remove AC_DEFINE.
33849 * configure: Regenerated.
33850 * config.h.in (DO_VERSIONING): Remove macro.
33851 * Makerules [$(versioning) = yes]: Change conditionals to
33852 [$(build-shared) = yes].
33853 * config.make.in (versioning): Remove variable.
33854 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33855 [$(build-shared) = yes].
33856 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33857 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33858 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33859 [$(build-shared) = yes].
33860 * extra-lib.mk [$(versioning) = yes]: Likewise.
33861 * hurd/Makefile [$(versioning) = yes]: Likewise.
33862 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33863 [SHARED].
33864 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33865 [SHARED].
33866 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33867 [SHARED && !NO_HIDDEN].
33868 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33869 [SHARED].
33870 [SHARED && DO_VERSIONING]: Likewise..
33871 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33872 [$(build-shared) = yes].
33873 * manual/install.texi (--disable-versioning): Remove
33874 documentation.
33875 * INSTALL: Regenerated.
33876 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33877 to [SHARED].
33878 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33879 [$(build-shared) = yes].
33880 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33881 * sysdeps/i386/i686/multiarch/strstr-c.c
33882 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33883 [SHARED && !NO_HIDDEN].
33884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33885 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33886 * sysdeps/powerpc/powerpc32/dl-machine.c
33887 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33888 * sysdeps/powerpc/powerpc32/sysdep.h
33889 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33890 to [SHARED && PIC && !NO_HIDDEN].
33891 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33892 conditional to [SHARED].
33893
33894 2013-09-04 Will Newton <will.newton@linaro.org>
33895
33896 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33897 * benchtests/bench-string.h: Include bench-timing.h instead
33898 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33899 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33900 call to HP_TIMING_DIFF_INIT.
33901 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33902 instead of hp-timing.h macros.
33903 * benchtests/bench-memchr.c: Likewise.
33904 * benchtests/bench-memcmp.c: Likewise.
33905 * benchtests/bench-memcpy.c: Likewise.
33906 * benchtests/bench-memmem.c: Likewise.
33907 * benchtests/bench-memmove.c: Likewise.
33908 * benchtests/bench-memset.c: Likewise.
33909 * benchtests/bench-rawmemchr.c: Likewise.
33910 * benchtests/bench-strcasecmp.c: Likewise.
33911 * benchtests/bench-strcasestr.c: Likewise.
33912 * benchtests/bench-strcat.c: Likewise.
33913 * benchtests/bench-strchr.c: Likewise.
33914 * benchtests/bench-strcmp.c: Likewise.
33915 * benchtests/bench-strcpy.c: Likewise.
33916 * benchtests/bench-strcpy_chk.c: Likewise.
33917 * benchtests/bench-strlen.c: Likewise.
33918 * benchtests/bench-strncasecmp.c: Likewise.
33919 * benchtests/bench-strncat.c: Likewise.
33920 * benchtests/bench-strncmp.c: Likewise.
33921 * benchtests/bench-strncpy.c: Likewise.
33922 * benchtests/bench-strnlen.c: Likewise.
33923 * benchtests/bench-strpbrk.c: Likewise.
33924 * benchtests/bench-strrchr.c: Likewise.
33925 * benchtests/bench-strspn.c: Likewise.
33926 * benchtests/bench-strstr.c: Likewise.
33927
33928 2013-09-04 Will Newton <will.newton@linaro.org>
33929
33930 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33931
33932 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33933
33934 [BZ #15427]
33935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33936 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33937 * math/libm-test.inc (lgamma_test_data): Add more tests.
33938 * sysdeps/i386/fpu/libm-test-ulps: Update.
33939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940
33941 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33942
33943 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33945 Add ifunc.
33946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33947 Add strcmp-sse2-unaligned
33948 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33949
33950 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33951
33952 * Versions.def (libc): Add GLIBC_2.19.
33953
33954 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33955
33956 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33957 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33958
33959 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33960
33961 [BZ #14155]
33962 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33963 intermediate calculations in recurrence.
33964 (__ieee754_ynf): Likewise.
33965 * math/libm-test.inc (jn_test_data): Do not allow spurious
33966 underflow exception. Add more tests.
33967 (yn_test_data): Add more tests.
33968 * sysdeps/i386/fpu/libm-test-ulps: Update.
33969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33970
33971 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33972
33973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33974
33975 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33976
33977 * csu/init-first.c: Fix then/than typos.
33978 * locale/programs/ld-collate.c: Likewise.
33979 * locale/programs/linereader.h: Likewise.
33980 * manual/charset.texi: Likewise.
33981 * manual/filesys.texi: Likewise.
33982 * manual/stdio.texi: Likewise.
33983 * manual/string.texi: Likewise.
33984 * stdlib/fmtmsg.c: Likewise.
33985 * sysdeps/i386/stpncpy.S: Likewise.
33986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33987 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33989 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33990
33991 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33992
33993 * elf/dl-open.c: Fix typos.
33994 * iconvdata/gbbig5.c: Likewise.
33995 * iconvdata/iso-2022-jp.c: Likewise.
33996 * iconv/gconv_int.h: Likewise.
33997 * iconv/loop.c: Likewise.
33998 * nis/rpcsvc/nis.h: Likewise.
33999 * resolv/ns_name.c: Likewise.
34000 * stdio-common/vfscanf.c: Likewise.
34001 * streams/stropts.h: Likewise.
34002 * sunrpc/rpc_thread.c: Likewise.
34003 * sysdeps/i386/strpbrk.S: Likewise.
34004 * sysdeps/ieee754/k_standard.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34007 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34008 * sysdeps/mach/hurd/profil.c: Likewise.
34009 * sysdeps/s390/dl-procinfo.h: Likewise.
34010 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34012 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34013 * sysdeps/x86_64/dl-trampoline.S: Likewise.
34014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34015
34016 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34017
34018 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34020
34021 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34022
34023 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34024 aix specific files.
34025 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34027 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34028 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34029 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34030 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34031 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34032 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34033
34034 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34035 Roland McGrath <roland@hack.frob.com>
34036
34037 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34038 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34039
34040 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
34041
34042 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34043 __executable_start symbol instead of _start.
34044
34045 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34046
34047 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34048 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34049 Move macros to...
34050 * sysdeps/gnu/ldsodefs.h: ... this new file.
34051
34052 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34053 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34054 instead of ELFOSABI_LINUX.
34055
34056 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34057 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34058 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34059 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34060 Likewise.
34061 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34062 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34063 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34064 Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34066 (ibm_extended_long_double): Add ieee_nan member.
34067 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34068 (do_test): New function.
34069
34070 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34071 TEST_TRUNC.
34072 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34073 functions, renamed from truncdfsf_test, trunctfsf_test,
34074 trunctfdf_test.
34075 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34076 functions.
34077 (do_test): Run all these.
34078
34079 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34080
34081 * argp/argp-help.c: Fix typos.
34082 * argp/argp-parse.c: Likewise.
34083 * debug/backtracesyms.c: Likewise.
34084 * elf/elf.h: Likewise.
34085 * malloc/malloc.c: Likewise.
34086 * nis/nis_print.c: Likewise.
34087 * resolv/res_comp.c: Likewise.
34088 * stdlib/stdlib.h: Likewise.
34089 * sunrpc/clnt_tcp.c: Likewise.
34090 * sunrpc/clnt_udp.c: Likewise.
34091 * sunrpc/clnt_unix.c: Likewise.
34092 * sysdeps/unix/bsd/ptsname.c: Likewise.
34093 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34096 Likewise.
34097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34098 Likewise.
34099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34100 Likewise.
34101 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34102
34103 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34104
34105 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34107
34108 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34109
34110 [BZ #15897]
34111 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34112 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34113 ($(objpfx)bug-dl-leaf): New rule.
34114 ($(objpfx)bug-dl-leaf.so): Likewise.
34115 ($(objpfx)bug-dl-leaf.out): Likewise.
34116 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34117 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34118 * dlfcn/bug-dl-leaf.c: New test.
34119 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34120 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34121 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34122 (dlclose): Likewise.
34123 (dlmopen): Likewise.
34124
34125 2013-08-27 Roland McGrath <roland@hack.frob.com>
34126
34127 * include/netdb.h [!_ISOMAC]:
34128 Don't include <tls.h>.
34129 (h_errno, __libc_h_errno): Move declaration and macros out of
34130 [_LIBC_REENTRANT].
34131
34132 * include/resolv.h [_RESOLV_H_]:
34133 Don't include <tls.h>.
34134 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34135 * resolv/res_libc.c: Don't include <tls.h>.
34136 (_res): Use __attribute__ ((nocommon)) in place of
34137 __attribute__ ((section (".bss"))).
34138
34139 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34140 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34141
34142 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34143
34144 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34145 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34146
34147 * resolv/res_mkquery.c: Include <sys/time.h>.
34148
34149 * inet/ifreq.c: Moved to ...
34150 * sysdeps/unix/ifreq.c: ... here.
34151 * inet/ifreq.c: New file, true stub version.
34152
34153 * socket/sa_len.c: New file.
34154 * socket/Makefile (aux): Add it.
34155 * sysdeps/unix/sysv/linux/Makefile
34156 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34157 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34158 and #include <socket/sa_len.c>.
34159 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34160 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34161
34162 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34163 * bits/socket.h: ... here.
34164
34165 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34166 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34167 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34168
34169 2013-08-27 Andreas Schwab <schwab@suse.de>
34170
34171 [BZ #15736]
34172 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34173 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34174 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34175 * string/test-strcasecmp.c (test_main): Run tests in several
34176 locales.
34177 * string/test-strncasecmp.c (test_main): Likewise.
34178
34179 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34180 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34181 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34183 (__strncasecmp_ssse3) [PIC]: Likewise.
34184
34185 2013-08-26 Roland McGrath <roland@hack.frob.com>
34186
34187 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34188
34189 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34190 instead of explicitly declaring xdecrypt.
34191 * nis/nss_nis/nis-publickey.c: Likewise.
34192
34193 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34194
34195 [BZ #15890]
34196 * nscd/aicache.c: Include res_hconf.h.
34197 (addhstaiX): Initialize res_hconf.
34198
34199 2013-08-26 Andreas Schwab <schwab@suse.de>
34200
34201 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34202 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34203
34204 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34205
34206 * nscd/aicache.c (addhstaiX): Fix indentation.
34207
34208 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34209
34210 * configure.ac: Quote $build_pt_chown test.
34211 * configure: Regenerated.
34212
34213 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34214
34215 [BZ #15532]
34216 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34217 * math/s_cexpf.c (__cexpf): Likewise.
34218 * math/s_cexpl.c (__cexpl): Likewise.
34219 * math/libm-test.inc (cexp_test_data): Correct expected return
34220 value for NaN + i0. Add another test.
34221
34222 2013-08-22 David S. Miller <davem@davemloft.net>
34223
34224 * po/ca.po: Update Catalan translation from translation project.
34225 * po/uk.po: Add Ukrainian translations from translation project.
34226
34227 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34228
34229 [BZ #15797]
34230 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34231 is infinite, not alongside NaN test.
34232 * math/s_fdimf.c (__fdimf): Likewise.
34233 * math/s_fdiml.c (__fdiml): Likewise.
34234 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34235 errno is unchanged.
34236
34237 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34238
34239 * argp/argp-help.c: Fix typos.
34240 * crypt/speeds.c: Likewise.
34241 * csu/check_fds.c: Likewise.
34242 * elf/dl-load.c: Likewise.
34243 * elf/dl-open.c: Likewise.
34244 * elf/reldep3.c: Likewise.
34245 * elf/reldep.c: Likewise.
34246 * elf/sprof.c: Likewise.
34247 * iconv/iconv_charmap.c: Likewise.
34248 * iconv/skeleton.c: Likewise.
34249 * iconv/strtab.c: Likewise.
34250 * io/lockf64.c: Likewise.
34251 * libio/libioP.h: Likewise.
34252 * resolv/gai_notify.c: Likewise.
34253 * resolv/ns_name.c: Likewise.
34254 * resolv/ns_samedomain.c: Likewise.
34255 * resolv/res_send.c: Likewise.
34256 * stdlib/random.c: Likewise.
34257 * sunrpc/rpc/xdr.h: Likewise.
34258 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34259 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34265 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34266 * sysdeps/mach/hurd/check_fds.c: Likewise.
34267 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34271 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34272 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34273 * sysdeps/pthread/aio_notify.c: Likewise.
34274 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34275 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34278 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34279
34280 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34281
34282 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34283 version if bit_Slow_SSE4_2 is set.
34284 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34286
34287 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34288
34289 [BZ #15867]
34290 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34291 trampoline stack frame information.
34292 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34294 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34295 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34296 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34297 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34298 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34299 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34300 sa_flags value.
34301 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34302 interrupting a syscall and set with option SA_SIGINFO.
34303
34304 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #15531]
34307 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34308 argument is infinite.
34309 * math/s_cprojf.c (__cprojf): Likewise.
34310 * math/s_cprojl.c (__cprojl): Likewise.
34311 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34312 * math/libm-test.inc (cproj_test_data): Add more tests.
34313
34314 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34315
34316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34317 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34318 size. Use __ffs to determine corresponding shift.
34319
34320 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34321 Roland McGrath <roland@hack.frob.com>
34322
34323 * Makefile (INSTALL): Remove trailing blank lines from output of
34324 makeinfo.
34325
34326 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34327
34328 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34329 Align 32 bit compat elf_greg to 8 bytes.
34330
34331 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34332
34333 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34334
34335 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34336
34337 * string/strcoll_l.c (coll_seq): New structure.
34338 (get_next_seq_cached): New function.
34339 (get_next_seq): New function.
34340 (do_compare): New function.
34341 (STRCOLL): Use GNU style definition. Simplify implementation
34342 by using get_next_seq, get_next_seq_cached and do_compare.
34343
34344 2013-08-16 Florian Weimer <fweimer@redhat.com>
34345
34346 [BZ #14699]
34347 CVE-2013-4237
34348 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34349 member.
34350 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34351 member.
34352 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34353 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34354 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34355 conditional.
34356 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34357 GETDENTS_64BIT_ALIGNED.
34358 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34359 * manual/filesys.texi (Reading/Closing Directory): Document
34360 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34361 strongly.
34362 * manual/conf.texi (Limits for Files): Add portability note to
34363 NAME_MAX, PATH_MAX.
34364 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34365
34366 2013-08-13 Andreas Schwab <schwab@suse.de>
34367
34368 [BZ #15749]
34369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34370 of fabs.
34371 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34372 LDBL_MAX_EXP >= 16384]: Add tests for it.
34373
34374 2013-08-12 David S. Miller <davem@davemloft.net>
34375
34376 * version.h (RELEASE): Set to "development".
34377 (VERSION): Set to "2.18.90".
34378 * NEWS: Add 2.19 section.
34379
34380 2013-08-03 David S. Miller <davem@davemloft.net>
34381
34382 * po/ko.po: Update Korean translation from translation project.
34383
34384 2013-08-01 David S. Miller <davem@davemloft.net>
34385
34386 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34387 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34388 Bilka.
34389
34390 2013-07-30 David S. Miller <davem@davemloft.net>
34391
34392 * po/fr.po: Update French translation from translation project.
34393
34394 2013-07-28 David S. Miller <davem@davemloft.net>
34395
34396 * po/cs.po: Update Czech translation from translation project.
34397
34398 * po/sv.po: Update Swedish translation from translation project.
34399
34400 2013-07-27 David S. Miller <davem@davemloft.net>
34401
34402 * po/eo.po: Update Esperanto translation from translation project.
34403
34404 * po/vi.po: Update Vietnamese translation from translation project.
34405
34406 * po/de.po: Update German translation from translation project.
34407
34408 2013-07-26 David S. Miller <davem@davemloft.net>
34409
34410 * po/bg.po: Update Bulgarian translation from translation project.
34411
34412 * po/nl.po: Update Dutch translation from translation project.
34413 * po/pl.po: Update Polish translation from translation project.
34414 * po/ru.po: Update Russian translation from translation project.
34415
34416 2013-07-24 David S. Miller <davem@davemloft.net>
34417
34418 * po/libc.pot: Update.
34419
34420 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34421
34422 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34423 variable page size.
34424 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34425 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34426 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34427
34428 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34429
34430 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34431
34432 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34433 Andreas Schwab <schwab@suse.de>
34434 Roland McGrath <roland@hack.frob.com>
34435 Joseph Myers <joseph@codesourcery.com>
34436 Carlos O'Donell <carlos@redhat.com>
34437
34438 [BZ #15755]
34439 * config.h.in: Define HAVE_PT_CHOWN.
34440 * config.make.in (build-pt-chown): New variable.
34441 * configure.in (--enable-pt_chown): New configure option.
34442 * configure: Regenerate.
34443 * login/Makefile: Include Makeconfig. Build pt_chown only if
34444 build-pt-chown is enabled.
34445 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34446 pt_chown to fix pty ownership.
34447 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34448 CLOSE_ALL_FDS.
34449 * manual/install.texi (Configuring and compiling): Mention
34450 --enable-pt_chown. Add @findex for grantpt.
34451 * INSTALL: Regenerate.
34452
34453 2013-07-20 David S. Miller <davem@davemloft.net>
34454
34455 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34456 difference between 32-bit and 64-bit.
34457
34458 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34459
34460 [BZ #15711]
34461 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34462 Avoid system header dependency with -ffreestanding.
34463 ($(objpfx)bits/syscall%d): Likewise.
34464
34465 2013-07-13 David S. Miller <davem@davemloft.net>
34466
34467 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34468 underflows from atanl/atan2l due to bug 15319.
34469 (casinh_test_data): Likewise.
34470
34471 2013-07-07 David S. Miller <davem@davemloft.net>
34472
34473 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34474
34475 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34476
34477 * sysdeps/i386/fpu/libm-test-ulps: Update.
34478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34479
34480 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34481
34482 * configure.in (--enable-lock-elision): Fix message text.
34483 * INSTALL: Regenerate.
34484 * configure: Regenerate.
34485
34486 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34487
34488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34489
34490 2013-07-03 Andreas Jaeger <aj@suse.de>
34491
34492 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34493 define.
34494 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34495 (ptrace_peeksiginfo_args): Add.
34496 (__ptrace_peeksiginfo_flags): Add.
34497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34500
34501 2013-07-03 Allan McRae <allan@archlinux.org>
34502
34503 * sysdeps/i386/fpu/libm-test-ulps: Update.
34504
34505 2013-07-02 David S. Miller <davem@davemloft.net>
34506
34507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34508
34509 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34510
34511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34512
34513 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34514
34515 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34517
34518 2013-07-02 Andi Kleen <ak@linux.intel.com>
34519
34520 * config.h.in (ENABLE_LOCK_ELISION): Add.
34521 * configure.in (--enable-lock-elision): Add option.
34522 * manual/install.texi: Document --enable lock elision.
34523 * configure: Regenerate
34524 * INSTALL: Regenerate.
34525
34526 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34527
34528 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34529 SSE4.2 strcasecmp for libc.a.
34530 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34531
34532 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34533
34534 [BZ #13304]
34535 * soft-fp/op-common.h (_FP_FMA): New macro.
34536 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34537 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34538 (_FP_MUL_MEAT_1_imm): ... here.
34539 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34540 (_FP_MUL_MEAT_1_wide): ... here.
34541 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34542 (_FP_MUL_MEAT_1_hard): ... here.
34543 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34544 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34545 (_FP_MUL_MEAT_2_wide): ... here.
34546 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34547 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34548 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34549 (_FP_MUL_MEAT_2_gmp): ... here.
34550 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34551 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34552 (_FP_MUL_MEAT_4_wide): ... here.
34553 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34554 (_FP_MUL_MEAT_4_gmp): ... here.
34555 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34556 (_FP_WFRACBITS_DW_S): Likewise.
34557 (_FP_WFRACXBITS_DW_S): Likewise.
34558 (_FP_HIGHBIT_DW_S): Likewise.
34559 (FP_FMA_S): Likewise.
34560 (_FP_FRAC_HIGH_DW_S): Likewise.
34561 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34562 (_FP_WFRACBITS_DW_D): Likewise.
34563 (_FP_WFRACXBITS_DW_D): Likewise.
34564 (_FP_HIGHBIT_DW_D): Likewise.
34565 (FP_FMA_D): Likewise.
34566 (_FP_FRAC_HIGH_DW_D): Likewise.
34567 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34568 (_FP_WFRACBITS_DW_E): Likewise.
34569 (_FP_WFRACXBITS_DW_E): Likewise.
34570 (_FP_HIGHBIT_DW_E): Likewise.
34571 (FP_FMA_E): Likewise.
34572 (_FP_FRAC_HIGH_DW_E): Likewise.
34573 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34574 (_FP_WFRACBITS_DW_Q): Likewise.
34575 (_FP_WFRACXBITS_DW_Q): Likewise.
34576 (_FP_HIGHBIT_DW_Q): Likewise.
34577 (FP_FMA_Q): Likewise.
34578 (_FP_FRAC_HIGH_DW_Q): Likewise.
34579 * soft-fp/fmasf4.c: New file.
34580 * soft-fp/fmadf4.c: Likewise.
34581 * soft-fp/fmatf4.c: Likewise.
34582
34583 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34584
34585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34586 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34587 Silvermont.
34588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34589 macro.
34590 (index_Slow_SSE4_2): Likewise.
34591 (index_Prefer_PMINUB_for_stringop): Likewise.
34592 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34593 bit_Slow_SSE4_2 is set.
34594 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34596
34597 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34598
34599 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34600 rtld_global._dl_hwcap2.
34601 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34602 POWER8.
34603 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34604 POWER8 feature descriptions defined in _dl_hwcap2.
34605 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34606 string handling for POWER8 feature bits.
34607 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34608 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34609 _dl_powerpc_cap_flags.
34610 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34611 * sysdeps/powerpc/rtld-global-offsets.sym
34612 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34613 _dl_hwcap2 in the rtld_global_ro structure.
34614
34615 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34616
34617 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34618 hardware capabilities in support of AT_HWCAP2.
34619 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34620 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34621 GLRO(dl_hwcap2).
34622 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34623 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34624 explicitly the unknown a_type display mechanism is used.
34625 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34626 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34627 struct member.
34628 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34629 to macro prototype for AT_HWCAP2 support.
34630 * sysdeps/i386/dl-procinfo.h: Likewise.
34631 * sysdeps/s390/dl-procinfo.h: Likewise.
34632 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34633 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34634 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34635 return -1 for unknown a_type display fallback.
34636 * sysdeps/sparc/dl-procinfo.h: Likewise.
34637 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34638 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34639
34640 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34641
34642 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34643 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34644
34645 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34646
34647 [BZ #12492]
34648 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34649 mprotect making __stack_prot writable.
34650
34651 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34652 Joseph Myers <joseph@codesourcery.com>
34653
34654 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34655 as being properly aligned.
34656
34657 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34658
34659 * dlfcn/modstatic5.c: New file.
34660 * dlfcn/tststatic5.c: New file.
34661 * dlfcn/Makefile (tests): Add tststatic5.
34662 (tests-static): Likewise.
34663 (modules-names): Add modstatic5.
34664 (tststatic5-ENV): New variable.
34665 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34666
34667 [BZ #15022]
34668 * elf/dl-support.c (_dl_main_map): New variable.
34669 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34670 (_dl_nns, _dl_load_adds): Set to 1.
34671 (_dl_initial_searchlist): Refer to _dl_main_map.
34672 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34673 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34674 call to _dl_get_origin.
34675 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34676 around call_map.
34677 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34678 * dlfcn/modstatic3.c: New file.
34679 * dlfcn/tststatic3.c: New file.
34680 * dlfcn/tststatic4.c: New file.
34681 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34682 (tests-static): Likewise.
34683 (modules-names): Add modstatic3.
34684 (tststatic3-ENV, tststatic4-ENV): New variables.
34685 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34686 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34687
34688 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34689
34690 * configure.in (CC): Require GCC version 4.4 or later.
34691 * configure: Regenerated.
34692 * manual/install.texi (Tools for Compilation): Update GCC version
34693 requirement.
34694 * INSTALL: Regenerated.
34695
34696 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34697
34698 [BZ #15674]
34699 * string/test-memcmp.c (check2): New.
34700 (main): Call check2.
34701
34702 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34703
34704 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34705
34706 [BZ #15022]
34707 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34708 over to...
34709 (dl_open_worker) [!SHARED]: ... here.
34710
34711 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34712
34713 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34714
34715 2013-06-25 Richard Henderson <rth@redhat.com>
34716
34717 * locale/programs/locarchive.c: Include <libc-internal.h>
34718
34719 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34720
34721 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34722 trailing whitespace removed.
34723
34724 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34725
34726 [BZ #10283]
34727 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34728 * locale/programs/locarchive.c: Include libc-mmap.h.
34729 (prepare_address_space): Take two new outputs (the mmap base and len).
34730 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34731 values.
34732 (create_archive): Declare new mmap base and len values for
34733 prepare_address_space, and store the result in ah.
34734 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34735 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34736 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34737 Declare new mmap base and len values for
34738 prepare_address_space, and store the result in new_ah.
34739 (open_archive): Declare new mmap base and len values for
34740 prepare_address_space, and store the result in ah.
34741 (close_archive): If ah->mmap_base is not NULL, use that and
34742 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34743 * sysdeps/generic/libc-mmap.h: New file.
34744
34745 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34746
34747 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34748 (ALIGN_UP): Likewise.
34749 (PTR_ALIGN_DOWN): Likewise.
34750 (PTR_ALIGN_UP): Likewise.
34751
34752 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34753
34754 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34755 entry mapped to PPC_PLATFORM_POWER8.
34756 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34757 POWER8.
34758 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34759 (_dl_string_platform): Add case for exporting platform position for
34760 POWER8.
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34762 search path to sysdeps/powerpc/powerpc32/power8 directory.
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34764 search path to sysdeps/powerpc/powerpc64/power8 directory.
34765 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34766 power7 directories.
34767 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34768 power7 directories.
34769
34770 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34771
34772 * INSTALL: Regenerate.
34773
34774 * nscd/connections.c (nscd_init): Fix comment.
34775
34776 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34777
34778 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34779
34780 [BZ #15667]
34781 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34782 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34783
34784 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34785
34786 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34787 DL_DST_REQ_STATIC.
34788 (DL_DST_REQ_STATIC): Remove macro.
34789
34790 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34791
34792 [BZ #7006]
34793 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34794 with a shift of 0 bits.
34795
34796 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34797
34798 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34799 $(tststatic-ENV).
34800
34801 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34802
34803 [BZ #15655]
34804 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34805
34806 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34807
34808 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34809 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34810 accepts -fno-tree-loop-distribute-patterns.
34811 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34812 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34813 recursive call.
34814 * string/memset.c (memset): Likewise.
34815 * string/test-memmove.c (simple_memmove): Disable loop transformation
34816 to library calls.
34817 * string/test-memset.c (simple_memset): Likewise.
34818 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34819 * benchtests/bench-memset.c (simple_memset): Likewise.
34820 * configure: Regenerated.
34821
34822 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34823
34824 * math/test-misc.c (main): Ignore fesetround failure when failures
34825 of subsequent rounding tests would be ignored.
34826
34827 [BZ #15654]
34828 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34829 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34830 * math/fegetenv.c (__fegetenv): Return 0.
34831 * math/fegetexcept.c (fegetexcept): Return 0.
34832 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34833 FE_TONEAREST.
34834 * math/feholdexcpt.c (feholdexcept): Return 0.
34835 * math/fesetenv.c (__fesetenv): Return 0.
34836 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34837 argument FE_TONEAREST.
34838 * math/feupdateenv.c (__feupdateenv): Return 0.
34839 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34840
34841 2013-06-18 Roland McGrath <roland@hack.frob.com>
34842
34843 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34844 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34845 ($(objpfx)rtld-%.os rules): Use them.
34846
34847 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34848
34849 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34850 fields.
34851
34852 2013-06-17 Roland McGrath <roland@hack.frob.com>
34853
34854 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34855 length of target pattern, then descending length of dependency pattern.
34856 * configure.in (AWK): Require gawk 3.1.2 or newer.
34857 * manual/install.texi (Tools for Compilation): Say that we do.
34858 * configure: Regenerated.
34859
34860 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34861 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34862 * scripts/sysd-rules.awk: ... this new script.
34863 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34864 than a glob-style pattern.
34865
34866 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34867
34868 * math/test-misc.c (main): Do not treat incorrectly rounded
34869 conversions as failure unless ROUNDING_TESTS passes.
34870
34871 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34872
34873 [BZ #15631]
34874 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34875 restore exception state around main square root computation, then
34876 check for inexactness explicitly.
34877
34878 * math/libm-test.inc (fma_test_data): Add another test.
34879
34880 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34881
34882 * manual/threads.texi (Non-POSIX Extensions): New document
34883 node. Document pthread_getattr_default_np and
34884 pthread_setattr_default_np.
34885
34886 * Versions.def (libpthread): Add GLIBC_2.18.
34887 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34889 Likewise.
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34891 Likewise.
34892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34893 Likewise.
34894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34895 Likewise.
34896 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34897 Likewise.
34898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34899 Likewise.
34900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34901 Likewise.
34902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34903 Likewise.
34904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34905 Likewise.
34906
34907 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34908
34909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34910 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34911
34912 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34913 H.J. Lu <hjl.tools@gmail.com>
34914
34915 [BZ #15627]
34916 * sysdeps/x86_64/rtld-memset.c: Remove file.
34917 * sysdeps/x86_64/rtld-memset.S: New file.
34918
34919 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34920
34921 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34922 (test_in_one_mode): Take arguments for whether the rounding mode
34923 is supported for each floating-point type.
34924 (do_test): Pass new arguments to test_in_one_mode using
34925 ROUNDING_TESTS.
34926
34927 2013-06-13 Roland McGrath <roland@hack.frob.com>
34928
34929 * posix/tst-waitid.c (do_test): Distinguish different instances of
34930 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34931 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34932 before entering the kernel for waitpid.
34933
34934 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34935
34936 * NEWS: Fix note on clock function precision. Text by Roland
34937 McGrath.
34938
34939 2013-06-13 Roland McGrath <roland@hack.frob.com>
34940
34941 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34942 it into place only when and if the sanity check passes.
34943
34944 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34945
34946 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34947 output for whether conversion result is exact. Take argument
34948 indicating whether type is IBM long double.
34949 (round_for_all): Change need_exact field to ibm_ld.
34950 * stdlib/tst-strtod-round.c (struct exactness): New type.
34951 (struct test): Change bool ld_ok field to struct exactness exact.
34952 (TEST): Update all definitions for change to field.
34953 (tests): Regenerate array contents.
34954 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34955 field value. Check for IBM long double here.
34956 (do_test): Update calls to test_in_one_mode.
34957
34958 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34959
34960 [BZ #12515]
34961 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34962 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34963
34964 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34965
34966 [BZ #15605]
34967 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34968 generated by the compiler on loop optimizations.
34969 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34970 general definitions.
34971
34972 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34973
34974 * math/bug-nextafter.c: Include <math-tests.h>.
34975 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34976 the relevant type.
34977 * math/bug-nexttoward.c: Include <math-tests.h>.
34978 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34979 the relevant type.
34980 * math/test-misc.c: Include <math-tests.h>.
34981 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34982 the relevant type.
34983
34984 2013-06-12 Andreas Jaeger <aj@suse.de>
34985
34986 * po/ia.po: Update Interlingua translation from translation
34987 project.
34988
34989 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34990
34991 * include/fenv.h: Include stdbool.h.
34992 (struct rm_ctx): New structure.
34993 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34994 Define macro.
34995 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34996 (SET_RESTORE_ROUNDF): Likewise.
34997 (SET_RESTORE_ROUNDL): Likewise.
34998 (SET_RESTORE_ROUND_NOEX): Likewise.
34999 (SET_RESTORE_ROUND_NOEXF): Likewise.
35000 (SET_RESTORE_ROUND_NOEXL): Likewise.
35001 (SET_RESTORE_ROUND_53BIT): Likewise.
35002 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35003 (libc_feresetround_noexf_ctx): Likewise.
35004 (libc_feresetround_noexl_ctx): Likewise.
35005 (libc_feholdsetround_53bit_ctx): Likewise.
35006 (libc_feresetround_53bit_ctx): Likewise.
35007 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35008 (libc_feholdexcept_setround_sse_ctx): New function.
35009 (libc_fesetenv_sse_ctx): Likewise.
35010 (libc_feupdateenv_sse_ctx): Likewise.
35011 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35012 (libc_feholdexcept_setround_387_ctx): Likewise.
35013 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35014 (libc_feholdsetround_387_prec_ctx): Likewise.
35015 (libc_feholdsetround_387_ctx): Likewise.
35016 (libc_feholdsetround_387_53bit_ctx): Likewise.
35017 (libc_feholdsetround_sse_ctx): Likewise.
35018 (libc_feresetround_sse_ctx): Likewise.
35019 (libc_feresetround_387_ctx): Likewise.
35020 (libc_feupdateenv_387_ctx): Likewise.
35021 (libc_feholdexcept_setroundf_ctx): Define macro.
35022 (libc_fesetenvf_ctx): Likewise.
35023 (libc_feupdateenvf_ctx): Likewise.
35024 (libc_feholdsetroundf_ctx): Likewise.
35025 (libc_feresetroundf_ctx): Likewise.
35026 (libc_feholdexcept_setround_ctx): Likewise.
35027 (libc_fesetenv_ctx): Likewise.
35028 (libc_feupdateenv_ctx): Likewise.
35029 (libc_feholdsetround_ctx): Likewise.
35030 (libc_feresetround_ctx): Likewise.
35031 (libc_feholdexcept_setroundl_ctx): Likewise.
35032 (libc_feupdateenvl_ctx): Likewise.
35033 (libc_feholdsetroundl_ctx): Likewise.
35034 (libc_feresetroundl_ctx): Likewise.
35035 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35036 (libc_feresetround_53bit_ctx): Likewise.
35037
35038 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35039
35040 * locale/iso-639.def: Convert to UTF-8.
35041
35042 2013-06-11 Joseph Myers <joseph@codesourcery.com>
35043
35044 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35045 (EXCEPTION_TESTS_double): Likewise.
35046 (EXCEPTION_TESTS_long_double): Likewise.
35047 (EXCEPTION_TESTS): Likewise.
35048 * math/libm-test.inc (test_exceptions): Only test exceptions if
35049 EXCEPTION_TESTS (FLOAT).
35050
35051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35052
35053 * benchtests/Makefile (string-bench): Add strcpy_chk and
35054 stpcpy_chk.
35055 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35056 * benchtests/bench-stpcpy_chk.c: New file.
35057 * benchtests/bench-strcpy_chk-ifunc.c: New file.
35058 * benchtests/bench-strcpy_chk.c: New file.
35059 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35060 code.
35061 (do_test): Likewise.
35062
35063 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35064
35065 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35066 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35067 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35068 with tabs where appropriate.
35069 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35070 dl-procinfo.h.
35071 [PPC_PLATFORM_PPC440]: Likewise.
35072 [PPC_PLATFORM_PPC464]: Likewise.
35073 [PPC_PLATFORM_PPC476]: Likewise.
35074 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35075 ppc464, and ppc476 platform strings merging from ports/
35076 dl-procinfo.h.
35077
35078 2013-06-11 Andreas Schwab <schwab@suse.de>
35079
35080 [BZ #14991]
35081 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35082 (from_ucs4_idx): Regenerate.
35083 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35084 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35085 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35086 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35087 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35088 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35089 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35090 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35091 from FROM_LOOP and TO_LOOP specific macros.
35092 (BODY): Handle combining characters.
35093 * iconvdata/BIG5HKSCS.irreversible: Update.
35094 * iconvdata/BIG5HKSCS.precomposed: New file.
35095 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35096 characters.
35097 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35098
35099 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35100
35101 * include/sys/time.h: Fix indentation and add copyright header.
35102
35103 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35104 (do_test): Likewise.
35105 * string/test-memchr.c (do_one_test): Likewise.
35106 (do_test): Likewise.
35107 * string/test-memcmp.c (do_one_test): Likewise.
35108 (do_test): Likewise.
35109 * string/test-memcpy.c (do_one_test): Likewise.
35110 (do_test): Likewise.
35111 * string/test-memmem.c (do_one_test): Likewise.
35112 (do_test): Likewise.
35113 (do_random_tests): Likewise.
35114 * string/test-memmove.c (do_one_test): Likewise.
35115 (do_test): Likewise.
35116 * string/test-memset.c (do_one_test): Likewise.
35117 (do_test): Likewise.
35118 * string/test-rawmemchr.c (do_one_test): Likewise.
35119 (do_test): Likewise.
35120 * string/test-strcasecmp.c (do_one_test): Likewise.
35121 (do_test): Likewise.
35122 * string/test-strcasestr.c (do_one_test): Likewise.
35123 (do_test): Likewise.
35124 * string/test-strcat.c (do_one_test): Likewise.
35125 (do_test): Likewise.
35126 * string/test-strchr.c (do_one_test): Likewise.
35127 (do_test): Likewise.
35128 * string/test-strcmp.c (do_one_test): Likewise.
35129 (do_test): Likewise.
35130 * string/test-strcpy.c (do_one_test): Likewise.
35131 (do_test): Likewise.
35132 * string/test-string.h: Likewise.
35133 (test_init): Likewise.
35134 * string/test-strlen.c (do_one_test): Likewise.
35135 (do_test): Likewise.
35136 * string/test-strncasecmp.c (do_one_test): Likewise.
35137 (do_test): Likewise.
35138 * string/test-strncat.c (do_one_test): Likewise.
35139 (do_test): Likewise.
35140 * string/test-strncmp.c (do_one_test): Likewise.
35141 (do_test_limit): Likewise.
35142 (do_test): Likewise.
35143 * string/test-strncpy.c (do_one_test): Likewise.
35144 (do_test): Likewise.
35145 * string/test-strnlen.c (do_one_test): Likewise.
35146 (do_test): Likewise.
35147 * string/test-strpbrk.c (do_one_test): Likewise.
35148 (do_test): Likewise.
35149 * string/test-strrchr.c (do_one_test): Likewise.
35150 (do_test): Likewise.
35151 * string/test-strspn.c (do_one_test): Likewise.
35152 (do_test): Likewise.
35153 * string/test-strstr.c (do_one_test): Likewise.
35154 (do_test): Likewise.
35155
35156 * benchtests/Makefile (string-bench): Add string benchmarks.
35157 * benchtests/bench-bcopy-ifunc.c: New file.
35158 * benchtests/bench-bcopy.c: New file.
35159 * benchtests/bench-bzero-ifunc.c: New file.
35160 * benchtests/bench-bzero.c: New file.
35161 * benchtests/bench-memccpy-ifunc.c: New file.
35162 * benchtests/bench-memccpy.c: New file.
35163 * benchtests/bench-memchr-ifunc.c: New file.
35164 * benchtests/bench-memchr.c: New file.
35165 * benchtests/bench-memcmp-ifunc.c: New file.
35166 * benchtests/bench-memcmp.c: New file.
35167 * benchtests/bench-memmem-ifunc.c: New file.
35168 * benchtests/bench-memmem.c: New file.
35169 * benchtests/bench-memmove-ifunc.c: New file.
35170 * benchtests/bench-memmove.c: New file.
35171 * benchtests/bench-mempcpy-ifunc.c: New file.
35172 * benchtests/bench-mempcpy.c: New file.
35173 * benchtests/bench-memset-ifunc.c: New file.
35174 * benchtests/bench-memset.c: New file.
35175 * benchtests/bench-rawmemchr-ifunc.c: New file.
35176 * benchtests/bench-rawmemchr.c: New file.
35177 * benchtests/bench-stpcpy-ifunc.c: New file.
35178 * benchtests/bench-stpcpy.c: New file.
35179 * benchtests/bench-stpncpy-ifunc.c: New file.
35180 * benchtests/bench-stpncpy.c: New file.
35181 * benchtests/bench-strcasecmp-ifunc.c: New file.
35182 * benchtests/bench-strcasecmp.c: New file.
35183 * benchtests/bench-strcasestr-ifunc.c: New file.
35184 * benchtests/bench-strcasestr.c: New file.
35185 * benchtests/bench-strcat-ifunc.c: New file.
35186 * benchtests/bench-strcat.c: New file.
35187 * benchtests/bench-strchr-ifunc.c: New file.
35188 * benchtests/bench-strchr.c: New file.
35189 * benchtests/bench-strchrnul-ifunc.c: New file.
35190 * benchtests/bench-strchrnul.c: New file.
35191 * benchtests/bench-strcmp-ifunc.c: New file.
35192 * benchtests/bench-strcmp.c: New file.
35193 * benchtests/bench-strcpy-ifunc.c: New file.
35194 * benchtests/bench-strcpy.c: New file.
35195 * benchtests/bench-strcspn-ifunc.c: New file.
35196 * benchtests/bench-strcspn.c: New file.
35197 * benchtests/bench-strlen-ifunc.c: New file.
35198 * benchtests/bench-strlen.c: New file.
35199 * benchtests/bench-strncasecmp-ifunc.c: New file.
35200 * benchtests/bench-strncasecmp.c: New file.
35201 * benchtests/bench-strncat-ifunc.c: New file.
35202 * benchtests/bench-strncat.c: New file.
35203 * benchtests/bench-strncmp-ifunc.c: New file.
35204 * benchtests/bench-strncmp.c: New file.
35205 * benchtests/bench-strncpy-ifunc.c: New file.
35206 * benchtests/bench-strncpy.c: New file.
35207 * benchtests/bench-strnlen-ifunc.c: New file.
35208 * benchtests/bench-strnlen.c: New file.
35209 * benchtests/bench-strpbrk-ifunc.c: New file.
35210 * benchtests/bench-strpbrk.c: New file.
35211 * benchtests/bench-strrchr-ifunc.c: New file.
35212 * benchtests/bench-strrchr.c: New file.
35213 * benchtests/bench-strspn-ifunc.c: New file.
35214 * benchtests/bench-strspn.c: New file.
35215 * benchtests/bench-strstr-ifunc.c: New file.
35216 * benchtests/bench-strstr.c: New file.
35217
35218 * benchtests/Makefile: Disable parallel execution of targets.
35219 (string-bench): Add memcpy.
35220 (benchset): New variable to store a list of benchmark sets.
35221 (bench-func): Renamed from bench.
35222 (bench-set): New target.
35223 (bench): Depend on bench-func and bench-set.
35224 * benchtests/README: Add section on benchmark sets.
35225 * benchtests/bench-memcpy-ifunc.c: New file.
35226 * benchtests/bench-memcpy.c: New file.
35227 * benchtests/bench-string.h: New file.
35228
35229 2013-06-11 Andreas Schwab <schwab@suse.de>
35230
35231 [BZ #15577]
35232 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35233 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35234 values in the triple.
35235 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35236 terminator in the group key.
35237
35238 2013-06-11 Andreas Jaeger <aj@suse.de>
35239
35240 * po/zh_TW.po: Update Chinese (traditional) translation from
35241 translation project.
35242
35243 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35244
35245 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35246 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35247 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35249 (clock_getcpuclockid): Likewise.
35250 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35251 Add weak_alias and libc_hidden_def.
35252 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35253 * rt/clock_gettime.c (clock_gettime): Rename to
35254 __clock_gettime. Add weak_alias and libc_hidden_def.
35255 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35256 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35257 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35258 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35259 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35260 Likewise.
35261 * rt/clock_settime.c (clock_settime): Rename to
35262 __clock_settime. Add weak_alias and libc_hidden_def.
35263 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35264
35265 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35266
35267 * mach/err_boot.sub: Remove trailing whitespace.
35268 * mach/err_ipc.sub: Likewise.
35269 * mach/err_mach.sub: Likewise.
35270
35271 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35272 (ROUNDING_TESTS_double): Likewise.
35273 (ROUNDING_TESTS_long_double): Likewise.
35274 (ROUNDING_TESTS): Likewise.
35275 * math/libm-test.inc: Include <math-tests.h>.
35276 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35277 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35278 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35279 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35280
35281 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35282
35283 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35284 of assigning.
35285
35286 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35287
35288 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35289 otherwise empty TRANS lines.
35290 * sysdeps/gnu/errlist.c: Regenerated.
35291
35292 * catgets/gencat.c (error_print): Use (void) in function
35293 definition.
35294 * crypt/crypt_util.c (__init_des): Likewise.
35295 * crypt/speeds.c (Stop): Likewise.
35296 (main): Likewise.
35297 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35298 * inet/ruserpass.c (token): Likewise.
35299 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35300 * intl/localealias.c (extend_alias_table): Likewise.
35301 * intl/plural-exp.c (init_germanic_plural): Likewise.
35302 * libio/fcloseall.c (__fcloseall): Likewise.
35303 * libio/genops.c (_IO_flush_all): Likewise.
35304 (_IO_flush_all_linebuffered): Likewise.
35305 (_IO_cleanup): Likewise.
35306 (_IO_iter_begin): Likewise.
35307 (_IO_iter_end): Likewise.
35308 (_IO_list_lock): Likewise.
35309 (_IO_list_unlock): Likewise.
35310 (_IO_list_resetlock): Likewise.
35311 * libio/getchar.c (getchar): Likewise.
35312 * libio/getchar_u.c (getchar_unlocked): Likewise.
35313 * libio/getwchar.c (getwchar): Likewise.
35314 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35315 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35316 * login/getpt.c (__getpt): Likewise.
35317 * login/tst-utmp.c (main): Likewise.
35318 * malloc/hooks.c (__malloc_check_init): Likewise.
35319 * malloc/malloc.c (__malloc_stats): Likewise.
35320 * malloc/mtrace.c (tr_break): Likewise.
35321 (mtrace): Likewise.
35322 (muntrace): Likewise.
35323 * misc/fstab.c (endfsent): Likewise.
35324 * misc/getclktck.c (__getclktck): Likewise.
35325 * misc/getdtsz.c (__getdtablesize): Likewise.
35326 * misc/gethostid.c (gethostid): Likewise.
35327 * misc/getpagesize.c (__getpagesize): Likewise.
35328 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35329 (__get_nprocs): Likewise.
35330 (__get_phys_pages): Likewise.
35331 (__get_avphys_pages): Likewise.
35332 * misc/getttyent.c (getttyent): Likewise.
35333 (setttyent): Likewise.
35334 (endttyent): Likewise.
35335 * misc/getusershell.c (getusershell): Likewise.
35336 (endusershell): Likewise.
35337 (setusershell): Likewise.
35338 (initshells): Likewise.
35339 * misc/hsearch.c (__hdestroy): Likewise.
35340 * misc/sync.c (sync): Likewise.
35341 * misc/syslog.c (closelog_internal): Likewise.
35342 (closelog): Likewise.
35343 * misc/ttyslot.c (ttyslot): Likewise.
35344 * misc/vhangup.c (vhangup): Likewise.
35345 * posix/fork.c (__fork): Likewise.
35346 * posix/getegid.c (__getegid): Likewise.
35347 * posix/geteuid.c (__geteuid): Likewise.
35348 * posix/getgid.c (__getgid): Likewise.
35349 * posix/getpid.c (__getpid): Likewise.
35350 * posix/getppid.c (__getppid): Likewise.
35351 * posix/getuid.c (__getuid): Likewise.
35352 * posix/pause.c (pause): Likewise.
35353 * posix/setpgrp.c (setpgrp): Likewise.
35354 * posix/setsid.c (__setsid): Likewise.
35355 * posix/test-vfork.c (noop): Likewise.
35356 * resolv/gethnamaddr.c (_endhtent): Likewise.
35357 (_gethtent): Likewise.
35358 (ht_endhostent): Likewise.
35359 (gethostent): Likewise.
35360 (dns_service): Likewise.
35361 * stdlib/drand48.c (drand48): Likewise.
35362 * stdlib/lrand48.c (lrand48): Likewise.
35363 * stdlib/mrand48.c (mrand48): Likewise.
35364 * stdlib/rand.c (rand): Likewise.
35365 * stdlib/random.c (__random): Likewise.
35366 * stdlib/setenv.c (clearenv): Likewise.
35367 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35368 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35369 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35370 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35371 (__get_nprocs): Likewise.
35372 (__get_phys_pages): Likewise.
35373 (__get_avphys_pages): Likewise.
35374 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35375 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35376 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35377 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35378 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35379 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35380 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35381 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35382 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35383 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35384 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35385 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35386 * sysdeps/posix/clock.c (clock): Likewise.
35387 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35388 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35389 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35390 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35391 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35393 (__get_nprocs_conf): Likewise.
35394 (__get_phys_pages): Likewise.
35395 (__get_avphys_pages): Likewise.
35396 * time/clock.c (clock): Likewise.
35397 * time/tzset.c (__tzname_max): Likewise.
35398
35399 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35400
35401 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35402 (__bswap_32): Do not use "register".
35403 * crypt/crypt.c (_ufc_doit_r): Likewise.
35404 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35405 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35406 * gmon/gmon.c (__monstartup): Likewise.
35407 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35408 * hurd/hurdmalloc.c (more_memory): Likewise.
35409 (malloc): Likewise.
35410 (free): Likewise.
35411 (realloc): Likewise.
35412 (malloc_fork_prepare): Likewise.
35413 (malloc_fork_parent): Likewise.
35414 (malloc_fork_child): Likewise.
35415 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35416 (_svcauth_des): Likewise.
35417 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35418 * inet/inet_net.c (inet_network): Likewise.
35419 * inet/inet_netof.c (inet_netof): Likewise.
35420 * inet/rcmd.c (__validuser2_sa): Likewise.
35421 * io/fts.c (fts_open): Likewise.
35422 (fts_load): Likewise.
35423 (fts_close): Likewise.
35424 (fts_read): Likewise.
35425 (fts_children): Likewise.
35426 (fts_build): Likewise.
35427 (fts_stat): Likewise.
35428 (fts_sort): Likewise.
35429 (fts_alloc): Likewise.
35430 (fts_lfree): Likewise.
35431 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35432 (_IO_file_xsgetn): Likewise.
35433 (_IO_file_xsgetn_mmap): Likewise.
35434 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35435 (_IO_cookie_write): Likewise.
35436 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35437 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35438 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35439 * malloc/obstack.c (_obstack_begin): Likewise.
35440 (_obstack_begin_1): Likewise.
35441 (_obstack_newchunk): Likewise.
35442 (_obstack_allocated_p): Likewise.
35443 (obstack_free): Likewise.
35444 (_obstack_memory_used): Likewise.
35445 * misc/getttyent.c (getttynam): Likewise.
35446 (getttyent): Likewise.
35447 (skip): Likewise.
35448 (value): Likewise.
35449 * misc/getusershell.c (initshells): Likewise.
35450 * misc/syslog.c (__vsyslog_chk): Likewise.
35451 * misc/ttyslot.c (ttyslot): Likewise.
35452 * nis/nis_hash.c (__nis_hash): Likewise.
35453 * posix/fnmatch_loop.c (FCT): Likewise.
35454 * posix/getconf.c (print_all): Likewise.
35455 (main): Likewise.
35456 * posix/getopt.c (exchange): Likewise.
35457 * posix/glob.c (globfree): Likewise.
35458 (prefix_array): Likewise.
35459 (__glob_pattern_type): Likewise.
35460 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35461 (NS_GET32): Likewise.
35462 (NS_PUT16): Likewise.
35463 (NS_PUT32): Likewise.
35464 * resolv/gethnamaddr.c (getanswer): Likewise.
35465 (gethostbyname2): Likewise.
35466 (gethostbyaddr): Likewise.
35467 (_gethtent): Likewise.
35468 (_gethtbyname2): Likewise.
35469 (_gethtbyaddr): Likewise.
35470 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35471 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35472 * resolv/res_init.c (__res_vinit): Likewise.
35473 (net_mask): Likewise.
35474 * resolv/res_mkquery.c (outchar): Likewise.
35475 (PRINT): Likewise.
35476 * stdio-common/printf_fp.c (outchar): Likewise.
35477 (PRINT): Likewise.
35478 * stdio-common/printf_fphex.c (outchar): Likewise.
35479 (PRINT): Likewise.
35480 * stdio-common/printf_size.c (outchar): Likewise.
35481 (PRINT): Likewise.
35482 * stdio-common/test_rdwr.c (main): Likewise.
35483 * stdio-common/tfformat.c (matches): Likewise.
35484 * stdio-common/vfprintf.c (outchar): Likewise.
35485 (printf_unknown): Likewise.
35486 (buffered_vfprintf): Likewise.
35487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35488 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35489 (ReadFile): Likewise.
35490 * stdlib/qsort.c (SWAP): Likewise.
35491 (_quicksort): Likewise.
35492 * stdlib/setenv.c (__add_to_environ): Likewise.
35493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35494 * stdlib/strtol_l.c (__strtol_l): Likewise.
35495 * stdlib/tst-strtod.c (main): Likewise.
35496 * stdlib/tst-strtol.c (main): Likewise.
35497 * stdlib/tst-strtoll.c (main): Likewise.
35498 * string/bits/string2.h (__strcmp_cc): Likewise.
35499 (__strcmp_cg): Likewise.
35500 (__strcspn_c1): Likewise.
35501 (__strcspn_c2): Likewise.
35502 (__strcspn_c3): Likewise.
35503 (__strspn_c1): Likewise.
35504 (__strspn_c2): Likewise.
35505 (__strspn_c3): Likewise.
35506 (__strsep_1c): Likewise.
35507 (__strsep_2c): Likewise.
35508 (__strsep_3c): Likewise.
35509 * string/memccpy.c (__memccpy): Likewise.
35510 * string/stpcpy.c (__stpcpy): Likewise.
35511 * string/strcmp.c (strcmp): Likewise.
35512 * string/strrchr.c (strrchr): Likewise.
35513 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35514 Likewise.
35515 * sysdeps/mach/hurd/getcwd.c
35516 (_hurd_canonicalize_directory_name_internal): Likewise.
35517 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35518 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35519 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35520 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35521 Likewise, in both definitions.
35522 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35523 definitions.
35524 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35525 64] (__bswap_64): Likewise.
35526 * time/test_time.c (main): Likewise.
35527 * time/tzfile.c (__tzfile_read): Likewise.
35528 (__tzfile_compute): Likewise.
35529 * time/tzset.c (__tzset_parse_tz): Likewise.
35530 (tzset_internal): Likewise.
35531 (compute_change): Likewise.
35532 * wcsmbs/wcscat.c (__wcscat): Likewise.
35533 * wcsmbs/wcschr.c (wcschr): Likewise.
35534 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35535 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35536 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35537 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35538 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35539 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35540 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35541 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35542 * wcsmbs/wmemset.c (wmemset): Likewise.
35543
35544 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35545
35546 * scripts/config.guess: Update to version 2013-05-16.
35547 * scripts/config.sub: Update to version 2013-04-24.
35548 * scripts/install-sh: Update to version 2011-11-20.07.
35549 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35550 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35551
35552 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35553
35554 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35555 * elf/sln.c: Likewise.
35556 * hurd/hurd/ioctl.h: Likewise.
35557 * hurd/hurdmalloc.c: Likewise.
35558 * hurd/xattr.c: Likewise.
35559 * include/shlib-compat.h: Likewise.
35560 * inet/ruserpass.c: Likewise.
35561 * libio/iofgets_u.c: Likewise.
35562 * libio/iofgetws_u.c: Likewise.
35563 * locale/programs/ld-identification.c: Likewise.
35564 * locale/programs/ld-time.c: Likewise.
35565 * mach/msg-destroy.c: Likewise.
35566 * nss/nss_files/files-netgrp.c: Likewise.
35567 * resolv/res_data.c: Likewise.
35568 * soft-fp/op-1.h: Likewise.
35569 * soft-fp/op-2.h: Likewise.
35570 * soft-fp/op-4.h: Likewise.
35571 * soft-fp/op-common.h: Likewise.
35572 * stdio-common/printf_fphex.c: Likewise.
35573 * stdlib/strtod_l.c: Likewise.
35574 * sunrpc/rpc/clnt.h: Likewise.
35575 * sysdeps/generic/framestate.c: Likewise.
35576 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35577 * sysdeps/i386/bsd-setjmp.S: Likewise.
35578 * sysdeps/i386/__longjmp.S: Likewise.
35579 * sysdeps/i386/setjmp.S: Likewise.
35580 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35598 * sysdeps/ieee754/support.c: Likewise.
35599 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35600 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35601 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35602 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35603 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35604 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35605 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35606 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35607 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35608 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35609 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35610 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35611 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35612 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35613 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35614 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35617
35618 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35619
35620 * posix/transbug.c: Remove executable mode.
35621
35622 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35623
35624 * crypt/speeds.c: Remove trailing whitespace.
35625 * dlfcn/default.c: Likewise.
35626 * elf/ifuncdep2.c: Likewise.
35627 * elf/ifuncmain1.c: Likewise.
35628 * elf/ifuncmain1vis.c: Likewise.
35629 * elf/testobj.h: Likewise.
35630 * elf/tst-stackguard1.c: Likewise.
35631 * gmon/sys/gmon.h: Likewise.
35632 * hurd/hurdmsg.c: Likewise.
35633 * hurd/new-fd.c: Likewise.
35634 * hurd/ports-get.c: Likewise.
35635 * iconvdata/ibm1008_420.c: Likewise.
35636 * inet/tst-getni1.c: Likewise.
35637 * inet/tst-getni2.c: Likewise.
35638 * libio/ioungetc.c: Likewise.
35639 * libio/wfiledoalloc.c: Likewise.
35640 * manual/libm-err-tab.pl: Likewise.
35641 * math/w_dremf.c: Likewise.
35642 * misc/ftruncate.c: Likewise.
35643 * posix/bug-glob2.c: Likewise.
35644 * posix/tst-pcre.c: Likewise.
35645 * posix/wait4.c: Likewise.
35646 * resolv/README: Likewise.
35647 * resolv/res_debug.h: Likewise.
35648 * resolv/tst-inet_ntop.c: Likewise.
35649 * setjmp/bug269-setjmp.c: Likewise.
35650 * soft-fp/extended.h: Likewise.
35651 * soft-fp/op-1.h: Likewise.
35652 * soft-fp/op-2.h: Likewise.
35653 * soft-fp/op-4.h: Likewise.
35654 * soft-fp/op-8.h: Likewise.
35655 * soft-fp/testit.c: Likewise.
35656 * stdio-common/bug16.c: Likewise.
35657 * stdlib/random.c: Likewise.
35658 * sunrpc/rpcsvc/rquota.x: Likewise.
35659 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35660 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35662 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35667 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35688 * sysdeps/ieee754/s_lib_version.c: Likewise.
35689 * sysdeps/mach/hurd/check_fds.c: Likewise.
35690 * sysdeps/mach/hurd/getsockname.c: Likewise.
35691 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35692 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35693 * sysdeps/powerpc/bits/link.h: Likewise.
35694 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35695 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35696 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35697 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35698 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35699 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35700 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35701 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35702 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35703 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35704 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35705 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35706 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35707 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35708 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35709 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35714 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35715 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35716 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35717 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35718 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35723 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35727 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35728 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35729 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35730 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35731 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35732 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35733 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35734 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35735 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35736 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35737 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35738 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35739 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35740 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35741 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35742 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35743 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35749 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35750 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35752 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35753 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35755 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35756 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35757 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35758 * sysdeps/powerpc/sysdep.h: Likewise.
35759 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35760 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35761 * sysdeps/sh/dl-trampoline.S: Likewise.
35762 * sysdeps/sh/memset.S: Likewise.
35763 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35764 * sysdeps/sh/strlen.S: Likewise.
35765 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35766 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35767 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35768 * sysdeps/sparc/sparc32/rem.S: Likewise.
35769 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35770 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35771 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35772 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35773 * sysdeps/sparc/sparc32/urem.S: Likewise.
35774 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35775 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35776 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35777 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35778 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35779 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35780 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35781 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35782 * sysdeps/unix/bsd/times.c: Likewise.
35783 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35784 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35788 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35789 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35790 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35792 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35793 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35794 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35795 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35796 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35797 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35798 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35799 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35800 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35801 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35802 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35803 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35804 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35805 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35807 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35808 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35809 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35811 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35812 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35813 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35814 * sysdeps/x86_64/strcspn.S: Likewise.
35815
35816 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35817
35818 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35819 generated file. Regenerate properly from gen-translit.pl.
35820 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35821 locale/C-translit.h.
35822
35823 2013-06-05 Andreas Schwab <schwab@suse.de>
35824
35825 [BZ #15100]
35826 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35827 week as 6 instead of -1.
35828 * time/tst-strptime.c (day_tests): Add test case.
35829
35830 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35831
35832 * sysdeps/generic/math_private.h
35833 (libc_feholdexcept_setround_53bit): Replace with
35834 libc_feholdsetround_53bit.
35835 (libc_feupdateenv_53bit): Replace with
35836 libc_feresetround_53bit.
35837 (SET_RESTORE_ROUND_53BIT): Adjust.
35838
35839 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35840
35841 * string/test-strchrnul.c: Add copyright header.
35842
35843 * posix/tst-getaddrinfo4.c: Increase test timeout.
35844
35845 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35846
35847 [BZ #15536]
35848 * math/libm-test.inc (MAX_EXP): Remove
35849 (MIN_EXP): Define.
35850 (ulp): Use MIN_EXP - MANT_DIG.
35851 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35852
35853 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35854
35855 * po/be.po: Revert last change.
35856 * po/zh_CN.po: Likewise.
35857 * po/header.pot: Likewise.
35858
35859 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35860
35861 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35862 link-libc-deps to empty as target-specific variable.
35863 * Makerules (link-libc-args): New variable.
35864 (libc-for-link): Likewise.
35865 (link-libc-deps): Likewise.
35866 (lib%.so): Depend on $(link-libc-deps). Link with
35867 $(link-libc-args).
35868 (build-module): Link with $(link-libc-args).
35869 (build-module-asneeded): Likewise.
35870 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35871 list of objects.
35872 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35873 target-specific variable.
35874 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35875 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35876 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35877 libc.
35878 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35879 libc and ld.so.
35880 ($(objpfx)libpcprofile.so): Likewise.
35881 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35882 libc_nonshared.a.
35883 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35884 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35885 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35886 $(link-libc-deps).
35887 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35888 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35889 * login/Makefile ($(objpfx)libutil.so): Likewise.
35890 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35891 * math/Makefile ($(objpfx)libm.so): Likewise.
35892 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35893 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35894 variable instead of depending directly on libc.
35895 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35896 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35897 $(link-libc-deps).
35898 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35899 libc.
35900 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35901 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35902 ($(objpfx)libanl.so): Likewise.
35903 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35904 ld.so.
35905 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35906 $(link-libc-deps).
35907 * sysdeps/i386/fpu/Makefile: Remove file.
35908 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35909 ($(objpfx)libm.so): Remove dependency on ld.so.
35910
35911 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35912
35913 [BZ # 15553]
35914 * nis/yp_xdr.c (XDRMAXNAME): Define.
35915 (XDRMAXRECORD): Define.
35916 (xdr_domainname): Use XDRMAXNAME.
35917 (xdr_mapname): Likewise.
35918 (xdr_peername): Likewise.
35919 (xdr_keydat): Use XDRMAXRECORD.
35920 (xdr_valdat): Likewise.
35921
35922 2013-05-30 Jeff Law <law@redhat.com>
35923
35924 [BZ #14256]
35925 * manual/errno.texi (ESTALE): Update to account for more than
35926 just NFS file systems.
35927 * sysdeps/gnu/errlist.c: Regenerated.
35928
35929 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35930
35931 [BZ #15465]
35932 * elf/Makefile (tests): Add tst-null-argv.
35933 (modules-names): Add tst-null-argv-lib.
35934 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35935 (tst-null-argv-ENV): Set environment for tst-null-argv.
35936 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35937 (RTLD_PROGNAME): New macro.
35938 * elf/tst-null-argv.c: New test case.
35939 * elf/tst-null-argv-lib.c: Library for test case.
35940 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35941 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35942 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35943 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35944 * elf/dl-init.c (call_init): Likewise.
35945 (_dl_init): Likewise.
35946 * elf/dl-load.c (print_search_path): Likewise.
35947 (_dl_map_object): Likewise.
35948 * elf/dl-lookup.c (do_lookup_x): Likewise.
35949 (add_dependency): Likewise.
35950 (_dl_lookup_symbol_x): Likewise.
35951 (_dl_debug_bindings): Likewise.
35952 * elf/dl-open.c (_dl_show_scope): Likewise.
35953 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35954 * elf/dl-version.c (match_symbol): Likewise.
35955 (_dl_check_map_versions): Likewise.
35956 * elf/rtld.c (dl_main): Likewise.
35957 (print_unresolved): Use RTLD_PROGNAME.
35958 (print_missing_version): Likewise.
35959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35960 (elf_machine_rela): Likewise.
35961 * sysdeps/powerpc/powerpc32/dl-machine.c
35962 (__process_machine_rela): Likewise.
35963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35964 Likewise.
35965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35966 Likewise.
35967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35968 Likewise.
35969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35971 Likewise.
35972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35973 Likewise.
35974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35975
35976 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35977
35978 * po/be.po: Add descriptive title.
35979 * po/zh_CN.po: Likewise.
35980 * po/header.pot: Likewise.
35981
35982 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35983
35984 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35985 error message.
35986 (enlarge_archive): Likewise.
35987
35988 2013-05-28 Ben North <ben@redfrontdoor.org>
35989
35990 * manual/arith.texi (frexp): It is the magnitude of the return
35991 value which lies in [0.5, 1), not the return value itself.
35992
35993 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35994
35995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35996
35997 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35998
35999 * stdio-common/bug26.c (main): Correct fscanf template.
36000
36001 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36002 declare _dl_skip_args.
36003
36004 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36005 Don't declare.
36006
36007 * manual/platform.texi: Add missing @end deftypefun.
36008
36009 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36010
36011 [BZ #15529]
36012 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36013 bit of mantissa of 2^16382.
36014 * math/libm-test.inc (hypot_test_data): Add more tests.
36015
36016 * math/libm-test.inc: Add drem and pow10 to list of tested
36017 functions.
36018 (pow10_test): New function.
36019 (drem_test): Likewise.
36020 (drem_test_tonearest): Likewise.
36021 (drem_test_towardzero): Likewise.
36022 (drem_test_downward): Likewise.
36023 (drem_test_upward): Likewise.
36024 (main): Call the new functions.
36025
36026 * math/libm-test.inc (finite_test_data): Remove.
36027 (finite_test): Run tests from isfinite_test_data.
36028 (gamma_test_data): Remove.
36029 (gamma_test): Run tests from lgamma_test_data.
36030 * sysdeps/i386/fpu/libm-test-ulps: Update.
36031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36032
36033 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36034
36035 * manual/platform.texi: Add PowerPC PPR function set documentation.
36036 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36037 implementation.
36038
36039 2013-05-24 Carlos O'Donell <carlos@redhat.com>
36040
36041 * math/libm-test.inc (MAX_EXP): Define.
36042 (ULPDIFF): Define.
36043 (ulp): New function.
36044 (check_float_internal): Use ULPDIFF.
36045 (cpow_test): Disable failing test.
36046 (check_ulp): Test ulp() implemetnation.
36047 (main): Call check_ulp before starting tests.
36048
36049 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36050
36051 * math/gen-libm-test.pl (generate_testfile): Do not handle
36052 START_DATA and END_DATA.
36053 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36054 END_DATA.
36055 (acos_tonearest_test_data): Likewise.
36056 (acos_towardzero_test_data): Likewise.
36057 (acos_downward_test_data): Likewise.
36058 (acos_upward_test_data): Likewise.
36059 (acosh_test_data): Likewise.
36060 (asin_test_data): Likewise.
36061 (asin_tonearest_test_data): Likewise.
36062 (asin_towardzero_test_data): Likewise.
36063 (asin_downward_test_data): Likewise.
36064 (asin_upward_test_data): Likewise.
36065 (asinh_test_data): Likewise.
36066 (atan_test_data): Likewise.
36067 (atanh_test_data): Likewise.
36068 (atan2_test_data): Likewise.
36069 (cabs_test_data): Likewise.
36070 (cacos_test_data): Likewise.
36071 (cacosh_test_data): Likewise.
36072 (carg_test_data): Likewise.
36073 (casin_test_data): Likewise.
36074 (casinh_test_data): Likewise.
36075 (catan_test_data): Likewise.
36076 (catanh_test_data): Likewise.
36077 (cbrt_test_data): Likewise.
36078 (ccos_test_data): Likewise.
36079 (ccosh_test_data): Likewise.
36080 (ceil_test_data): Likewise.
36081 (cexp_test_data): Likewise.
36082 (cimag_test_data): Likewise.
36083 (clog_test_data): Likewise.
36084 (clog10_test_data): Likewise.
36085 (conj_test_data): Likewise.
36086 (copysign_test_data): Likewise.
36087 (cos_test_data): Likewise.
36088 (cos_tonearest_test_data): Likewise.
36089 (cos_towardzero_test_data): Likewise.
36090 (cos_downward_test_data): Likewise.
36091 (cos_upward_test_data): Likewise.
36092 (cosh_test_data): Likewise.
36093 (cosh_tonearest_test_data): Likewise.
36094 (cosh_towardzero_test_data): Likewise.
36095 (cosh_downward_test_data): Likewise.
36096 (cosh_upward_test_data): Likewise.
36097 (cpow_test_data): Likewise.
36098 (cproj_test_data): Likewise.
36099 (creal_test_data): Likewise.
36100 (csin_test_data): Likewise.
36101 (csinh_test_data): Likewise.
36102 (csqrt_test_data): Likewise.
36103 (ctan_test_data): Likewise.
36104 (ctan_tonearest_test_data): Likewise.
36105 (ctan_towardzero_test_data): Likewise.
36106 (ctan_downward_test_data): Likewise.
36107 (ctan_upward_test_data): Likewise.
36108 (ctanh_test_data): Likewise.
36109 (ctanh_tonearest_test_data): Likewise.
36110 (ctanh_towardzero_test_data): Likewise.
36111 (ctanh_downward_test_data): Likewise.
36112 (ctanh_upward_test_data): Likewise.
36113 (erf_test_data): Likewise.
36114 (erfc_test_data): Likewise.
36115 (exp_test_data): Likewise.
36116 (exp_tonearest_test_data): Likewise.
36117 (exp_towardzero_test_data): Likewise.
36118 (exp_downward_test_data): Likewise.
36119 (exp_upward_test_data): Likewise.
36120 (exp10_test_data): Likewise.
36121 (exp2_test_data): Likewise.
36122 (expm1_test_data): Likewise.
36123 (fabs_test_data): Likewise.
36124 (fdim_test_data): Likewise.
36125 (finite_test_data): Likewise.
36126 (floor_test_data): Likewise.
36127 (fma_test_data): Likewise.
36128 (fma_towardzero_test_data): Likewise.
36129 (fma_downward_test_data): Likewise.
36130 (fma_upward_test_data): Likewise.
36131 (fmax_test_data): Likewise.
36132 (fmin_test_data): Likewise.
36133 (fmod_test_data): Likewise.
36134 (fpclassify_test_data): Likewise.
36135 (frexp_test_data): Likewise.
36136 (gamma_test_data): Likewise.
36137 (hypot_test_data): Likewise.
36138 (ilogb_test_data): Likewise.
36139 (isfinite_test_data): Likewise.
36140 (isgreater_test_data): Likewise.
36141 (isgreaterequal_test_data): Likewise.
36142 (isinf_test_data): Likewise.
36143 (isless_test_data): Likewise.
36144 (islessequal_test_data): Likewise.
36145 (islessgreater_test_data): Likewise.
36146 (isnan_test_data): Likewise.
36147 (isnormal_test_data): Likewise.
36148 (issignaling_test_data): Likewise.
36149 (isunordered_test_data): Likewise.
36150 (j0_test_data): Likewise.
36151 (j1_test_data): Likewise.
36152 (jn_test_data): Likewise.
36153 (ldexp_test_data): Likewise.
36154 (lgamma_test_data): Likewise.
36155 (lrint_test_data): Likewise.
36156 (lrint_tonearest_test_data): Likewise.
36157 (lrint_towardzero_test_data): Likewise.
36158 (lrint_downward_test_data): Likewise.
36159 (lrint_upward_test_data): Likewise.
36160 (llrint_test_data): Likewise.
36161 (llrint_tonearest_test_data): Likewise.
36162 (llrint_towardzero_test_data): Likewise.
36163 (llrint_downward_test_data): Likewise.
36164 (llrint_upward_test_data): Likewise.
36165 (log_test_data): Likewise.
36166 (log10_test_data): Likewise.
36167 (log1p_test_data): Likewise.
36168 (log2_test_data): Likewise.
36169 (logb_test_data): Likewise.
36170 (logb_downward_test_data): Likewise.
36171 (lround_test_data): Likewise.
36172 (llround_test_data): Likewise.
36173 (modf_test_data): Likewise.
36174 (nearbyint_test_data): Likewise.
36175 (nextafter_test_data): Likewise.
36176 (nexttoward_test_data): Likewise.
36177 (pow_test_data): Likewise.
36178 (pow_tonearest_test_data): Likewise.
36179 (pow_towardzero_test_data): Likewise.
36180 (pow_downward_test_data): Likewise.
36181 (pow_upward_test_data): Likewise.
36182 (remainder_test_data): Likewise.
36183 (remainder_tonearest_test_data): Likewise.
36184 (remainder_towardzero_test_data): Likewise.
36185 (remainder_downward_test_data): Likewise.
36186 (remainder_upward_test_data): Likewise.
36187 (remquo_test_data): Likewise.
36188 (rint_test_data): Likewise.
36189 (rint_tonearest_test_data): Likewise.
36190 (rint_towardzero_test_data): Likewise.
36191 (rint_downward_test_data): Likewise.
36192 (rint_upward_test_data): Likewise.
36193 (round_test_data): Likewise.
36194 (scalb_test_data): Likewise.
36195 (scalbn_test_data): Likewise.
36196 (scalbln_test_data): Likewise.
36197 (signbit_test_data): Likewise.
36198 (sin_test_data): Likewise.
36199 (sin_tonearest_test_data): Likewise.
36200 (sin_towardzero_test_data): Likewise.
36201 (sin_downward_test_data): Likewise.
36202 (sin_upward_test_data): Likewise.
36203 (sincos_test_data): Likewise.
36204 (sinh_test_data): Likewise.
36205 (sinh_tonearest_test_data): Likewise.
36206 (sinh_towardzero_test_data): Likewise.
36207 (sinh_downward_test_data): Likewise.
36208 (sinh_upward_test_data): Likewise.
36209 (sqrt_test_data): Likewise.
36210 (tan_test_data): Likewise.
36211 (tan_tonearest_test_data): Likewise.
36212 (tan_towardzero_test_data): Likewise.
36213 (tan_downward_test_data): Likewise.
36214 (tan_upward_test_data): Likewise.
36215 (tanh_test_data): Likewise.
36216 (tgamma_test_data): Likewise.
36217 (trunc_test_data): Likewise.
36218 (y0_test_data): Likewise.
36219 (y1_test_data): Likewise.
36220 (yn_test_data): Likewise.
36221 (significand_test_data): Likewise.
36222
36223 * math/gen-libm-test.pl (@functions): Remove variable.
36224 (generate_testfile): Don't handle START and END lines.
36225 * math/libm-test.inc (START): New macro.
36226 (END): Likewise.
36227 (END_COMPLEX): Likewise.
36228 (acos_test): Use END macro without arguments.
36229 (acos_test_tonearest): Likewise.
36230 (acos_test_towardzero): Likewise.
36231 (acos_test_downward): Likewise.
36232 (acos_test_upward): Likewise.
36233 (acosh_test): Likewise.
36234 (asin_test): Likewise.
36235 (asin_test_tonearest): Likewise.
36236 (asin_test_towardzero): Likewise.
36237 (asin_test_downward): Likewise.
36238 (asin_test_upward): Likewise.
36239 (asinh_test): Likewise.
36240 (atan_test): Likewise.
36241 (atanh_test): Likewise.
36242 (atan2_test): Likewise.
36243 (cabs_test): Likewise.
36244 (cacos_test): Use END_COMPLEX macro without arguments.
36245 (cacosh_test): Likewise.
36246 (carg_test): Use END macro without arguments.
36247 (casin_test): Use END_COMPLEX macro without arguments.
36248 (casinh_test): Likewise.
36249 (catan_test): Likewise.
36250 (catanh_test): Likewise.
36251 (cbrt_test): Use END macro without arguments.
36252 (ccos_test): Use END_COMPLEX macro without arguments.
36253 (ccosh_test): Likewise.
36254 (ceil_test): Use END macro without arguments.
36255 (cexp_test): Use END_COMPLEX macro without arguments.
36256 (cimag_test): Use END macro without arguments.
36257 (clog_test): Use END_COMPLEX macro without arguments.
36258 (clog10_test): Likewise.
36259 (conj_test): Likewise.
36260 (copysign_test): Use END macro without arguments.
36261 (cos_test): Likewise.
36262 (cos_test_tonearest): Likewise.
36263 (cos_test_towardzero): Likewise.
36264 (cos_test_downward): Likewise.
36265 (cos_test_upward): Likewise.
36266 (cosh_test): Likewise.
36267 (cosh_test_tonearest): Likewise.
36268 (cosh_test_towardzero): Likewise.
36269 (cosh_test_downward): Likewise.
36270 (cosh_test_upward): Likewise.
36271 (cpow_test): Use END_COMPLEX macro without arguments.
36272 (cproj_test): Likewise.
36273 (creal_test): Use END macro without arguments.
36274 (csin_test): Use END_COMPLEX macro without arguments.
36275 (csinh_test): Likewise.
36276 (csqrt_test): Likewise.
36277 (ctan_test): Likewise.
36278 (ctan_test_tonearest): Likewise.
36279 (ctan_test_towardzero): Likewise.
36280 (ctan_test_downward): Likewise.
36281 (ctan_test_upward): Likewise.
36282 (ctanh_test): Likewise.
36283 (ctanh_test_tonearest): Likewise.
36284 (ctanh_test_towardzero): Likewise.
36285 (ctanh_test_downward): Likewise.
36286 (ctanh_test_upward): Likewise.
36287 (erf_test): Use END macro without arguments.
36288 (erfc_test): Likewise.
36289 (exp_test): Likewise.
36290 (exp_test_tonearest): Likewise.
36291 (exp_test_towardzero): Likewise.
36292 (exp_test_downward): Likewise.
36293 (exp_test_upward): Likewise.
36294 (exp10_test): Likewise.
36295 (exp2_test): Likewise.
36296 (expm1_test): Likewise.
36297 (fabs_test): Likewise.
36298 (fdim_test): Likewise.
36299 (finite_test): Likewise.
36300 (floor_test): Likewise.
36301 (fma_test): Likewise.
36302 (fma_test_towardzero): Likewise.
36303 (fma_test_downward): Likewise.
36304 (fma_test_upward): Likewise.
36305 (fmax_test): Likewise.
36306 (fmin_test): Likewise.
36307 (fmod_test): Likewise.
36308 (fpclassify_test): Likewise.
36309 (frexp_test): Likewise.
36310 (gamma_test): Likewise.
36311 (hypot_test): Likewise.
36312 (ilogb_test): Likewise.
36313 (isfinite_test): Likewise.
36314 (isgreater_test): Likewise.
36315 (isgreaterequal_test): Likewise.
36316 (isinf_test): Likewise.
36317 (isless_test): Likewise.
36318 (islessequal_test): Likewise.
36319 (islessgreater_test): Likewise.
36320 (isnan_test): Likewise.
36321 (isnormal_test): Likewise.
36322 (issignaling_test): Likewise.
36323 (isunordered_test): Likewise.
36324 (j0_test): Likewise.
36325 (j1_test): Likewise.
36326 (jn_test): Likewise.
36327 (ldexp_test): Likewise.
36328 (lgamma_test): Likewise.
36329 (lrint_test): Likewise.
36330 (lrint_test_tonearest): Likewise.
36331 (lrint_test_towardzero): Likewise.
36332 (lrint_test_downward): Likewise.
36333 (lrint_test_upward): Likewise.
36334 (llrint_test): Likewise.
36335 (llrint_test_tonearest): Likewise.
36336 (llrint_test_towardzero): Likewise.
36337 (llrint_test_downward): Likewise.
36338 (llrint_test_upward): Likewise.
36339 (log_test): Likewise.
36340 (log10_test): Likewise.
36341 (log1p_test): Likewise.
36342 (log2_test): Likewise.
36343 (logb_test): Likewise.
36344 (logb_test_downward): Likewise.
36345 (lround_test): Likewise.
36346 (llround_test): Likewise.
36347 (modf_test): Likewise.
36348 (nearbyint_test): Likewise.
36349 (nextafter_test): Likewise.
36350 (nexttoward_test): Likewise.
36351 (pow_test): Likewise.
36352 (pow_test_tonearest): Likewise.
36353 (pow_test_towardzero): Likewise.
36354 (pow_test_downward): Likewise.
36355 (pow_test_upward): Likewise.
36356 (remainder_test): Likewise.
36357 (remainder_test_tonearest): Likewise.
36358 (remainder_test_towardzero): Likewise.
36359 (remainder_test_downward): Likewise.
36360 (remainder_test_upward): Likewise.
36361 (remquo_test): Likewise.
36362 (rint_test): Likewise.
36363 (rint_test_tonearest): Likewise.
36364 (rint_test_towardzero): Likewise.
36365 (rint_test_downward): Likewise.
36366 (rint_test_upward): Likewise.
36367 (round_test): Likewise.
36368 (scalb_test): Likewise.
36369 (scalbn_test): Likewise.
36370 (scalbln_test): Likewise.
36371 (signbit_test): Likewise.
36372 (sin_test): Likewise.
36373 (sin_test_tonearest): Likewise.
36374 (sin_test_towardzero): Likewise.
36375 (sin_test_downward): Likewise.
36376 (sin_test_upward): Likewise.
36377 (sincos_test): Likewise.
36378 (sinh_test): Likewise.
36379 (sinh_test_tonearest): Likewise.
36380 (sinh_test_towardzero): Likewise.
36381 (sinh_test_downward): Likewise.
36382 (sinh_test_upward): Likewise.
36383 (sqrt_test): Likewise.
36384 (tan_test): Likewise.
36385 (tan_test_tonearest): Likewise.
36386 (tan_test_towardzero): Likewise.
36387 (tan_test_downward): Likewise.
36388 (tan_test_upward): Likewise.
36389 (tanh_test): Likewise.
36390 (tgamma_test): Likewise.
36391 (trunc_test): Likewise.
36392 (y0_test): Likewise.
36393 (y1_test): Likewise.
36394 (yn_test): Likewise.
36395 (significand_test): Likewise.
36396
36397 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36398
36399 [BZ #15381]
36400 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36401
36402 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36403
36404 [BZ #14894]
36405 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36406 __ppc_mdoio and __ppc_mdoom.
36407 * manual/platform.texi: Document new functions __ppc_yield,
36408 __ppc_mdoio and __ppc_mdoom.
36409
36410 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36411
36412 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36413 (main): Mention "tls" pseudo-hwcap is legacy.
36414 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36415
36416 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36417
36418 * math/gen-libm-test.pl (parse_args): Output only string of
36419 arguments as text for test name, not full call or descriptions of
36420 tests for extra outputs.
36421 (generate_testfile): Do not pass function name to parse_args.
36422 Generate this_func variable from START.
36423 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36424 field to arg_str.
36425 (struct test_ff_f_data): Likewise.
36426 (test_ff_f_data_nexttoward): Likewise.
36427 (struct test_fi_f_data): Likewise.
36428 (struct test_fl_f_data): Likewise.
36429 (struct test_if_f_data): Likewise.
36430 (struct test_fff_f_data): Likewise.
36431 (struct test_c_f_data): Likewise.
36432 (struct test_f_f1_data): Likewise. Remove field extra_name.
36433 (struct test_fF_f1_data): Likewise.
36434 (struct test_ffI_f1_data): Likewise.
36435 (struct test_c_c_data): Rename test_name field to arg_str.
36436 (struct test_cc_c_data): Likewise.
36437 (struct test_f_i_data): Likewise.
36438 (struct test_ff_i_data): Likewise.
36439 (struct test_f_l_data): Likewise.
36440 (struct test_f_L_data): Likewise.
36441 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36442 and extra2_name.
36443 (COMMON_TEST_SETUP): New macro.
36444 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36445 (COMMON_TEST_CLEANUP): Likewise.
36446 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36447 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36448 macros.
36449 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36450 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36451 macros.
36452 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36453 (RUN_TEST_fff_f): Take argument string. Call new setup and
36454 cleanup macros.
36455 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36456 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36457 macros.
36458 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36459 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36460 macros.
36461 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36462 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36463 cleanup macros.
36464 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36465 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36466 cleanup macros.
36467 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36468 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36469 cleanup macros.
36470 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36471 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36472 macros.
36473 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36474 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36475 macros.
36476 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36477 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36478 macros.
36479 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36480 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36481 cleanup macros.
36482 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36483 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36484 cleanup macros.
36485 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36486 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36487 macros.
36488 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36489 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36490 cleanup macros.
36491 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36492 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36493 macros.
36494 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36495 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36496 macros.
36497 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36498 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36499 cleanup macros.
36500 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36501
36502 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36503
36504 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36505 to _sifields.sigfault.
36506 (si_addr_lsb): Define new macro.
36507 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36509 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36510
36511 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36512
36513 [BZ #15441]
36514 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36515 returns -1.
36516 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36517 null return -1.
36518 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36519 loading the domain.
36520
36521 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36522
36523 * math/gen-libm-test.pl (parse_args): Do not include expected
36524 result in test name.
36525 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36527 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36528 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36529 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36531
36532 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36533
36534 * benchtests/Makefile: Sort function entries.
36535
36536 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36537 tanh, asinh, acosh, atanh.
36538 * benchtests/acos-inputs: New file.
36539 * benchtests/acosh-inputs: New file.
36540 * benchtests/asin-inputs: New file.
36541 * benchtests/asinh-inputs: New file.
36542 * benchtests/atanh-inputs: New file.
36543 * benchtests/cosh-inputs: New file.
36544 * benchtests/log-inputs: New file.
36545 * benchtests/sinh-inputs: New file.
36546 * benchtests/tanh-inputs: New file.
36547
36548 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36549
36550 [BZ #15339]
36551 * posix/tst-getaddrinfo4.c: New test.
36552 * posix/Makefile (tests): Add it.
36553
36554 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36555
36556 [BZ #15339]
36557 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36558 when no services were used.
36559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36560 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36561
36562 2013-05-21 Andreas Schwab <schwab@suse.de>
36563
36564 [BZ #15014]
36565 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36566 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36567 successful.
36568 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36569 redundant variable declarations and reallocation of buffer when
36570 parsing as IPv6 address. Always set NSS status when called from
36571 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36572 buffer too small. Correct computation of needed size.
36573 * nss/Makefile (tests): Add test-digits-dots.
36574 * nss/test-digits-dots.c: New test.
36575
36576 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36577
36578 * benchtests/Makefile: Remove instructions for adding
36579 benchmark tests.
36580 * benchtests/README: New file to explain how to execute and
36581 enhance the benchmark tests.
36582
36583 2013-05-21 Andreas Schwab <schwab@suse.de>
36584
36585 [BZ #15493]
36586 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36587 * setjmp/tst-sigsetjmp.c: New test.
36588
36589 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36590
36591 * sysdeps/x86_64/memset.S (memset): New implementation.
36592 (__bzero): Likewise.
36593 (__memset_tail): New function.
36594
36595 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36596
36597 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36598 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36599 __memcpy_sse2_unaligned ifunc selection.
36600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36601 Add memcpy-sse2-unaligned.S.
36602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36603 Add: __memcpy_sse2_unaligned.
36604
36605 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36606
36607 [BZ #15490]
36608 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36609 math_force_eval before restoring floating-point envrionment.
36610 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36612 Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36614 <math_private.h>.
36615 (__nearbyintl): Use math_force_eval before restoring
36616 floating-point environment.
36617 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36618
36619 * math/gen-libm-test.pl (special_functions): Remove.
36620 (parse_args): Don't handle TEST_extra. Handle functions with no
36621 return value.
36622 * math/libm-test.inc (struct test_sincos_data): Replace with
36623 struct test_fFF_11_data.
36624 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36625 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36626 (sincos_test_data): Change element type to struct
36627 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36628 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36629 RUN_TEST_LOOP_sincos.
36630 * math/README.libm-test: Don't mention special handling of
36631 individual functions.
36632 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36633 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36634 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36635 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36636 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36638
36639 * math/gen-libm-test.pl (get_variable): Remove function.
36640 (parse_args): Don't show pointer parameters to call in test
36641 names. Use "extra output N" in test names for extra outputs
36642 rather than naming variables.
36643
36644 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36645
36646 [BZ #15488]
36647 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36648 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36649 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36650 double tests.
36651 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36652 disable.
36653 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36654 check_long_double.
36655
36656 * math/gen-libm-test.pl (@tests): Remove variable.
36657 ($count): Likewise.
36658 (new_test): Remove function.
36659 (show_exceptions): New function.
36660 (special_functions): Use show_exceptions instead of new_test.
36661 (parse_args): Likewise.
36662 (generate_testfile): Pass only function name in generated call to
36663 print_max_error or print_complex_max_error.
36664 (get_ulps): Do not handle complex tests specially.
36665 (output_test): Rename to ...
36666 (get_all_ulps_for_test): ... this. Return a string rather than
36667 printing to a file. Require ulps to be present.
36668 (output_ulps): Generate arrays rather than #defines.
36669 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36670 (struct ulp_data): New type.
36671 (BUILD_COMPLEX_ULP): Remove macro.
36672 (compare_ulp_data): New function.
36673 (find_ulps): Likewise.
36674 (find_test_ulps): Likewise.
36675 (find_function_ulps): Likewise.
36676 (find_complex_function_ulps): Likewise.
36677 (print_max_error): Determine allowed ulps using
36678 find_function_ulps.
36679 (print_complex_max_error): Determine allowed ulps using
36680 find_complex_function_ulps.
36681 (check_float_internal): Determine max ulps using find_test_ulps.
36682 (check_float): Do not take max_ulp parameter. Update call to
36683 check_float_internal.
36684 (check_complex): Likewise.
36685 (check_int): Do not take max_ulp parameter.
36686 (check_long): Likewise.
36687 (check_bool): Likewise.
36688 (check_longlong): Likewise.
36689 (struct test_f_f_data): Remove max_ulp field.
36690 (struct test_ff_f_data): Likewise.
36691 (struct test_ff_f_data_nexttoward): Likewise.
36692 (struct test_fi_f_data): Likewise.
36693 (struct test_fl_f_data): Likewise.
36694 (struct test_if_f_data): Likewise.
36695 (struct test_fff_f_data): Likewise.
36696 (struct test_c_f_data): Likewise.
36697 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36698 (struct test_fF_f1_data): Likewise.
36699 (struct test_ffI_f1_data): Likewise.
36700 (struct test_c_c_data): Remove max_ulp field.
36701 (struct test_cc_c_data): Likewise.
36702 (struct test_f_i_data): Likewise.
36703 (struct test_ff_i_data): Likewise.
36704 (struct test_f_l_data): Likewise.
36705 (struct test_f_L_data): Likewise.
36706 (struct test_sincos_data): Likewise.
36707 (RUN_TEST_f_f): Do not handle ulps.
36708 (RUN_TEST_LOOP_f_f): Likewise.
36709 (RUN_TEST_2_f): Likewise.
36710 (RUN_TEST_LOOP_2_f): Likewise.
36711 (RUN_TEST_fff_f): Likewise.
36712 (RUN_TEST_LOOP_fff_f): Likewise.
36713 (RUN_TEST_c_f): Likewise.
36714 (RUN_TEST_LOOP_c_f): Likewise.
36715 (RUN_TEST_f_f1): Likewise.
36716 (RUN_TEST_LOOP_f_f1): Likewise.
36717 (RUN_TEST_fF_f1): Likewise.
36718 (RUN_TEST_LOOP_fF_f1): Likewise.
36719 (RUN_TEST_fI_f1): Likewise.
36720 (RUN_TEST_LOOP_fI_f1): Likewise.
36721 (RUN_TEST_ffI_f1): Likewise.
36722 (RUN_TEST_LOOP_ffI_f1): Likewise.
36723 (RUN_TEST_c_c): Likewise.
36724 (RUN_TEST_LOOP_c_c): Likewise.
36725 (RUN_TEST_cc_c): Likewise.
36726 (RUN_TEST_LOOP_cc_c): Likewise.
36727 (RUN_TEST_f_i): Likewise.
36728 (RUN_TEST_LOOP_f_i): Likewise.
36729 (RUN_TEST_f_i_tg): Likewise.
36730 (RUN_TEST_LOOP_f_i_tg): Likewise.
36731 (RUN_TEST_ff_i_tg): Likewise.
36732 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36733 (RUN_TEST_f_b): Likewise.
36734 (RUN_TEST_LOOP_f_b): Likewise.
36735 (RUN_TEST_f_b_tg): Likewise.
36736 (RUN_TEST_LOOP_f_b_tg): Likewise.
36737 (RUN_TEST_f_l): Likewise.
36738 (RUN_TEST_LOOP_f_l): Likewise.
36739 (RUN_TEST_f_L): Likewise.
36740 (RUN_TEST_LOOP_f_L): Likewise.
36741 (RUN_TEST_sincos): Likewise.
36742 (RUN_TEST_LOOP_sincos): Likewise.
36743
36744 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36745
36746 [BZ #15480]
36747 [BZ #15485]
36748 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36749 main case of finite arguments, set rounding mode to FE_TONEAREST
36750 and discard exceptions.
36751 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36752 exceptions.
36753 (remainder_tonearest_test_data): New variable.
36754 (remainder_test_tonearest): New function.
36755 (remainder_towardzero_test_data): New variable.
36756 (remainder_test_towardzero): New function.
36757 (remainder_downward_test_data): New variable.
36758 (remainder_test_downward): New function.
36759 (remainder_upward_test_data): New variable.
36760 (remainder_test_upward): New function.
36761 (main): Call the new test functions.
36762
36763 * math/libm-test.inc (struct test_f_f1_data): Remove field
36764 extra_init.
36765 (struct test_fF_f1_data): Likewise.
36766 (struct test_ffI_f1_data): Likewise.
36767 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36768 based on value of EXTRA_EXPECTED.
36769 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36770 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36771 EXTRA_VAR based on value of EXTRA_EXPECTED.
36772 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36773 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36774 EXTRA_VAR based on value of EXTRA_EXPECTED.
36775 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36776 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36777 EXTRA_VAR based on value of EXTRA_EXPECTED.
36778 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36779 * math/gen-libm-test.pl (parse_args): Don't output initializers
36780 for extra output values.
36781
36782 * math/libm-test.inc (check_int): Expect result to be exactly
36783 equal to expected value and do not handle ulps.
36784 (check_long): Likewise.
36785 (check_longlong): Likewise.
36786
36787 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36788 exceptions.
36789 (cimag_test_data): Likewise.
36790 (conj_test_data): Likewise.
36791 (copysign_test_data): Likewise.
36792 (cproj_test_data): Likewise.
36793 (creal_test_data): Likewise.
36794 (fabs_test_data): Likewise.
36795 (fdim_test_data): Likewise.
36796 (finite_test_data): Likewise.
36797 (floor_test_data): Likewise.
36798 (fmax_test_data): Likewise.
36799 (fmin_test_data): Likewise.
36800 (fmod_test_data): Likewise.
36801 (fpclassify_test_data): Likewise.
36802 (frexp_test_data): Likewise.
36803 (ilogb_test_data): Likewise.
36804 (isfinite_test_data): Likewise.
36805 (isgreater_test_data): Likewise.
36806 (isgreaterequal_test_data): Likewise.
36807 (isinf_test_data): Likewise.
36808 (isless_test_data): Likewise.
36809 (islessequal_test_data): Likewise.
36810 (islessgreater_test_data): Likewise.
36811 (isnan_test_data): Likewise.
36812 (isnormal_test_data): Likewise.
36813 (issignaling_test_data): Likewise.
36814 (isunordered_test_data): Likewise.
36815 (ldexp_test_data): Likewise.
36816 (lrint_test_data): Likewise.
36817 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36818 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36819 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36820 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36821 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36822 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36823 test input.
36824 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36825 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36826 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36827 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36828 that test input.
36829 (lrint_downward_test_data): Test for "inexact" exceptions.
36830 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36831 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36832 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36833 test input.
36834 (lrint_upward_test_data): Test for "inexact" exceptions.
36835 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36836 test input.
36837 (llrint_test_data): Test for "inexact" exceptions.
36838 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36839 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36840 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36841 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36842 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36843 (llrint_downward_test_data): Test for "inexact" exceptions.
36844 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36845 (llrint_upward_test_data): Test for "inexact" exceptions.
36846 (logb_test_data): Likewise.
36847 (logb_downward_test_data): Likewise.
36848 (nextafter_test_data): Likewise.
36849 (nexttoward_test_data): Likewise.
36850 (remainder_test_data): Likewise.
36851 (remquo_test_data): Likewise.
36852 (scalbn_test_data): Likewise.
36853 (scalbln_test_data): Likewise.
36854 (signbit_test_data): Likewise.
36855 (sqrt_test_data): Likewise.
36856 (significand_test_data): Likewise.
36857
36858 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36859
36860 [BZ #15424]
36861 * benchtests/bench-modf.c (struct args): Mark arg0 as
36862 volatile.
36863 * scripts/bench.pl: Mark members of struct args as volatile.
36864
36865 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36866
36867 [BZ # 15497]
36868 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36869 negative infinity on POWER6 or lower.
36870 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36871
36872 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36873
36874 [BZ #15442]
36875 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36876 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36877 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36878 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36879 (_FP_SETQNAN): New macro.
36880 (_FP_SETQNAN_SEMIRAW): Likewise.
36881 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36882 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36883 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36884 (FP_EXTEND): Use _FP_FRAC_SNANP.
36885 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36886 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36887 into account.
36888 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36889 New macro.
36890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36891 Likewise.
36892
36893 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36894
36895 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36896 with DIVIDE_BY_ZERO_EXCEPTION.
36897 (gamma_test_data): Likewise.
36898 (lgamma_test_data): Likewise.
36899 (log_test_data): Likewise.
36900 (log10_test_data): Likewise.
36901 (log2_test_data): Likewise.
36902 (tgamma_test_data): Likewise.
36903
36904 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36905 (acos_test_tonearest): Likewise.
36906 (acos_test_towardzero): Likewise.
36907 (acos_test_downward): Likewise.
36908 (acos_test_upward): Likewise.
36909 (acosh_test): Likewise.
36910 (asin_test): Likewise.
36911 (asin_test_tonearest): Likewise.
36912 (asin_test_towardzero): Likewise.
36913 (asin_test_downward): Likewise.
36914 (asin_test_upward): Likewise.
36915 (asinh_test): Likewise.
36916 (atan_test): Likewise.
36917 (atanh_test): Likewise.
36918 (atan2_test): Likewise.
36919 (cabs_test): Likewise.
36920 (cacos_test): Likewise.
36921 (cacosh_test): Likewise.
36922 (casin_test): Likewise.
36923 (casinh_test): Likewise.
36924 (catan_test): Likewise.
36925 (catanh_test): Likewise.
36926 (cbrt_test): Likewise.
36927 (ccos_test): Likewise.
36928 (ccosh_test): Likewise.
36929 (cexp_test): Likewise.
36930 (clog_test): Likewise.
36931 (clog10_test): Likewise.
36932 (cos_test): Likewise.
36933 (cos_test_tonearest): Likewise.
36934 (cos_test_towardzero): Likewise.
36935 (cos_test_downward): Likewise.
36936 (cos_test_upward): Likewise.
36937 (cosh_test): Likewise.
36938 (cosh_test_tonearest): Likewise.
36939 (cosh_test_towardzero): Likewise.
36940 (cosh_test_downward): Likewise.
36941 (cosh_test_upward): Likewise.
36942 (cpow_test): Likewise.
36943 (csin_test): Likewise.
36944 (csinh_test): Likewise.
36945 (csqrt_test): Likewise.
36946 (ctan_test): Likewise.
36947 (ctan_test_tonearest): Likewise.
36948 (ctan_test_towardzero): Likewise.
36949 (ctan_test_downward): Likewise.
36950 (ctan_test_upward): Likewise.
36951 (ctanh_test): Likewise.
36952 (ctanh_test_tonearest): Likewise.
36953 (ctanh_test_towardzero): Likewise.
36954 (ctanh_test_downward): Likewise.
36955 (ctanh_test_upward): Likewise.
36956 (erf_test): Likewise.
36957 (erfc_test): Likewise.
36958 (exp_test): Likewise.
36959 (exp_test_tonearest): Likewise.
36960 (exp_test_towardzero): Likewise.
36961 (exp_test_downward): Likewise.
36962 (exp_test_upward): Likewise.
36963 (exp10_test): Likewise.
36964 (exp2_test): Likewise.
36965 (expm1_test): Likewise.
36966 (fmod_test): Likewise.
36967 (gamma_test): Likewise.
36968 (hypot_test): Likewise.
36969 (j0_test): Likewise.
36970 (j1_test): Likewise.
36971 (jn_test): Likewise.
36972 (lgamma_test): Likewise.
36973 (log_test): Likewise.
36974 (log10_test): Likewise.
36975 (log1p_test): Likewise.
36976 (log2_test): Likewise.
36977 (logb_test_downward): Likewise.
36978 (pow_test): Likewise.
36979 (pow_test_tonearest): Likewise.
36980 (pow_test_towardzero): Likewise.
36981 (pow_test_downward): Likewise.
36982 (pow_test_upward): Likewise.
36983 (remainder_test): Likewise.
36984 (remquo_test): Likewise.
36985 (sin_test): Likewise.
36986 (sin_test_tonearest): Likewise.
36987 (sin_test_towardzero): Likewise.
36988 (sin_test_downward): Likewise.
36989 (sin_test_upward): Likewise.
36990 (sincos_test): Likewise.
36991 (sinh_test): Likewise.
36992 (sinh_test_tonearest): Likewise.
36993 (sinh_test_towardzero): Likewise.
36994 (sinh_test_downward): Likewise.
36995 (sinh_test_upward): Likewise.
36996 (sqrt_test): Likewise.
36997 (tan_test): Likewise.
36998 (tan_test_tonearest): Likewise.
36999 (tan_test_towardzero): Likewise.
37000 (tan_test_downward): Likewise.
37001 (tan_test_upward): Likewise.
37002 (tanh_test): Likewise.
37003 (tgamma_test): Likewise.
37004 (y0_test): Likewise.
37005 (y1_test): Likewise.
37006 (yn_test): Likewise.
37007
37008 * math/gen-libm-test.pl (adjust_arg): Remove function.
37009 (special_function): Remove argument $in_func. Only handle
37010 generating output for tables of tests, not inside functions.
37011 (parse_args): Likewise.
37012 (generate_testfile): Remove variable $in_func. Update call to
37013 parse_args.
37014 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37015 (MINUS_ZERO_INIT): Rename macro to minus_zero.
37016 (PLUS_INFTY_INIT): Rename macro to plus_infty.
37017 (MINUS_INFTY_INIT): Rename macro to minus_infty.
37018 (QNAN_VALUE_INIT): Rename macro to qnan_value.
37019 (MAX_VALUE_INIT): Rename macro to max_value.
37020 (MIN_VALUE_INIT): Rename macro to min_value.
37021 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37022 (plus_zero): Remove variable.
37023 (minus_zero): Likewise.
37024 (plus_infty): Likewise.
37025 (minus_infty): Likewise.
37026 (qnan_value): Likewise.
37027 (max_value): Likewise.
37028 (min_value): Likewise.
37029 (min_subnorm_value): Likewise.
37030
37031 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37032
37033 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37034 uint64_t or uint32_t usage.
37035 * crypt/sha256-block.c: Likewise.
37036 * crypt/sha256-crypt.c: Likewise.
37037 * crypt/sha256.c: Likewise.
37038 * crypt/sha512-block.c: Likewise.
37039 * crypt/sha512-crypt.c: Likewise.
37040 * crypt/sha512.c: Likewise.
37041 * debug/backtrace-tst.c: Likewise.
37042 * debug/pcprofiledump.c: Likewise.
37043 * elf/cache.c: Likewise.
37044 * elf/dl-cache.c: Likewise.
37045 * elf/dl-misc.c: Likewise.
37046 * elf/dl-profile.c: Likewise.
37047 * elf/dl-support.c: Likewise.
37048 * elf/ldconfig.c: Likewise.
37049 * elf/sprof.c: Likewise.
37050 * iconv/dummy-repertoire.c: Likewise.
37051 * iconv/iconv_charmap.c: Likewise.
37052 * iconv/skeleton.c: Likewise.
37053 * iconvdata/8bit-generic.c: Likewise.
37054 * iconvdata/cp737.h: Likewise.
37055 * iconvdata/cp775.h: Likewise.
37056 * iconvdata/ibm1008.h: Likewise.
37057 * iconvdata/ibm1025.h: Likewise.
37058 * iconvdata/ibm1046.h: Likewise.
37059 * iconvdata/ibm1097.h: Likewise.
37060 * iconvdata/ibm1112.h: Likewise.
37061 * iconvdata/ibm1122.h: Likewise.
37062 * iconvdata/ibm1123.h: Likewise.
37063 * iconvdata/ibm1124.h: Likewise.
37064 * iconvdata/ibm1129.h: Likewise.
37065 * iconvdata/ibm1130.h: Likewise.
37066 * iconvdata/ibm1132.h: Likewise.
37067 * iconvdata/ibm1133.h: Likewise.
37068 * iconvdata/ibm1137.h: Likewise.
37069 * iconvdata/ibm1140.h: Likewise.
37070 * iconvdata/ibm1141.h: Likewise.
37071 * iconvdata/ibm1142.h: Likewise.
37072 * iconvdata/ibm1143.h: Likewise.
37073 * iconvdata/ibm1144.h: Likewise.
37074 * iconvdata/ibm1145.h: Likewise.
37075 * iconvdata/ibm1146.h: Likewise.
37076 * iconvdata/ibm1147.h: Likewise.
37077 * iconvdata/ibm1148.h: Likewise.
37078 * iconvdata/ibm1149.h: Likewise.
37079 * iconvdata/ibm1153.h: Likewise.
37080 * iconvdata/ibm1154.h: Likewise.
37081 * iconvdata/ibm1155.h: Likewise.
37082 * iconvdata/ibm1156.h: Likewise.
37083 * iconvdata/ibm1157.h: Likewise.
37084 * iconvdata/ibm1158.h: Likewise.
37085 * iconvdata/ibm1160.h: Likewise.
37086 * iconvdata/ibm1161.h: Likewise.
37087 * iconvdata/ibm1162.h: Likewise.
37088 * iconvdata/ibm1163.h: Likewise.
37089 * iconvdata/ibm1164.h: Likewise.
37090 * iconvdata/ibm1166.h: Likewise.
37091 * iconvdata/ibm1167.h: Likewise.
37092 * iconvdata/ibm12712.h: Likewise.
37093 * iconvdata/ibm1390.h: Likewise.
37094 * iconvdata/ibm1399.h: Likewise.
37095 * iconvdata/ibm16804.h: Likewise.
37096 * iconvdata/ibm4517.h: Likewise.
37097 * iconvdata/ibm4899.h: Likewise.
37098 * iconvdata/ibm4909.h: Likewise.
37099 * iconvdata/ibm4971.h: Likewise.
37100 * iconvdata/ibm5347.h: Likewise.
37101 * iconvdata/ibm803.h: Likewise.
37102 * iconvdata/ibm856.h: Likewise.
37103 * iconvdata/ibm901.h: Likewise.
37104 * iconvdata/ibm902.h: Likewise.
37105 * iconvdata/ibm9030.h: Likewise.
37106 * iconvdata/ibm9066.h: Likewise.
37107 * iconvdata/ibm921.h: Likewise.
37108 * iconvdata/ibm922.h: Likewise.
37109 * iconvdata/ibm9448.h: Likewise.
37110 * iconvdata/isiri-3342.h: Likewise.
37111 * iconvdata/jis0201.h: Likewise.
37112 * include/link.h: Likewise.
37113 * include/netdb.h: Likewise.
37114 * inet/check_native.c: Likewise.
37115 * inet/check_pf.c: Likewise.
37116 * inet/getipv4sourcefilter.c: Likewise.
37117 * inet/getnameinfo.c: Likewise.
37118 * inet/getsourcefilter.c: Likewise.
37119 * inet/htonl.c: Likewise.
37120 * inet/setipv4sourcefilter.c: Likewise.
37121 * inet/setsourcefilter.c: Likewise.
37122 * inet/test-inet6_opt.c: Likewise.
37123 * inet/tst-network.c: Likewise.
37124 * locale/C-collate.c: Likewise.
37125 * locale/C-ctype.c: Likewise.
37126 * locale/C-time.c: Likewise.
37127 * locale/C-translit.h: Likewise.
37128 * locale/loadarchive.c: Likewise.
37129 * locale/programs/3level.h: Likewise.
37130 * locale/programs/charmap.c: Likewise.
37131 * locale/programs/charmap.h: Likewise.
37132 * locale/programs/ld-address.c: Likewise.
37133 * locale/programs/ld-collate.c: Likewise.
37134 * locale/programs/ld-ctype.c: Likewise.
37135 * locale/programs/ld-identification.c: Likewise.
37136 * locale/programs/ld-measurement.c: Likewise.
37137 * locale/programs/ld-messages.c: Likewise.
37138 * locale/programs/ld-monetary.c: Likewise.
37139 * locale/programs/ld-name.c: Likewise.
37140 * locale/programs/ld-numeric.c: Likewise.
37141 * locale/programs/ld-paper.c: Likewise.
37142 * locale/programs/ld-telephone.c: Likewise.
37143 * locale/programs/ld-time.c: Likewise.
37144 * locale/programs/linereader.c: Likewise.
37145 * locale/programs/locale.c: Likewise.
37146 * locale/programs/locarchive.c: Likewise.
37147 * locale/programs/locfile.h: Likewise.
37148 * locale/programs/repertoire.c: Likewise.
37149 * locale/programs/simple-hash.c: Likewise.
37150 * locale/programs/simple-hash.h: Likewise.
37151 * malloc/memusage.c: Likewise.
37152 * malloc/memusagestat.c: Likewise.
37153 * nis/nis_defaults.c: Likewise.
37154 * nis/nis_hash.c: Likewise.
37155 * nis/nis_print.c: Likewise.
37156 * nis/nis_xdr.c: Likewise.
37157 * nscd/connections.c: Likewise.
37158 * nscd/hstcache.c: Likewise.
37159 * nscd/nscd_gethst_r.c: Likewise.
37160 * nscd/nscd_getserv_r.c: Likewise.
37161 * nscd/nscd_helper.c: Likewise.
37162 * nscd/servicescache.c: Likewise.
37163 * nss/makedb.c: Likewise.
37164 * nss/nss_db/db-XXX.c: Likewise.
37165 * nss/nss_db/db-initgroups.c: Likewise.
37166 * nss/nss_db/db-netgrp.c: Likewise.
37167 * nss/nss_files/files-network.c: Likewise.
37168 * nss/nss_files/files-parse.c: Likewise.
37169 * posix/bug-regex5.c: Likewise.
37170 * posix/fnmatch_loop.c: Likewise.
37171 * posix/regcomp.c: Likewise.
37172 * posix/regexec.c: Likewise.
37173 * posix/tst-rfc3484-2.c: Likewise.
37174 * posix/tst-rfc3484-3.c: Likewise.
37175 * posix/tst-rfc3484.c: Likewise.
37176 * resolv/nss_dns/dns-canon.c: Likewise.
37177 * resolv/nss_dns/dns-network.c: Likewise.
37178 * resolv/res_init.c: Likewise.
37179 * resolv/res_mkquery.c: Likewise.
37180 * resolv/tst-aton.c: Likewise.
37181 * stdlib/cxa_atexit.c: Likewise.
37182 * stdlib/cxa_finalize.c: Likewise.
37183 * stdlib/gen-fpioconst.c: Likewise.
37184 * stdlib/strtol_l.c: Likewise.
37185 * string/tst-endian.c: Likewise.
37186 * sunrpc/auth_des.c: Likewise.
37187 * sunrpc/clnt_udp.c: Likewise.
37188 * sunrpc/rtime.c: Likewise.
37189 * sunrpc/svcauth_des.c: Likewise.
37190 * sunrpc/xdr.c: Likewise.
37191 * sunrpc/xdr_intXX_t.c: Likewise.
37192 * sunrpc/xdr_rec.c: Likewise.
37193 * sysdeps/generic/ldconfig.h: Likewise.
37194 * sysdeps/generic/ldsodefs.h: Likewise.
37195 * sysdeps/generic/memusage.h: Likewise.
37196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37206 * sysdeps/posix/getaddrinfo.c: Likewise.
37207 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37209 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37211 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37212 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37213 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37214 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37215 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37216 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37217 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37219 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37220 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37221 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37222 * sysdeps/x86_64/dl-tls.h: Likewise.
37223 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37224 * time/alt_digit.c: Likewise.
37225 * time/era.c: Likewise.
37226 * wcsmbs/tst-c16c32-1.c: Likewise.
37227
37228 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37229
37230 * math/libm-test.inc (struct test_sincos_data): New type.
37231 (RUN_TEST_LOOP_sincos): New macro.
37232 (sincos_test_data): New variable.
37233 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37234
37235 2013-05-16 Richard Henderson <rth@redhat.com>
37236
37237 * math/atest-exp2.c (LIMB64): New macro.
37238 (CONSTSZ): New macro.
37239 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37240 (hexdig): Move ...
37241 (print_mpn_fp): ... to function scope.
37242 (read_mpn_hex): Remove.
37243 (get_log2): Remove.
37244 (exp2_mpn): Use mp_log2.
37245 (main): Use mp_exp1.
37246
37247 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37248
37249 * math/libm-test.inc: Remove comment about not testing "inexact"
37250 exceptions.
37251 (INEXACT_EXCEPTION): New macro.
37252 (NO_INEXACT_EXCEPTION): Likewise.
37253 (INVALID_EXCEPTION_OK): Update value.
37254 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37255 (OVERFLOW_EXCEPTION_OK): Likewise.
37256 (UNDERFLOW_EXCEPTION_OK): Likewise.
37257 (IGNORE_ZERO_INF_SIGN): Likewise.
37258 (ERRNO_UNCHANGED): Likewise.
37259 (ERRNO_EDOM): Likewise.
37260 (ERRNO_ERANGE): Likewise.
37261 (test_exceptions): Handle testing "inexact" exceptions.
37262 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37263 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37264 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37265 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37266 INEXACT_EXCEPTION.
37267 (rint_towardzero_test_data): Likewise.
37268 (rint_downward_test_data): Likewise.
37269 (rint_upward_test_data): Likewise.
37270
37271 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37272 with OVERFLOW_EXCEPTION.
37273 (exp10_test_data): Likewise.
37274 (exp2_test_data): Likewise.
37275 (expm1_test_data): Likewise.
37276 (lgamma_test_data): Likewise.
37277 (pow_test_data): Likewise.
37278 (tgamma_test_data): Likewise.
37279 (yn_test_data): Remove duplicate test of overflow.
37280
37281 * math/libm-test.inc (struct test_cc_c_data): New type.
37282 (RUN_TEST_LOOP_cc_c): New macro.
37283 (cpow_test_data): New variable.
37284 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37285
37286 * math/libm-test.inc (struct test_f_L_data): New type.
37287 (RUN_TEST_LOOP_f_L): New macro.
37288 (llrint_test_data): New variable.
37289 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37290 (llrint_tonearest_test_data): New variable.
37291 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37292 (llrint_towardzero_test_data): New variable.
37293 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37294 (llrint_downward_test_data): New variable.
37295 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37296 (llrint_upward_test_data): New variable.
37297 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37298 (llround_test_data): New variable.
37299 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37300
37301 2013-05-13 Peter Collingbourne <pcc@google.com>
37302
37303 * math/atest-exp2.c (get_log2): Remove const attribute.
37304
37305 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37306
37307 * math/libm-test.inc (struct test_f_l_data): New type.
37308 (RUN_TEST_LOOP_f_l): New macro.
37309 (lrint_test_data): New variable.
37310 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37311 (lrint_tonearest_test_data): New variable.
37312 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37313 (lrint_towardzero_test_data): New variable.
37314 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37315 (lrint_downward_test_data): New variable.
37316 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37317 (lrint_upward_test_data): New variable.
37318 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37319 (lround_test_data): New variable.
37320 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37321
37322 2013-05-15 Peter Collingbourne <pcc@google.com>
37323
37324 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37325 (EXTRACT_WORDS64) Use where appropriate.
37326 (INSERT_WORDS64) Likewise.
37327
37328 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37329 constraints with x constraints.
37330 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37331
37332 * malloc/obstack.c (_obstack_compat): Add initializer.
37333
37334 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37335
37336 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37337 si_trapno and add si_addr_lsb to _sifields.sigfault.
37338 (si_trapno): Remove macro.
37339 (si_addr_lsb): Define new macro.
37340 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37341
37342 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37343
37344 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37345 instead of TEST_f_l.
37346 (llrint_test_tonearest): Likewise.
37347 (llrint_test_towardzero): Likewise.
37348 (llrint_test_downward): Likewise.
37349 (llrint_test_upward): Likewise.
37350 (llround_test): Likewise.
37351
37352 * math/libm-test.inc (struct test_f_i_data): Add comment.
37353 (RUN_TEST_LOOP_f_b): New macro.
37354 (RUN_TEST_LOOP_f_b_tg): Likewise.
37355 (finite_test_data): New variable.
37356 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37357 (isfinite_test_data): New variable.
37358 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37359 (isinf_test_data): New variable.
37360 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37361 (isnan_test_data): New variable.
37362 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37363 (isnormal_test_data): New variable.
37364 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37365 (issignaling_test_data): New variable.
37366 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37367 (signbit_test_data): New variable.
37368 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37369
37370 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37371 with INVALID_EXCEPTION.
37372 (acosh_test_data): Likewise.
37373 (asin_test_data): Likewise.
37374 (atanh_test_data): Likewise.
37375 (fmod_test_data): Likewise.
37376 (log_test_data): Likewise.
37377 (log10_test_data): Likewise.
37378 (log2_test_data): Likewise.
37379 (pow_test_data): Likewise.
37380 (sqrt_test_data): Likewise.
37381 (y0_test_data): Likewise.
37382 (y1_test_data): Likewise.
37383 (yn_test_data): Likewise.
37384
37385 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37386 function contents.
37387
37388 * math/libm-test.inc (struct test_ff_i_data): New type.
37389 (RUN_TEST_LOOP_ff_i_tg): New macro.
37390 (isgreater_test_data): New variable.
37391 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37392 (isgreaterequal_test_data): New variable.
37393 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37394 (isless_test_data): New variable.
37395 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37396 (islessequal_test_data): New variable.
37397 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37398 (islessgreater_test_data): New variable.
37399 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37400 (isunordered_test_data): New variable.
37401 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37402
37403 2013-05-14 David S. Miller <davem@davemloft.net>
37404
37405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37406
37407 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37408
37409 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37410
37411 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37412 extra_test to int.
37413 (struct test_f_i_data): Change type of max_ulp to int.
37414
37415 * math/libm-test.inc (test_ffI_f1_data): New type.
37416 (RUN_TEST_LOOP_ffI_f1): New macro.
37417 (remquo_test_data): New variable.
37418 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37419
37420 * setjmp/tst-setjmp-fp.c: New file.
37421 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37422 (link-libm): New variable.
37423 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37424
37425 * math/libm-test.inc (struct test_f_i_data): New type.
37426 (RUN_TEST_LOOP_f_i): New macro.
37427 (RUN_TEST_LOOP_f_i_tg): Likewise.
37428 (fpclassify_test_data): New variable.
37429 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37430 (ilogb_test_data): New variable.
37431 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37432
37433 * math/libm-test.inc (scalbln_test): Correct function name in END
37434 call.
37435
37436 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37437 (RUN_TEST_LOOP_fI_f1): New macro.
37438 (frexp_test_data): New variable.
37439 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37440
37441 * math/libm-test.inc (struct test_fF_f1_data): New type.
37442 (RUN_TEST_LOOP_fF_f1): New macro.
37443 (modf_test_data): New variable.
37444 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37445
37446 * math/libm-test.inc (struct test_f_f1_data): New type.
37447 (RUN_TEST_LOOP_f_f1): New macro.
37448 (gamma_test_data): New variable.
37449 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37450 (lgamma_test_data): New variable.
37451 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37452
37453 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37454
37455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37456 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37457 (main): Comment "tls" pseudo-hwcap.
37458
37459 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37460
37461 * math/libm-test.inc (struct test_fl_f_data): New type.
37462 (RUN_TEST_LOOP_fl_f): New variable.
37463 (scalbln_test_data): New variable.
37464 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37465
37466 * math/libm-test.inc (struct test_fi_f_data): New type.
37467 (RUN_TEST_LOOP_fi_f): New macro.
37468 (ldexp_test_data): New variable.
37469 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37470 (scalbn_test_data): New variable.
37471 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37472
37473 * math/libm-test.inc (struct test_c_f_data): New type.
37474 (RUN_TEST_LOOP_c_f): New macro.
37475 (cabs_test_data): New variable.
37476 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37477 (carg_test_data): New variable.
37478 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37479 (cimag_test_data): New variable.
37480 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37481 (creal_test_data): New variable.
37482 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37483
37484 * math/libm-test.inc (struct test_if_f_data): New type.
37485 (RUN_TEST_LOOP_if_f): New macro.
37486 (jn_test_data): New variable.
37487 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37488 (yn_test_data): New variable.
37489 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37490
37491 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37492
37493 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37494
37495 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37496 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37497
37498 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37499
37500 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37501 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37502 (bench-deps): Add bench-timing.h.
37503 * benchtests-bench-skeleton.c: Include bench-timing.h.
37504 (main): Use TIMING_* macros instead of clock_gettime.
37505 * benchtests/bench-timing.h: New file.
37506
37507 [BZ #14582]
37508 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37509 Renamed from _LIB_VERSION.
37510 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37511
37512 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37513
37514 * math/libm-test.inc (struct test_fff_f_data): New type.
37515 (RUN_TEST_LOOP_fff_f): New macro.
37516 (fma_test_data): New variable.
37517 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37518 (fma_towardzero_test_data): New variable.
37519 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37520 (fma_downward_test_data): New variable.
37521 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37522 (fma_upward_test_data): New variable.
37523 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37524
37525 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37526 (struct test_c_c_data): New type.
37527 (RUN_TEST_LOOP_c_c): New macro.
37528 (cacos_test_data): New variable.
37529 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37530 (cacosh_test_data): New variable.
37531 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37532 (casin_test_data): New variable.
37533 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37534 (casinh_test_data): New variable.
37535 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37536 (catan_test_data): New variable.
37537 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37538 (catanh_test_data): New variable.
37539 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37540 (ccos_test_data): New variable.
37541 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37542 (ccosh_test_data): New variable.
37543 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37544 (cexp_test_data): New variable.
37545 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37546 (clog_test_data): New variable.
37547 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37548 (clog10_test_data): New variable.
37549 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37550 (conj_test_data): New variable.
37551 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37552 (cproj_test_data): New variable.
37553 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37554 (csin_test_data): New variable.
37555 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37556 (csinh_test_data): New variable.
37557 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37558 (csqrt_test_data): New variable.
37559 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37560 (ctan_test_data): New variable.
37561 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37562 (ctan_tonearest_test_data): New variable.
37563 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37564 (ctan_towardzero_test_data): New variable.
37565 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37566 (ctan_downward_test_data): New variable.
37567 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37568 (ctan_upward_test_data): New variable.
37569 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37570 (ctanh_test_data): New variable.
37571 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37572 (ctanh_tonearest_test_data): New variable.
37573 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37574 (ctanh_towardzero_test_data): New variable.
37575 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37576 (ctanh_downward_test_data): New variable.
37577 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37578 (ctanh_upward_test_data): New variable.
37579 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37580 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37581 of BUILD_COMPLEX.
37582
37583 * math/libm-test.inc (struct test_ff_f_data): New type.
37584 (struct test_ff_f_data_nexttoward): Likewise.
37585 (RUN_TEST_LOOP_2_f): New macro.
37586 (RUN_TEST_LOOP_ff_f): Likewise.
37587 (atan2_test_data): New variable.
37588 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37589 (copysign_test_data): New variable.
37590 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37591 (fdim_test_data): New variable.
37592 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37593 (fmax_test_data): New variable.
37594 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37595 (fmin_test_data): New variable.
37596 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37597 (fmod_test_data): New variable.
37598 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37599 (hypot_test_data): New variable.
37600 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37601 (nextafter_test_data): New variable.
37602 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37603 (nexttoward_test_data): New variable.
37604 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37605 (pow_test_data): New variable.
37606 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37607 (pow_tonearest_test_data): New variable.
37608 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37609 (pow_towardzero_test_data): New variable.
37610 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37611 (pow_downward_test_data): New variable.
37612 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37613 (pow_upward_test_data): New variable.
37614 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37615 (remainder_test_data): New variable.
37616 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37617 (scalb_test_data): New variable.
37618 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37619 * sysdeps/i386/fpu/libm-test-ulps: Update.
37620
37621 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37622
37623 * math/libm-test.inc (fma_test): Use max_value instead of local
37624 variable fltmax.
37625 (nextafter_test): Likewise.
37626
37627 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37628 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37629 (acos_downward_test_data): New variable.
37630 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37631 (acos_upward_test_data): New variable.
37632 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37633 (acosh_test_data): New variable.
37634 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37635 (asin_test_data): New variable.
37636 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37637 (asin_tonearest_test_data): New variable.
37638 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37639 (asin_towardzero_test_data): New variable.
37640 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37641 (asin_downward_test_data): New variable.
37642 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37643 (asin_upward_test_data): New variable.
37644 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37645 (asinh_test_data): New variable.
37646 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37647 (atan_test_data): New variable.
37648 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37649 (atanh_test_data): New variable.
37650 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37651 (cbrt_test_data): New variable.
37652 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37653 (ceil_test_data): New variable.
37654 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37655 (cos_test_data): New variable.
37656 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37657 (cos_tonearest_test_data): New variable.
37658 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37659 (cos_towardzero_test_data): New variable.
37660 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37661 (cos_downward_test_data): New variable.
37662 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37663 (cos_upward_test_data): New variable.
37664 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37665 (cosh_test_data): New variable.
37666 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37667 (cosh_tonearest_test_data): New variable.
37668 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37669 (cosh_towardzero_test_data): New variable.
37670 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37671 (cosh_downward_test_data): New variable.
37672 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37673 (cosh_upward_test_data): New variable.
37674 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37675 (erf_test_data): New variable.
37676 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37677 (erfc_test_data): New variable.
37678 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37679 (exp_test_data): New variable.
37680 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37681 (exp_tonearest_test_data): New variable.
37682 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37683 (exp_towardzero_test_data): New variable.
37684 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37685 (exp_downward_test_data): New variable.
37686 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37687 (exp_upward_test_data): New variable.
37688 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37689 (exp10_test_data): New variable.
37690 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37691 (exp2_test_data): New variable.
37692 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37693 (expm1_test_data): New variable.
37694 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37695 (fabs_test_data): New variable.
37696 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37697 (floor_test_data): New variable.
37698 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37699 (j0_test_data): New variable.
37700 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37701 (j1_test_data): New variable.
37702 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37703 (log_test_data): New variable.
37704 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37705 (log10_test_data): New variable.
37706 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37707 (log1p_test_data): New variable.
37708 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37709 (log2_test_data): New variable.
37710 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37711 (logb_test_data): New variable.
37712 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37713 (logb_downward_test_data): New variable.
37714 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37715 (nearbyint_test_data): New variable.
37716 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37717 (rint_test_data): New variable.
37718 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37719 (rint_tonearest_test_data): New variable.
37720 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37721 (rint_towardzero_test_data): New variable.
37722 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37723 (rint_downward_test_data): New variable.
37724 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37725 (rint_upward_test_data): New variable.
37726 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37727 (round_test_data): New variable.
37728 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37729 (sin_test_data): New variable.
37730 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37731 (sin_tonearest_test_data): New variable.
37732 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37733 (sin_towardzero_test_data): New variable.
37734 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37735 (sin_downward_test_data): New variable.
37736 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37737 (sin_upward_test_data): New variable.
37738 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37739 (sinh_test_data): New variable.
37740 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37741 (sinh_tonearest_test_data): New variable.
37742 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37743 (sinh_towardzero_test_data): New variable.
37744 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37745 (sinh_downward_test_data): New variable.
37746 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37747 (sinh_upward_test_data): New variable.
37748 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37749 (sqrt_test_data): New variable.
37750 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37751 (tan_test_data): New variable.
37752 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37753 (tan_tonearest_test_data): New variable.
37754 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37755 (tan_towardzero_test_data): New variable.
37756 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37757 (tan_downward_test_data): New variable.
37758 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37759 (tan_upward_test_data): New variable.
37760 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37761 (tanh_test_data): New variable.
37762 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37763 (tgamma_test_data): New variable.
37764 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37765 (trunc_test_data): New variable.
37766 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37767 (y0_test_data): New variable.
37768 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37769 (y1_test_data): New variable.
37770 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37771 (significand_test_data): New variable.
37772 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37773
37774 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37775
37776 [BZ #12387]
37777 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37778
37779 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37780
37781 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37782
37783 2013-05-10 Andreas Jaeger <aj@suse.de>
37784
37785 [BZ #15448]
37786 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37787 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37788
37789 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37790
37791 * math/gen-libm-test.pl (adjust_arg): New function.
37792 (special_functions): Handle generating output in both functions
37793 and arrays.
37794 (parse_args): Likewise.
37795 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37796 $in_func argument to parse_args.
37797 * math/libm-test.inc (struct test_f_f_data): New type.
37798 (IF_ROUND_INIT_): New macro.
37799 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37800 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37801 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37802 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37803 (ROUND_RESTORE_): Likewise.
37804 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37805 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37806 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37807 (ROUND_RESTORE_FE_UPWARD): Likewise.
37808 (RUN_TEST_LOOP_f_f): New macro.
37809 (acos_test_data): New variable.
37810 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37811 (acos_tonearest_test_data): New variable.
37812 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37813
37814 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37815
37816 * benchtests/bench-skeleton.c (startup): Fix coding style.
37817
37818 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37819
37820 [BZ #6809]
37821 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37822 negative infinity argument.
37823 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37824 negative infinity argument.
37825 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37826 negative infinity argument.
37827 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37828 domain errors.
37829
37830 2013-05-10 Florian Weimer <fweimer@redhat.com>
37831
37832 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37833 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37834 * iconv/iconv_prog.c (main): Likewise.
37835 * locale/programs/charmap-dir.c (charmap_readdir)
37836 (fopen_uncompressed): Likewise.
37837 * locale/programs/locfile.c (siblings_uncached)
37838 (write_locale_data): Use lstat64 instead of lstat.
37839 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37840 stat.
37841
37842 2013-05-10 Andreas Jaeger <aj@suse.de>
37843
37844 [BZ #15395]
37845 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37846 localization.
37847 Include <locale.h>.
37848
37849 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37850
37851 * elf/dl-close.c (_dl_close_worker): Add comments.
37852
37853 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37854
37855 [BZ #15359]
37856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37857 high part of pi/2.
37858 (__ieee754_rem_pio2l): Update comments.
37859
37860 [BZ #15429]
37861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37862 high part of pi/2.
37863 (__ieee754_rem_pio2l): Update comments.
37864
37865 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37866 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37867
37868 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37869 M_PI_4l.
37870
37871 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37872 (M_PI_34_LOG10El): Likewise.
37873 (M_PI2_LOG10El): Likewise.
37874 (M_PI4_LOG10El): Likewise.
37875 (M_PI_LOG10El): Likewise.
37876
37877 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37878
37879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37880
37881 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37882
37883 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37884 (MINUS_ZERO_INIT): Likewise.
37885 (PLUS_INFTY_INIT): Likewise.
37886 (MINUS_INFTY_INIT): Likewise.
37887 (QNAN_VALUE_INIT): Likewise.
37888 (MAX_VALUE_INIT): Likewise.
37889 (MIN_VALUE_INIT): Likewise.
37890 (MIN_SUBNORM_VALUE_INIT): Likewise.
37891 (plus_zero): Initialize with PLUS_ZERO_INIT.
37892 (minus_zero): Initialize with MINUS_ZERO_INIT.
37893 (plus_infty): Initialize with PLUS_INFTY_INIT.
37894 (minus_infty): Initialize with MINUS_INFTY_INIT.
37895 (qnan_value): Initialize with QNAN_VALUE_INIT.
37896 (max_value): Initialize with MAX_VALUE_INIT.
37897 (min_value): Initialize with MIN_VALUE_INIT.
37898 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37899
37900 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37901 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37902 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37903 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37904
37905 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37906 (RUN_TEST_2_f): Likewise.
37907 (RUN_TEST_ff_f): Likewise.
37908 (RUN_TEST_fi_f): Likewise.
37909 (RUN_TEST_fl_f): Likewise.
37910 (RUN_TEST_fff_f): Likewise.
37911 (RUN_TEST_c_f): Likewise.
37912 (RUN_TEST_f_f1): Likewise.
37913 (RUN_TEST_fF_f1): Likewise.
37914 (RUN_TEST_fI_f1): Likewise.
37915 (RUN_TEST_ffI_f1): Likewise.
37916 (RUN_TEST_c_c): Likewise.
37917 (RUN_TEST_cc_c): Likewise.
37918 (RUN_TEST_f_i): Likewise.
37919 (RUN_TEST_f_i_tg): Likewise.
37920 (RUN_TEST_ff_i_tg): Likewise.
37921 (RUN_TEST_f_b): Likewise.
37922 (RUN_TEST_f_b_tg): Likewise.
37923 (RUN_TEST_f_l): Likewise.
37924 (RUN_TEST_f_L): Likewise.
37925 (RUN_TEST_sincos): Likewise.
37926 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37927 whether to show exceptions. Do not include ");\n" in return
37928 value.
37929 (special_functions): Output call to RUN_TEST_sincos instead of
37930 check_float calls. Update calls to new_test.
37931 (parse_args): Output call to single RUN_TEST_* macro instead of
37932 check_* calls and other assignments. Update calls to new_test.
37933
37934 [BZ #2546]
37935 [BZ #2560]
37936 [BZ #5159]
37937 [BZ #15426]
37938 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37939 input to result for tgamma overflow.
37940 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37941 (gamma_coeff): New variable.
37942 (NCOEFF): New macro.
37943 (gamma_positive): New function.
37944 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37945 underflow here. Use gamma_positive instead of exp (lgamma) for
37946 other arguments.
37947 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37948 (gamma_coeff): New variable.
37949 (NCOEFF): New macro.
37950 (gammaf_positive): New function.
37951 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37952 underflow here. Use gamma_positive instead of exp (lgamma) for
37953 other arguments.
37954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37955 (gamma_coeff): New variable.
37956 (NCOEFF): New macro.
37957 (gammal_positive): New function.
37958 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37959 underflow here. Use gamma_positive instead of exp (lgamma) for
37960 other arguments.
37961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37962 (gamma_coeff): New variable.
37963 (NCOEFF): New macro.
37964 (gammal_positive): New function.
37965 (__ieee754_gammal_r): Handle positive infinity, overflow and
37966 underflow here. Handle NaN the same as positive infinity. Remove
37967 check x < 0xffffffff for negative integers. Use gamma_positive
37968 instead of exp (lgamma) for other arguments.
37969 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37970 (gamma_coeff): New variable.
37971 (NCOEFF): New macro.
37972 (gammal_positive): New function.
37973 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37974 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37975 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37979 * sysdeps/generic/math_private.h (__gamma_productf): New
37980 prototype.
37981 (__gamma_product): Likewise.
37982 (__gamma_productl): Likewise.
37983 * math/Makefile (libm-calls): Add gamma_product.
37984 * math/libm-test.inc (tgamma_test): Add more tests.
37985 * sysdeps/i386/fpu/libm-test-ulps: Update.
37986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37987
37988 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37989
37990 * benchtests/bench-skeleton.c (main): Preheat CPU.
37991
37992 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37993
37994 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37995
37996 2013-05-07 Roland McGrath <roland@hack.frob.com>
37997
37998 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37999 and _dl_skip_args_internal.
38000
38001 2013-05-07 Carlos O'Donell <carlos@redhat.com>
38002
38003 * manual/message.texi (Message Translation): Talk about users.
38004 Message to key mapping impacts design.
38005
38006 2013-05-06 Roland McGrath <roland@hack.frob.com>
38007
38008 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38009
38010 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38011
38012 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38013 * sysdeps/wordsize-64/glob64.c: ... here.
38014
38015 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38016 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38017 New macros.
38018
38019 * debug/getlogin_r_chk.c: Moved to ...
38020 * login/getlogin_r_chk.c: ... here.
38021 * debug/Makefile (routines): Move getlogin_r_chk to ...
38022 * login/Makefile (routines): ... here.
38023 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38024 * login/Versions (libc: GLIBC_2.4): ... here.
38025
38026 * io/poll.c (__poll): Renamed from poll.
38027 Add libc_hidden_def.
38028 (poll): Define as weak alias.
38029
38030 * debug/ptsname_r_chk.c: Moved to ...
38031 * login/ptsname_r_chk.c: ... here.
38032 * debug/Makefile (routines): Move ptsname_r_chk to ...
38033 * login/Makefile (routines): ... here.
38034 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38035 * login/Versions (libc: GLIBC_2.4): ... here.
38036
38037 * posix/getlogin.c: Moved to ...
38038 * login/getlogin.c: ... here.
38039 * posix/getlogin_r.c: Moved to ...
38040 * login/getlogin_r.c: ... here.
38041 * posix/getlogin_r.c: Moved to ...
38042 * login/getlogin_r.c: ... here.
38043 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38044 * login/Makefile (routines): ... here.
38045 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38046 * login/Versions (libc: GLIBC_2.0): ... here.
38047
38048 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38049 (setrlimit): Define as weak alias.
38050
38051 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38052 Call __ names for open, ftruncate, and close.
38053 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38054 (truncate): Define as weak alias.
38055
38056 2013-05-06 Joseph Myers <joseph@codesourcery.com>
38057
38058 * math/gen-libm-test.pl (parse_args): Initialize x before each
38059 test of frexp, modf and remquo.
38060
38061 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38062 test signgam value.
38063
38064 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38065
38066 [BZ #15418]
38067 [BZ #15419]
38068 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38069 internal tests.
38070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38071
38072 2013-05-06 Roland McGrath <roland@hack.frob.com>
38073
38074 * elf/dl-writev.h: New file.
38075 * elf/dl-misc.c: Include it.
38076 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38077 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38078
38079 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38080
38081 * math/libm-test.inc (noXFails): Remove variable.
38082 (noXPasses): Likewise.
38083 (BUILD_COMPLEX_INT): Remove macro.
38084 (print_screen): Remove xfail argument.
38085 (print_screen_max_error): Likewise.
38086 (update_stats): Likewise.
38087 (print_max_error): Likewise. Update calls to other affected
38088 functions.
38089 (print_complex_max_error): Likewise.
38090 (test_single_exception): Update calls to print_screen.
38091 (test_single_errno): Likewise.
38092 (check_float_internal): Remove xfail argument. Update calls to
38093 other affected functions.
38094 (check_float): Likewise.
38095 (check_complex): Likewise.
38096 (check_int): Likewise.
38097 (check_long): Likewise.
38098 (check_bool): Likewise.
38099 (check_longlong): Likewise.
38100 (main): Don't print noXFails and noXPasses.
38101 * math/gen-libm-test.pl (top level): Don't mention expected
38102 failure handling in comment.
38103 (new_test): Don't handle expected failures.
38104 (parse_args): Don't mention expected failure handling in comment.
38105 (generate_testfile): Don't handle expected failures.
38106 (parse_ulps): Likewise.
38107 (print_ulps_file): Likewise.
38108 (get_failure): Remove function.
38109 (output_test): Don't handle expected failures.
38110 * make/README.libm-test: Don't mention expected failure handling.
38111
38112 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38113 (minus_zero): Likewise.
38114 (plus_infty): Likewise.
38115 (minus_infty): Likewise.
38116 (qnan_value): Likewise.
38117 (max_value): Likewise.
38118 (min_value): Likewise.
38119 (min_subnorm_value): Likewise.
38120 (initialize): Do not initialize those variables dynamically.
38121
38122 2013-05-03 Roland McGrath <roland@hack.frob.com>
38123
38124 * io/open.c (__open_2): Moved to ...
38125 * io/open_2.c: ... this new file.
38126 * io/open64.c (__open64_2): Moved to ...
38127 * io/open64_2.c: ... this new file.
38128 * io/openat.c (__openat_2): Moved to ...
38129 * io/openat_2.c: ... this new file.
38130 * io/openat64.c (__openat64_2): Moved to ...
38131 * io/openat64_2.c: ... this new file.
38132 * io/Makefile (routines): Add them.
38133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38134 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38135 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38136 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38137 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38138 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38139 (__openat64): Add hidden_ver.
38140 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38141 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38142
38143 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38144 Separately conditionalize setting of GLRO(dl_sysinfo) so
38145 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38146 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38147
38148 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38149
38150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38152 definition.
38153 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38154 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38155 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38156 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38157 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38158
38159 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38160
38161 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38162 test signgam value.
38163
38164 * math/libm-test.inc (hypot_test): Do not use
38165 IGNORE_ZERO_INF_SIGN.
38166
38167 2013-05-03 Andreas Jaeger <aj@suse.de>
38168
38169 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38170 Linux 3.9.
38171 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38172 (PF_MAX): Adjust for VSOCK change.
38173
38174 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38175
38176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38177
38178 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38179
38180 [BZ #15264]
38181 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38182 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38183 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38184
38185 2013-05-02 David S. Miller <davem@davemloft.net>
38186
38187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38188
38189 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38190
38191 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38192
38193 2013-05-01 Roland McGrath <roland@hack.frob.com>
38194
38195 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38196
38197 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38198
38199 [BZ #14952]
38200 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38201 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38202 Use __attribute__ ((__gnu_inline__)).
38203 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38204 Don't use __attribute__ ((__gnu_inline__)).
38205
38206 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38207
38208 [BZ #15423]
38209 * math/s_catan.c (__catan): Handle small real or imaginary part of
38210 input specially to avoid spurious underflow.
38211 * math/s_catanf.c (__catanf): Likewise.
38212 * math/s_catanh.c (__catanh): Likewise.
38213 * math/s_catanhf.c (__catanhf): Likewise.
38214 * math/s_catanhl.c (__catanhl): Likewise.
38215 * math/s_catanl.c (__catanl): Likewise.
38216 * math/libm-test.inc (catan_test): Add more tests.
38217 (catanh_test): Likewise.
38218 * sysdeps/i386/fpu/libm-test-ulps: Update.
38219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38220
38221 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38222
38223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38224
38225 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38226
38227 [BZ #15416]
38228 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38229 accurately for denominator in atan2.
38230 * math/s_catanf.c (__catanf): Likewise.
38231 * math/s_catanh.c (__catanh): Likewise.
38232 * math/s_catanhf.c (__catanhf): Likewise.
38233 * math/s_catanhl.c (__catanhl): Likewise.
38234 * math/s_catanl.c (__catanl): Likewise.
38235 * math/libm-test.inc (catan_test): Add more tests.
38236 (catanh_test): Likewise.
38237 * sysdeps/i386/fpu/libm-test-ulps: Update.
38238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38239
38240 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38241
38242 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38243
38244 * benchtests/Makefile (bench): Remove slow benchmarks.
38245 * benchtests/atan-inputs: Add slow benchmark inputs.
38246 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38247 (BENCH_FUNC): Accept variant offset.
38248 (VARIANT): Define.
38249 * benchtests/bench-skeleton.c (main): Run benchmark for each
38250 variant.
38251 * benchtests/cos-inputs: Add slow benchmark inputs.
38252 * benchtests/exp-inputs: Likewise.
38253 * benchtests/pow-inputs: Likewise.
38254 * benchtests/sin-inputs: Likewise.
38255 * benchtests/slowatan-inputs: Remove.
38256 * benchtests/slowatan.c: Remove.
38257 * benchtests/slowcos-inputs: Remove.
38258 * benchtests/slowcos.c: Remove.
38259 * benchtests/slowexp-inputs: Remove.
38260 * benchtests/slowexp.c: Remove.
38261 * benchtests/slowpow-inputs: Remove.
38262 * benchtests/slowpow.c: Remove.
38263 * benchtests/slowsin-inputs: Remove.
38264 * benchtests/slowsin.c: Remove.
38265 * benchtests/slowtan-inputs: Remove.
38266 * benchtests/slowtan.c: Remove.
38267 * benchtests/tan-inputs: Add slow benchmark inputs.
38268 * scripts/bench.pl: Parse comments and directives.
38269
38270 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38271 in CPPFLAGS.
38272 ($(objpfx)bench-%.c): Remove *-ITER.
38273 * benchtests/bench-modf.c: Remove definition of ITER.
38274 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38275 (main): Loop for DURATION seconds instead of fixed number of
38276 iterations.
38277 * scripts/bench.pl: Don't expect iterations in parameters.
38278
38279 2013-04-29 Roland McGrath <roland@hack.frob.com>
38280
38281 * io/fchdir.c (__fchdir): Renamed from fchdir.
38282 (fchdir): Define as weak alias.
38283
38284 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38285
38286 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38287 (ERRNO_EDOM): Likewise.
38288 (ERRNO_ERANGE): Likewise.
38289 (noErrnoTests): New variable.
38290 (init_max_error): Set errno to 0.
38291 (test_single_errno): New function.
38292 (test_errno): Likewise.
38293 (check_float_internal): Call test_errno. Set errno to 0.
38294 (check_complex): Refer to errno tests in comment.
38295 (check_int): Call test_errno. Set errno to 0.
38296 (check_long): Likewise.
38297 (check_bool): Likewise.
38298 (check_longlong): Likewise.
38299 (cos_test): Use ERRNO_* flags for errno tests instead of
38300 check_int.
38301 (expm1_test): Likewise.
38302 (fmod_test): Likewise.
38303 (ilogb_test): Likewise.
38304 (lgamma_test): Likewise.
38305 (pow_test): Likewise.
38306 (remainder_test): Likewise.
38307 (sin_test): Likewise.
38308 (tan_test): Likewise.
38309 (yn_test): Likewise.
38310 (initialize): Set errno to 0.
38311 (main): Print number of errno tests.
38312 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38313
38314 2013-04-29 Andreas Jaeger <aj@suse.de>
38315
38316 [BZ #15084]
38317 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38318 and RES_USEVC.
38319
38320 [BZ #15085]
38321 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38322 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38323 unimplemented.
38324
38325 [BZ #15380]
38326 * stdlib/random.c (__initstate): Return NULL if
38327 __initstate fails.
38328
38329 [BZ #15086]
38330 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38331 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38332 RES_SNGLKUPREOP.
38333
38334 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38335
38336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38337
38338 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38339
38340 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38341 of individual tests.
38342 (casin_test): Likewise.
38343 (casinh_test): Likewise.
38344
38345 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38346
38347 [BZ #15409]
38348 * math/s_catan.c (__catan): Handle arguments with large real or
38349 imaginary part separately without squaring.
38350 * math/s_catanf.c (__catanf): Likewise.
38351 * math/s_catanh.c (__catanh): Likewise.
38352 * math/s_catanhf.c (__catanhf): Likewise.
38353 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38354 and redefine.
38355 (__catanhl): Handle arguments with large real or imaginary part
38356 separately without squaring.
38357 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38358 and redefine.
38359 (__catanl): Handle arguments with large real or imaginary part
38360 separately without squaring.
38361 * math/libm-test.inc (catan_test): Add more tests.
38362 (catanh_test): Likewise.
38363 * sysdeps/i386/fpu/libm-test-ulps: Update.
38364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38365
38366 2013-04-27 Andreas Jaeger <aj@suse.de>
38367
38368 [BZ #15007]
38369 * stdlib/stdlib.h: Update guards for qecvt.
38370 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38371 <stdlib.h>.
38372
38373 2013-04-27 Allan McRae <allan@archlinux.org>
38374
38375 * sysdeps/i386/fpu/libm-test-ulps: Update.
38376
38377 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38378
38379 [BZ #15406]
38380 * math/s_catan.c: Include <float.h>.
38381 (__catan): Ensure underflow exception occurs for underflowed
38382 result.
38383 * math/s_catanf.c: Include <float.h>.
38384 (__catanf): Ensure underflow exception occurs for underflowed
38385 result.
38386 * math/s_catanh.c: Include <float.h>.
38387 (__catanh): Ensure underflow exception occurs for underflowed
38388 result.
38389 * math/s_catanhf.c: Include <float.h>.
38390 (__catanhf): Ensure underflow exception occurs for underflowed
38391 result.
38392 * math/s_catanhl.c: Include <float.h>.
38393 (__catanhl): Ensure underflow exception occurs for underflowed
38394 result.
38395 * math/s_catanl.c: Include <float.h>.
38396 (__catanl): Ensure underflow exception occurs for underflowed
38397 result.
38398 * math/libm-test.inc (catan_test): Add more tests.
38399 (catanh_test): Likewise.
38400
38401 [BZ #15405]
38402 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38403 underflowed result.
38404 * math/s_ccoshf.c (__ccoshf): Likewise.
38405 * math/s_ccoshl.c (__ccoshl): Likewise.
38406 * math/s_csin.c (__csin): Likewise.
38407 * math/s_csinf.c (__csinf): Likewise.
38408 * math/s_csinh.c (__csinh): Likewise.
38409 * math/s_csinhf.c (__csinhf): Likewise.
38410 * math/s_csinhl.c (__csinhl): Likewise.
38411 * math/s_csinl.c (__csinl): Likewise.
38412 * math/libm-test.inc (ccos_test): Add more tests.
38413 (ccosh_test): Likewise.
38414 (csin_test): Likewise.
38415 (csinh_test): Likewise.
38416
38417 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38418
38419 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38420 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38421 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38422 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38423 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38424 powerpc/power5+/fpu folders.
38425 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38426
38427
38428 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38429
38430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38431
38432 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38433
38434 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38435 additions to variable.
38436 [$(config-machine) = x86_64] (modules-names): Likewise.
38437 ($(objpfx)tst-audit3): Remove dependency.
38438 ($(objpfx)tst-audit3.out): Likewise.
38439 ($(objpfx)tst-audit4): Likewise.
38440 ($(objpfx)tst-audit4.out): Likewise.
38441 ($(objpfx)tst-audit5): Likewise.
38442 ($(objpfx)tst-audit5.out): Likewise.
38443 ($(objpfx)tst-audit6): Likewise.
38444 ($(objpfx)tst-audit6.out): Likewise.
38445 ($(objpfx)tst-audit7): Likewise.
38446 ($(objpfx)tst-audit7.out): Likewise.
38447 (tst-audit3-ENV): Remove variable.
38448 (tst-audit4-ENV): Likewise.
38449 (tst-audit5-ENV): Likewise.
38450 (tst-audit6-ENV): Likewise.
38451 (tst-audit7-ENV): Likewise.
38452 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38453 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38454 addition to variable.
38455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38459 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38460 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38461 tst-audit3, tst-audit4 and tst-audit5.
38462 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38463 tst-audit6 and tst-audit7.
38464 [$(subdir) = elf] (modules-names): Add audit modules for those
38465 tests.
38466 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38467 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38468 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38469 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38470 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38471 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38472 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38473 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38474 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38475 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38476 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38477 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38478 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38479 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38480 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38481 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38482 Likewise.
38483 [$(subdir) = elf && $(config-cflags-avx) = yes]
38484 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38485 [$(subdir) = elf && $(config-cflags-avx) = yes]
38486 (CFLAGS-tst-auditmod4a.c): Likewise.
38487 [$(subdir) = elf && $(config-cflags-avx) = yes]
38488 (CFLAGS-tst-auditmod4b.c): Likewise.
38489 [$(subdir) = elf && $(config-cflags-avx) = yes]
38490 (CFLAGS-tst-auditmod6b.c): Likewise.
38491 [$(subdir) = elf && $(config-cflags-avx) = yes]
38492 (CFLAGS-tst-auditmod6c.c): Likewise.
38493 [$(subdir) = elf && $(config-cflags-avx) = yes]
38494 (CFLAGS-tst-auditmod7b.c): Likewise.
38495 * elf/tst-audit3.c: Move to ...
38496 * sysdeps/x86_64/tst-audit3.c: ... here.
38497 * elf/tst-audit4.c: Move to ...
38498 * sysdeps/x86_64/tst-audit4.c: ... here.
38499 * elf/tst-audit5.c: Move to ...
38500 * sysdeps/x86_64/tst-audit5.c: ... here.
38501 * elf/tst-audit6.c: Move to ...
38502 * sysdeps/x86_64/tst-audit6.c: ... here.
38503 * elf/tst-audit7.c: Move to ...
38504 * sysdeps/x86_64/tst-audit7.c: ... here.
38505 * elf/tst-auditmod3a.c: Move to ...
38506 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38507 * elf/tst-auditmod3b.c: Move to ...
38508 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38509 * elf/tst-auditmod4a.c: Move to ...
38510 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38511 * elf/tst-auditmod4b.c: Move to ...
38512 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38513 * elf/tst-auditmod5a.c: Move to ...
38514 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38515 * elf/tst-auditmod5b.c: Move to ...
38516 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38517 * elf/tst-auditmod6a.c: Move to ...
38518 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38519 * elf/tst-auditmod6b.c: Move to ...
38520 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38521 * elf/tst-auditmod6c.c: Move to ...
38522 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38523 * elf/tst-auditmod7a.c: Move to ...
38524 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38525 * elf/tst-auditmod7b.c: Move to ...
38526 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38527
38528 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38529
38530 [BZ #15366]
38531 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38532 define unconditionally.
38533 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38534 define unconditionally.
38535 (INT8_C, INT16_C, etc.): Likewise.
38536
38537 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38538
38539 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38540 __ehdr_start with hidden visibility.
38541
38542 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38543
38544 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38545
38546 * math/libm-test.inc (cos_test): Use accurate hex constants.
38547 (sincost_test): Likewise.
38548
38549 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38550
38551 * math/libm-test.inc (catan_test): Add more tests.
38552 (catanh_test): Likewise.
38553
38554 * math/s_catanf.c (__catanf): Use suffixed floating-point
38555 constants.
38556 * math/s_catanhf.c (__catanhf): Likewise.
38557 * math/s_catanhl.c (__catanhl): Likewise.
38558 * math/s_catanl.c (__catanl): Likewise.
38559
38560 [BZ #15394]
38561 * math/s_catan.c (__catan): Calculate imaginary part of result
38562 with log1p not log unless computing log of number close to 0.
38563 * math/s_catanf.c (__catanf): Likewise.
38564 * math/s_catanl.c (__catanl): Likewise.
38565 * math/s_catanh.c (__catanh): Calculate real part of result with
38566 log1p not log unless computing log of number close to 0.
38567 * math/s_catanhf.c (__catanhf): Likewise.
38568 * math/s_catanhl.c (__catanhl): Likewise.
38569 * math/libm-test.inc (catan_test): Add more tests.
38570 (catanh_test): Likewise.
38571 * sysdeps/i386/fpu/libm-test-ulps: Update.
38572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38573
38574 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38575
38576 * benchtests/Makefile: Mention files in which fast and slow
38577 paths of math functions are implemented.
38578
38579 2013-04-23 Roland McGrath <roland@hack.frob.com>
38580
38581 * sysdeps/posix/timespec_get.c: New file.
38582
38583 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38584
38585 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38586 POWER.
38587 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38588 for POWER.
38589 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38590 powerpc/power5/fpu folders.
38591 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38592 * benchtests/Makefile: Add modf testcase.
38593 * benchtests/bench-modf.c: New file: Benchmark test for mo
38594
38595 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38596
38597 [BZ #14888]
38598 * time/Makefile (tests): Add tst-strptime-whitespace.
38599 * time/strptime_l.c (get_number): Use ISSPACE.
38600 (__strptime_internal): Likewise.
38601 * time/tst-strptime-whitespace.c: New test case.
38602
38603 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38604
38605 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38606 member.
38607 (_nss_files_init): Set it here.
38608
38609 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38610
38611 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38612 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38613 unsigned.
38614
38615 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38616
38617 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38618
38619 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38620
38621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38622 size just once.
38623
38624 2013-04-21 David S. Miller <davem@davemloft.net>
38625
38626 * po/ru.po: Update Russion translation from translation project.
38627
38628 2013-04-17 Adam Conrad <adconrad@0c3.net>
38629
38630 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38631 and setfsgid.
38632
38633 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38634
38635 * configure.in: Remove i386 configure warning. Remove i386 case.
38636 * configure: Regenerate.
38637 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38638 Add example to error message.
38639 * sysdeps/i386/configure: Regenerate.
38640
38641 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38642
38643 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38644 slowtan.
38645 * benchtests/cos-inputs: New file.
38646 * benchtests/slowcos-inputs: New file.
38647 * benchtests/slowcos.c: New file.
38648 * benchtests/slowtan-inputs: New file.
38649 * benchtests/slowtan.c: New file.
38650 * benchtests/tan-inputs: New file.
38651
38652 2013-04-16 Roland McGrath <roland@hack.frob.com>
38653
38654 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38655 considered kosher.
38656
38657 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38658
38659 * benchtests/Makefile: Include cppflags-iterator.mk to add
38660 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38661
38662 * Makefile.in (bench-clean): New target.
38663 * benchtests/Makefile (bench-clean): Likewise.
38664
38665 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38666
38667 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38668
38669 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38670
38671 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38672
38673 2013-04-15 Andreas Schwab <schwab@suse.de>
38674
38675 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38677 * nscd/pwdcache.c (cache_addpw): Likewise.
38678 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38679 more than recsize.
38680
38681 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38682
38683 * benchtests/Makefile (bench): Write all output to
38684 bench-out.tmp together.
38685
38686 2013-04-15 Andreas Schwab <schwab@suse.de>
38687
38688 * nscd/nscd.c (main): Don't fork again after closing files.
38689
38690 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38691
38692 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38693
38694 * benchtests/Rules (bench-deps): Collect dependencies into a
38695 single variable. Add Makefile to dependencies.
38696 ($(objpfx)bench-%.c): Depend on bench-deps.
38697
38698 2013-04-12 Roland McGrath <roland@hack.frob.com>
38699 Xavier Roche <roche+kml2@exalead.com>
38700
38701 [BZ #15361]
38702 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38703 just that it's a file descriptor.
38704 * manual/llio.texi (Synchronizing AIO Operations): Update description
38705 for EBADF error from aio_fsync.
38706
38707 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38708
38709 * Rules (bench): Move target definition...
38710 * benchtests/Makefile: ... here.
38711
38712 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38713
38714 * math/libm-test.inc (cos_test): Fix PI/2 test.
38715 (sincos_test): Likewise.
38716 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38717 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38718
38719 2013-04-11 Andreas Schwab <schwab@suse.de>
38720
38721 [BZ #13988]
38722 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38723 accept exponent character only when digits were seen.
38724 * stdio-common/Makefile (tests): Add bug26.
38725 * stdio-common/bug26.c: New file.
38726
38727 [BZ #14293]
38728 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38729 non-freeable.
38730
38731 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38732
38733 * Makeconfig (rtld-prefix): Define built linker prefix.
38734 * Rules (run-bench): Use it.
38735 * math/Makefile (run-regen-ulps): Likewise.
38736
38737 * Rules (bench): Remove eval.
38738
38739 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38740 Roland McGrath <roland@hack.frob.com>
38741 Ondrej Bilka <neleai@seznam.cz>
38742
38743 [BZ #15346]
38744 * time/getdate.c: Include ctype.h and alloca.h.
38745 (__getdate_r): Trim leading and trailing spaces of input.
38746 * time/tst-getdate.c (tests): Add tests with leading and
38747 trailing spaces.
38748
38749 2013-04-08 Roland McGrath <roland@hack.frob.com>
38750
38751 [BZ #14280]
38752 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38753 when computing value.
38754
38755 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38756
38757 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38758 Use testrun.sh to run libm tests.
38759
38760 [BZ #15309]
38761 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38762
38763 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38764
38765 [BZ #15264]
38766 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38767
38768 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38769
38770 * Makefile.in (regen-ulps): New target.
38771 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38772 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38773 [ifneq (no,$(PERL)] (regen-ulps): New target.
38774 [ifeq (no,$(PERL)] (regen-ulps): New target.
38775 * math/libm-test.inc (ulps_file_name): Define.
38776 (output_dir): New variable.
38777 (options): Add "output-dir" option.
38778 (parse_opt): Handle 'o' case.
38779 (main): If output_dir is non-NULL use it as a prefix
38780 otherwise use "".
38781 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38782
38783 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38784
38785 [BZ #10060, #10062]
38786 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38787 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38788 fail configure if __sync_val_compare_and_swap is not inlined.
38789 * sysdeps/i386/configure: Regenerate.
38790 * configure.in: Build for i686 when configured for i386.
38791 * configure: Regenerate.
38792 * README: Remove i386 reference.
38793
38794 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38795
38796 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38798
38799 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38800
38801 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38802 (lmsnanval): New variables.
38803 (F): Add conversion tests.
38804 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38805 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38806
38807 * stdio-common/tstdiomisc.c (F): Properly collect individual
38808 tests' results.
38809
38810 [BZ #14686, #15336]
38811 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38812 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38813 Instead, use input NaN values or generate a qNaN by arithmetic
38814 operation. Also fix bugs to comply with the standard.
38815 * math/libm-test.inc (remainder_test): Add more tests.
38816
38817 [BZ #15335, #15342]
38818 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38820 input NaN values or generate a qNaN by arithmetic operation.
38821
38822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38823 unreachable code.
38824
38825 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38826 definitions.
38827
38828 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38829
38830 [BZ #14478]
38831 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38832 underflowed result.
38833 * math/s_cexpf.c (__cexpf): Likewise.
38834 * math/s_cexpl.c (__cexpl): Likewise.
38835 * math/libm-test.inc (cexp_test): Add more tests.
38836
38837 2013-04-03 Andreas Schwab <schwab@suse.de>
38838
38839 [BZ #15330]
38840 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38841 order arrays from heap if bigger than alloca cutoff.
38842
38843 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38844
38845 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38846 (SNAN_TESTS_double): Refer to GCC PR56831.
38847 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38848 GCC PR56828.
38849
38850 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38851
38852 * Rules (bench): Move bench.out after the run is complete.
38853
38854 * Rules (bench): Echo currently running benchmark.
38855
38856 * benchtests/Makefile (bench): Add atan and slowatan.
38857 * benchtests/atan-inputs: New file.
38858 * benchtests/slowatan-inputs: New file.
38859 * benchtests/slowatan.c: New file.
38860
38861 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38863 its value.
38864
38865 [BZ #15305]
38866 * sysdeps/unix/sysv/linux/kernel-features.h
38867 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38868 __ASSUME_XFS_RESTRICTED_CHOWN.
38869 * sysdeps/unix/sysv/linux/pathconf.c
38870 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38871 Save and restore errno.
38872
38873 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38874
38875 [BZ #15327]
38876 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38877 arguments using __kernel_casinh.
38878 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38879 arguments using __kernel_casinhf.
38880 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38881 arguments using __kernel_casinhl.
38882 * math/libm-test.inc (cacosh_test): Add more tests.
38883 * sysdeps/i386/fpu/libm-test-ulps: Update.
38884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38885
38886 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38887
38888 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38890
38891 * bench/Makefile (bench): Add sin and slowsin.
38892 * benchtests/sin-inputs: New file.
38893 * benchtests/slowsin-inputs: New file.
38894 * benchtests/slowsin.c: New file.
38895
38896 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38897 (bench): Add slowexp and slowpow.
38898 (exp-ITER): Increase iterations.
38899 (pow-ITER): Likewise.
38900 * benchtests/exp-inputs: Change input.
38901 * benchtests/pow-inputs: Likewise.
38902 * benchtests/slowexp-inputs: New file.
38903 * benchtests/slowexp.c: New file.
38904 * benchtests/slowpow-inputs: New file.
38905 * benchtests/slowpow.c: New file.
38906
38907 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38908
38909 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38910 instructions.
38911 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38912 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38913 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38914 * benchtests/Makefile: Add rint benchtest.
38915 * benchtests/rint-inputs: Input for rint benchtest.
38916
38917 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38918
38919 * Versions.def (libm): Add GLIBC_2.18.
38920 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38921 hidden libm prototypes.
38922 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38923 * math/Makefile (libm-calls): Add s_issignaling.
38924 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38925 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38926 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38927 declaration.
38928 * math/math.h [__USE_GNU] (issignaling): New macro.
38929 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38930 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38935 * manual/arith.texi (issignaling): New section.
38936 * manual/libm-err-tab.pl (@all_functions): Update comment.
38937 * math/gen-libm-test.pl (parse_args): Apply special handling for
38938 issignaling.
38939 * math/libm-test.inc (print_float, issignaling_test): New
38940 functions.
38941 (check_float_internal): Add issignaling checks.
38942 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38943 default definition.
38944 * sysdeps/powerpc/math-tests.h: New file.
38945 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38946 tests.
38947 * math/test-snan.c (TEST_FUNC): Likewise.
38948
38949 2013-03-30 David S. Miller <davem@davemloft.net>
38950
38951 * po/de.po: Update from translation team.
38952
38953 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38954
38955 [BZ #10357]
38956 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38957 imaginary part less than 1.0 and real part less than 0.5
38958 specially.
38959 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38960 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38961 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38962 (cacos_test): Add more tests.
38963 (casin_test): Likewise.
38964 (casinh_test): Likewise.
38965 * sysdeps/i386/fpu/libm-test-ulps: Update.
38966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38967
38968 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38969
38970 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38971 ONE with its value.
38972
38973 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38974 (__pow_mp): Replace ONE and MONE with their values.
38975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38977 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38978 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38979 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38981
38982 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38983
38984 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38985 (__pow_mp): Replace ZERO and MZERO with their values.
38986 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38988 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38990 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38991 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38992 (__sqr): Likewise.
38993
38994 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38995
38996 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38997
38998 2013-03-28 Roland McGrath <roland@hack.frob.com>
38999
39000 * include/stdlib.h [!SHARED] (__call_tls_dtors):
39001 Declare with __attribute__ ((weak)).
39002 * stdlib/exit.c (__libc_atexit) [!SHARED]:
39003 Call __call_tls_dtors only if it's not NULL.
39004
39005 2013-03-28 Roland McGrath <roland@hack.frob.com>
39006
39007 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39008 didn't do it already, then set _dl_phdr and _dl_phnum based on the
39009 magic __ehdr_start linker symbol if it's defined.
39010 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39011 them up here if it was already done.
39012
39013 * elf/dl-support.c (_dl_phdr): Make pointer to const.
39014 (_dl_aux_init): Use const in cast when setting it.
39015 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39016 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39017 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39018
39019 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39020 Declare them here.
39021 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39022 * csu/libc-tls.c: Nor here.
39023 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39024
39025 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39026 (__libc_message): Never call vsyslog.
39027
39028 2013-03-28 Alan Modra <amodra@gmail.com>
39029
39030 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39031 Define as empty.
39032 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39033 Likewise.
39034
39035 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39036
39037 [BZ #15214]
39038 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39039 underflow.
39040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39041
39042 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39043
39044 [BZ #15304]
39045 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39046 Don't add gid passed as argument.
39047
39048 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39049
39050 2013-03-27 Joseph Myers <joseph@codesourcery.com>
39051
39052 [BZ #15307]
39053 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39054 imaginary part between 1.0 and 1.5 and real part less than 0.5
39055 specially.
39056 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39057 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39058 * math/libm-test.inc (cacos_test): Add more tests.
39059 (casin_test): Likewise.
39060 (casinh_test): Likewise.
39061 * sysdeps/i386/fpu/libm-test-ulps: Update.
39062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39063
39064 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39065
39066 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39067 constants.
39068 (norm): Likewise.
39069 (denorm): Likewise.
39070 (__dbl_mp): Likewise.
39071 (add_magnitudes): Likewise.
39072 (sub_magnitudes): Likewise.
39073 (__add): Likewise.
39074 (__sub): Likewise.
39075 (__mul): Likewise.
39076 (__sqr): Likewise.
39077 (__inv): Likewise.
39078 (__dvd): Likewise.
39079
39080 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39081 commented code.
39082 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39083 (__dubcos): Likewise.
39084 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39085 (__ieee754_acos): Likewise.
39086 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39087 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39088 (__exp1): Likewise.
39089 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39091 (log1): Likewise.
39092 (my_log2): Likewise.
39093 (checkint): Likewise.
39094 * sysdeps/ieee754/dbl-64/e_remainder.c
39095 (__ieee754_remainder): Likewise.
39096 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39098 (bsloww): Likewise.
39099 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39100
39101 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39102 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39103 MANTISSA_STORE_T to store computations on mantissa. Use
39104 macros for rounding and division.
39105 (denorm): Likewise.
39106 (__dbl_mp): Likewise.
39107 (add_magnitudes): Likewise.
39108 (sub_magnitudes): Likewise.
39109 (__mul): Likewise.
39110 (__sqr): Likewise.
39111 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39112 powers of two in terms of TWOPOW macro.
39113 (mp_no): Make type of mantissa as MANTISSA_T.
39114 [!RADIXI]: Define RADIXI.
39115 [!TWO52]: Define TWO52.
39116 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39117
39118 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39119
39120 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39121 llroundl symbol when building for PPC32.
39122
39123 2013-03-24 Mark H Weaver <mhw@netris.org>
39124
39125 * manual/arith.texi (Normalization Functions): Fix prototypes for
39126 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39127
39128 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39129
39130 [BZ #13889]
39131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39132 high value to check if expl overflow.
39133 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39134 to check for underflow and overflow.
39135 * math/libm-test.inc: Add exp test.
39136
39137 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39138
39139 [BZ #11120]
39140 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39141 with NOT_IN_libc.
39142
39143 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39144
39145 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39146 symbol.
39147
39148 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39149
39150 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39151 wrap blocks consisting of several statements.
39152
39153 * sysdeps/generic/math-tests.h: New file.
39154 * sysdeps/i386/fpu/math-tests.h: Likewise.
39155 * math/test-snan.c: Include it.
39156 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39157
39158 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39159
39160 [BZ #15285]
39161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39162 (__ieee754_j0l): Do not improve calculations using cos of twice
39163 input for inputs above LDBL_MAX / 2.0L.
39164 (__ieee754_y0l): Likewise.
39165 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39166 (__ieee754_j1l): Do not improve calculations using cos of twice
39167 input for inputs above LDBL_MAX / 2.0L.
39168 (__ieee754_y1l): Likewise.
39169 * math/libm-test.inc (j0_test): Add another test.
39170 (j1_test): Likewise.
39171 (y0_test): Likewise.
39172 (y1_test): Likewise.
39173 * sysdeps/i386/fpu/libm-test-ulps: Update.
39174
39175 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39176
39177 * Rules ($(objpfx)bench-%.c): Include code from a C source
39178 file.
39179
39180 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39181
39182 [BZ #15287]
39183 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39184 imaginary part 1.0 and real part less than 0.5 specially.
39185 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39186 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39187 * math/libm-test.inc (cacos_test): Add more tests.
39188 (casin_test): Likewise.
39189 (casinh_test): Likewise.
39190 * sysdeps/i386/fpu/libm-test-ulps: Update.
39191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39192
39193 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39194
39195 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39196 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39197
39198 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39199
39200 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39201 * config.make.in (config-cflags-sse4): Remove variable.
39202 (config-cflags-avx): Likewise.
39203 (config-cflags-sse2avx): Likewise.
39204 (config-cflags-novzeroupper): Likewise.
39205 (config-asflags-i686): Likewise.
39206 (have-mfma4): Likewise.
39207 (have-as-vis3): Likewise.
39208 (MIG): Likewise.
39209 * configure.in (MIG): Do not AC_SUBST.
39210 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39211 (libc_cv_cc_sse4): Do not AC_SUBST.
39212 (libc_cv_cc_avx): Likewise.
39213 (libc_cv_cc_sse2avx): Likewise.
39214 (libc_cv_cc_novzeroupper): Likewise.
39215 (libc_cv_cc_fma4): Likewise.
39216 (libc_cv_as_i686): Likewise.
39217 (libc_cv_sparc_as_vis3): Likewise.
39218 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39219 LIBC_CONFIG_VAR.
39220 (config-asflags-i686): Likewise.
39221 (config-cflags-avx): Likewise.
39222 (config-cflags-sse2avx): Likewise.
39223 (have-mfma4): Likewise.
39224 (config-cflags-novzeroupper): Likewise.
39225 * sysdeps/mach/configure.in (MIG): Likewise.
39226 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39227 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39228 LIBC_CONFIG_VAR.
39229 (config-cflags-avx): Likewise.
39230 (config-cflags-sse2avx): Likewise.
39231 (have-mfma4): Likewise.
39232 (config-cflags-novzeroupper): Likewise.
39233 * configure: Regenerated.
39234 * sysdeps/i386/configure: Likewise.
39235 * sysdeps/mach/configure: Likewise.
39236 * sysdeps/sparc/configure: Likewise.
39237 * sysdeps/x86_64/configure: Likewise.
39238
39239 2013-03-20 Roland McGrath <roland@hack.frob.com>
39240
39241 [BZ #14812]
39242 * locale/programs/localedef.c (options): Put N_ translation marker
39243 on argument names, not just descriptions.
39244
39245 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39246
39247 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39248
39249 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39250
39251 [BZ #14176]
39252 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39253
39254 2013-03-19 Roland McGrath <roland@hack.frob.com>
39255
39256 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39257 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39258 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39259 [!BEFORE_ABORT] (before_abort): New function.
39260 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39261 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39262 (writev_for_fatal): New function.
39263 (WRITEV_FOR_FATAL): New macro; call that.
39264 (backtrace_and_maps): New function.
39265 (BEFORE_ABORT): New macro; call that.
39266 (struct str_list): Type removed.
39267 (__libc_message, __libc_fatal): Functions removed.
39268 Include <sysdeps/posix/libc_fatal.c> instead.
39269
39270 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39271
39272 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39273 constants.
39274 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39275 double constants.
39276
39277 2013-03-19 Andreas Schwab <schwab@suse.de>
39278
39279 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39280 * sysdeps/gnu/configure: Regenerate.
39281
39282 * configure.in: Substitute libc_cv_rtlddir.
39283 * configure: Regenerate.
39284 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39285 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39286 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39287 * elf/Makefile (install-others, CFLAGS-interp.c)
39288 (ldso_install, common-ldd-rewrite): Likewise.
39289 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39290 $(inst_slibdir)/$(rtld-installed-name).
39291 * scripts/rellns-sh: Add -p option.
39292 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39293 for source.
39294
39295 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39296
39297 * manual/nptl.texi: Renamed to ...
39298 * manual/threads.texi: ... this.
39299 * manual/Makefile (chapters): Update.
39300
39301 2013-03-18 Roland McGrath <roland@hack.frob.com>
39302
39303 [BZ #14812]
39304 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39305 on argument names, not just descriptions.
39306 * malloc/memusagestat.c (options): Likewise.
39307 * nss/getent.c (options): Likewise.
39308
39309 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39310
39311 [BZ #14812]
39312 * iconv/iconv_prog.c (options): Put N_ translation marker
39313 on argument names, not just descriptions.
39314 * iconv/iconvconfig.c (options): Likewise.
39315
39316 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39317
39318 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39319 implementation which is faster on all x86_64 architectures.
39320 Tested on AMD, Intel Nehalem, SNB, IVB.
39321 * sysdeps/x86_64/strnlen.S: Likewise.
39322
39323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39324 Remove all multiarch strlen and strnlen versions.
39325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39326 Remove strlen and strnlen related parts.
39327
39328 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39329 Inline strlen part.
39330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39331
39332 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39333 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39334 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39335 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39336 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39337 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39338
39339 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39340
39341 * manual/memory.texi (Malloc Tunable Parameters):
39342 Sort parameters alphabetically. Add comments for missing entries.
39343
39344 2013-03-17 David S. Miller <davem@davemloft.net>
39345
39346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39347
39348 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39349
39350 [BZ #15283]
39351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39352 for arguments at most half maximum finite value.
39353 * math/libm-test.inc (j0_test): Add more tests.
39354 (j1_test): Likewise.
39355 (y0_test): Likewise.
39356 (y1_test): Likewise.
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39359
39360 [BZ #14155]
39361 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39362 1 / x and functions P and Q for arguments above 0x1p256L.
39363 (__ieee754_y0l): Likewise.
39364 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39365 (__ieee754_y1l): Likewise.
39366 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39367 (j1_test): Likewise.
39368 (y0_test): Likewise.
39369 (y1_test): Likewise.
39370
39371 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39372
39373 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39374 variable.
39375
39376 2013-03-15 Roland McGrath <roland@hack.frob.com>
39377
39378 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39379 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39380 zero since it's initialized to EXEC_PAGESIZE.
39381
39382 * sysdeps/unix/sysv/linux/ldsodefs.h
39383 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39384 * sysdeps/generic/ldsodefs.h: ... here.
39385
39386 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39387
39388 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39389
39390 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39391 math/test-snan.c.
39392 * math/test-snan.c: Renamed from
39393 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39394 * math/Makefile (tests): Add test-snan.
39395 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39396 test-powerpc-snan.
39397
39398 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39399 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39400 functions.
39401 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39402 __builtin_nan family of functions.
39403 * math/libm-test.inc (initialize): Initialize qnan_value with
39404 __builtin_nan family of functions.
39405 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39406 Remove variables.
39407 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39408 Remove functions.
39409 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39410 storage class. Initialize qNaN_var and sNaN_var with
39411 __builtin_nan and __builtin_nans families of functions,
39412 respectively.
39413
39414 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39415 (sqrt_test): Remove duplicate test with qNaN input.
39416 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39417 (round_test, signbit_test, significand_test): Note missing +/-Inf
39418 as well as qNaN tests.
39419
39420 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39421 qNaN_var. Fix a few strings, too.
39422 * math/libm-test.inc (nan_value): Rename to qnan_value.
39423 * math/gen-libm-test.pl (%beautify): Adjust to that.
39424 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39425 * math/test-misc.c (main): Likewise.
39426 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39427 to __qnan_bytes, and __qnan_union, respectively.
39428 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39429 Likewise.
39430 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39431 and lqnanval, respectively.
39432 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39433 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39434 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39435 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39436
39437 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39438 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39439 doubles.
39440
39441 * math/test-misc.c (main): Fix copy'n'pastos.
39442 * misc/tst-efgcvt.c (special): Likewise.
39443
39444 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39445 Remove declarations.
39446
39447 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39448
39449 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39450 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39451 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39452 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39453
39454 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39455
39456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39457 macro to return vdso values correctly in IFUNC implementations.
39458 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39459 Optimization by using IFUNC.
39460
39461 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39462 Richard Henderson <rth@redhat.com>
39463 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39464
39465 * Makefile.in (bench): New target.
39466 * NEWS: Mention the benchmark framework.
39467 * Rules (bench): Likewise.
39468 (binaries-bench): Generate binaries for functions to
39469 benchmark.
39470 * benchtests/Makefile: New makefile for benchmark tests.
39471 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39472 programs.
39473 * benchtests/exp-inputs: New input file for EXP function.
39474 * benchtests/pow-inputs: New input file for POW function.
39475 * scripts/bench.pl: New script to generate source files for
39476 benchmark programs.
39477
39478 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39479
39480 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39481 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39482 computations on mantissa. Use macros for rounding and
39483 division.
39484 (denorm): Likewise.
39485 (__dbl_mp): Likewise.
39486 (add_magnitudes): Likewise.
39487 (sub_magnitudes): Likewise.
39488 (__mul): Likewise.
39489 (__sqr): Likewise.
39490 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39491 powers of two in terms of TWOPOW macro.
39492 (mp_no): Make type of mantissa as MANTISSA_T.
39493 [!RADIXI]: Define RADIXI.
39494 [!TWO52]: Define TWO52.
39495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39496
39497 * manual/nptl.texi (cindex): Modify threads to pthreads.
39498
39499 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39500
39501 * sysdeps/x86_64/preconfigure: Regenerated.
39502
39503 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39504
39505 [BZ #14155]
39506 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39507 0x1p28 and above.
39508 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39509 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39510 0x1p28 and above.
39511 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39512 * math/libm-test.inc (j0_test): Do not allow one spurious
39513 underflow exception.
39514 (y1_test): Likewise.
39515
39516 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39517
39518 * manual/Makefile (chapters): Add nptl.
39519 * manual/debug.texi (Debugging Support): Add link to Threads
39520 chapter.
39521 * manual/nptl.texi: New file.
39522
39523 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39524
39525 2013-03-14 Petr Baudis <pasky@ucw.cz>
39526
39527 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39528 for non-NULL pointer before the memory validity test. Pointed
39529 out by Holger Brunck <holger.brunck@keymile.com>.
39530
39531 2013-03-13 Andreas Schwab <schwab@suse.de>
39532
39533 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39534 instead of .os.
39535
39536 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39537
39538 * timezone/zic.c: Update from tzcode 2013b.
39539
39540 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39541
39542 * manual/install.texi (Configuring and compiling):
39543 Mention i686 and i586.
39544 * INSTALL: Regenerate.
39545
39546 2013-03-12 Roland McGrath <roland@hack.frob.com>
39547
39548 * sysdeps/init_array/elf-init.c: New file.
39549 * csu/elf-init.c
39550 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39551 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39552
39553 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39554 __gmon_start__ as global, but as static with a .preinit_array pointer.
39555 * sysdeps/init_array/gmon-start.c: New file. Use that.
39556 * sysdeps/init_array/crti.S: New file, empty except for comments.
39557 * sysdeps/init_array/crtn.S: Likewise.
39558
39559 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39560
39561 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39562 definining bcopy.
39563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39564 Remove Prefer_SSE_for_memop.
39565 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39566 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39567 HAS_PREFER_SSE_FOR_MEMOP.
39568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39569 memset-x86-64.
39570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39571 Remove bzero, memset ifunc support.
39572 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39573 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39574 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39575 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39576
39577 2013-03-11 Andreas Schwab <schwab@suse.de>
39578
39579 [BZ #15234]
39580 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39581 by SHLIB_COMPAT.
39582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39583 (GLIBC_2.16): Remove pthread_atfork.
39584
39585 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39586
39587 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39588 (ptestcases.h): Likewise.
39589
39590 2013-03-08 Roland McGrath <roland@hack.frob.com>
39591
39592 * Makeconfig ($(common-objpfx)config.status): Depend on
39593 sysdeps/*/preconfigure{,.in} too.
39594
39595 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39596
39597 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39598 (__free_hook): Use void * instead of __malloc_ptr_t.
39599 (__malloc_hook): Likewise.
39600 (__realloc_hook): Likewise.
39601 (__memalign_hook): Likewise.
39602 (__after_morecore_hook): Likewise.
39603 * malloc/arena.c (save_malloc_hook): Likewise.
39604 (save_free_hook): Likewise.
39605 * malloc/hooks.c (malloc_hook_ini): Likewise.
39606 (realloc_hook_ini): Likewise.
39607 (memalign_hook_ini): Likewise.
39608 * malloc/malloc.c (malloc_hook_ini): Likewise.
39609 (realloc_hook_ini): Likewise.
39610 (memalign_hook_ini): Likewise.
39611 (__free_hook): Likewise.
39612 (__malloc_hook): Likewise.
39613 (__realloc_hook): Likewise.
39614 (__memalign_hook): Likewise.
39615 (__libc_malloc): Likewise.
39616 (__libc_free): Likewise.
39617 (__libc_realloc): Likewise.
39618 (__libc_memalign): Likewise.
39619 (__libc_valloc): Likewise.
39620 (__libc_pvalloc): Likewise.
39621 (__libc_calloc): Likewise.
39622 (__posix_memalign): Likewise.
39623 * malloc/morecore.c (__sbrk): Likewise.
39624 (__default_morecore): Likewise.
39625
39626 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39627
39628 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39629 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39630 __malloc_ptrdiff_t.
39631
39632 * malloc/malloc.h (__malloc_size_t): Remove macro.
39633 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39634 __malloc_size_t.
39635 (old_memalign_hook): Likewise.
39636 (old_realloc_hook): Likewise.
39637 (struct hdr): Likewise.
39638 (flood): Likewise.
39639 (mallochook): Likewise.
39640 (memalignhook): Likewise.
39641 (reallochook): Likewise.
39642 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39643 (tr_old_realloc_hook): Likewise.
39644 (tr_old_memalign_hook): Likewise.
39645 (tr_mallochook): Likewise.
39646 (tr_reallochook): Likewise.
39647 (tr_memalignhook): Likewise.
39648
39649 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39650
39651 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39652 default_ldbl_pack and using as default implementation.
39653 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39654 implementation.
39655 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39656 redundant definition.
39657 (ldbl_insert_mantissa): Likewise.
39658 (ldbl_canonicalize): Likewise.
39659 (ldbl_nearbyint): Likewise.
39660 (ldbl_pack): Rename to ldbl_pack_ppc.
39661 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39662 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39663 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39664
39665 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39666
39667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39668 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39670 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39672 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39673 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39674 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39675
39676 2013-03-07 Andreas Jaeger <aj@suse.de>
39677
39678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39679 bits/mman-linux.h.
39680
39681 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39682
39683 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39684 Include mpa.h and declare __MPEXP.
39685 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39687 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39688 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39689 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39690 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39691 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39692
39693 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39694 (__slowpow): Use long double EXPL and LOGL functions to
39695 compute POW.
39696 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39697 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39699 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39700 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39701 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39702
39703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39704 intermediate variable to calculate exponent.
39705 (__sqr): Likewise.
39706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39707 Likewise.
39708 (__sqr): Likewise.
39709
39710 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39711 [!NO__SQR]: Define __sqr.
39712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39713 and NO__SQR. Remove all code except __mul and __sqr. Include
39714 sysdeps/ieee754/dbl-64/mpa.c.
39715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39716
39717 [BZ #12723]
39718 * posix/Makefile (tests): Add tst-pathconf.
39719 * posix/tst-pathconf.c: New test case.
39720 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39721 _PC_PIPE_BUF.
39722 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39723
39724 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39725
39726 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39727
39728 2013-03-06 Andreas Jaeger <aj@suse.de>
39729
39730 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39731 definition via __MAP_ANONYMOUS.
39732
39733 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39734 it's not part of Linux headers.
39735
39736 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39737 (MAP_HUGE_MASK): Define.
39738
39739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39740 Define.
39741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39743 Define.
39744 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39745 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39746 Define.
39747 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39748 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39749 Define.
39750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39751
39752 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39753 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39754 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39755 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39756 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39757 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39758
39759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39760 Handle f2fs.
39761
39762 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39763 Handle f2fs and efivarfs.
39764
39765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39766 f2fs.
39767
39768 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39769 (EFIVARFS_MAGIC): Add.
39770 (F2FS_LINK_MAX): Add.
39771
39772 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39773
39774 * stdio-common/vfprintf.c: Replace __builtin_expect with
39775 __glibc_unlikely.
39776
39777 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39778
39779 [BZ #13550]
39780 * sysdeps/generic/bp-sym.h: Remove file.
39781 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39782 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39783 <bp-sym.h> and <bp-asm.h>.
39784 (__longjmp): Don't use BP_SYM.
39785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39786 and <bp-asm.h>.
39787 (memcpy): Don't use BP_SYM.
39788 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39789 <bp-sym.h> and <bp-asm.h>.
39790 (memcpy): Don't use BP_SYM.
39791 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39792 <bp-asm.h>.
39793 (memcpy): Don't use BP_SYM.
39794 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39795 <bp-asm.h>.
39796 (memset): Don't use BP_SYM.
39797 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39798 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39799 (__bzero): Don't use BP_SYM.
39800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39803 <bp-sym.h> and <bp-asm.h>.
39804 (memcmp): Don't use BP_SYM. Remove comment about bounded
39805 pointers.
39806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39807 <bp-sym.h> and <bp-asm.h>.
39808 (memcpy): Don't use BP_SYM.
39809 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39810 <bp-sym.h> and <bp-asm.h>.
39811 (memset): Don't use BP_SYM.
39812 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39813 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39814 (__bzero): Don't use BP_SYM.
39815 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39816 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39818 <bp-sym.h> and <bp-asm.h>.
39819 (strncmp): Don't use BP_SYM. Remove comment about bounded
39820 pointers.
39821 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39822 <bp-sym.h> and <bp-asm.h>.
39823 (memcpy): Don't use BP_SYM.
39824 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39825 <bp-sym.h> and <bp-asm.h>.
39826 (memset): Don't use BP_SYM.
39827 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39828 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39829 (__bzero): Don't use BP_SYM.
39830 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39831 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39833 <bp-sym.h> and <bp-asm.h>.
39834 (__memchr): Don't use BP_SYM.
39835 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39836 <bp-sym.h> and <bp-asm.h>.
39837 (memcmp): Don't use BP_SYM. Remove comment about bounded
39838 pointers.
39839 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39840 <bp-sym.h> and <bp-asm.h>.
39841 (memcpy): Don't use BP_SYM.
39842 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39843 <bp-sym.h> and <bp-asm.h>.
39844 (__mempcpy): Don't use BP_SYM.
39845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39846 <bp-sym.h> and <bp-asm.h>.
39847 (__memrchr): Don't use BP_SYM.
39848 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39849 <bp-sym.h> and <bp-asm.h>.
39850 (memset): Don't use BP_SYM.
39851 (__bzero): Likewise.
39852 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39853 <bp-sym.h> and <bp-asm.h>.
39854 (__rawmemchr): Don't use BP_SYM.
39855 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39856 <bp-sym.h> and <bp-asm.h>.
39857 (__STRCMP): Don't use BP_SYM.
39858 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39859 <bp-sym.h> and <bp-asm.h>.
39860 (strchr): Don't use BP_SYM.
39861 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39862 <bp-sym.h> and <bp-asm.h>.
39863 (__strchrnul): Don't use BP_SYM.
39864 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39865 <bp-sym.h> and <bp-asm.h>.
39866 (strlen): Don't use BP_SYM.
39867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39868 <bp-sym.h> and <bp-asm.h>.
39869 (strncmp): Don't use BP_SYM. Remove comment about bounded
39870 pointers.
39871 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39872 <bp-sym.h> and <bp-asm.h>.
39873 (__strnlen): Don't use BP_SYM.
39874 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39875 <bp-sym.h> and <bp-asm.h>.
39876 (__GI__setjmp): Don't use BP_SYM.
39877 (_setjmp): Likewise.
39878 (__sigsetjmp): Likewise.
39879 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39880 (L(start_addresses)): Don't use BP_SYM.
39881 (_start): Likewise.
39882 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39883 <bp-asm.h>.
39884 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39885 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39886 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39887 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39888 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39889 <bp-asm.h>.
39890 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39891 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39892 about bounded pointers.
39893 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39894 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39895 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39896 <bp-asm.h>.
39897 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39898 about bounded pointers. Remove GKM FIXME comments.
39899 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39900 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39901 <bp-asm.h>.
39902 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39903 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39904 Remove GKM FIXME comments.
39905 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39906 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39907 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39908 <bp-asm.h>.
39909 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39910 about bounded pointers. Remove GKM FIXME comment.
39911 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39912 and <bp-asm.h>.
39913 (strncmp): Don't use BP_SYM. Remove comment about bounded
39914 pointers.
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39916 <bp-sym.h> and <bp-asm.h>.
39917 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39919 <bp-sym.h> and <bp-asm.h>.
39920 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39921 comment.
39922
39923 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39924
39925 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39926 call free(NULL).
39927
39928 2013-03-05 David S. Miller <davem@davemloft.net>
39929
39930 * po/es.po: Update from translation team.
39931
39932 2013-03-05 Andreas Jaeger <aj@suse.de>
39933
39934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39935 <bits/mman-linux.h>.
39936 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39937 is fine.
39938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39939 <bits/mman-linux.h> to end of file.
39940 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39941 is fine.
39942 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39943 <bits/mman-linux.h> to end of file.
39944 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39945 is fine.
39946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39947 <bits/mman-linux.h> to end of file.
39948
39949 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39950 (MCL_CURRENT, MCL_FUTURE): Define here.
39951
39952 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39953
39954 [BZ #15232]
39955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39956 attribute_hidden.
39957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39958
39959 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39960
39961 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39962 fourth parameter needed for rt_sigprocmask syscall.
39963 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39964 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39965 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39966 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39968 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39969
39970 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39971
39972 [BZ #13550]
39973 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39974 comment about bounded pointers.
39975 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39976 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39977
39978 2013-03-04 Andreas Jaeger <aj@suse.de>
39979
39980 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39981 common definitions.
39982
39983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39984 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39986 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39987 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39989
39990 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39991
39992 [BZ #15055]
39993 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39994 __ieee754_sqrl instead of __sqrl.
39995
39996 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39997
39998 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39999 * sysdeps/powerpc/fpu_control.h: ... here.
40000 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40001 * sysdeps/powerpc/bits/fenvinline.h: ... here.
40002 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40003 * sysdeps/powerpc/bits/mathinline.h: ... here.
40004
40005 2013-03-01 Roland McGrath <roland@hack.frob.com>
40006
40007 * elf/dl-hwcaps.c (_dl_important_hwcaps):
40008 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40009 to just [NEED_DL_SYSINFO_DSO].
40010 * elf/dl-support.c: Likewise.
40011 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40012 * elf/rtld.c (dl_main): Likewise.
40013 * elf/setup-vdso.h (setup_vdso): Likewise.
40014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40015 * sysdeps/unix/sysv/linux/dl-sysdep.c
40016 (_dl_discover_osversion): Likewise.
40017
40018 2013-03-01 Carlos O'Donell <carlos@redhat.com>
40019
40020 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40022
40023 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40024
40025 * NEWS: Mention libm performance improvements and non-x86 PI
40026 futex support.
40027
40028 * csu/libc-start.c (__pthread_initialize_minimal): Change
40029 function arguments.
40030 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40031
40032 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40033
40034 [BZ #13550]
40035 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40037 <bp-sym.h> and <bp-asm.h>.
40038 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40040 and <bp-asm.h>.
40041 (memcpy): Don't use BP_SYM.
40042 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40043 <bp-asm.h>.
40044 (__mpn_add_n): Don't use BP_SYM.
40045 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40046 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40047 and <bp-asm.h>.
40048 (__mpn_addmul_1): Don't use BP_SYM.
40049 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40050 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40051 <bp-sym.h>.
40052 (_setjmp): Don't use BP_SYM.
40053 (__novmx_setjmp): Likewise.
40054 (__GI__setjmp): Likewise.
40055 (__vmx_setjmp): Likewise.
40056 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40057 <bp-sym.h>.
40058 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40059 (__bzero): Don't use BP_SYM.
40060 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40061 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40062 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40063 <bp-sym.h> and <bp-asm.h>.
40064 (memcpy): Don't use BP_SYM.
40065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40066 <bp-sym.h> and <bp-asm.h>.
40067 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40069 <bp-sym.h> and <bp-asm.h>.
40070 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40071 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40072 <bp-asm.h>.
40073 (__mpn_lshift): Don't use BP_SYM.
40074 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40075 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40076 <bp-asm.h>.
40077 (memset): Don't use BP_SYM.
40078 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40079 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40080 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40081 <bp-asm.h>.
40082 (__mpn_mul_1): Don't use BP_SYM.
40083 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40085 <bp-sym.h> and <bp-asm.h>.
40086 (memcmp): Don't use BP_SYM.
40087 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40088 <bp-sym.h> and <bp-asm.h>.
40089 (memcpy): Don't use BP_SYM.
40090 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40091 <bp-sym.h> and <bp-asm.h>.
40092 (memset): Don't use BP_SYM.
40093 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40094 <bp-sym.h> and <bp-asm.h>.
40095 (strncmp): Don't use BP_SYM.
40096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40097 <bp-sym.h> and <bp-asm.h>.
40098 (memcpy): Don't use BP_SYM.
40099 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40100 <bp-sym.h> and <bp-asm.h>.
40101 (memset): Don't use BP_SYM.
40102 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40103 <bp-sym.h> and <bp-asm.h>.
40104 (__memchr): Don't use BP_SYM.
40105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40106 <bp-sym.h> and <bp-asm.h>.
40107 (memcmp): Don't use BP_SYM.
40108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40109 <bp-sym.h> and <bp-asm.h>.
40110 (memcpy): Don't use BP_SYM.
40111 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40112 <bp-sym.h> and <bp-asm.h>.
40113 (__mempcpy): Don't use BP_SYM.
40114 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40115 <bp-sym.h> and <bp-asm.h>.
40116 (__memrchr): Don't use BP_SYM.
40117 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40118 <bp-sym.h> and <bp-asm.h>.
40119 (memset): Don't use BP_SYM.
40120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40121 <bp-sym.h> and <bp-asm.h>.
40122 (__rawmemchr): Don't use BP_SYM.
40123 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40124 <bp-sym.h> and <bp-asm.h>.
40125 (__STRCMP): Don't use BP_SYM.
40126 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40127 <bp-sym.h> and <bp-asm.h>.
40128 (strchr): Don't use BP_SYM.
40129 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40130 <bp-sym.h> and <bp-asm.h>.
40131 (__strchrnul): Don't use BP_SYM.
40132 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40133 <bp-sym.h> and <bp-asm.h>.
40134 (strlen): Don't use BP_SYM.
40135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40136 <bp-sym.h> and <bp-asm.h>.
40137 (strncmp): Don't use BP_SYM.
40138 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40139 <bp-sym.h> and <bp-asm.h>.
40140 (__strnlen): Don't use BP_SYM.
40141 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40142 <bp-asm.h>.
40143 (__mpn_rshift): Don't use BP_SYM.
40144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40145 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40146 <bp-sym.h> and <bp-asm.h>.
40147 (__sigsetjmp): Don't use BP_SYM.
40148 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40149 (L(start_addresses)): Don't use BP_SYM.
40150 (_start): Likewise.
40151 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40152 <bp-asm.h>.
40153 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40154 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40155 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40156 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40157 <bp-asm.h>.
40158 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40159 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40160 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40161 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40162 <bp-asm.h>.
40163 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40164 comments.
40165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40166 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40167 <bp-asm.h>.
40168 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40169 FIXME comments.
40170 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40171 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40172 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40173 <bp-asm.h>.
40174 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40175 comment.
40176 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40177 and <bp-asm.h>.
40178 (strncmp): Don't use BP_SYM,
40179 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40180 <bp-asm.h>.
40181 (__mpn_sub_n): Don't use BP_SYM.
40182 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40183 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40184 and <bp-asm.h>.
40185 (__mpn_submul_1): Don't use BP_SYM.
40186 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40188 <bp-sym.h> and <bp-asm.h>.
40189 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40191 <bp-sym.h> and <bp-asm.h>.
40192 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40193 comment.
40194
40195 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40196
40197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40198 Use ZK to minimize writes to Z.
40199 (sub_magnitudes): Simplify code a bit.
40200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40201 Use ZK to minimize writes to Z.
40202 (sub_magnitudes): Simplify code a bit.
40203
40204 2013-02-27 Roland McGrath <roland@hack.frob.com>
40205
40206 * csu/gmon-start.c: Add special exception to license text.
40207
40208 2013-02-27 Richard Henderson <rth@redhat.com>
40209
40210 * scripts/config.guess: Update from config.git.
40211 * scripts/config.sub: Likewise.
40212
40213 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40214
40215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40216
40217 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40218
40219 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40220
40221 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40222
40223 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40224
40225 2013-02-26 Roland McGrath <roland@hack.frob.com>
40226
40227 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40228 [$(build-shared = yes].
40229
40230 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40231
40232 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40233 (__mul): Reduce iterations for calculating mantissa.
40234
40235 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40236 MPTWO.
40237 (__mpranred): Likewise.
40238
40239 [BZ #15160]
40240 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40241 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40242
40243 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40244
40245 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40246 Define __attribute__.
40247
40248 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40249
40250 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40251 unused.
40252 * posix/regex_internal.h (__attribute): Remove.
40253 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40254 (re_string_context_at): Likewise.
40255 (bitset_not): Use __attribute__ and mark function as possibly
40256 unused.
40257 (bitset_merge): Likewise.
40258 (bitset_mask): Likewise.
40259 (re_string_char_size_at): Likewise.
40260 (re_string_wchar_at): Likewise.
40261 (re_string_elem_size_at): Likewise.
40262
40263 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40264
40265 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40266 code.
40267 (cc32): Likewise.
40268
40269 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40270 (__acr): Likewise.
40271 (__cpy): Likewise.
40272 (norm): Likewise.
40273 (denorm): Likewise.
40274 (__dbl_mp): Likewise.
40275 (add_magnitudes): Likewise.
40276 (sub_magnitudes): Likewise.
40277 (__mul): Likewise.
40278 (__inv): Likewise.
40279
40280 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40281 style.
40282
40283 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40284 style.
40285
40286 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40287 code.
40288
40289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40290 up changes with default code.
40291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40292 Likewise.
40293
40294 2013-02-24 Allan McRae <allan@archlinux.org>
40295
40296 * manual/socket.texi (The Internet Namespace): Order menu items
40297 to match that in the file.
40298
40299 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40300 node listing of the info page menu.
40301
40302 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40303
40304 [BZ #13550]
40305 * sysdeps/i386/bp-asm.h: Remove file.
40306 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40307 (PARMS): Do not use macros from bp-asm.h.
40308 (S1): Likewise.
40309 (S2): Likewise.
40310 (SIZE): Likewise.
40311 (__mpn_add_n): Do not use BP_SYM
40312 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40313 "bp-asm.h".
40314 (PARMS): Do not use macros from bp-asm.h.
40315 (S1): Likewise.
40316 (SIZE): Likewise.
40317 (__mpn_addmul_1): Do not use BP_SYM
40318 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40319 "bp-asm.h".
40320 (PARMS): Do not use macros from bp-asm.h.
40321 (SIGMSK): Likewise.
40322 (_setjmp): Likewise. Do not use BP_SYM.
40323 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40324 "bp-asm.h".
40325 (PARMS): Do not use macros from bp-asm.h.
40326 (SIGMSK): Likewise.
40327 (setjmp): Likewise. Do not use BP_SYM.
40328 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40329 "bp-asm.h".
40330 (PARMS): Do not use macros from bp-asm.h.
40331 (__frexp): Do not use BP_SYM.
40332 (frexp): Likewise.
40333 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40334 "bp-asm.h".
40335 (PARMS): Do not use macros from bp-asm.h.
40336 (__frexpf): Do not use BP_SYM.
40337 (frexpf): Likewise.
40338 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40339 "bp-asm.h".
40340 (PARMS): Do not use macros from bp-asm.h.
40341 (__frexpl): Do not use BP_SYM.
40342 (frexpl): Likewise.
40343 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40344 "bp-asm.h".
40345 (PARMS): Do not use macros from bp-asm.h.
40346 (__remquo): Do not use BP_SYM.
40347 (remquo): Likewise.
40348 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40349 "bp-asm.h".
40350 (PARMS): Do not use macros from bp-asm.h.
40351 (__remquof): Do not use BP_SYM.
40352 (remquof): Likewise.
40353 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40354 "bp-asm.h".
40355 (PARMS): Do not use macros from bp-asm.h.
40356 (__remquol): Do not use BP_SYM.
40357 (remquol): Likewise.
40358 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40359 "bp-asm.h".
40360 (PARMS): Do not use macros from bp-asm.h.
40361 (DEST): Likewise.
40362 (SRC): Likewise.
40363 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40364 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40365 "bp-asm.h".
40366 (PARMS): Do not use macros from bp-asm.h.
40367 (strlen): Do not use BP_SYM.
40368 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40369 "bp-asm.h".
40370 (PARMS): Do not use macros from bp-asm.h.
40371 (S1): Likewise.
40372 (S2): Likewise.
40373 (SIZE): Likewise.
40374 (__mpn_add_n): Do not use BP_SYM.
40375 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40376 "bp-asm.h".
40377 (PARMS): Do not use macros from bp-asm.h.
40378 (S1): Likewise.
40379 (SIZE): Likewise.
40380 (__mpn_addmul_1): Do not use BP_SYM.
40381 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40382 weak_alias.
40383 (bzero): Likewise.
40384 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40385 "bp-asm.h".
40386 (PARMS): Do not use macros from bp-asm.h.
40387 (S): Likewise.
40388 (SIZE): Likewise.
40389 (__mpn_lshift): Do not use BP_SYM.
40390 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40391 "bp-asm.h".
40392 (PARMS): Do not use macros from bp-asm.h.
40393 (DEST): Likewise.
40394 (SRC): Likewise.
40395 (LEN): Likewise.
40396 (memcpy): Likewise. Do not use BP_SYM.
40397 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40398 libc_hidden_def and weak_alias.
40399 (mempcpy): Do not use BP_SYM in weak_alias.
40400 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40401 "bp-asm.h".
40402 (PARMS): Do not use macros from bp-asm.h.
40403 (DEST): Likewise.
40404 (LEN): Likewise.
40405 [!BZERO_P] (CHR): Likewise.
40406 (memset): Likewise. Do not use BP_SYM.
40407 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40408 "bp-asm.h".
40409 (PARMS): Do not use macros from bp-asm.h.
40410 (S1): Likewise.
40411 (SIZE): Likewise.
40412 (__mpn_mul_1): Do not use BP_SYM.
40413 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40414 "bp-asm.h".
40415 (PARMS): Do not use macros from bp-asm.h.
40416 (S): Likewise.
40417 (SIZE): Likewise.
40418 (__mpn_rshift): Do not use BP_SYM.
40419 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40420 "bp-asm.h".
40421 (PARMS): Do not use macros from bp-asm.h.
40422 (STR): Likewise.
40423 (CHR): Likewise.
40424 (strchr): Likewise. Do not use BP_SYM.
40425 (index): Do not use BP_SYM in weak_alias.
40426 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40427 "bp-asm.h".
40428 (PARMS): Do not use macros from bp-asm.h.
40429 (DEST): Likewise.
40430 (SRC): Likewise.
40431 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40432 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40433 "bp-asm.h".
40434 (PARMS): Do not use macros from bp-asm.h.
40435 (strlen): Do not use BP_SYM.
40436 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40437 "bp-asm.h".
40438 (PARMS): Do not use macros from bp-asm.h.
40439 (S1): Likewise.
40440 (S2): Likewise.
40441 (SIZE): Likewise.
40442 (__mpn_sub_n): Do not use BP_SYM.
40443 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40444 "bp-asm.h".
40445 (PARMS): Do not use macros from bp-asm.h.
40446 (S1): Likewise.
40447 (SIZE): Likewise.
40448 (__mpn_submul_1): Do not use BP_SYM.
40449 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40450 "bp-asm.h".
40451 (PARMS): Do not use macros from bp-asm.h.
40452 (S1): Likewise.
40453 (S2): Likewise.
40454 (SIZE): Likewise.
40455 (__mpn_add_n): Do not use BP_SYM.
40456 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40457 weak_alias.
40458 (bzero): Likewise.
40459 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40460 "bp-asm.h".
40461 (PARMS): Do not use macros from bp-asm.h.
40462 (BLK2): Likewise.
40463 (LEN): Likewise.
40464 (memcmp): Do not use BP_SYM.
40465 (bcmp): Do not use BP_SYM in weak_alias.
40466 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40467 "bp-asm.h".
40468 (PARMS): Do not use macros from bp-asm.h.
40469 (DEST): Likewise.
40470 (SRC): Likewise.
40471 (LEN): Likewise.
40472 (memcpy): Likewise. Do not use BP_SYM.
40473 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40474 "bp-asm.h".
40475 (PARMS): Do not use macros from bp-asm.h.
40476 (DEST): Likewise.
40477 (SRC): Likewise.
40478 (LEN): Likewise.
40479 (memmove): Likewise. Do not use BP_SYM.
40480 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40481 "bp-asm.h".
40482 (PARMS): Do not use macros from bp-asm.h.
40483 (DEST): Likewise.
40484 (SRC): Likewise.
40485 (LEN): Likewise.
40486 (__mempcpy): Likewise. Do not use BP_SYM.
40487 (mempcpy): Do not use BP_SYM in weak_alias.
40488 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40489 "bp-asm.h".
40490 (PARMS): Do not use macros from bp-asm.h.
40491 (DEST): Likewise.
40492 (LEN): Likewise.
40493 [!BZERO_P] (CHR): Likewise.
40494 (memset): Likewise. Do not use BP_SYM.
40495 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40496 "bp-asm.h".
40497 (PARMS): Do not use macros from bp-asm.h.
40498 (STR2): Likewise.
40499 (strcmp): Do not use BP_SYM.
40500 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40501 "bp-asm.h".
40502 (PARMS): Do not use macros from bp-asm.h.
40503 (STR): Likewise.
40504 (DELIM): Likewise.
40505 [USE_AS_STRTOK_R] (SAVE): Likewise.
40506 (FUNCTION): Likewise. Do not use BP_SYM.
40507 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40508 aliases.
40509 (strtok_r): Likewise.
40510 (__GI___strtok_r): Likewise.
40511 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40512 (PARMS): Do not use macros from bp-asm.h.
40513 (S): Likewise.
40514 (SIZE): Likewise.
40515 (__mpn_lshift): Do not use BP_SYM.
40516 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40517 (PARMS): Do not use macros from bp-asm.h.
40518 (STR): Likewise.
40519 (CHR): Likewise.
40520 (__memchr): Do not use BP_SYM.
40521 (memchr): Do not use BP_SYM in weak_alias.
40522 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40523 (PARMS): Do not use macros from bp-asm.h.
40524 (BLK2): Likewise.
40525 (LEN): Likewise.
40526 (memcmp): Do not use BP_SYM.
40527 (bcmp): Do not use BP_SYM in weak_alias.
40528 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40529 (PARMS): Do not use macros from bp-asm.h.
40530 (S1): Likewise.
40531 (SIZE): Likewise.
40532 (__mpn_mul_1): Do not use BP_SYM.
40533 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40534 "bp-asm.h".
40535 (PARMS): Do not use macros from bp-asm.h.
40536 (STR): Likewise.
40537 (CHR): Likewise.
40538 (__rawmemchr): Do not use BP_SYM.
40539 (rawmemchr): Do not use BP_SYM in weak_alias.
40540 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40541 (PARMS): Do not use macros from bp-asm.h.
40542 (S): Likewise.
40543 (SIZE): Likewise.
40544 (__mpn_rshift): Do not use BP_SYM.
40545 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40546 (PARMS): Do not use macros from bp-asm.h.
40547 (SIGMSK): Likewise.
40548 (__sigsetjmp): Likewise. Do not use BP_SYM.
40549 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40550 (_start): Do not use BP_SYM.
40551 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40552 (PARMS): Do not use macros from bp-asm.h.
40553 (DEST): Likewise.
40554 (SRC): Likewise.
40555 (__stpcpy): Likewise. Do not use BP_SYM.
40556 (stpcpy): Do not use BP_SYM in weak_alias.
40557 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40558 "bp-asm.h".
40559 (PARMS): Do not use macros from bp-asm.h.
40560 (DEST): Likewise.
40561 (SRC): Likewise.
40562 (LEN): Likewise.
40563 (__stpncpy): Likewise. Do not use BP_SYM.
40564 (stpncpy): Do not use BP_SYM in weak_alias.
40565 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40566 (PARMS): Do not use macros from bp-asm.h.
40567 (STR): Likewise.
40568 (CHR): Likewise.
40569 (strchr): Likewise. Do not use BP_SYM.
40570 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40571 "bp-asm.h".
40572 (PARMS): Do not use macros from bp-asm.h.
40573 (STR): Likewise.
40574 (CHR): Likewise.
40575 (__strchrnul): Likewise. Do not use BP_SYM.
40576 (strchrnul): Do not use BP_SYM in weak_alias.
40577 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40578 "bp-asm.h".
40579 (PARMS): Do not use macros from bp-asm.h.
40580 (STOP): Likewise.
40581 (strcspn): Do not use BP_SYM.
40582 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40583 "bp-asm.h".
40584 (PARMS): Do not use macros from bp-asm.h.
40585 (STR): Likewise.
40586 (STOP): Likewise.
40587 (strpbrk): Likewise. Do not use BP_SYM.
40588 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40589 "bp-asm.h".
40590 (PARMS): Do not use macros from bp-asm.h.
40591 (STR): Likewise.
40592 (CHR): Likewise.
40593 (strrchr): Likewise. Do not use BP_SYM.
40594 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40595 (PARMS): Do not use macros from bp-asm.h.
40596 (SKIP): Likewise.
40597 (strspn): Do not use BP_SYM.
40598 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40599 (PARMS): Do not use macros from bp-asm.h.
40600 (STR): Likewise.
40601 (DELIM): Likewise.
40602 (SAVE): Likewise.
40603 (FUNCTION): Likewise. Do not use BP_SYM.
40604 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40605 aliases.
40606 (strtok_r): Likewise.
40607 (__GI___strtok_r): Likewise.
40608 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40609 (PARMS): Do not use macros from bp-asm.h.
40610 (S1): Likewise.
40611 (S2): Likewise.
40612 (SIZE): Likewise.
40613 (__mpn_sub_n): Do not use BP_SYM.
40614 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40615 "bp-asm.h".
40616 (PARMS): Do not use macros from bp-asm.h.
40617 (S1): Likewise.
40618 (SIZE): Likewise.
40619 (__mpn_submul_1): Do not use BP_SYM.
40620 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40621 <bp-sym.h>.
40622 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40623 and <bp-asm.h>.
40624 (PARMS): Do not use macros from bp-asm.h.
40625 (FLAGS): Likewise.
40626 (PTID): Likewise.
40627 (TLS): Likewise.
40628 (CTID): Likewise.
40629 (__clone): Do not use BP_SYM.
40630 (clone): Do not use BP_SYM in weak_alias.
40631 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40632 and <bp-asm.h>.
40633 (PARMS): Do not use macros from bp-asm.h.
40634 (LEN): Likewise.
40635 (__mmap64): Do not use BP_SYM.
40636 (mmap64): Do not use BP_SYM in weak_alias.
40637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40638 <bp-sym.h> and <bp-asm.h>.
40639 (PARMS): Do not use macros from bp-asm.h.
40640 (__posix_fadvise64_l64): Do not use BP_SYM.
40641 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40642 (PARMS): Do not use macros from bp-asm.h.
40643 (NSOPS): Likewise.
40644 (semtimedop): Do not use BP_SYM.
40645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40646 and <bp-asm.h>.
40647
40648 2013-02-21 Allan McRae <allan@archlinux.org>
40649
40650 * manual/message.texi (Charset conversion in gettext):
40651 Move @end statement to beginning of line.
40652
40653 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40654
40655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40656 static.
40657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40658 Likewise.
40659
40660 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40661 (denorm): Likewise.
40662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40664
40665 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40666
40667 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40668 tail-call to the resolved function if pltexit isn't needed.
40669
40670 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40671
40672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40673 or Y being zero as being unlikely.
40674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40675 Likewise.
40676
40677 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40678
40679 * manual/nss.texi (System Databases and Name Service Switch):
40680 Remove frobnicate @pxref.
40681
40682 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40683
40684 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40685 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40686
40687 2013-02-20 Petr Machata <pmachata@redhat.com>
40688
40689 * elf/elf.h (R_ARM_TARGET1): New macro.
40690 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40691 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40692 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40693 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40694 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40695 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40696 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40697 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40698 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40699 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40700 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40701 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40702 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40703 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40704 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40705 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40706 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40707 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40708 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40709 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40710 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40711 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40712 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40713 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40714 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40715 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40716 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40717 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40718 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40719 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40720 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40721 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40722 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40723 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40724 (R_ARM_THM_GOT_BREL12): Likewise.
40725 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40726 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40727 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40728 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40729 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40730 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40731 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40732 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40733 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40734
40735 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40736
40737 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40738 __attribute_used__ to __attribute__ ((unused)).
40739
40740 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40741
40742 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40743 powerpc mpa.c.
40744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40745 comment formatting.
40746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40747
40748 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40749
40750 [BZ #13550]
40751 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40752 Remove macro.
40753 (ENTER): Remove both macro definitions.
40754 (LEAVE): Likewise.
40755 (CHECK_BOUNDS_LOW): Likewise.
40756 (CHECK_BOUNDS_HIGH): Likewise.
40757 (CHECK_BOUNDS_BOTH): Likewise.
40758 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40759 (RETURN_BOUNDED_POINTER): Likewise.
40760 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40761 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40762 (POP_ERRNO_LOCATION_RETURN): Likewise.
40763 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40764 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40765 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40766 macros.
40767 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40768 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40769 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40770 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40771 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40772 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40773 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40774 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40775 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40776 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40777 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40778 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40779 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40780 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40781 removed macros.
40782 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40783 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40784 macros.
40785 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40786 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40787 * sysdeps/i386/i586/memset.S (memset): Likewise.
40788 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40790 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40791 macros.
40792 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40793 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40794 Change uses of L(2) to L(out).
40795 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40796 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40797 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40798 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40799 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40800 removed macros.
40801 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40802 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40803 macros.
40804 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40805 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40806 (RETURN): Do not use macro LEAVE.
40807 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40808 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40809 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40810 * sysdeps/i386/i686/memset.S (memset): Likewise.
40811 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40812 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40813 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40814 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40815 Likewise.
40816 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40817 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40818 L(1_2) and L(1_3) into L(1).
40819 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40820 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40821 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40822 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40823 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40824 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40825 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40826 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40827 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40828 macros.
40829 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40830 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40831 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40832 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40833 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40834 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40835 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40836 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40837 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40838 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40839 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40840 * sysdeps/i386/strspn.S (strspn): Likewise.
40841 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40842 conditional code.
40843 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40844 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40845 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40846 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40847 L(1_3) into L(1_1).
40848 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40849 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40850 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40851 macros.
40852 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40853
40854 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40855
40856 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40857 macro.
40858
40859 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40860
40861 * math/atest-exp.c (exp_mpn): Remove ROUND.
40862 * math/atest-exp2.c (exp_mpn): Likewise.
40863 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40864
40865 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40866 * stdlib/tst-tls-atexit-lib.c: Likewise.
40867 * stdlib/tst-tls-atexit.c: Likewise.
40868
40869 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40870
40871 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40872 and __attribute_alloc_size__.
40873
40874 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40875
40876 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40877 __attribute_alloc_size__.
40878 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40879 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40880
40881 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40882
40883 * include/programs/xmalloc.h: New file.
40884 * catgets/gencat.c: Include it.
40885 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40886 * elf/pldd.c: Likewise.
40887 * iconv/iconv_charmap.c: Likewise.
40888 * iconv/iconvconfig.c: Likewise.
40889 * iconv/strtab.c: Likewise.
40890 * locale/programs/locale.c: Likewise.
40891 * locale/programs/localedef.h: Likewise.
40892 * locale/programs/simple-hash.c: Likewise.
40893 * nscd/nscd.h: Likewise.
40894 * nss/makedb.c: Likewise.
40895 * sysdeps/generic/ldconfig.h: Likewise.
40896
40897 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40898
40899 * Versions.def: Add GLIBC_2.18.
40900 * include/link.h (struct link_map): New member l_tls_dtor_count.
40901 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40902 (__call_tls_dtors): Likewise.
40903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40904 __cxa_thread_atexit_impl.
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40906 Likewise.
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40908 Likewise.
40909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40910 Likewise.
40911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40912 Likewise.
40913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40915 Likewise.
40916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40917 Likewise.
40918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40920 Likewise.
40921 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40922 (tests): Add test case tst-tls-atexit.
40923 (modules-names): Add shared library for tst-tls-atexit.
40924 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40925 (GLIBC_PRIVATE): Add __call_tls_dtors.
40926 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40927 for libstdc++.
40928 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40929 * stdlib/tst-tls-atexit.c: New test case.
40930 * stdlib/tst-tls-atexit-lib.c: New test case.
40931
40932 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40933
40934 * elf/Versions (ld): Add _dl_find_dso_for_object.
40935 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40936 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40937 (dl_open_worker): Use _dl_find_dso_for_object.
40938 * elf/dl-sym.c (do_sym): Likewise.
40939 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40940
40941 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40942
40943 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40944 Syntactic changes only.
40945 (_dl_runtime_profile): Do a tail-call to the resolved function.
40946
40947 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40948
40949 [BZ #13550]
40950 * sysdeps/x86_64/bp-asm.h: Remove file.
40951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40952 <bp-sym.h> and <bp-asm.h>.
40953 (__clone): Do not use BP_SYM.
40954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40955 <bp-sym.h> and <bp-asm.h>.
40956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40957 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40958 "bp-asm.h".
40959 (_setjmp): Do not use BP_SYM.
40960 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40961 "bp-asm.h".
40962 (setjmp): Do not use BP_SYM.
40963 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40964 libc_hidden_def.
40965 (mempcpy): Do not use BP_SYM in weak_alias.
40966 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40967 "bp-asm.h".
40968 (strchr): Do not use BP_SYM.
40969 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40970 "bp-asm.h".
40971 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40972 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40973 (_start): Do not use BP_SYM.
40974 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40975 "bp-asm.h".
40976 (strcat): Do not use BP_SYM.
40977 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40978 "bp-asm.h".
40979 (STRCMP): Do not use BP_SYM.
40980 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40981 "bp-asm.h".
40982 (STRCPY): Do not use BP_SYM.
40983 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40984 "bp-asm.h".
40985 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40986 "bp-asm.h".
40987 (FUNCTION): Do not use BP_SYM.
40988 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40989 weak_alias.
40990 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40991
40992 2013-02-17 Andreas Jaeger <aj@suse.de>
40993
40994 * time/Versions: Sort entries.
40995 * string/Versions: Likewise.
40996 * resolv/Versions: Likewise.
40997 * posix/Versions: Likewise.
40998 * iconv/Versions: Likewise.
40999 * elf/Versions: Likewise.
41000 * wcsmbs/Versions: Likewise.
41001
41002 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41003
41004 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41005 loop termination condition.
41006
41007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41008 variable to calculate EZ.
41009 (__sqr): Likewise.
41010
41011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41012 the lower precision input.
41013
41014 2013-02-15 Joseph Myers <joseph@codesourcery.com>
41015
41016 [BZ #13550]
41017 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41018 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41019 (run-via-rtld-prefix): Do not handle %-bp tests.
41020 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41021 (all-object-suffixes): Remove .ob.
41022 (bppfx): Remove variable.
41023 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41024 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41025 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41026 [$(build-bounded) = yes] (libtype.ob): Likewise.
41027 * Makerules (elide-routines.ob): Remove variable.
41028 (do-tests-clean): Do not handle *-bp.out.
41029 (common-mostlyclean): Do not handle *-bp and *-bp.out.
41030 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41031 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41032 (tests): Do not include $(tests-bp.out).
41033 (xtests): Do not include $(xtests-bp.out).
41034 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41035 [$(build-bounded) = yes] ($(addprefix
41036 $(objpfx),$(binaries-bounded))): Remove rule.
41037 ($(objpfx)%-bp.out): Remove rule.
41038 * config.make.in (build-bounded): Remove variable.
41039 * crypt/Makefile [$(build-bounded) = yes]
41040 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41041 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41042 append to variable.
41043 [$(build-bounded) = yes] (install-lib): Likewise.
41044 [$(build-bounded) = yes] (generated): Likewise.
41045 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41046 Remove rule.
41047 * intl/Makefile [$(build-bounded) = yes]
41048 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41049 * math/Makefile [$(build-bounded) = yes]
41050 ($(tests:%=$(objpfx)%-bp): Likewise.
41051 * misc/Makefile [$(build-bounded) = yes]
41052 ($(objpfx)tst-tsearch-bp): Likewise.
41053 * nptl/Makeconfig (bounded-thread-library): Remove variable.
41054 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41055 Remove dependency.
41056 * string/Makefile (o-objects.ob): Remove variable.
41057 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41058 (CFLAGS-.ob): Remove variable.
41059 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41060 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41061 both definitions of variable.
41062 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41063 (ASFLAGS-.ob): Remove variable.
41064
41065 2013-02-14 Joseph Myers <joseph@codesourcery.com>
41066
41067 [BZ #13550]
41068 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41069 Remove __BOUNDED_POINTERS__ from condition.
41070 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41071 * string/bits/string2.h [!__NO_STRING_INLINES &&
41072 !__BOUNDED_POINTERS__]: Likewise.
41073 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41074 Likewise.
41075 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41076 Remove conditional code.
41077 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41078 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41079 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41080 condition.
41081
41082 [BZ #13550]
41083 * csu/libc-start.c: Do not include <bp-sym.h>.
41084 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41085 * elf/dl-open.c: Do not include <bp-sym.h>.
41086 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41087 * math/fegetenv.c: Do not include <bp-sym.h>.
41088 (fegetenv): Do not use BP_SYM in versioned symbols.
41089 * nptl/sysdeps/pthread/bits/libc-lockP.h
41090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41091 <bp-sym.h>.
41092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41093 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41095 (__pthread_mutex_destroy): Likewise.
41096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41097 (__pthread_mutex_lock): Likewise.
41098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41099 (__pthread_mutex_trylock): Likewise.
41100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41101 (__pthread_mutex_unlock): Likewise.
41102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41103 (__pthread_mutexattr_init): Likewise.
41104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41105 (__pthread_mutexattr_destroy): Likewise.
41106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41107 (__pthread_mutexattr_settype): Likewise.
41108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41109 (__pthread_rwlock_init): Likewise.
41110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41111 (__pthread_rwlock_destroy): Likewise.
41112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41113 (__pthread_rwlock_rdlock): Likewise.
41114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41115 (__pthread_rwlock_tryrdlock): Likewise.
41116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41117 (__pthread_rwlock_wrlock): Likewise.
41118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41119 (__pthread_rwlock_trywrlock): Likewise.
41120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41121 (__pthread_rwlock_unlock): Likewise.
41122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41123 (__pthread_key_create): Likewise.
41124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41125 (__pthread_setspecific): Likewise.
41126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41127 (__pthread_getspecific): Likewise.
41128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41129 Likewise.
41130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41131 (_pthread_cleanup_push_defer): Likewise.
41132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41133 (_pthread_cleanup_pop_restore): Likewise.
41134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41135 (pthread_setcancelstate): Likewise.
41136 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41137 <bp-sym.h>.
41138 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41139 (memchr): Do not use BP_SYM in weak_alias.
41140 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41141 (fegetenv): Do not use BP_SYM in versioned symbols.
41142 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41143 (fesetenv): Do not use BP_SYM in versioned symbols.
41144 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41145 (feupdateenv): Do not use BP_SYM in versioned symbols.
41146 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41147 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41148 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41149 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41150 (open64): Do not use BP_SYM in weak_alias.
41151 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41152 (fegetenv): Do not use BP_SYM in versioned symbols.
41153 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41154 (fesetenv): Do not use BP_SYM in versioned symbols.
41155 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41156 (feupdateenv): Do not use BP_SYM in versioned symbols.
41157 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41158 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41159 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41160 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41161 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41162 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41163 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41164 <bp-sym.h>.
41165 (__libc_start_main): Do not use BP_SYM.
41166
41167 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41168
41169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41170 redundant return line.
41171 (norm): Likewise.
41172 (denorm): Likewise.
41173 (dbl_mp): Likewise.
41174 (sub_magnitudes): Likewise.
41175 (__add): Likewise.
41176 (__sub): Likewise.
41177 (__mul): Likewise.
41178 (__inv): Likewise.
41179 (__dvd): Likewise.
41180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41181 (norm): Likewise.
41182 (denorm): Likewise.
41183 (dbl_mp): Likewise.
41184 (sub_magnitudes): Likewise.
41185 (__add): Likewise.
41186 (__sub): Likewise.
41187 (__mul): Likewise.
41188 (__inv): Likewise.
41189 (__dvd): Likewise.
41190
41191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41192 instead of __mul.
41193 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41194 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41195 (cc32): Likewise.
41196
41197 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41198 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41200 of __mul for squares.
41201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41202 function
41203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41204 Likewise.
41205 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41206 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41207
41208 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41209
41210 [BZ #13550]
41211 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41212 code.
41213 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41214 prototype or function definition. Rename ubp_* variables and
41215 parameters. Remove argv definitions conditional on
41216 [__BOUNDED_POINTERS__].
41217 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41218 * elf/dl-runtime.c (_dl_fixup): Likewise.
41219 * include/set-hooks.h (RUN_HOOK): Likewise.
41220 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41221 definition.
41222 * string/strcpy.c (strcpy): Do not use __unbounded.
41223 * sysdeps/generic/frame.h (struct layout): Likewise.
41224 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41225 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41226 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41227 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41228 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41229 (__backtrace): Likewise.
41230 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41231 use __ptrvalue.
41232 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41233 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41234 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41235 Likewise.
41236 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41237 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41238 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41239 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41240 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41241 Do not use __unbounded.
41242 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41243 Rename __unboundedrlimits parameter to rlimits in prototype.
41244 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41245 Do not use __unbounded.
41246 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41247 not use __ptrvalue.
41248 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41249 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41250 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41251 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41252 __ptrvalue or __unbounded.
41253 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41254 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41255 use __unbounded.
41256 (__new_msgctl): Do not use __ptrvalue.
41257 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41258 __unbounded.
41259 (__libc_msgrcv): Do not use __ptrvalue.
41260 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41261 startup_info): Do not use __unbounded.
41262 (__libc_start_main): Likewise. Rename ubp_* variables and
41263 parameters. Remove argv definitions conditional on
41264 [__BOUNDED_POINTERS__].
41265 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41266 __ptrvalue.
41267 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41268 use __unbounded.
41269 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41270 or __ptrvalue.
41271 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41272 use __unbounded.
41273 (__new_shmctl): Do not use __ptrvalue.
41274 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41275 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41276 Likewise.
41277 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41279 (__libc_sigaction): Likewise.
41280 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41281 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41282 Likewise.
41283 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41284
41285 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41286
41287 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41288
41289 * string/mempcpy.c: Implement by calling memcpy.
41290
41291 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41292
41293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41294
41295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41296 evaluation.
41297
41298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41299 values in the mantissa.
41300
41301 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41302 minimize writes to Z.
41303 (sub_magnitudes): Simplify code a bit.
41304
41305 2013-02-12 Roland McGrath <roland@hack.frob.com>
41306
41307 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41308 from the message. The linker prefixes all warnings with that already.
41309
41310 2013-02-12 Andreas Schwab <schwab@suse.de>
41311
41312 [BZ #15078]
41313 * posix/regexec.c (extend_buffers): Add parameter min_len.
41314 (check_matching): Pass minimum needed length.
41315 (clean_state_log_if_needed): Likewise.
41316 (get_subexp): Likewise.
41317 * posix/Makefile (tests): Add bug-regex34.
41318 (bug-regex34-ENV): Define.
41319 * posix/bug-regex34.c: New file.
41320
41321 [BZ #11561]
41322 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41323 elements compare against the byte sequence of it, not its name.
41324 * posix/Makefile (tests): Add bug-regex35.
41325 (bug-regex35-ENV): Define.
41326 * posix/bug-regex35.c: New file.
41327
41328 2013-02-11 Tom de Vries <tom@codesourcery.com>
41329
41330 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41331 comment.
41332 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41333 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41334 (CHECK_EOL): Add undef.
41335
41336 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41337
41338 * bits/stdlib-bsearch.h: New file.
41339 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41340 * stdlib/stdlib.h: Likewise.
41341
41342 2013-02-11 Roland McGrath <roland@hack.frob.com>
41343
41344 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41345 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41346 declaration.
41347 * manual/search.texi (Array Search Function): Add missing const in
41348 lfind prototype.
41349 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41350 declaration to use rlim_t.
41351 (Basic Scheduling Functions): Remove erroneous const from
41352 sched_getparam prototype. Remove erroneous * from
41353 sched_get_priority_max and sched_get_priority_min prototypes.
41354 (Resource Usage): Fix summary @comment on vtimes to refer to
41355 sys/vtimes.h rather than vtimes.h.
41356 Add missing *s in vtimes prototype.
41357 (Limits on Resources): Fix ulimit prototype to return long int.
41358 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41359 prototypes to use long int rather than double.
41360 (BSD Random): Fix initstate and setstate to use char *, not void *.
41361 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41362 prototype to make second argument 'struct aiocb64 *const[]'.
41363 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41364 (Status of AIO Operations): Remove erroneous const in aio_return and
41365 aio_return64 prototypes.
41366 (Synchronizing I/O): Fix sync prototype to return void.
41367 * manual/startup.texi (Suboptions): Remove an erroneous const in
41368 getsubopt prototype.
41369 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41370 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41371 use size_t rather than int.
41372 (Scanning All Users): Likewise for getpwent_r.
41373 (Setting Groups): Add missing const to setgroups prototype.
41374 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41375 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41376 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41377 'const void *' rather than 'const char *'.
41378 (Host Address Functions): Likewise for inet_ntop.
41379 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41380 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41381 ssize_t for return value.
41382 (Sending Data): Likewise for send, sendto, sendmsg.
41383 (Socket Option Functions): Add a missing const in setsockopt prototype.
41384 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41385 use wchar_t for the argument.
41386 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41387 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41388 take no arguments.
41389 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41390 double/float/long double for second argument.
41391 Fix return types of significand, significandf, significandl.
41392 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41393 argument in fchmod prototype.
41394 (File Owner): Use uid_t and gid_t in fchown prototype.
41395 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41396 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41397 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41398 use 'const struct dirent **' as argument types to CMP function pointer
41399 argument.
41400 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41401 (File Times): Fix summary magic @comment for struct utimbuf and utime
41402 to refer to utime.h, not time.h.
41403 * manual/string.texi (Argz Functions): Add missing const in
41404 argz_extract and argz_next prototypes.
41405 (Finding Tokens in a String): Likewise for basename.
41406 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41407 (Copying and Concatenation): Fix typo in wmemmove prototype.
41408 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41409 (Signal Stack): Remove erroneous const in sigstack prototype.
41410 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41411 prototype.
41412 (Simple Calendar Time): Likewise for stime.
41413 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41414 prototype.
41415 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41416 say sys/sysctl.h instead.
41417 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41418 and vsyslog prototypes.
41419
41420 2013-02-11 Tom de Vries <tom@codesourcery.com>
41421
41422 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41423 Remove.
41424
41425 2013-02-11 Roland McGrath <roland@hack.frob.com>
41426
41427 * misc/sys/mman.h: Fix typo in mremap comment.
41428
41429 2013-02-08 Roland McGrath <roland@hack.frob.com>
41430
41431 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41432 the '\0' terminator.
41433
41434 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41435
41436 [BZ #13550]
41437 * debug/segfault.c: Don't include <bp-checks.h>.
41438 * sysdeps/generic/bp-checks.h: Remove file.
41439 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41440 (__GETDENTS): Don't use CHECK_N.
41441 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41442 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41443 (__getgroups): Don't use CHECK_N.
41444 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41445 (setgroups): Don't use CHECK_N.
41446 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41447 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41448 (__libc_msgrcv): Don't use CHECK_N.
41449 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41450 (__libc_msgsnd): Don't use CHECK_N.
41451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41452 <bp-checks.h>.
41453 (__libc_pread): Don't use CHECK_N.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41455 include <bp-checks.h>.
41456 (__libc_pread64): Don't use CHECK_N.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41458 include <bp-checks.h>.
41459 (__libc_pwrite): Don't use CHECK_N.
41460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41461 include <bp-checks.h>.
41462 (__libc_pwrite64): Don't use CHECK_N.
41463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41464 <bp-checks.h>.
41465 (__libc_pread): Don't use CHECK_N.
41466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41467 include <bp-checks.h>.
41468 (__libc_pread64): Don't use CHECK_N.
41469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41470 include <bp-checks.h>.
41471 (__libc_pwrite): Don't use CHECK_N.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41473 include <bp-checks.h>.
41474 (__libc_pwrite64): Don't use CHECK_N.
41475 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41476 (do_pread): Don't use CHECK_N.
41477 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41478 (do_pread64): Don't use CHECK_N.
41479 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41480 (do_pwrite): Don't use CHECK_N.
41481 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41482 (do_pwrite64): Don't use CHECK_N.
41483 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41484 (__libc_readv): Don't use CHECK_N.
41485 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41486 (semop): Don't use CHECK_N.
41487 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41488 <bp-checks.h>.
41489 (semtimedop): Don't use CHECK_N.
41490 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41491 (__libc_pread): Don't use CHECK_N.
41492 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41493 <bp-checks.h>.
41494 (__libc_pread64): Don't use CHECK_N.
41495 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41496 <bp-checks.h>.
41497 (__libc_pwrite): Don't use CHECK_N.
41498 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41499 <bp-checks.h>.
41500 (__libc_pwrite64): Don't use CHECK_N.
41501 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41502 <bp-checks.h>.
41503 (__libc_msgrcv): Don't use CHECK_N.
41504 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41505 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41506 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41507 (__libc_writev): Don't use CHECK_N.
41508
41509 2013-02-08 Roland McGrath <roland@hack.frob.com>
41510
41511 * string/strcpy.c: Removed unused variable.
41512
41513 * Makeconfig (+sysdep-includes): Define with := rather than =.
41514 Use an existing include/ subdir of each sysdeps dir before it.
41515
41516 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41517
41518 * nscd/connection.c (register_traced_file): Comment function.
41519 [HAVE_INOTIFY] (union __inev): Define.
41520 [HAVE_INOTIFY] (inotify_check_files): New function.
41521 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41522 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41523 clear_db_cache.
41524 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41525
41526 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41527
41528 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41529 loaded if not already and that a failure is permanent.
41530
41531 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41532
41533 [BZ #15006]
41534 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41535 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41536
41537 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41538
41539 [BZ #13550]
41540 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41541 (CHECK_1_NULL_OK): Likewise.
41542 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41543 (__fxstat): Do not use CHECK_1.
41544 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41545 <bp-checks.h>.
41546 (___fxstat64): Do not use CHECK_1.
41547 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41548 <bp-checks.h>.
41549 (__fxstatat): Do not use CHECK_1.
41550 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41551 <bp-checks.h>.
41552 (__fxstatat64): Do not use CHECK_1.
41553 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41554 <bp-checks.h>.
41555 (__fxstat): Do not use CHECK_1.
41556 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41557 <bp-checks.h>.
41558 (__fxstatat): Do not use CHECK_1.
41559 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41560 <bp-checks.h>.
41561 (__getresgid): Do not use CHECK_1.
41562 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41563 <bp-checks.h>.
41564 (__getresuid): Do not use CHECK_1.
41565 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41566 <bp-checks.h>.
41567 (__lxstat): Do not use CHECK_1.
41568 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41569 <bp-checks.h>.
41570 (__old_msgctl): Do not use CHECK_1.
41571 (__new_msgctl): Likewise.
41572 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41573 <bp-checks.h>.
41574 (__new_setrlimit): Do not use CHECK_1.
41575 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41576 <bp-checks.h>.
41577 (__old_shmctl): Do not use CHECK_1.
41578 (__new_shmctl): Likewise.
41579 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41580 <bp-checks.h>.
41581 (__xstat): Do not use CHECK_1.
41582 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41583 (__lxstat): Do not use CHECK_1.
41584 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41585 <bp-checks.h>.
41586 (___lxstat64): Do not use CHECK_1.
41587 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41588 (__old_msgctl): Do not use CHECK_1.
41589 (__new_msgctl): Likewise.
41590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41591 <bp-checks.h>.
41592 (__gettimeofday): Do not use CHECK_1.
41593 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41594 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41596 <bp-checks.h>.
41597 (__gettimeofday): Do not use CHECK_1.
41598 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41599 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41600 (__new_shmctl): Do not use CHECK_1.
41601 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41602 <bp-checks.h>.
41603 (do_sigtimedwait): Do not use CHECK_1.
41604 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41605 <bp-checks.h>.
41606 (do_sigwaitinfo): Do not use CHECK_1.
41607 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41608 <bp-checks.h>.
41609 (msgctl): Do not use CHECK_1.
41610 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41611 <bp-checks.h>.
41612 (shmctl): Do not use CHECK_1.
41613 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41614 (ustat): Do not use CHECK_1.
41615 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41616 <bp-checks.h>.
41617 (__fxstat): Do not use CHECK_1.
41618 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41619 <bp-checks.h>.
41620 (__fxstatat): Do not use CHECK_1.
41621 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41622 <bp-checks.h>.
41623 (__lxstat): Do not use CHECK_1.
41624 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41625 <bp-checks.h>.
41626 (__xstat): Do not use CHECK_1.
41627 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41628 (__xstat): Do not use CHECK_1.
41629 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41630 (___xstat64): Do not use CHECK_1.
41631
41632 [BZ #13550]
41633 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41634 definitions.
41635 (CHECK_BOUNDS_HIGH): Likewise.
41636 * string/strcpy.c: Do not include <bp-checks.h>.
41637 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41638
41639 2013-02-07 Roland McGrath <roland@hack.frob.com>
41640
41641 * nscd/nscd-client.h (__nscd_drop_map_ref):
41642 Add __attribute__ ((unused)).
41643 * nis/nss-nisplus.h (niserr2nss): Likewise.
41644
41645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41646 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41647
41648 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41649 Remove inline keyword.
41650 * include/rounding-mode.h (round_away): Likewise.
41651 * libio/wfileops.c (adjust_wide_data): Likewise.
41652 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41653 (__m128i_strloadu_tolower): Likewise.
41654 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41655 (__m128i_strloadu_tolower): Likewise.
41656 * time/mktime.c (ydhms_diff): Likewise.
41657 * locale/elem-hash.h (elem_hash): Likewise.
41658 * locale/setlocale.c (setdata): Likewise.
41659 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41660 (re_string_wchar_at): Likewise.
41661 (bitset_not, bitset_merge, bitset_mask): Likewise.
41662 [!(__GNUC__ > 3)] (inline): Remove macro.
41663 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41664 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41665 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41666 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41667 * string/memcmp.c (memcmp_bytes): Likewise.
41668 * locale/programs/locarchive.c (compute_hashval): Likewise.
41669 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41670 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41671 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41672 * nss/getent.c (print_rpc, print_protocols): Likewise.
41673 (print_passwd, print_group, print_aliases): Likewise.
41674 * nis/nss-nisplus.h (niserr2nss): Likewise.
41675 * nscd/connections.c (restart_p): Likewise.
41676 Change return type to bool.
41677
41678 2013-02-05 Roland McGrath <roland@hack.frob.com>
41679
41680 * Makeconfig (all-Depend-files): Add existing
41681 $(sorted-subdirs:=/Depend) files.
41682 (all-subdirs): Remove nss.
41683 * sysdeps/unix/inet/Subdirs: Add it here instead.
41684 * hesiod/Depend: New file.
41685
41686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41687 instead of calling alloca.
41688
41689 * io/lseek.c (__lseek): Rename to __libc_lseek.
41690 Define __lseek as an alias.
41691
41692 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41693
41694 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41695
41696 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41697 else clause and remove check for non-standard endianness.
41698
41699 2013-02-04 David S. Miller <davem@davemloft.net>
41700
41701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41702
41703 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41704
41705 [BZ #13550]
41706 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41707 (__ubp_memchr): Remove prototype.
41708 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41709 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41710 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41711 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41712 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41713 Remove alias.
41714 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41715 (__ubp_memchr): Likewise.
41716 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41717 (__ubp_memchr): Likewise.
41718 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41719 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41720 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41721 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41722 CHECK_STRING.
41723 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41724 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41725 (__getcwd): Do not use CHECK_STRING.
41726 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41727 <bp-checks.h>.
41728 (__real_chown): Do not use CHECK_STRING.
41729 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41730 <bp-checks.h>.
41731 (fchownat): Do not use CHECK_STRING.
41732 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41733 CHECK_STRING.
41734 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41735 <bp-checks.h>.
41736 (__lchown): Do not use CHECK_STRING.
41737 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41738 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41739 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41740 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41742 include <bp-checks.h>.
41743 (truncate64): Do not use CHECK_STRING.
41744 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41745 <bp-checks.h>.
41746 (__real_chown): Do not use CHECK_STRING.
41747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41748 <bp-checks.h>.
41749 (__lchown): Do not use CHECK_STRING.
41750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41751 <bp-checks.h>.
41752 (__chown): Do not use CHECK_STRING.
41753 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41754 <bp-checks.h>.
41755 (truncate64): Do not use CHECK_STRING.
41756 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41757 Likewise.
41758 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41759 (__xmknod): Do not use CHECK_STRING.
41760 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41761 <bp-checks.h>.
41762 (__xmknodat): Do not use CHECK_STRING.
41763 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41764 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41765
41766 2013-02-04 Andreas Schwab <schwab@suse.de>
41767
41768 [BZ #14142]
41769 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41770 * include/netdb.h: Likewise for h_errno.
41771 * elf/tst-stackguard1.c: Include <tls.h>.
41772
41773 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41774
41775 * elf/link.h (struct link_map): Extend the l_addr comment.
41776 * include/link.h (struct link_map): Likewise.
41777
41778 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41779
41780 [BZ #13550]
41781 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41782 (BOUNDED_1): Remove macro.
41783 * debug/backtrace.c: Don't include <bp-checks.h>.
41784 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41785 (__backtrace): Likewise.
41786 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41787 <bp-checks.h>.
41788 (__backtrace): Don't use BOUNDED_1.
41789 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41790 <bp-checks.h>.
41791 (__backtrace): Don't use BOUNDED_1.
41792 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41793 (__backtrace): Don't use BOUNDED_1.
41794 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41795 (shmat): Don't use BOUNDED_N.
41796
41797 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41798
41799 [BZ #13550]
41800 * sysdeps/generic/bp-start.h: Remove file.
41801 * csu/libc-start.c: Don't include <bp-start.h>.
41802 (LIBC_START_MAIN): Set up __environ directly instead of using
41803 INIT_ARGV_and_ENVIRON.
41804 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41805 <bp-start.h>.
41806
41807 [BZ #13550]
41808 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41809 definitions.
41810 (CHECK_FCNTL): Likewise.
41811 (CHECK_N_PAGES): Likewise.
41812
41813 [BZ #13550]
41814 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41815 definitions.
41816 (CHECK_SIGSET_NULL_OK): Likewise.
41817 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41818 <bp-checks.h>.
41819 (sigpending): Don't use CHECK_SIGSET.
41820 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41821 <bp-checks.h>.
41822 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41823 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41824 <bp-checks.h>.
41825 (do_sigsuspend): Don't use CHECK_SIGSET.
41826 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41827 use CHECK_SIGSET.
41828 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41829 (do_sigwait): Don't use CHECK_SIGSET.
41830 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41831 use CHECK_SIGSET.
41832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41833 include <bp-checks.h>.
41834 (sigpending): Don't use CHECK_SIGSET.
41835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41836 include <bp-checks.h>.
41837 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41838 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41839 <bp-checks.h>.
41840 (sigpending): Don't use CHECK_SIGSET.
41841 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41842 <bp-checks.h>.
41843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41844
41845 [BZ #13550]
41846 * sysdeps/generic/bp-semctl.h: Remove file.
41847 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41848 <bp-checks.h> and <bp-semctl.h>.
41849 (__old_semctl): Don't use CHECK_SEMCTL.
41850 (__new_semctl): Likewise.
41851 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41852 and <bp-semctl.h>.
41853 (__old_semctl): Don't use CHECK_SEMCTL.
41854 (__new_semctl): Likewise.
41855 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41856 <bp-checks.h> and <bp-semctl.h>.
41857 (__old_semctl): Don't use CHECK_SEMCTL.
41858 (__new_semctl): Likewise.
41859 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41860 <bp-checks.h> and <bp-semctl.h>.
41861 (semctl): Don't use CHECK_SEMCTL.
41862
41863 [BZ #13550]
41864 * Makerules (elide-bp-thunks): Remove variable.
41865 (elide-routines.oS): Don't use $(elide-bp-thunks).
41866 (elide-routines.os): Likewise.
41867 (elide-routines.o): Likewise.
41868 (elide-routines.op): Likewise.
41869 (elide-routines.og): Likewise.
41870 (objects): Don't use $(bp-thunks).
41871 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41872 include.
41873 (common-generated): Do not add s-proto-bp.d.
41874 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41875 (int): Likewise.
41876 (typ): Likewise.
41877 Do not generate makefile rules for bounded-pointer thunks.
41878 * sysdeps/generic/bp-thunks.h: Remove file.
41879 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41880 * sysdeps/unix/s-proto-bp.S: Likewise.
41881
41882 [BZ #15062]
41883 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41884 parts of result separately when argument is not close to line from
41885 -i to i and one part of argument is small.
41886 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41887 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41888 * math/libm-test.inc (cacos_test): Add more tests.
41889 (casin_test): Likewise.
41890 (casinh_test): Likewise.
41891 * sysdeps/i386/fpu/libm-test-ulps: Update.
41892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41893
41894 2013-01-31 David S. Miller <davem@davemloft.net>
41895
41896 * po/de.po: Update from translation team.
41897
41898 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41899
41900 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41901
41902 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41903
41904 * configure.in (_AC_PROG_CC_C89): New definition.
41905 * configure: Regenerate.
41906
41907 * configure.in (AC_PROG_CPP): New definition.
41908 * configure: Regenerate.
41909
41910 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41911
41912 * debug/tst-backtrace.h: New file.
41913 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41914 (ret): Remove variable.
41915 (x): Likewise.
41916 (FAIL): Remove macro.
41917 (NO_INLINE): Likewise.
41918 (fn1): Use match function instead of strstr.
41919 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41920 (ret): Remove variable.
41921 (x): Likewise.
41922 (FAIL): Remove macro.
41923 (NO_INLINE): Likewise.
41924 (fn): Use match function instead of strstr.
41925 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41926 (ret): Remove variable.
41927 (x): Likewise.
41928 (FAIL): Remove macro.
41929 (NO_INLINE): Likewise.
41930 (handle_signal): Use match function instead of strstr.
41931 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41932 (ret): Remove variable.
41933 (x): Likewise.
41934 (FAIL): Remove macro.
41935 (NO_INLINE): Likewise.
41936 (handle_signal): Use match function instead of strstr.
41937
41938 2013-01-23 Roland McGrath <roland@hack.frob.com>
41939
41940 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41941
41942 2013-01-23 David S. Miller <davem@davemloft.net>
41943
41944 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41945 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41946 argument of CAS if possible.
41947 * sysdeps/sparc/sparc64/bits/atomic.h
41948 (__arch_compare_and_exchange_val_32_acq): Likewise.
41949 (__arch_compare_and_exchange_val_64_acq): Likewise.
41950
41951 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41952
41953 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41954 * sysdeps/posix/ulimit.c: ... this.
41955 Include <limits.h>.
41956 * sysdeps/unix/bsd/ulimit.c: Remove file.
41957
41958 2013-01-23 Adam Conrad <adconrad@0c3.net>
41959
41960 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41961 (LDFLAGS-tst-array5): Likewise.
41962
41963 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41964
41965 [BZ #15036]
41966 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41967 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41968 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41969 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41970
41971 2013-01-21 David S. Miller <davem@davemloft.net>
41972
41973 * sysdeps/sparc/backtrace.c: New file.
41974 * sysdeps/sparc/sparc32/backtrace.h: New file.
41975 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41976 * sysdeps/sparc/sparc64/backtrace.h: New file.
41977 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41978 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41979 -funwind-tables.
41980
41981 2013-01-21 Andreas Schwab <schwab@suse.de>
41982
41983 [BZ #15020]
41984 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41985 closed its stdout.
41986
41987 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41988
41989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41990 "mpa2.h".
41991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41992
41993 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41994 Mark Mitchell <mark@codesourcery.com>
41995 Tom de Vries <tom@codesourcery.com>
41996 Paul Pluzhnikov <ppluzhnikov@google.com>
41997
41998 * debug/tst-backtrace2.c: New file.
41999 * debug/tst-backtrace3.c: Likewise.
42000 * debug/tst-backtrace4.c: Likewise.
42001 * debug/tst-backtrace5.c: Likewise.
42002 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42003 (CFLAGS-tst-backtrace3.c): Likewise.
42004 (CFLAGS-tst-backtrace4.c): Likewise.
42005 (CFLAGS-tst-backtrace5.c): Likewise.
42006 (LDFLAGS-tst-backtrace2): Likewise.
42007 (LDFLAGS-tst-backtrace3): Likewise.
42008 (LDFLAGS-tst-backtrace4): Likewise.
42009 (LDFLAGS-tst-backtrace5): Likewise.
42010 (tests): Add new tests tst-backtrace2, tst-backtrace3,
42011 tst-backtrace4 and tst-backtrace5.
42012
42013 2013-01-18 Anton Blanchard <anton@samba.org>
42014 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42015
42016 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42017 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42019 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42021 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42022 "+r" and remove output regs list as redundant. Add explicit inline
42023 asm to specify register of return val to work around compiler codegen
42024 bug. Remove (int) cast on return value. Add return type parameter to
42025 use in macro so that this macro does not truncate return value for
42026 64-bit values.
42027 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42028 pass to INTERNAL_VSYSCALL_NCS.
42029 (INLINE_VSYSCALL): Add 'long int' as return type to
42030 INTERNAL_VSYSCALL_NCS macro invocation.
42031 (INTERNAL_VSYSCALL): Add 'long int' as return type to
42032 INTERNAL_VSYSCALL_NCS macro invocation.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42034
42035 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42036
42037 [BZ #14496]
42038 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42039 Fix application of SIMD FP exception mask.
42040
42041 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42042 mp_no from a power of two.
42043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42044 __mpexp_twomm1. Use __pow_mp.
42045
42046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42047 multiplication.
42048
42049 2013-01-17 David S. Miller <davem@davemloft.net>
42050
42051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42052
42053 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42054
42055 [BZ #15023]
42056 * include/complex.h: Condition contents on [!_COMPLEX_H].
42057 (__kernel_casinhf): New prototype.
42058 (__kernel_casinh): Likewise.
42059 (__kernel_casinhl): Likewise.
42060 * math/Makefile (libm_calls): Add k_casinh.
42061 * math/k_casinh.c: New file.
42062 * math/k_casinhf.c: Likewise.
42063 * math/k_casinhl.c: Likewise.
42064 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42065 finite nonzero arguments.
42066 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42067 finite nonzero arguments.
42068 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42069 finite nonzero arguments.
42070 * math/s_casinh.c: Do not include <float.h>.
42071 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42072 * math/s_casinhf.c: Do not include <float.h>.
42073 (__casinhf): Move code for finite nonzero arguments to
42074 k_casinhf.c.
42075 * math/s_casinhl.c: Do not include <float.h>.
42076 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42077 redefine.
42078 (__casinhl): Move code for finite nonzero arguments to
42079 k_casinhl.c.
42080 * math/libm-test.inc (cacos_test): Add more tests.
42081 * sysdeps/i386/fpu/libm-test-ulps: Update.
42082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42083
42084 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42085
42086 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42087 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42088 [!HAVE_MREMAP]: Remove [defined linux] case.
42089 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42090
42091 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42092
42093 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42094
42095 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42096
42097 * elf/elf.h (R_386_SIZE32): New relocation.
42098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42099 R_386_SIZE32.
42100 (elf_machine_rela): Likewise.
42101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42102 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42103
42104 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42105
42106 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42107 (FP_FAST_FMA): Do not define.
42108 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42109 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42110 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42111 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42112 !_SOFT_FLOAT]: Likewise.
42113 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42115 value.
42116 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42117 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42120 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42121 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42122 file.
42123
42124 2013-01-16 Andreas Schwab <schwab@suse.de>
42125
42126 [BZ #14327]
42127 * include/stdlib.h (__mktemp): Add declaration.
42128 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42129 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42130
42131 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42132
42133 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42134 definitions.
42135 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42136 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42137 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42138 definitions here.
42139 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42140 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42141 definitions.
42142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42143 and ONE.
42144 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42145 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42146 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42147 definitions.
42148 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42149 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42150 definitions.
42151 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42152
42153 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42154
42155 2013-01-15 David S. Miller <davem@davemloft.net>
42156
42157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42158 trunc{,f} to libm-sysdep_routes.
42159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42161 file.
42162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42164 file.
42165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42166 file.
42167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42169 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42170 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42171 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42172 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42173 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42174 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42175
42176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42177 nearbyint{,f} to libm-sysdep_routes.
42178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42180 New file.
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42182 file.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42184 New file.
42185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42186 file.
42187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42189 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42190 file.
42191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42192 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42193 file.
42194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42195 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42196 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42197
42198 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42199 libc_feholdexcept and libc_fesetenv.
42200
42201 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42202
42203 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42204
42205 2013-01-14 David S. Miller <davem@davemloft.net>
42206
42207 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42208 (SPARC_ASM_VIS2_IFUNC): Likewise.
42209 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42211 use of 'siam' instruction.
42212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42213 Likewise.
42214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42215 Likewise.
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42217 Likewise.
42218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42223 file.
42224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42225 file.
42226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42227 file.
42228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42229 file.
42230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42235 new VIS2 routines.
42236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42239 Likewise.
42240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42245 routines to libm-sysdep_routines.
42246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42247
42248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42249 fdim/fdimf to libm-sysdep_routines.
42250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42251 file.
42252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42254 file.
42255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42258 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42259 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42260 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42261 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42262
42263 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42264
42265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42266 to optimize copies.
42267
42268 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42271
42272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42273 local variable MPTWO.
42274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42275 Likewise.
42276
42277 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42278
42279 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42280 GLOB_NOESCAPE.
42281
42282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42283
42284 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42285
42286 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42287
42288 * manual/pattern.texi (glob_t): Document gl_flags.
42289 (glob64_t): Likewise.
42290
42291 2013-01-11 David S. Miller <davem@davemloft.net>
42292
42293 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42294 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42295 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42296 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42297 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42298 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42299 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42300 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42302 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42303 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42304 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42305 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42306
42307 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42308 sparc V9 rather than using V8 code.
42309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42311
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42313 Move to...
42314 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42315 Here.
42316
42317 2013-01-11 Roland McGrath <roland@hack.frob.com>
42318
42319 [BZ #14941]
42320 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42321 not in the main loop.
42322 * configure: Regenerated.
42323
42324 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42325
42326 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42327 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42328 to just #else.
42329 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42330 [!__GLIBC_HAVE_LONG_LONG] case.
42331 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42332 condition to just #else.
42333 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42334 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42335 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42336 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42337 unconditional.
42338 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42339 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42340 #elif condition to just #else.
42341 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42342 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42343 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42344 #elif condition to just #else.
42345
42346 2013-01-11 Steve Ellcey <sellcey@mips.com>
42347
42348 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42349 (EF_MIPS_ARCH_64): Fix value.
42350 (EF_MIPS_ARCH_32R2): New.
42351 (EF_MIPS_ARCH_64R2): New.
42352
42353 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42354
42355 * Makeconfig (+link-pie-before-libc): New.
42356 (+link-pie-after-libc): Likewise.
42357 (+link-pie-tests): Likewise.
42358 (+link-pie): Rewritten.
42359 (link-before-libc): Remove $(config-LDFLAGS).
42360 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42361 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42362 (config-LDFLAGS): Renamed to ...
42363 (rtld-LDFLAGS): This.
42364 (rtld-tests-LDFLAGS): New macro.
42365 (link-libc-rpath-link): Likewise.
42366 (link-libc-tests-rpath-link): Likewise.
42367 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42368 (link-libc): Prepand $(link-libc-rpath-link).
42369 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42370 (test-program-prefix): New macro.
42371 (test-via-rtld-prefix): Likewise.
42372 (test-program-cmd): Likewise.
42373 (host-test-program-cmd): Likewise.
42374 * Makefile ($(common-objpfx)testrun.sh): Replace
42375 $(run-program-prefix) with $(test-program-prefix).
42376 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42377 $(rtld-LDFLAGS).
42378 ($(common-objpfx)shlib.lds): Likewise.
42379 (build-module-helper): Likewise.
42380 ($(common-objpfx)format.lds): Likewise.
42381 * Rules (binaries-pie-tests): New.
42382 (binaries-pie-notests): Likewise.
42383 (binaries-pie): Rewritten.
42384 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42385 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42386 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42387 (make-test-out): Replace $(host-built-program-cmd) with
42388 $(host-test-program-cmd).
42389 * config.make.in (build-hardcoded-path-in-tests): New variable.
42390 * configure.in (--enable-hardcoded-path-in-tests): New configure
42391 option.
42392 (hardcoded_path_in_tests): New AC_SUBST.
42393 * configure: Regenerated.
42394 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42395 $(built-program-cmd) with $(test-program-cmd).
42396 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42397 (test_program_cmd): This.
42398 * elf/Makefile ($(objpfx)order.out): Run test with
42399 $(test-program-prefix).
42400 ($(objpfx)order2.out): Likewise.
42401 ($(objpfx)tst-initorder.out): Likewise.
42402 ($(objpfx)tst-initorder2.out): Likewise.
42403 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42404 $(test-program-cmd).
42405 ($(objpfx)tst-array1-static.out): Likewise.
42406 ($(objpfx)tst-array2.out): Likewise.
42407 ($(objpfx)tst-array3.out): Likewise.
42408 ($(objpfx)tst-array4.out): Likewise.
42409 ($(objpfx)tst-array5.out): Likewise.
42410 ($(objpfx)tst-array5-static.out): Likewise.
42411 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42412 $(test-program-cmd).
42413 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42414 $(run-program-prefix) with $(test-program-prefix).
42415 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42416 (test_program_prefix): This.
42417 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42418 $(run-program-prefix) with $(test-program-prefix).
42419 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42420 (test_program_prefix): This.
42421 * iconvdata/tst-tables.sh: Likewise.
42422 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42423 $(run-program-prefix) with $(test-program-prefix).
42424 ($(objpfx)tst-translit.out): Likewise.
42425 ($(objpfx)tst-gettext2.out): Likewise.
42426 ($(objpfx)tst-gettext4.out): Likewise.
42427 ($(objpfx)tst-gettext6.out): Likewise.
42428 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42429 (test_program_prefix): This.
42430 * intl/tst-gettext2.sh: Likewise.
42431 * intl/tst-gettext4.sh Likewise.
42432 * intl/tst-gettext6.sh: Likewise.
42433 * intl/tst-translit.sh: Likewise.
42434 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42435 with $(test-program-cmd).
42436 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42437 $(run-program-prefix) with $(test-program-prefix).
42438 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42439 (test_program_prefix): This.
42440 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42441 $(run-program-prefix) with $(test-program-prefix).
42442 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42443 (test_program_prefix): This.
42444 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42445 * posix/Makefile ($(objpfx)globtest.out): Replace
42446 $(run-via-rtld-prefix) and $(test-wrapper) with
42447 $(test-program-prefix) and $(test-via-rtld-prefix).
42448 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42449 $(test-program-prefix).
42450 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42451 $(host-test-program-cmd).
42452 (tst-spawn-ARGS): Likewise.
42453 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42454 $(test-program-prefix).
42455 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42456 (test_via_rtld_prefix): This.
42457 (test_wrapper): Renamed to ...
42458 (test_program_prefix): This.
42459 (run_program_prefix): Replaced by test_program_prefix.
42460 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42461 (test_program_prefix): This.
42462 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42463 with $(host-test-program-cmd).
42464 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42465 $(run-program-prefix) with $(test-program-prefix).
42466 ($(objpfx)tst-printf.out): Likewise.
42467 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42468 $(test-program-cmd).
42469 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42470 (test_program_prefix): This.
42471 * stdio-common/tst-unbputc.sh: Likewise.
42472 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42473 $(run-program-prefix) with $(test-program-prefix).
42474 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42475 (test_program_prefix): This.
42476 * string/Makefile ($(objpfx)tst-svc.out): Replace
42477 $(built-program-cmd) with $(test-program-cmd).
42478
42479 2013-01-11 Andreas Jaeger <aj@suse.de>
42480
42481 [BZ #15003]
42482 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42483 value. Sync with Linux 3.7.
42484
42485 2013-01-10 David S. Miller <davem@davemloft.net>
42486
42487 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42488 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42489 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42490
42491 2013-01-10 Roland McGrath <roland@hack.frob.com>
42492
42493 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42494 never set.
42495 * configure: Regenerated.
42496
42497 2013-01-10 David S. Miller <davem@davemloft.net>
42498
42499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42500 sparc V9 rather than using V8 code.
42501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42503
42504 2013-01-10 Roland McGrath <roland@hack.frob.com>
42505
42506 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42507 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42508 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42509 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42510 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42511 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42512 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42513 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42514 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42515 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42516 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42517 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42518 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42519 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42520 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42521 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42522 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42523 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42524 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42525 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42526 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42527 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42528 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42529 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42530 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42531 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42532 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42533
42534 2013-01-10 David S. Miller <davem@davemloft.net>
42535
42536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42537
42538 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * posix/Makefile (tests-static): New variable.
42541 (tests): Add $(tests-static).
42542 (tst-exec-static-ARGS): New variable.
42543 (tst-spawn-static-ARGS): Likewise.
42544 * posix/tst-exec-static.c: New file.
42545 * posix/tst-spawn-static.c: Likewise.
42546 * posix/tst-exec.c: Support run directly.
42547 * posix/tst-spawn.c: Likewise.
42548
42549 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42550
42551 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42552 long.
42553 * math/bits/mathcalls.h (llrint): Likewise.
42554 (llround): Likewise.
42555 * stdlib/stdlib.h (struct drand48_data): Likewise.
42556 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42557 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42558 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42559 Likewise.
42560 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42561 Likewise.
42562 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42563 (elf_greg_t): Likewise.
42564 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42565 (__jmp_buf): Likewise.
42566 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42567 definitions.
42568 (llrint): Likewise, for all definitions.
42569 (llrintl): Likewise.
42570
42571 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42572 Remove [__GNUC__] condition.
42573 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42574 condition to just [__USE_ISOC99].
42575 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42576
42577 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42578
42579 [BZ #14200]
42580 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42581 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42582 defined.
42583 (_POSIX_V6_ILP32_OFF32): Likewise.
42584 (_XBS5_ILP32_OFF32): Likewise.
42585 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42586 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42587
42588 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42589
42590 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42591
42592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42593 doubles __mpexp_twomm1. Adjust usage.
42594 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42595 Remove.
42596
42597 2013-01-10 Andreas Schwab <schwab@suse.de>
42598
42599 [BZ #14964]
42600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42601 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42602
42603 2013-01-09 David S. Miller <davem@davemloft.net>
42604
42605 [BZ #15003]
42606 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42607 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42608 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42609 (TCP_FASTOPEN): Define.
42610 (tcp_repair_opt): New structure.
42611 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42612 enum values.
42613 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42614 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42615 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42616 (tcp_cookie_transactions): New structure.
42617
42618 2013-01-09 Anton Blanchard <anton@samba.org>
42619
42620 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42621 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42622 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42623 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42624
42625 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42626
42627 * include/features.h (__USE_ANSI): Remove.
42628
42629 2013-01-09 Roland McGrath <roland@hack.frob.com>
42630
42631 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42632
42633 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42634
42635 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42636
42637 * sysdeps/s390/fpu/libm-test-ulps: Update.
42638
42639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42640
42641 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42642 (__acr): Likewise.
42643 (__cpy): Likewise.
42644 (norm): Likewise.
42645 (denorm): Likewise.
42646 (__mp_dbl): Likewise.
42647 (__dbl_mp): Likewise.
42648 (add_magnitudes): Likewise.
42649 (sub_magnitudes): Likewise.
42650 (__add): Likewise.
42651 (__sub): Likewise.
42652 (__mul): Likewise.
42653 (__inv): Likewise.
42654 (__dvd): Likewise.
42655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42656 (__acr): Likewise.
42657 (__cpy): Likewise.
42658 (norm): Likewise.
42659 (denorm): Likewise.
42660 (__mp_dbl): Likewise.
42661 (__dbl_mp): Likewise.
42662 (add_magnitudes): Likewise.
42663 (sub_magnitudes): Likewise.
42664 (__add): Likewise.
42665 (__sub): Likewise.
42666 (__mul): Likewise.
42667 (__inv): Likewise.
42668 (__dvd): Likewise.
42669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42670 (__acr): Likewise.
42671 (__cpy): Likewise.
42672 (norm): Likewise.
42673 (denorm): Likewise.
42674 (__mp_dbl): Likewise.
42675 (__dbl_mp): Likewise.
42676 (add_magnitudes): Likewise.
42677 (sub_magnitudes): Likewise.
42678 (__add): Likewise.
42679 (__sub): Likewise.
42680 (__mul): Likewise.
42681 (__inv): Likewise.
42682 (__dvd): Likewise.
42683
42684 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42685
42686 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42687 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42688 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42689 2 && __USE_EXTERN_INLINES]: Likewise.
42690
42691 2013-01-08 Andreas Jaeger <aj@suse.de>
42692
42693 [BZ# 14985]
42694 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42695 Remove.
42696 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42697 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42698
42699 2013-01-07 Anton Blanchard <anton@samba.org>
42700
42701 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42702 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42703 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42704 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42705 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42707 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42708 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42710 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42711 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42714 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42719 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42721 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42722 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42724 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42725 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42726 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42727 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42728 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42730 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42731 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42733 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42734 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42735 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42739 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42741 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42743 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42744
42745 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42746
42747 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42748 (__MALLOC_PMT): Likewise.
42749 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42750 [__GNUC__], only on [_LIBC].
42751 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42752 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42753 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42754 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42755 forward declaration.
42756 (realloc_hook_ini): Likewise.
42757 (memalign_hook_ini): Likewise.
42758 (__libc_memalign): Do not use __MALLOC_PMT in variable
42759 declaration.
42760 (__libc_valloc): Likewise.
42761 (__libc_pvalloc): Likewise.
42762 (__libc_calloc): Likewise.
42763 (__posix_memalign): Likewise.
42764
42765 [BZ #14996]
42766 * math/s_casinh.c: Include <float.h>.
42767 (__casinh): Do not do computation with squaring and square root
42768 for large arguments.
42769 * math/s_casinhf.c: Include <float.h>.
42770 (__casinhf): Do not do computation with squaring and square root
42771 for large arguments.
42772 * math/s_casinhl.c: Include <float.h>.
42773 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42774 (__casinhl): Do not do computation with squaring and square root
42775 for large arguments.
42776 * math/libm-test.inc (casin_test): Add more tests.
42777 (casinh_test): Likewise.
42778 * sysdeps/i386/fpu/libm-test-ulps: Update.
42779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42780
42781 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42782
42783 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42784 (__x86_64_raw_data_cache_size): Likewise.
42785 (__x86_64_data_cache_size_half): Likewise.
42786 (__x86_64_raw_data_cache_size_half): Likewise.
42787 (__x86_64_shared_cache_size): Likewise.
42788 (__x86_64_raw_shared_cache_size): Likewise.
42789 (__x86_64_shared_cache_size_half): Likewise.
42790 (__x86_64_raw_shared_cache_size_half): Likewise.
42791 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42792 to ...
42793 (__x86_data_cache_size): This.
42794 (__x86_64_raw_data_cache_size): Renamed to ...
42795 (__x86_raw_data_cache_size): This.
42796 (__x86_64_data_cache_size_half): Renamed to ...
42797 (__x86_data_cache_size_half): This.
42798 (__x86_64_raw_data_cache_size_half): Renamed to ...
42799 (__x86_raw_data_cache_size_half): This.
42800 (__x86_64_shared_cache_size): Renamed to ...
42801 (__x86_shared_cache_size): This.
42802 (__x86_64_raw_shared_cache_size): Renamed to ...
42803 (__x86_raw_shared_cache_size): This.
42804 (__x86_64_shared_cache_size_half): Renamed to ...
42805 (__x86_shared_cache_size_half): This.
42806 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42807 (__x86_raw_shared_cache_size_half): This.
42808 * sysdeps/x86_64/memcpy.S: Updated.
42809 * sysdeps/x86_64/memset.S: Likewise.
42810 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42813
42814 2013-01-04 David S. Miller <davem@davemloft.net>
42815
42816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42817
42818 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42819
42820 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42821 1 to avoid redefinition warning.
42822 (__USE_GNU): Don't define.
42823 (init_signaling_nan): Protoize.
42824
42825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42826
42827 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42828
42829 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42831 (__cpymn): Likewise.
42832 (norm): Remove commented code.
42833 (denorm): Likewise.
42834 (__mp_dbl): Likewise.
42835 (__inv): Likewise.
42836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42837 (__cpymn): Likewise.
42838 (norm): Remove commented code.
42839 (denorm): Likewise.
42840 (__mp_dbl): Likewise.
42841 (__inv): Likewise.
42842
42843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42844 mp_no value for 1.0 and 2.0.
42845 (norm): Use RADIXI instead of radixi.d.
42846 (denorm): Likewise.
42847 (__mul): Use 0.0 instead of zero.d.
42848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42849 mp_no value for 1.0 and 2.0.
42850 (norm): Use RADIXI instead of radixi.d.
42851 (denorm): Likewise.
42852 (__mul): Use 0.0 instead of zero.d.
42853
42854 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42855
42856 [BZ #14994]
42857 * math/s_casinh.c (__casinh): Reduce finite argument to first
42858 quadrant then set signs of results at the end.
42859 * math/s_casinhf.c (__casinhf): Likewise.
42860 * math/s_casinhl.c (__casinhl): Likewise.
42861 * math/libm-test.inc (casin_test): Add more tests.
42862 (casinh_test): Likewise.
42863 * sysdeps/i386/fpu/libm-test-ulps: Update.
42864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42865
42866 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42867
42868 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42869
42870 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42871
42872 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42873 declarations.
42874 (denorm): Likewise.
42875 (__mp_dbl): Likewise.
42876 (__inv): Likewise.
42877
42878 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42879 and adjust the header comment.
42880
42881 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42882 variable name from declaration.
42883
42884 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42887 Initialize COMMON_CPUID_INDEX_7 element.
42888 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42889 (CPUID_RTM): Likewise.
42890 (HAS_RTM): Likewise.
42891 (COMMON_CPUID_INDEX_7): New enum.
42892
42893 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42894
42895 [BZ #14981]
42896 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42897 size is zero, record memory as freed.
42898
42899 2013-01-03 Andreas Jaeger <aj@suse.de>
42900
42901 * po/ia.po: Add new Interlingua translation.
42902
42903 2012-01-03 Allan McRae <allan@archlinux.org>
42904
42905 * locale/programs/localedef.c: Fix description of '--posix' flag.
42906
42907 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42908
42909 * NEWS: Update dates in second copyright notice.
42910 * README: Update copyright dates in example.
42911 * manual/libc.texinfo: Update copyright dates.
42912 * scripts/test-installation.pl: Update copyright date in --version
42913 output.
42914
42915 * hurd/ctty-input.c: Fix copyright notice formatting.
42916 * hurd/ctty-output.c: Likewise.
42917 * hurd/dtable.c: Likewise.
42918 * hurd/hurd-raise.c: Likewise.
42919 * hurd/hurdprio.c: Likewise.
42920 * hurd/msgportdemux.c: Likewise.
42921 * misc/sys/file.h: Likewise.
42922 * misc/sys/ioctl.h: Likewise.
42923 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42924 * sysdeps/mach/hurd/chdir.c: Likewise.
42925 * sysdeps/mach/hurd/fchdir.c: Likewise.
42926 * sysdeps/mach/hurd/rename.c: Likewise.
42927 * sysdeps/mach/hurd/rmdir.c: Likewise.
42928 * sysdeps/mach/hurd/seekdir.c: Likewise.
42929 * sysdeps/mach/hurd/setsid.c: Likewise.
42930 * sysdeps/posix/wait3.c: Likewise.
42931
42932 * All files with FSF copyright notices: Update copyright dates
42933 using scripts/update-copyrights.
42934 * intl/plural.c: Regenerated.
42935 * locale/programs/charmap-kw.h: Likewise.
42936 * locale/programs/locfile-kw.h: Likewise.
42937
42938 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42939
42940 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42941 four values.
42942
42943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42944 calculation loop and add branch prediction.
42945
42946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42947 check access beyond bounds of m1np.
42948
42949 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42950 MPTWO.
42951 (__inv): Remove local variable MPTWO to use the global
42952 constant.
42953 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42955 variable MPTWO.
42956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42957 MP3HALFS static const.
42958
42959 2013-01-01 David S. Miller <davem@davemloft.net>
42960
42961 * po/ca.po: Update from translation team.
42962
42963 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42964
42965 * scripts/update-copyrights: New file.
42966 * Makeconfig: Reformat copyright notice.
42967 * ctype/ctype.h: Likewise.
42968 * debug/swprintf_chk.c: Likewise.
42969 * elf/dl-cache.c: Likewise.
42970 * elf/dl-debug.c: Likewise.
42971 * elf/dl-object.c: Likewise.
42972 * grp/initgroups.c: Likewise.
42973 * hurd/Makefile: Likewise.
42974 * hurd/hurd/signal.h: Likewise.
42975 * hurd/hurdfault.c: Likewise.
42976 * hurd/hurdioctl.c: Likewise.
42977 * hurd/hurdlookup.c: Likewise.
42978 * hurd/intr-msg.c: Likewise.
42979 * iconv/gconv_open.c: Likewise.
42980 * libio/swprintf.c: Likewise.
42981 * locale/lc-ctype.c: Likewise.
42982 * locale/nl_langinfo.c: Likewise.
42983 * mach/Machrules: Likewise.
42984 * mach/Makefile: Likewise.
42985 * malloc/obstack.h: Likewise.
42986 * manual/Makefile: Likewise.
42987 * manual/tsort.awk: Likewise.
42988 * misc/bits/stab.def: Likewise.
42989 * nis/nis_print_group_entry.c: Likewise.
42990 * nis/nis_table.c: Likewise.
42991 * nis/nss_compat/compat-pwd.c: Likewise.
42992 * nis/nss_compat/compat-spwd.c: Likewise.
42993 * po/Makefile: Likewise.
42994 * posix/fnmatch.c: Likewise.
42995 * posix/regex.h: Likewise.
42996 * resolv/Makefile: Likewise.
42997 * resolv/nss_dns/dns-network.c: Likewise.
42998 * resolv/res_hconf.c: Likewise.
42999 * scripts/gen-sorted.awk: Likewise.
43000 * soft-fp/soft-fp.h: Likewise.
43001 * stdio-common/printf.h: Likewise.
43002 * stdlib/monetary.h: Likewise.
43003 * stdlib/random.c: Likewise.
43004 * stdlib/random_r.c: Likewise.
43005 * sysdeps/generic/Makefile: Likewise.
43006 * sysdeps/gnu/Makefile: Likewise.
43007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43035 * sysdeps/mach/hurd/errnos.awk: Likewise.
43036 * sysdeps/mach/hurd/fork.c: Likewise.
43037 * sysdeps/mach/hurd/getcwd.c: Likewise.
43038 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43039 * sysdeps/mach/hurd/mmap.c: Likewise.
43040 * sysdeps/mach/hurd/utimes.c: Likewise.
43041 * sysdeps/mach/hurd/xmknod.c: Likewise.
43042 * sysdeps/posix/profil.c: Likewise.
43043 * sysdeps/posix/readdir_r.c: Likewise.
43044 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43045 * sysdeps/powerpc/bits/setjmp.h: Likewise.
43046 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43047 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43053 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43054 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43055 * sysdeps/pthread/lio_listio.c: Likewise.
43056 * sysdeps/sparc/dl-procinfo.h: Likewise.
43057 * sysdeps/unix/i386/sysdep.S: Likewise.
43058 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43059 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43060 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43061 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43063 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43064 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43065 * sysdeps/unix/sysv/linux/speed.c: Likewise.
43066 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43067 * sysdeps/wordsize-32/divdi3.c: Likewise.
43068 * time/sys/time.h: Likewise.
43069 * wcsmbs/Makefile: Likewise.
43070
43071 2013-01-01 David S. Miller <davem@davemloft.net>
43072
43073 * po/fr.po: Update from translation team.
43074
43075 * catgets/gencat.c: Update copyright year.
43076 * csu/version.c: Likewise.
43077 * debug/catchsegv.sh: Likewise.
43078 * debug/pcprofiledump.c: Likewise.
43079 * debug/xtrace.sh: Likewise.
43080 * elf/ldconfig.c: Likewise.
43081 * elf/ldd.bash.in: Likewise.
43082 * elf/pldd.c: Likewise.
43083 * elf/sotruss.ksh: Likewise.
43084 * elf/sprof.c: Likewise.
43085 * iconv/iconv_prog.c: Likewise.
43086 * iconv/iconvconfig.c: Likewise.
43087 * locale/programs/locale.c: Likewise.
43088 * locale/programs/localedef.c: Likewise.
43089 * login/programs/pt_chown.c: Likewise.
43090 * malloc/memusage.sh: Likewise.
43091 * malloc/memusagestat.c: Likewise.
43092 * malloc/mtrace.pl: Likewise.
43093 * nscd/nscd.c: Likewise.
43094 * nss/getent.c: Likewise.
43095 * nss/makedb.c: Likewise.
43096 * posix/getconf.c: Likewise.
43097
43098 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43099
43100 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43101 numbers.
43102
43103 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43104
43105 * math/bits/mathcalls.h (modf): Use __nonnull.
43106
43107 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43108
43109 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43110 (split): Use macro CN instead of the bare value.
43111 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43112 could be used.
43113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43114 instead of the bare value.
43115 (power1): Likewise.
43116
43117 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43118
43119 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43120 __ATAN_TWOM.
43121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43122
43123 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43124 their values.
43125 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43126 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43127 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43128 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43129
43130 2012-12-28 Andreas Jaeger <aj@suse.de>
43131
43132 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43133 values are from Linux 3.7.
43134
43135 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43136 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43137
43138 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43139
43140 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43141 TRUE case.
43142
43143 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43144 (norm): Likewise.
43145 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43146 variables with preprocessor constants.
43147 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43148 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43149 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43150
43151 2012-12-27 Bruno Haible <bruno@clisp.org>
43152
43153 [BZ #14317]
43154 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43155 only if needed.
43156
43157 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43158
43159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43160 and use variable directly.
43161 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43162
43163 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43164 MPONE.
43165 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43167 variable MPONE.
43168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43170 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43171 include directive. Remove local variable MPONE.
43172 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43173 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43175
43176 2012-12-25 David S. Miller <davem@davemloft.net>
43177
43178 * version.h (RELEASE): Set to "development".
43179 (VERSION): Set to "2.17.90".
43180 * NEWS: Add 2.18 section.
43181
43182 2012-12-21 David S. Miller <davem@davemloft.net>
43183
43184 * po/hr.po: Update from translation team.
43185
43186 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43187
43188 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43189
43190 2012-12-19 Steve Ellcey <sellcey@mips.com>
43191
43192 * NEWS: Mention new memcpy for MIPS.
43193
43194 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43195
43196 * manual/contrib.texi (Contributors): Spelling correction.
43197
43198 2012-12-15 David S. Miller <davem@davemloft.net>
43199
43200 * po/ru.po: Update from translation team.
43201
43202 2012-12-13 David S. Miller <davem@davemloft.net>
43203
43204 * NEWS: Mention IFUNC testsuite enhancements.
43205
43206 * po/pl.po: Update from translation team.
43207 * po/bg.po: Likewise.
43208
43209 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43210 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43211
43212 2012-12-11 David S. Miller <davem@davemloft.net>
43213
43214 * po/sv.po: Update from translation team.
43215
43216 * po/vi.po: Update from translation team.
43217
43218 * po/cs.po: Update from translation team.
43219
43220 * po/de.po: Update from translation team.
43221 * po/eo.po: Likewise.
43222 * po/nl.po: Likewise.
43223
43224 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43225
43226 [BZ #14246]
43227 * manual/argp.texi (Argp Helper Functions): Move node to follow
43228 Argp Parsing State.
43229
43230 [BZ #14872]
43231 * manual/conf.texi (Limits on File System Capacity): Mention if
43232 terminating null is included in the max size.
43233
43234 2012-12-10 Andreas Jaeger <aj@suse.de>
43235
43236 * po/cs.po: Update from translation team.
43237
43238 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43239
43240 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43241 void pointer and cast to uintptr_t.
43242 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43243 path.
43244 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43245 * sysdeps/s390/s390-64/memset.S: Likewise.
43246
43247 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43248
43249 [BZ #14833]
43250 * menual/message.texi (Message Translation): Fix typos.
43251 (Helper programs for gettext): Likewise.
43252
43253 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43254
43255 [BZ #14898]
43256 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43257 Change to -1.
43258
43259 2012-12-07 David S. Miller <davem@davemloft.net>
43260
43261 * po/libc.pot: Update.
43262
43263 2012-12-07 Richard Henderson <rth@redhat.com>
43264
43265 [BZ #10114]
43266 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43267 normal/normal case to before the switch.
43268 (_FP_DIV): Likewise.
43269
43270 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43271 Mike Frysinger <vapier@gentoo.org>
43272
43273 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43274 check for __NR_fadvise64_64.
43275
43276 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43277
43278 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43279 0, not just to plain "0" as a statement.
43280 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43281 with cw.
43282
43283 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43284
43285 * NEWS: Use sourceware.org in Bugzilla URL.
43286
43287 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43288
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43290 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43291
43292 * stdio-common/tst-put-error.c (do_test): Add newline to the
43293 padded test to ensure flush.
43294
43295 2012-12-05 Jeff Law <law@redhat.com>
43296
43297 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43298
43299 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43300
43301 * README: Don't refer to ports add-on as distributed separately.
43302 Mention AArch64 in list of systems supported in the ports add-on.
43303
43304 * LICENSES: Add more non-FSF copyright and license notices.
43305
43306 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43307 ((unused)).
43308
43309 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43310
43311 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43312 10000 as width of padded output.
43313
43314 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43315
43316 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43317
43318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43319 variable LX with __attribute__ ((unused)).
43320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43321 Likewise.
43322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43325 with __attribute__ ((unused)).
43326
43327 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43328
43329 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43330
43331 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43332
43333 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43334 (CFLAGS-nldbl-acos.c): New variable.
43335 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43336 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43337 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43338 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43339 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43340 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43341 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43342 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43343 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43344 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43345 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43346 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43347 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43348 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43349 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43350 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43351 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43352 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43353 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43354 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43355 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43356 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43357 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43358 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43359 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43360 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43361 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43362 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43363 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43364 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43365 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43366 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43367 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43368 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43369 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43370 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43371 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43372 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43373 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43374 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43375 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43376 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43377 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43378 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43379 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43380 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43381 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43382 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43383 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43384 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43385 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43386 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43387 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43388 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43389 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43390 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43391 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43392 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43393 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43394 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43395 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43396 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43397 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43398 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43399 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43400 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43401 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43402 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43403 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43404 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43405 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43406 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43407 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43408 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43409 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43410 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43411 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43412 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43413 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43414 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43415 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43416 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43417 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43418 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43419 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43420 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43421 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43422 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43423 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43424 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43425 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43426 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43427 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43428 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43429 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43430 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43431 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43432
43433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43434 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43435
43436 [BZ #14914]
43437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43438 whole low double instead of just low 47 bits when splitting values
43439 into two parts.
43440
43441 2012-12-03 Allan McRae <allan@archlinux.org>
43442
43443 * manual/stdio.texi (Predefined Printf Handlers): Remove
43444 @hsep and @vsep usage.
43445
43446 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43447
43448 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43449 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43450
43451 2012-12-03 Jeff Law <law@redhat.com>
43452
43453 * time/sys/time.h (settimeofday): Do not mark TV argument
43454 as __nonnull.
43455
43456 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43457
43458 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43459 when currently writing and seek to current position when not.
43460 * libio/Makefile (tests): Remove bug-fclose1.
43461 * libio/bug-fclose1.c: Delete.
43462
43463 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43464
43465 * manual/arith.texi (feenableexcept): Fix typo.
43466 (fedisableexcept): Likewise.
43467
43468 2012-11-30 Roland McGrath <roland@hack.frob.com>
43469
43470 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43471 second, differently-typed declaration, rather than a cast.
43472
43473 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43474
43475 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43476 * include/rpc/svc.h: ... here.
43477
43478 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43479
43480 [BZ #13013]
43481 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43482 depending n and resplen2 to catch cases where answer
43483 equals answerp2.
43484
43485 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43486
43487 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43488 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43489
43490 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43491
43492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43493
43494 2012-11-29 Roland McGrath <roland@hack.frob.com>
43495
43496 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43497
43498 2012-11-28 Jeff Law <law@redhat.com>
43499
43500 [BZ #13761]
43501 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43502 dataset_temporary. Track alloca usage into alloca_used.
43503 If dataset is large allocate and release it via malloc/free.
43504
43505 2012-06-04 Florian Weimer <fweimer@redhat.com>
43506
43507 [BZ #14197]
43508 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43509
43510 2012-11-28 David S. Miller <davem@davemloft.net>
43511
43512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43513
43514 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43515
43516 [BZ #14803]
43517 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43518 of pi/2 rounded to nearest to 64 bits.
43519 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43520 nearest to 64 bits.
43521 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43522 bits.
43523
43524 2012-11-28 Jeff Law <law@redhat.com>
43525 Martin Osvald <mosvald@redhat.com>
43526
43527 [BZ #14889]
43528 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43529 * sunrpc/svc.c: Include time.h.
43530 (__svc_accept_failed): New function.
43531 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43532 any reason other than EINTR, call __svc_accept_failed.
43533 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43534 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43535
43536 2012-11-28 Andreas Schwab <schwab@suse.de>
43537
43538 * scripts/abilist.awk: Also handle indirect functions in .opd
43539 section.
43540
43541 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43542
43543 [BZ #13881]
43544 * sysdeps/x86/fpu/powl_helper.c: New file.
43545 * sysdeps/x86/fpu/Makefile: Likewise.
43546 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43547 (p3): New object.
43548 (__ieee754_powl): Use __powl_helper for finite arguments except
43549 integer exponents below 8.
43550 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43551 (p3): New object.
43552 (__ieee754_powl): Use __powl_helper for finite arguments except
43553 integer exponents below 8.
43554 * math/libm-test.inc (pow_test): Add more tests and enable some
43555 previously disabled tests.
43556 * sysdeps/i386/fpu/libm-test-ulps: Update.
43557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43558
43559 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43560 Carlos O'Donell <carlos_odonell@mentor.com>
43561
43562 * nss/makedb.c (is_prime): Assert that input is odd and greater
43563 than 4. Note that fact in a comment too.
43564 (next_prime): Add 4 to input.
43565
43566 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43567
43568 [BZ #11741]
43569 * libio/Makefile (tests): Add test case tst-fwrite-error.
43570 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43571 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43572 * libio/tst-fwrite-error.c: New test case.
43573
43574 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43575
43576 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43577 before casting to void *.
43578 * include/libc-internal.h (__pointer_type): New macro.
43579 (__integer_if_pointer_type_sub): Likewise.
43580 (__integer_if_pointer_type): Likewise.
43581 (cast_to_integer): Likewise.
43582 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43583 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43584 before casting to atomic64_t.
43585 (atomic_exchange_acq): Likewise.
43586 (__arch_exchange_and_add_body): Likewise.
43587 (__arch_add_body): Likewise.
43588 (atomic_add_negative): Likewise.
43589 (atomic_add_zero): Likewise.
43590
43591 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43592
43593 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43594 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43595 (add_fdes): Likewise.
43596 (linear_search_fdes): Likewise.
43597 (binary_search_unencoded_fdes): Likewise.
43598
43599 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43600
43601 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43602
43603 2012-11-24 Adam Conrad <adconrad@0c3.net>
43604
43605 * configure.in: Autodetect C++ header directories.
43606 * configure: Regenerated.
43607
43608 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43609
43610 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43611
43612 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43613
43614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43615
43616 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43617
43618 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43619 LDBL_MANT_DIG == 106]: Disable some tests.
43620 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43621 Likewise.
43622 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43623 Likewise.
43624
43625 [BZ #14871]
43626 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43627 input for small inputs. Return +/- pi/2 for large inputs.
43628 * math/libm-test.inc (atan_test): Add more tests.
43629
43630 * sysdeps/generic/unwind-dw2-fde-glibc.c
43631 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43632 __attribute__ ((unused)).
43633
43634 [BZ #14645]
43635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43636 x * y if x and y are nonzero and z is zero.
43637
43638 [BZ #14811]
43639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43640 nonzero exponents with absolute value below 0x1p-117 to +/-
43641 0x1p-117.
43642
43643 [BZ #14869]
43644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43645 up arguments below 2**-450, not just those below 2**-500.
43646 * math/libm-test.inc (hypot_test): Add another test.
43647
43648 [BZ #14868]
43649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43650 Return a+b for ratio over 2**120, not 2**60.
43651 * math/libm-test.inc (hypot_test): Add another test.
43652
43653 * math/libm-test.inc (clog_test): Use
43654 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43655 (clog10_test): Likewise.
43656
43657 [BZ #6778]
43658 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43659
43660 2012-11-22 Andreas Schwab <schwab@suse.de>
43661
43662 * sysdeps/i386/fpu/libm-test-ulps: Update.
43663
43664 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43665
43666 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43667 printf output with newline.
43668
43669 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43670
43671 [BZ #14865]
43672 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43673 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43674 -z nodlopen, -z initfirst and -z execstack support.
43675 * configure: Regenerated.
43676
43677 * elf/elf.h (DF_1_NODIRECT): New macro.
43678 (DF_1_IGNMULDEF): Likewise.
43679 (DF_1_NOKSYMS): Likewise.
43680 (DF_1_NOHDR): Likewise.
43681 (DF_1_EDITED): Likewise.
43682 (DF_1_NORELOC): Likewise.
43683 (DF_1_SYMINTPOSE): Likewise.
43684 (DF_1_GLOBAUDIT): Likewise.
43685 (DF_1_SINGLETON): Likewise.
43686 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43687 DT_1_SUPPORTED_MASK bits.
43688 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43689
43690 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43691
43692 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43693
43694 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43695
43696 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43697 macro.
43698
43699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43700 (sendmmsg): Move declarations...
43701 * socket/sys/socket.h: ... here.
43702 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43703 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43704 include it from...
43705 * socket/recvmmsg.c: ... this new file.
43706 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43707 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43708 definition of __sendmmsg hidden.
43709 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43710 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43711 Move ENOSYS stub into and include it from...
43712 * socket/sendmmsg.c: ... this new file.
43713 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43714 (sysdep_routines): Move recvmmsg and sendmmsg...
43715 * socket/Makefile (routines): ... here.
43716 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43717 (GLIBC_PRIVATE): Add __sendmmsg.
43718 * include/sys/socket.h (__sendmmsg): Add declarations.
43719 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43720 sendmmsg.
43721
43722 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43723
43724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43725 variable I1 with __attribute__ ((unused)).
43726 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43727
43728 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43729
43730 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43731 DUMMY variables with __attribute__ ((unused)).
43732
43733 * bits/byteswap.h: Include <bits/types.h>.
43734 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43735
43736 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43737
43738 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43739 string_t. Do not manually set errno.
43740 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43741 length with __strnlen. Make sure to both set errno and return it on
43742 failure.
43743
43744 2012-11-19 David S. Miller <davem@davemloft.net>
43745
43746 With help from Joseph Myers.
43747 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43748 very large arguments properly.
43749 * math/libm-test.inc (atan_test): New tests.
43750 (atan2_test): New tests.
43751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43753
43754 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43755
43756 [BZ #14856]
43757 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43758 Define to 3.
43759
43760 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43761 [POSIX] (EADDRNOTAVAIL): Likewise.
43762 [POSIX] (EAFNOSUPPORT): Likewise.
43763 [POSIX] (EALREADY): Likewise.
43764 [POSIX] (ECONNABORTED): Likewise.
43765 [POSIX] (ECONNREFUSED): Likewise.
43766 [POSIX] (ECONNRESET): Likewise.
43767 [POSIX] (EDESTADDRREQ): Likewise.
43768 [POSIX] (EDQUOT): Likewise.
43769 [POSIX] (EHOSTUNREACH): Likewise.
43770 [POSIX] (EIDRM): Likewise.
43771 [POSIX] (EISCONN): Likewise.
43772 [POSIX] (ELOOP): Likewise.
43773 [POSIX] (EMULTIHOP): Likewise.
43774 [POSIX] (ENETDOWN): Likewise.
43775 [POSIX] (ENETUNREACH): Likewise.
43776 [POSIX] (ENOBUFS): Likewise.
43777 [POSIX] (ENODATA): Likewise.
43778 [POSIX] (ENOLINK): Likewise.
43779 [POSIX] (ENOMSG): Likewise.
43780 [POSIX] (ENOPROTOOPT): Likewise.
43781 [POSIX] (ENOSR): Likewise.
43782 [POSIX] (ENOSTR): Likewise.
43783 [POSIX] (ENOTCONN): Likewise.
43784 [POSIX] (ENOTSOCK): Likewise.
43785 [POSIX] (EOPNOTSUPP): Likewise.
43786 [POSIX] (EOVERFLOW): Likewise.
43787 [POSIX] (EPROTO): Likewise.
43788 [POSIX] (EPROTONOSUPPORT): Likewise.
43789 [POSIX] (EPROTOTYPE): Likewise.
43790 [POSIX] (ESTALE): Likewise.
43791 [POSIX] (ETIME): Likewise.
43792 [POSIX] (ETXTBSY): Likewise.
43793 [POSIX] (EWOULDBLOCK): Likewise.
43794 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43795 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43796 [POSIX] (SEEK_CUR): Likewise.
43797 [POSIX] (SEEK_END): Likewise.
43798 [POSIX || UNIX98] (mode_t): Do not require.
43799 [POSIX] (off_t): Likewise.
43800 [POSIX] (pid_t): Likewise.
43801 [POSIX] (sys/stat.h): Do not allow header.
43802 [POSIX] (unistd.h): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43804 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43806 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43807 require.
43808 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43809 sigevent): Specify elements.
43810 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43811 entry.
43812 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43813 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43814
43815 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43816 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43817 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43818 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43819 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43820 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43821 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43822 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43823 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43824 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43825 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43827 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43828 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43829 Likewise.
43830 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43831 Likewise.
43832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43833 Likewise.
43834 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43835 Likewise.
43836 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43837 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43838 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43839 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43841 Specify lower bound on value.
43842 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43848 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43849 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43850 value.
43851 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43852 as optional.
43853 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43867 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43869 entry.
43870 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43871 optional.
43872 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43874 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43875 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43876 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43877 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43878 Likewise.
43879 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43880 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43884 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43885 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43886 as optional.
43887 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43891 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43892 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43893 specify as optional.
43894 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43898 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43899 [XPG3] (NL_LANGMAX): Likewise.
43900 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43901 [POSIX || XPG3] (NL_NMAX): Likewise.
43902 [POSIX || XPG3] (NL_SETMAX): Likewise.
43903 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43904 [XPG3] (NZERO): Likewise.
43905 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43906 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43907 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43908 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43909 (REG_ERANGE): Expect.
43910 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43911 optional-constant.
43912 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43913 Use (void) in prototype.
43914 [POSIX] (*_t): Allow.
43915 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43916 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43917 (WRDE_BADVAL): Expect.
43918
43919 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43920 expect.
43921 [XPG3 || XPG4] (O_RSYNC): Likewise.
43922 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43923 Likewise.
43924 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43925 [XPG3 || XPG4] (sigqueue): Likewise.
43926 [XPG3 || XPG4] (sigtimedwait): Likewise.
43927 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43928 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43929 [XPG3 || XPG4] (vsnprintf): Likewise.
43930 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43931 Likewise.
43932 [XPG3 || XPG4] (blksize_t): Likewise.
43933 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43934 Likewise.
43935 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43936 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43937 [XPG3 || XPG4] (struct itimerspec): Likewise.
43938 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43939 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43940 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43941 [XPG3 || XPG4] (clockid_t): Likewise.
43942 [XPG3 || XPG4] (timer_t): Likewise.
43943 [XPG3 || XPG4] (clock_getres): Likewise.
43944 [XPG3 || XPG4] (clock_gettime): Likewise.
43945 [XPG3 || XPG4] (clock_settime): Likewise.
43946 [XPG3 || XPG4] (nanosleep): Likewise.
43947 [XPG3 || XPG4] (timer_create): Likewise.
43948 [XPG3 || XPG4] (timer_delete): Likewise.
43949 [XPG3 || XPG4] (timer_gettime): Likewise.
43950 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43951 [XPG3 || XPG4] (timer_settime): Likewise.
43952 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43953 [XPG3 || XPG4] (getlogin_r): Likewise.
43954 [XPG3 || XPG4] (pread): Likewise.
43955 [XPG3 || XPG4] (pthread_atfork): Likewise.
43956 [XPG3 || XPG4] (pwrite): Likewise.
43957
43958 [BZ #14835]
43959 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43960 <bits/siginfo.h>.
43961
43962 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43963
43964 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43965 finalizing MALLSTREAM.
43966
43967 * sysdeps/mach/hurd/syncfs.c: New file.
43968
43969 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43970
43971 [BZ #14719]
43972 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43973 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43975 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43976 (_nss_dns_gethostbyname4_r): Likewise.
43977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43978 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43979
43980 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43981
43982 [BZ #13763]
43983 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43984
43985 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43986
43987 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43988 * elf/cache.c (print_entry): Print ",AArch64" for
43989 FLAG_AARCH64_LIB64
43990
43991 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43992 * elf/cache.c (print_entry): Print ",hard-float" for
43993 FLAG_ARM_LIBHF.
43994
43995 2012-11-18 David S. Miller <davem@davemloft.net>
43996
43997 With help from Joseph Myers.
43998 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43999 cutoff to 2**-13.
44000 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44001 cutoff to 2**-25.
44002 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44003 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44004 small.
44005 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44006 * math/libm-test.inc (y0_test): New tests.
44007 (y1_test): New tests.
44008 * sysdeps/i386/fpu/libm-test-ulps: Update.
44009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44011
44012 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
44013
44014 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44015 64-bit targets.
44016 * configure: Regenerated.
44017
44018 2012-11-17 David S. Miller <davem@davemloft.net>
44019
44020 [BZ #14811]
44021 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44022 nonzero exponents with absolute value below 0x1p-128 to +/-
44023 0x1p-128.
44024
44025 2012-11-17 Joseph Myers <joseph@codesourcery.com>
44026
44027 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44028
44029 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44030
44031 * posix/getconf-speclist.c: New file.
44032 * posix/posix-envs.def: Likewise.
44033 * posix/confstr.c (START_ENV_GROUP): New macro.
44034 (END_ENV_GROUP): Likewise.
44035 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44036 (KNOWN_PRESENT_ENV_STRING): Likewise.
44037 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44038 (UNKNOWN_ENVIRONMENT): Likewise.
44039 (confstr): Include posix-envs.def instead of handling
44040 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44041 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44042 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44043 (END_ENV_GROUP): Likewise.
44044 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44046 (UNKNOWN_ENVIRONMENT): Likewise.
44047 (__sysconf): Include posix-envs.def instead of handling associated
44048 cases directly here.
44049 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44050 preprocessing getconf-speclist.c rather than running getconf or
44051 generating empty file.
44052
44053 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44054
44055 * scripts/check-local-headers.sh: Ignore 'mach' headers.
44056
44057 2012-11-16 Andrej Lajovic <natrij@gmail.com>
44058
44059 [BZ #14672]
44060 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44061
44062 2012-11-16 David S. Miller <davem@davemloft.net>
44063
44064 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44065 smaller than LDBL_EPSILON/2.0L, just return xm1.
44066
44067 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
44068
44069 * elf/tst-array1.c (init): Set constructor priority to 1000.
44070 (fini): Set destructor priority to 1000.
44071 * elf/tst-array2dep.c: Likewise.
44072
44073 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44074
44075 [BZ #11741]
44076 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44077 (_IO_new_file_xsputn): Also return EOF if none of the input
44078 data was written when overflow failed.
44079 * libio/iopadn.c (_IO_padn): Likewise.
44080 * libio/iowpadn.c (_IO_wpadn): Likewise.
44081 * stdio-common/tst-put-error.c: Add copyright notice.
44082 (do_test): Add case for printing padded string.
44083 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44084 _IO_padn returned error.
44085 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44086 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44087 return EOF.
44088
44089 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44090
44091 * libio/libioP.h: Add comment note that the references to C++
44092 bits are now obsolete.
44093
44094 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44095
44096 * math/libm-test.inc (check_complex): Use asprintf.
44097
44098 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44099
44100 * debug/pcprofiledump.c (print_version): Update copyright year.
44101 * malloc/memusagestat.c (print_version): Likewise.
44102
44103 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44104
44105 [BZ #14831]
44106 * elf/Makefile (tests): Add tst-audit8.
44107 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44108 ($(objpfx)tst-audit8.out): New target.
44109 (tst-audit8-ENV): New variable.
44110 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44111 audit if l_reloc_result is NULL.
44112 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44113 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44114 * elf/tst-audit8.c: New file.
44115
44116 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44117
44118 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44119 * misc/Makefile (CFLAGS-select.c): Define.
44120 * posix/Makefile (CFLAGS-pause.c): Define.
44121
44122 2012-11-13 David S. Miller <davem@davemloft.net>
44123
44124 * crypt/Makefile: Move test targets after toplevel Rules
44125 inclusion. Grab any necessary sysdep routines when linking.
44126 * crypt/md5.c (md5_process_block): Remove define, we will always
44127 name it __md5_process_block.
44128 (md5_finish_ctx): Update md5_process_block call.
44129 (md5_stream): Likewise.
44130 (md5_process_bytes): Likewise.
44131 (md5_process_block): Rename to __md5_process_block and move to ...
44132 * crypt/md5-block.c: ... here.
44133 * crypt/sha256.c (sha256_process_block): Move to ...
44134 * crypt/sha256-block.c: ... here.
44135 * crypt/sha512.c (sha512_process_block): Move to ...
44136 * crypt/sha512-block.c: ... here.
44137 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44138 path.
44139 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44140 * sysdeps/sparc/sparc64/multiarch/Makefile
44141 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44142 crypt subdir.
44143 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44144 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44145 multiarch changes.
44146 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44147 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44148 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44149 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44150 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44151 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44152 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44153 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44155 file.
44156 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44158 file.
44159 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44160
44161 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44162
44163 * timezone/tzselect.ksh: Update from tzcode git revision
44164 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44165 * timezone/zdump.c: Likewise.
44166 * timezone/zic.c: Likewise.
44167 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44168 in TZVERSION setting, not $(PKGVERSION).
44169 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44170 REPORT_BUGS_TO settings.
44171
44172 [BZ #14838]
44173 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44174 macro.
44175
44176 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44177
44178 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44179 detection to immediately after _FP_ROUND().
44180 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44181 bits are 0.
44182
44183 2012-11-11 David S. Miller <davem@davemloft.net>
44184
44185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44186 inttypes.h
44187 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44188 __close rather than their public counterparts.
44189
44190 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44191
44192 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44193 file.
44194 [UNIX98] (sem_timedwait): Do not expect.
44195 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44196 [XPG4 || UNIX98] (sockatmark): Do not expect.
44197 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44198 (clock_getcpuclockid): Do not expect.
44199 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44200 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44201 Do not expect.
44202 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44203 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44204 [UNIX98] (vwscanf): Likewise.
44205 [UNIX98] (vswscanf): Likewise.
44206
44207 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44208
44209 * timezone/version.h: Remove file.
44210 * timezone/README: Do not refer to version.h.
44211 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44212 $(objpfx)version.h.
44213 ($(objpfx)zdump.o): Likewise.
44214 ($(objpfx)version.h): New target.
44215
44216 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44217 2012i.
44218 * timezone/README: Don't mention modification to tzselect.ksh.
44219 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44220 work on unmodified tzselect.ksh. Substitute version numbers in
44221 tzselect.ksh.
44222
44223 * Makefile (format-me): Remove.
44224 (INSTALL): Adjust indentation. Use commands directly instead of
44225 using $(format-me).
44226
44227 * aclocal.m4 (ACX_PKGVERSION): New macro.
44228 (ACX_BUGURL): Likewise.
44229 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44230 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44231 (REPORT_BUGS_TO): Likewise.
44232 * configure: Regenerated.
44233 * config.h.in (PKGVERSION): New macro.
44234 (REPORT_BUGS_TO): Likewise.
44235 * config.make.in (PKGVERSION): New variable.
44236 (PKGVERSION_TEXI): Likewise.
44237 (REPORT_BUGS_TO): Likewise.
44238 (REPORT_BUGS_TEXI): Likewise.
44239 * Makefile (format-me): Use -I$(common-objpfx)manual.
44240 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44241 ($(common-objpfx)manual/%): New target.
44242 (manual/%): Remove target.
44243 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44244 (print_version): Use PKGVERSION.
44245 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44246 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44247 and REPORT_BUGS_TO.
44248 ($(objpfx)xtrace): Likewise.
44249 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44250 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44251 (print_version): Use PKGVERSION.
44252 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44253 (do_version): Use PKGVERSION.
44254 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44255 REPORT_BUGS_TO.
44256 (common-ldd-rewrite): Likewise.
44257 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44258 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44259 (print_version): Use PKGVERSION.
44260 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44261 * elf/pldd.c (argp_program_bug_address): Remove variable.
44262 (more_help): New function.
44263 (argp): Use more_help.
44264 (print_version): Use PKGVERSION.
44265 * elf/sln.c (main): Use PKGVERSION.
44266 (usage): Use REPORT_BUGS_TO.
44267 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44268 (top level): Use PKGVERSION.
44269 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44270 (print_version): Use PKGVERSION.
44271 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44272 (print_version): Use PKGVERSION.
44273 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44274 (print_version): Use PKGVERSION.
44275 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44276 (print_version): Use PKGVERSION.
44277 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44278 (print_version): Use PKGVERSION.
44279 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44280 (print_version): Use PKGVERSION.
44281 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44282 and BUGURL.
44283 ($(objpfx)memusage): Likewise.
44284 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44285 (do_version): Use PKGVERSION.
44286 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44287 (print_version): Use PKGVERSION.
44288 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44289 ($PKGVERSION): New variable.
44290 ($REPORT_BUGS_TO): Likewise.
44291 (usage): Use $REPORT_BUGS_TO.
44292 (top level): Use $PKGVERSION.
44293 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44294 ($(objpfx)pkgvers.texi): New rule.
44295 ($(objpfx)stamp-pkgvers): Likewise.
44296 * manual/install.texi: Include pkgvers.texi.
44297 (--with-pkgversion): Document new configure option.
44298 (--with-bugurl): Likewise.
44299 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44300 than necessarily for this particular distribution. Use
44301 REPORT_BUGS_TO for where to report bugs.
44302 * INSTALL: Regenerated.
44303 * manual/libc.texinfo: Include pkgvers.texi.
44304 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44305 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44306 (print_version): Use PKGVERSION.
44307 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44308 (print_version): Use PKGVERSION.
44309 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44310 (print_version): Use PKGVERSION.
44311 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44312 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44313 macro.
44314 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44315 (print_version): Use PKGVERSION.
44316 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44317 (print_version): Use PKGVERSION.
44318 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44319 and PKGVERSION.
44320
44321 * timezone/checktab.awk: Update from tzcode 2012i.
44322 * timezone/ialloc.c: Likewise.
44323 * timezone/private.h: Likewise.
44324 * timezone/scheck.c: Likewise.
44325 * timezone/tzfile.h: Likewise.
44326 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44327 (TZVERSION): Hardcode tzcode version number.
44328 * timezone/zdump.c: Update from tzcode 2012i.
44329 * timezone/zic.c: Likewise.
44330 * timezone/version.h: New file.
44331 * timezone/README: Describe version.h. Update upstream location.
44332
44333 [BZ #14824]
44334 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44335 (mktemp): Enable declaration.
44336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44340 Likewise.
44341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44342 Likewise.
44343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44344 Likewise.
44345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44346 Likewise.
44347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44348 Likewise.
44349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44350 Likewise.
44351
44352 [BZ #14821]
44353 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44354 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44355 for copies of such integer values.
44356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44358
44359 2012-11-09 Andreas Jaeger <aj@suse.de>
44360
44361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44362 definitions and declarations that are provided by
44363 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44364
44365 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44366
44367 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44368 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44369 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44370 definition.
44371
44372 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44373
44374 * elf/elf.h: Update comment before AArch64 relocations.
44375
44376 2012-11-07 David S. Miller <davem@davemloft.net>
44377
44378 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44380 (__start_context): Declare.
44381 (__makecontext_ret): Delete.
44382 (__makecontext): Hook up __start_context instead of
44383 __makecontext_ret.
44384 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44385 (sysdep_routines): Add __start_context when in stdlib.
44386
44387 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44388
44389 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44390 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44391 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44392 hardcoded "nm".
44393 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44394 (READELF): New variable. Use it instead of hardcoded "readelf".
44395
44396 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44397
44398 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44399 * sysdeps/x86/Makefile: Here.
44400 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44401 * sysdeps/x86/tst-xmmymm.sh: This.
44402
44403 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44404
44405 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44406 expectations.
44407 [UNIX98] (pthread_barrier_t): Do not expect.
44408 [UNIX98] (pthread_barrierattr_t): Likewise.
44409 [UNIX98] (pthread_spinlock_t): Likewise.
44410 [UNIX98] (pthread_barrier_destroy): Likewise.
44411 [UNIX98] (pthread_barrier_init): Likewise.
44412 [UNIX98] (pthread_barrier_wait): Likewise.
44413 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44414 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44415 [UNIX98] (pthread_barrierattr_init): Likewise.
44416 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44417 [UNIX98] (pthread_getcpuclockid): Likewise.
44418 [UNIX98] (pthread_mutex_timedlock): Likewise.
44419 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44420 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44421 [UNIX98] (pthread_sigmask): Likewise.
44422 [UNIX98] (pthread_spin_destroy): Likewise.
44423 [UNIX98] (pthread_spin_init): Likewise.
44424 [UNIX98] (pthread_spin_lock): Likewise.
44425 [UNIX98] (pthread_spin_trylock): Likewise.
44426 [UNIX98] (pthread_spin_unlock): Likewise.
44427 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44428 Do not expect.
44429 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44430 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44431 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44432 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44433 [XPG3 || XPG4] (pthread_key_t): Likewise.
44434 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44435 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44436 [XPG3 || XPG4] (pthread_once_t): Likewise.
44437 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44438 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44439 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44440 [XPG3 || XPG4] (pthread_t): Likewise.
44441
44442 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44443 not expect.
44444 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44445
44446 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44447 Change function return type to int.
44448
44449 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44450 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44451 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44452 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44453 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44454 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44455 [!POSIX] (posix_madvise): Likewise.
44456 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44457 && !UNIX98].
44458 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44459 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44460 (mode_t): Likewise.
44461 (posix_mem_offset): Likewise.
44462 (posix_typed_mem_get_info): Likewise.
44463 (posix_typed_mem_open): Likewise.
44464
44465 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44466 Change condition to [XOPEN2K8].
44467
44468 * conform/conformtest.pl: Preprocess allow-header data with -x c
44469 instead of from stdin.
44470 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44471 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44472 [C99-based standards] (cerfc): Likewise.
44473 [C99-based standards] (cexp2): Likewise.
44474 [C99-based standards] (cexpm1): Likewise.
44475 [C99-based standards] (clog10): Likewise.
44476 [C99-based standards] (clog1p): Likewise.
44477 [C99-based standards] (clog2): Likewise.
44478 [C99-based standards] (clgamma): Likewise.
44479 [C99-based standards] (ctgamma): Likewise.
44480 [C99-based standards] (cerff): Likewise.
44481 [C99-based standards] (cerfcf): Likewise.
44482 [C99-based standards] (cexp2f): Likewise.
44483 [C99-based standards] (cexpm1f): Likewise.
44484 [C99-based standards] (clog10f): Likewise.
44485 [C99-based standards] (clog1pf): Likewise.
44486 [C99-based standards] (clog2f): Likewise.
44487 [C99-based standards] (clgammaf): Likewise.
44488 [C99-based standards] (ctgammaf): Likewise.
44489 [C99-based standards] (cerfl): Likewise.
44490 [C99-based standards] (cerfcl): Likewise.
44491 [C99-based standards] (cexp2l): Likewise.
44492 [C99-based standards] (cexpm1l): Likewise.
44493 [C99-based standards] (clog10l): Likewise.
44494 [C99-based standards] (clog1pl): Likewise.
44495 [C99-based standards] (clog2l): Likewise.
44496 [C99-based standards] (clgammal): Likewise.
44497 [C99-based standards] (ctgammal): Likewise.
44498 * conform/data/inttypes.h-data [C99-based standards]: Include
44499 stdint.h-data. Remove all expectations for stdint.h contents.
44500 [C99-based standards] (PRI*): Do not allow.
44501 [C99-based standards] (SCN*): Likewise.
44502 [C99-based standards] (*_t): Likewise.
44503 [C99-based-standards] (PRId8): Expect macro.
44504 [C99-based-standards] (PRIi8): Likewise.
44505 [C99-based-standards] (PRIo8): Likewise.
44506 [C99-based-standards] (PRIu8): Likewise.
44507 [C99-based-standards] (PRIx8): Likewise.
44508 [C99-based-standards] (PRIX8): Likewise.
44509 [C99-based-standards] (SCNd8): Likewise.
44510 [C99-based-standards] (SCNi8): Likewise.
44511 [C99-based-standards] (SCNo8): Likewise.
44512 [C99-based-standards] (SCNu8): Likewise.
44513 [C99-based-standards] (SCNx8): Likewise.
44514 [C99-based-standards] (PRIdLEAST8): Likewise.
44515 [C99-based-standards] (PRIiLEAST8): Likewise.
44516 [C99-based-standards] (PRIoLEAST8): Likewise.
44517 [C99-based-standards] (PRIuLEAST8): Likewise.
44518 [C99-based-standards] (PRIxLEAST8): Likewise.
44519 [C99-based-standards] (PRIXLEAST8): Likewise.
44520 [C99-based-standards] (SCNdLEAST8): Likewise.
44521 [C99-based-standards] (SCNiLEAST8): Likewise.
44522 [C99-based-standards] (SCNoLEAST8): Likewise.
44523 [C99-based-standards] (SCNuLEAST8): Likewise.
44524 [C99-based-standards] (SCNxLEAST8): Likewise.
44525 [C99-based-standards] (PRIdFAST8): Likewise.
44526 [C99-based-standards] (PRIiFAST8): Likewise.
44527 [C99-based-standards] (PRIoFAST8): Likewise.
44528 [C99-based-standards] (PRIuFAST8): Likewise.
44529 [C99-based-standards] (PRIxFAST8): Likewise.
44530 [C99-based-standards] (PRIXFAST8): Likewise.
44531 [C99-based-standards] (SCNdFAST8): Likewise.
44532 [C99-based-standards] (SCNiFAST8): Likewise.
44533 [C99-based-standards] (SCNoFAST8): Likewise.
44534 [C99-based-standards] (SCNuFAST8): Likewise.
44535 [C99-based-standards] (SCNxFAST8): Likewise.
44536 [C99-based-standards] (PRId16): Likewise.
44537 [C99-based-standards] (PRIi16): Likewise.
44538 [C99-based-standards] (PRIo16): Likewise.
44539 [C99-based-standards] (PRIu16): Likewise.
44540 [C99-based-standards] (PRIx16): Likewise.
44541 [C99-based-standards] (PRIX16): Likewise.
44542 [C99-based-standards] (SCNd16): Likewise.
44543 [C99-based-standards] (SCNi16): Likewise.
44544 [C99-based-standards] (SCNo16): Likewise.
44545 [C99-based-standards] (SCNu16): Likewise.
44546 [C99-based-standards] (SCNx16): Likewise.
44547 [C99-based-standards] (PRIdLEAST16): Likewise.
44548 [C99-based-standards] (PRIiLEAST16): Likewise.
44549 [C99-based-standards] (PRIoLEAST16): Likewise.
44550 [C99-based-standards] (PRIuLEAST16): Likewise.
44551 [C99-based-standards] (PRIxLEAST16): Likewise.
44552 [C99-based-standards] (PRIXLEAST16): Likewise.
44553 [C99-based-standards] (SCNdLEAST16): Likewise.
44554 [C99-based-standards] (SCNiLEAST16): Likewise.
44555 [C99-based-standards] (SCNoLEAST16): Likewise.
44556 [C99-based-standards] (SCNuLEAST16): Likewise.
44557 [C99-based-standards] (SCNxLEAST16): Likewise.
44558 [C99-based-standards] (PRIdFAST16): Likewise.
44559 [C99-based-standards] (PRIiFAST16): Likewise.
44560 [C99-based-standards] (PRIoFAST16): Likewise.
44561 [C99-based-standards] (PRIuFAST16): Likewise.
44562 [C99-based-standards] (PRIxFAST16): Likewise.
44563 [C99-based-standards] (PRIXFAST16): Likewise.
44564 [C99-based-standards] (SCNdFAST16): Likewise.
44565 [C99-based-standards] (SCNiFAST16): Likewise.
44566 [C99-based-standards] (SCNoFAST16): Likewise.
44567 [C99-based-standards] (SCNuFAST16): Likewise.
44568 [C99-based-standards] (SCNxFAST16): Likewise.
44569 [C99-based-standards] (PRId32): Likewise.
44570 [C99-based-standards] (PRIi32): Likewise.
44571 [C99-based-standards] (PRIo32): Likewise.
44572 [C99-based-standards] (PRIu32): Likewise.
44573 [C99-based-standards] (PRIx32): Likewise.
44574 [C99-based-standards] (PRIX32): Likewise.
44575 [C99-based-standards] (SCNd32): Likewise.
44576 [C99-based-standards] (SCNi32): Likewise.
44577 [C99-based-standards] (SCNo32): Likewise.
44578 [C99-based-standards] (SCNu32): Likewise.
44579 [C99-based-standards] (SCNx32): Likewise.
44580 [C99-based-standards] (PRIdLEAST32): Likewise.
44581 [C99-based-standards] (PRIiLEAST32): Likewise.
44582 [C99-based-standards] (PRIoLEAST32): Likewise.
44583 [C99-based-standards] (PRIuLEAST32): Likewise.
44584 [C99-based-standards] (PRIxLEAST32): Likewise.
44585 [C99-based-standards] (PRIXLEAST32): Likewise.
44586 [C99-based-standards] (SCNdLEAST32): Likewise.
44587 [C99-based-standards] (SCNiLEAST32): Likewise.
44588 [C99-based-standards] (SCNoLEAST32): Likewise.
44589 [C99-based-standards] (SCNuLEAST32): Likewise.
44590 [C99-based-standards] (SCNxLEAST32): Likewise.
44591 [C99-based-standards] (PRIdFAST32): Likewise.
44592 [C99-based-standards] (PRIiFAST32): Likewise.
44593 [C99-based-standards] (PRIoFAST32): Likewise.
44594 [C99-based-standards] (PRIuFAST32): Likewise.
44595 [C99-based-standards] (PRIxFAST32): Likewise.
44596 [C99-based-standards] (PRIXFAST32): Likewise.
44597 [C99-based-standards] (SCNdFAST32): Likewise.
44598 [C99-based-standards] (SCNiFAST32): Likewise.
44599 [C99-based-standards] (SCNoFAST32): Likewise.
44600 [C99-based-standards] (SCNuFAST32): Likewise.
44601 [C99-based-standards] (SCNxFAST32): Likewise.
44602 [C99-based-standards] (PRId64): Likewise.
44603 [C99-based-standards] (PRIi64): Likewise.
44604 [C99-based-standards] (PRIo64): Likewise.
44605 [C99-based-standards] (PRIu64): Likewise.
44606 [C99-based-standards] (PRIx64): Likewise.
44607 [C99-based-standards] (PRIX64): Likewise.
44608 [C99-based-standards] (SCNd64): Likewise.
44609 [C99-based-standards] (SCNi64): Likewise.
44610 [C99-based-standards] (SCNo64): Likewise.
44611 [C99-based-standards] (SCNu64): Likewise.
44612 [C99-based-standards] (SCNx64): Likewise.
44613 [C99-based-standards] (PRIdLEAST64): Likewise.
44614 [C99-based-standards] (PRIiLEAST64): Likewise.
44615 [C99-based-standards] (PRIoLEAST64): Likewise.
44616 [C99-based-standards] (PRIuLEAST64): Likewise.
44617 [C99-based-standards] (PRIxLEAST64): Likewise.
44618 [C99-based-standards] (PRIXLEAST64): Likewise.
44619 [C99-based-standards] (SCNdLEAST64): Likewise.
44620 [C99-based-standards] (SCNiLEAST64): Likewise.
44621 [C99-based-standards] (SCNoLEAST64): Likewise.
44622 [C99-based-standards] (SCNuLEAST64): Likewise.
44623 [C99-based-standards] (SCNxLEAST64): Likewise.
44624 [C99-based-standards] (PRIdFAST64): Likewise.
44625 [C99-based-standards] (PRIiFAST64): Likewise.
44626 [C99-based-standards] (PRIoFAST64): Likewise.
44627 [C99-based-standards] (PRIuFAST64): Likewise.
44628 [C99-based-standards] (PRIxFAST64): Likewise.
44629 [C99-based-standards] (PRIXFAST64): Likewise.
44630 [C99-based-standards] (SCNdFAST64): Likewise.
44631 [C99-based-standards] (SCNiFAST64): Likewise.
44632 [C99-based-standards] (SCNoFAST64): Likewise.
44633 [C99-based-standards] (SCNuFAST64): Likewise.
44634 [C99-based-standards] (SCNxFAST64): Likewise.
44635 [C99-based-standards] (PRIdMAX): Likewise.
44636 [C99-based-standards] (PRIiMAX): Likewise.
44637 [C99-based-standards] (PRIoMAX): Likewise.
44638 [C99-based-standards] (PRIuMAX): Likewise.
44639 [C99-based-standards] (PRIxMAX): Likewise.
44640 [C99-based-standards] (PRIXMAX): Likewise.
44641 [C99-based-standards] (SCNdMAX): Likewise.
44642 [C99-based-standards] (SCNiMAX): Likewise.
44643 [C99-based-standards] (SCNoMAX): Likewise.
44644 [C99-based-standards] (SCNuMAX): Likewise.
44645 [C99-based-standards] (SCNxMAX): Likewise.
44646 [C99-based-standards] (PRIdPTR): Likewise.
44647 [C99-based-standards] (PRIiPTR): Likewise.
44648 [C99-based-standards] (PRIoPTR): Likewise.
44649 [C99-based-standards] (PRIuPTR): Likewise.
44650 [C99-based-standards] (PRIxPTR): Likewise.
44651 [C99-based-standards] (PRIXPTR): Likewise.
44652 [C99-based-standards] (SCNdPTR): Likewise.
44653 [C99-based-standards] (SCNiPTR): Likewise.
44654 [C99-based-standards] (SCNoPTR): Likewise.
44655 [C99-based-standards] (SCNuPTR): Likewise.
44656 [C99-based-standards] (SCNxPTR): Likewise.
44657 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44658 allow.
44659 * conform/data/stdint.h-data: Update comments to clarify
44660 requirements.
44661 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44662 type.
44663 [C99-based standards] (INT8_MAX): Likewise.
44664 [C99-based standards] (INT16_MIN): Likewise.
44665 [C99-based standards] (INT16_MAX): Likewise.
44666 [C99-based standards] (INT32_MIN): Likewise.
44667 [C99-based standards] (INT32_MAX): Likewise.
44668 [C99-based standards] (INT64_MIN): Likewise.
44669 [C99-based standards] (INT64_MAX): Likewise.
44670 [C99-based standards] (UINT8_MAX): Likewise.
44671 [C99-based standards] (UINT16_MAX): Likewise.
44672 [C99-based standards] (UINT32_MAX): Likewise.
44673 [C99-based standards] (UINT64_MAX): Likewise.
44674 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44675 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44676 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44677 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44678 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44679 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44680 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44681 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44682 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44683 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44684 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44685 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44686 [C99-based standards] (INT_FAST8_MIN): Likewise.
44687 [C99-based standards] (INT_FAST8_MAX): Likewise.
44688 [C99-based standards] (INT_FAST16_MIN): Likewise.
44689 [C99-based standards] (INT_FAST16_MAX): Likewise.
44690 [C99-based standards] (INT_FAST32_MIN): Likewise.
44691 [C99-based standards] (INT_FAST32_MAX): Likewise.
44692 [C99-based standards] (INT_FAST64_MIN): Likewise.
44693 [C99-based standards] (INT_FAST64_MAX): Likewise.
44694 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44695 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44696 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44697 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44698 [C99-based standards] (INTPTR_MIN): Likewise.
44699 [C99-based standards] (INTPTR_MAX): Likewise.
44700 [C99-based standards] (UINTPTR_MAX): Likewise.
44701 [C99-based standards] (INTMAX_MIN): Likewise.
44702 [C99-based standards] (INTMAX_MAX): Likewise.
44703 [C99-based standards] (UINTMAX_MAX): Likewise.
44704 [C99-based standards] (PTRDIFF_MIN): Likewise.
44705 [C99-based standards] (PTRDIFF_MAX): Likewise.
44706 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44707 [C99-based standards] (SIZE_MAX): Likewise.
44708 [C99-based standards] (WCHAR_MAX): Likewise.
44709 [C99-based standards] (WINT_MAX): Likewise.
44710 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44711 constraint on value.
44712 [C99-based standards] (WCHAR_MIN): Likewise.
44713 [C99-based standards] (WINT_MIN): Likewise.
44714 [C99-based standards] (*_t): Allow.
44715 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44716 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44717 Include math.h-data and complex.h-data. Remove all expectations
44718 of math.h and complex.h contents.
44719 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44720 at end of line.
44721 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44722 (struct tm): Expect tag.
44723 [C99-based-standards] (wcstof): Expect function.
44724 [C99-based-standards] (wcstold): Likewise.
44725 [C99-based-standards] (wcstoll): Likewise.
44726 [C99-based-standards] (wcstoull): Likewise.
44727 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44728 macro-int-constant. Specify type.
44729 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44730 constraint on value.
44731 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44732 Specify type.
44733 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44734 Specify value.
44735 [ISO C standards]: Do not allow headers.
44736 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44737 wcs[abcdefghijklmnopqrstuvwxyz]*.
44738 [ISO C standards] (*_t): Do not allow.
44739 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44740 Expect function.
44741 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44742 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44743 Specify type.
44744 [ISO C standards]: Do not allow headers.
44745 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44746 is[abcdefghijklmnopqrstuvwxyz]*.
44747 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44748 to[abcdefghijklmnopqrstuvwxyz]*.
44749 [ISO C standards] (*_t): Do not allow.
44750 * conform/data/stdalign.h-data: New file.
44751 * conform/data/stdbool.h-data: Likewise.
44752 * conform/data/stdnoreturn.h-data: Likewise.
44753
44754 2012-11-07 Roland McGrath <roland@hack.frob.com>
44755
44756 [BZ #14815]
44757 * manual/filesys.texi (Directory Entries): Typo fix.
44758 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44759
44760 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44761
44762 * elf/elf.h (EM_AARCH64): New macro.
44763 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44764 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44765 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44766 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44767 (R_AARCH64_TLSDESC): Likewise.
44768 (NT_ARM_TLS): Likewise.
44769 (NT_ARM_HW_BREAK): Likewise.
44770 (NT_ARM_HW_WATCH): Likewise.
44771
44772 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44773
44774 [BZ #14811]
44775 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44776 (__ieee754_powl): Saturate nonzero exponents with absolute value
44777 below 0x1p-79 to +/- 0x1p-79.
44778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44779 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44780 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44781 nonzero exponents with absolute value below 0x1p-32 to +/-
44782 0x1p-32.
44783 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44784 (__ieee754_powl): Saturate nonzero exponents with absolute value
44785 below 0x1p-79 to +/- 0x1p-79.
44786 * math/libm-test.inc (pow_test): Add more tests.
44787
44788 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44789
44790 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44791 _dl_s390_cap_flags with kernel. Increase string length.
44792 (_dl_s390_platforms): Add z196 and zEC12.
44793
44794 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44795
44796 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44797 Change XOPEN21K to XOPEN2K.
44798
44799 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44800
44801 * string/memmove.c: Use memcpy when possible.
44802
44803 2012-11-06 Andreas Jaeger <aj@suse.de>
44804
44805 * po/eo.po: Update from translation team.
44806
44807 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44808
44809 [BZ #14793]
44810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44811 exponent and small x and y exponents, scale x or y up. Increase
44812 by 2 the exponent used in scaling up.
44813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44815 * math/libm-test.inc (fma_test): Add more tests.
44816 (fma_test_towardzero): Likewise.
44817 (fma_test_downward): Likewise.
44818 (fma_test_upward): Likewise.
44819
44820 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44821
44822 [BZ #14805]
44823 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44824 fenv_t *.
44825
44826 [BZ #14801]
44827 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44828 namespace for names of struct fields.
44829 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44830 fenv_t fields.
44831 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44832 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44833
44834 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44835
44836 [BZ #3665]
44837 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44838
44839 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44840
44841 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44842 PTR_DEMANGLE.
44843
44844 [BZ #5246]
44845 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44846 PTR_DEMANGLE.
44847
44848 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44849
44850 [BZ #14797]
44851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44852 definitely overflow as x * y not x * y + z.
44853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44855 * math/libm-test.inc (fma_test): Add more tests.
44856 (fma_test_towardzero): Likewise.
44857 (fma_test_downward): Likewise.
44858 (fma_test_upward): Likewise.
44859
44860 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44861
44862 [BZ #157]
44863
44864 * include/stub-tag.h: Remove file.
44865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44866 '#include' of it.
44867 * manual/maint.texi (Porting): Don't reference it.
44868 * Makerules ($(objpfx)stubs): Likewise.
44869 * dirent/closedir.c: Don't include <stub-tag.h>.
44870 * dirent/dirfd.c: Likewise.
44871 * dirent/fdopendir.c: Likewise.
44872 * dirent/getdents.c: Likewise.
44873 * dirent/getdents64.c: Likewise.
44874 * dirent/opendir.c: Likewise.
44875 * dirent/readdir.c: Likewise.
44876 * dirent/readdir64.c: Likewise.
44877 * dirent/readdir64_r.c: Likewise.
44878 * dirent/readdir_r.c: Likewise.
44879 * dirent/rewinddir.c: Likewise.
44880 * dirent/seekdir.c: Likewise.
44881 * dirent/telldir.c: Likewise.
44882 * gmon/profil.c: Likewise.
44883 * grp/setgroups.c: Likewise.
44884 * inet/if_index.c: Likewise.
44885 * io/access.c: Likewise.
44886 * io/chdir.c: Likewise.
44887 * io/chmod.c: Likewise.
44888 * io/chown.c: Likewise.
44889 * io/close.c: Likewise.
44890 * io/dup.c: Likewise.
44891 * io/dup2.c: Likewise.
44892 * io/dup3.c: Likewise.
44893 * io/euidaccess.c: Likewise.
44894 * io/faccessat.c: Likewise.
44895 * io/fchdir.c: Likewise.
44896 * io/fchmod.c: Likewise.
44897 * io/fchmodat.c: Likewise.
44898 * io/fchown.c: Likewise.
44899 * io/fchownat.c: Likewise.
44900 * io/fcntl.c: Likewise.
44901 * io/flock.c: Likewise.
44902 * io/fstatfs.c: Likewise.
44903 * io/fstatfs64.c: Likewise.
44904 * io/fstatvfs.c: Likewise.
44905 * io/fstatvfs64.c: Likewise.
44906 * io/futimens.c: Likewise.
44907 * io/fxstat.c: Likewise.
44908 * io/fxstat64.c: Likewise.
44909 * io/fxstatat.c: Likewise.
44910 * io/fxstatat64.c: Likewise.
44911 * io/getcwd.c: Likewise.
44912 * io/isatty.c: Likewise.
44913 * io/lchmod.c: Likewise.
44914 * io/lchown.c: Likewise.
44915 * io/link.c: Likewise.
44916 * io/linkat.c: Likewise.
44917 * io/lseek.c: Likewise.
44918 * io/lseek64.c: Likewise.
44919 * io/lxstat64.c: Likewise.
44920 * io/mkdir.c: Likewise.
44921 * io/mkdirat.c: Likewise.
44922 * io/mkfifo.c: Likewise.
44923 * io/mkfifoat.c: Likewise.
44924 * io/open.c: Likewise.
44925 * io/open64.c: Likewise.
44926 * io/openat.c: Likewise.
44927 * io/openat64.c: Likewise.
44928 * io/pipe.c: Likewise.
44929 * io/pipe2.c: Likewise.
44930 * io/poll.c: Likewise.
44931 * io/posix_fadvise.c: Likewise.
44932 * io/posix_fadvise64.c: Likewise.
44933 * io/posix_fallocate.c: Likewise.
44934 * io/posix_fallocate64.c: Likewise.
44935 * io/read.c: Likewise.
44936 * io/readlink.c: Likewise.
44937 * io/readlinkat.c: Likewise.
44938 * io/rmdir.c: Likewise.
44939 * io/sendfile.c: Likewise.
44940 * io/sendfile64.c: Likewise.
44941 * io/statfs.c: Likewise.
44942 * io/statfs64.c: Likewise.
44943 * io/statvfs.c: Likewise.
44944 * io/statvfs64.c: Likewise.
44945 * io/symlink.c: Likewise.
44946 * io/symlinkat.c: Likewise.
44947 * io/ttyname.c: Likewise.
44948 * io/ttyname_r.c: Likewise.
44949 * io/umask.c: Likewise.
44950 * io/unlink.c: Likewise.
44951 * io/unlinkat.c: Likewise.
44952 * io/utime.c: Likewise.
44953 * io/utimensat.c: Likewise.
44954 * io/write.c: Likewise.
44955 * io/xmknod.c: Likewise.
44956 * io/xmknodat.c: Likewise.
44957 * io/xstat.c: Likewise.
44958 * io/xstat64.c: Likewise.
44959 * login/getpt.c: Likewise.
44960 * login/grantpt.c: Likewise.
44961 * login/unlockpt.c: Likewise.
44962 * math/e_acoshl.c: Likewise.
44963 * math/e_acosl.c: Likewise.
44964 * math/e_asinl.c: Likewise.
44965 * math/e_atan2l.c: Likewise.
44966 * math/e_atanhl.c: Likewise.
44967 * math/e_coshl.c: Likewise.
44968 * math/e_expl.c: Likewise.
44969 * math/e_fmodl.c: Likewise.
44970 * math/e_gammal_r.c: Likewise.
44971 * math/e_hypotl.c: Likewise.
44972 * math/e_j0l.c: Likewise.
44973 * math/e_j1l.c: Likewise.
44974 * math/e_jnl.c: Likewise.
44975 * math/e_lgammal_r.c: Likewise.
44976 * math/e_log10l.c: Likewise.
44977 * math/e_log2l.c: Likewise.
44978 * math/e_logl.c: Likewise.
44979 * math/e_powl.c: Likewise.
44980 * math/e_rem_pio2l.c: Likewise.
44981 * math/e_sinhl.c: Likewise.
44982 * math/e_sqrtl.c: Likewise.
44983 * math/fclrexcpt.c: Likewise.
44984 * math/fedisblxcpt.c: Likewise.
44985 * math/feenablxcpt.c: Likewise.
44986 * math/fegetenv.c: Likewise.
44987 * math/fegetexcept.c: Likewise.
44988 * math/fegetround.c: Likewise.
44989 * math/feholdexcpt.c: Likewise.
44990 * math/fesetenv.c: Likewise.
44991 * math/fesetround.c: Likewise.
44992 * math/feupdateenv.c: Likewise.
44993 * math/fgetexcptflg.c: Likewise.
44994 * math/fraiseexcpt.c: Likewise.
44995 * math/fsetexcptflg.c: Likewise.
44996 * math/ftestexcept.c: Likewise.
44997 * math/k_cosl.c: Likewise.
44998 * math/k_rem_pio2l.c: Likewise.
44999 * math/k_sinl.c: Likewise.
45000 * math/k_tanl.c: Likewise.
45001 * math/s_asinhl.c: Likewise.
45002 * math/s_atanl.c: Likewise.
45003 * math/s_cbrtl.c: Likewise.
45004 * math/s_erfl.c: Likewise.
45005 * math/s_expm1l.c: Likewise.
45006 * math/s_log1pl.c: Likewise.
45007 * math/s_tanhl.c: Likewise.
45008 * misc/acct.c: Likewise.
45009 * misc/brk.c: Likewise.
45010 * misc/chflags.c: Likewise.
45011 * misc/chroot.c: Likewise.
45012 * misc/fchflags.c: Likewise.
45013 * misc/fgetxattr.c: Likewise.
45014 * misc/flistxattr.c: Likewise.
45015 * misc/fremovexattr.c: Likewise.
45016 * misc/fsetxattr.c: Likewise.
45017 * misc/fsync.c: Likewise.
45018 * misc/ftruncate.c: Likewise.
45019 * misc/futimes.c: Likewise.
45020 * misc/futimesat.c: Likewise.
45021 * misc/getdomain.c: Likewise.
45022 * misc/getdtsz.c: Likewise.
45023 * misc/gethostid.c: Likewise.
45024 * misc/gethostname.c: Likewise.
45025 * misc/getloadavg.c: Likewise.
45026 * misc/getpagesize.c: Likewise.
45027 * misc/getsysstats.c: Likewise.
45028 * misc/getxattr.c: Likewise.
45029 * misc/gtty.c: Likewise.
45030 * misc/ioctl.c: Likewise.
45031 * misc/lgetxattr.c: Likewise.
45032 * misc/listxattr.c: Likewise.
45033 * misc/llistxattr.c: Likewise.
45034 * misc/lremovexattr.c: Likewise.
45035 * misc/lsetxattr.c: Likewise.
45036 * misc/lutimes.c: Likewise.
45037 * misc/madvise.c: Likewise.
45038 * misc/mincore.c: Likewise.
45039 * misc/mlock.c: Likewise.
45040 * misc/mlockall.c: Likewise.
45041 * misc/mmap.c: Likewise.
45042 * misc/mprotect.c: Likewise.
45043 * misc/msync.c: Likewise.
45044 * misc/munlock.c: Likewise.
45045 * misc/munlockall.c: Likewise.
45046 * misc/munmap.c: Likewise.
45047 * misc/preadv.c: Likewise.
45048 * misc/preadv64.c: Likewise.
45049 * misc/ptrace.c: Likewise.
45050 * misc/pwritev.c: Likewise.
45051 * misc/pwritev64.c: Likewise.
45052 * misc/readv.c: Likewise.
45053 * misc/reboot.c: Likewise.
45054 * misc/remap_file_pages.c: Likewise.
45055 * misc/removexattr.c: Likewise.
45056 * misc/revoke.c: Likewise.
45057 * misc/select.c: Likewise.
45058 * misc/setdomain.c: Likewise.
45059 * misc/setegid.c: Likewise.
45060 * misc/seteuid.c: Likewise.
45061 * misc/sethostid.c: Likewise.
45062 * misc/sethostname.c: Likewise.
45063 * misc/setregid.c: Likewise.
45064 * misc/setreuid.c: Likewise.
45065 * misc/setxattr.c: Likewise.
45066 * misc/sstk.c: Likewise.
45067 * misc/stty.c: Likewise.
45068 * misc/swapoff.c: Likewise.
45069 * misc/swapon.c: Likewise.
45070 * misc/sync.c: Likewise.
45071 * misc/syncfs.c: Likewise.
45072 * misc/syscall.c: Likewise.
45073 * misc/truncate.c: Likewise.
45074 * misc/ualarm.c: Likewise.
45075 * misc/usleep.c: Likewise.
45076 * misc/ustat.c: Likewise.
45077 * misc/utimes.c: Likewise.
45078 * misc/vhangup.c: Likewise.
45079 * misc/writev.c: Likewise.
45080 * posix/_exit.c: Likewise.
45081 * posix/alarm.c: Likewise.
45082 * posix/execve.c: Likewise.
45083 * posix/fexecve.c: Likewise.
45084 * posix/fork.c: Likewise.
45085 * posix/fpathconf.c: Likewise.
45086 * posix/getaddrinfo.c: Likewise.
45087 * posix/getegid.c: Likewise.
45088 * posix/geteuid.c: Likewise.
45089 * posix/getgid.c: Likewise.
45090 * posix/getgroups.c: Likewise.
45091 * posix/getlogin.c: Likewise.
45092 * posix/getlogin_r.c: Likewise.
45093 * posix/getpgid.c: Likewise.
45094 * posix/getpid.c: Likewise.
45095 * posix/getppid.c: Likewise.
45096 * posix/getresgid.c: Likewise.
45097 * posix/getresuid.c: Likewise.
45098 * posix/getsid.c: Likewise.
45099 * posix/getuid.c: Likewise.
45100 * posix/glob64.c: Likewise.
45101 * posix/nanosleep.c: Likewise.
45102 * posix/pathconf.c: Likewise.
45103 * posix/pause.c: Likewise.
45104 * posix/posix_madvise.c: Likewise.
45105 * posix/pread.c: Likewise.
45106 * posix/pread64.c: Likewise.
45107 * posix/pwrite.c: Likewise.
45108 * posix/pwrite64.c: Likewise.
45109 * posix/sched_getaffinity.c: Likewise.
45110 * posix/sched_getp.c: Likewise.
45111 * posix/sched_gets.c: Likewise.
45112 * posix/sched_primax.c: Likewise.
45113 * posix/sched_primin.c: Likewise.
45114 * posix/sched_rr_gi.c: Likewise.
45115 * posix/sched_setaffinity.c: Likewise.
45116 * posix/sched_setp.c: Likewise.
45117 * posix/sched_sets.c: Likewise.
45118 * posix/sched_yield.c: Likewise.
45119 * posix/setgid.c: Likewise.
45120 * posix/setlogin.c: Likewise.
45121 * posix/setpgid.c: Likewise.
45122 * posix/setresgid.c: Likewise.
45123 * posix/setresuid.c: Likewise.
45124 * posix/setsid.c: Likewise.
45125 * posix/setuid.c: Likewise.
45126 * posix/sleep.c: Likewise.
45127 * posix/spawni.c: Likewise.
45128 * posix/sysconf.c: Likewise.
45129 * posix/times.c: Likewise.
45130 * posix/wait.c: Likewise.
45131 * posix/wait3.c: Likewise.
45132 * posix/wait4.c: Likewise.
45133 * posix/waitpid.c: Likewise.
45134 * resolv/gai_sigqueue.c: Likewise.
45135 * resource/getpriority.c: Likewise.
45136 * resource/getrlimit.c: Likewise.
45137 * resource/getrusage.c: Likewise.
45138 * resource/nice.c: Likewise.
45139 * resource/setpriority.c: Likewise.
45140 * resource/setrlimit.c: Likewise.
45141 * resource/ulimit.c: Likewise.
45142 * rt/aio_cancel.c: Likewise.
45143 * rt/aio_fsync.c: Likewise.
45144 * rt/aio_read.c: Likewise.
45145 * rt/aio_sigqueue.c: Likewise.
45146 * rt/aio_suspend.c: Likewise.
45147 * rt/aio_write.c: Likewise.
45148 * rt/clock_getres.c: Likewise.
45149 * rt/clock_gettime.c: Likewise.
45150 * rt/clock_nanosleep.c: Likewise.
45151 * rt/clock_settime.c: Likewise.
45152 * rt/lio_listio.c: Likewise.
45153 * rt/mq_close.c: Likewise.
45154 * rt/mq_getattr.c: Likewise.
45155 * rt/mq_notify.c: Likewise.
45156 * rt/mq_open.c: Likewise.
45157 * rt/mq_receive.c: Likewise.
45158 * rt/mq_send.c: Likewise.
45159 * rt/mq_setattr.c: Likewise.
45160 * rt/mq_timedreceive.c: Likewise.
45161 * rt/mq_timedsend.c: Likewise.
45162 * rt/mq_unlink.c: Likewise.
45163 * rt/shm_open.c: Likewise.
45164 * rt/shm_unlink.c: Likewise.
45165 * rt/timer_create.c: Likewise.
45166 * rt/timer_delete.c: Likewise.
45167 * rt/timer_getoverr.c: Likewise.
45168 * rt/timer_gettime.c: Likewise.
45169 * rt/timer_settime.c: Likewise.
45170 * setjmp/__longjmp.c: Likewise.
45171 * setjmp/setjmp.c: Likewise.
45172 * signal/kill.c: Likewise.
45173 * signal/killpg.c: Likewise.
45174 * signal/raise.c: Likewise.
45175 * signal/sigaction.c: Likewise.
45176 * signal/sigaltstack.c: Likewise.
45177 * signal/sigblock.c: Likewise.
45178 * signal/sigignore.c: Likewise.
45179 * signal/sigintr.c: Likewise.
45180 * signal/signal.c: Likewise.
45181 * signal/sigpause.c: Likewise.
45182 * signal/sigpending.c: Likewise.
45183 * signal/sigqueue.c: Likewise.
45184 * signal/sigreturn.c: Likewise.
45185 * signal/sigset.c: Likewise.
45186 * signal/sigsetmask.c: Likewise.
45187 * signal/sigstack.c: Likewise.
45188 * signal/sigsuspend.c: Likewise.
45189 * signal/sigtimedwait.c: Likewise.
45190 * signal/sigvec.c: Likewise.
45191 * signal/sigwait.c: Likewise.
45192 * signal/sigwaitinfo.c: Likewise.
45193 * signal/sysv_signal.c: Likewise.
45194 * socket/accept.c: Likewise.
45195 * socket/accept4.c: Likewise.
45196 * socket/bind.c: Likewise.
45197 * socket/connect.c: Likewise.
45198 * socket/getpeername.c: Likewise.
45199 * socket/getsockname.c: Likewise.
45200 * socket/getsockopt.c: Likewise.
45201 * socket/isfdtype.c: Likewise.
45202 * socket/listen.c: Likewise.
45203 * socket/recv.c: Likewise.
45204 * socket/recvfrom.c: Likewise.
45205 * socket/recvmsg.c: Likewise.
45206 * socket/send.c: Likewise.
45207 * socket/sendmsg.c: Likewise.
45208 * socket/sendto.c: Likewise.
45209 * socket/setsockopt.c: Likewise.
45210 * socket/shutdown.c: Likewise.
45211 * socket/sockatmark.c: Likewise.
45212 * socket/socket.c: Likewise.
45213 * socket/socketpair.c: Likewise.
45214 * stdio-common/ctermid.c: Likewise.
45215 * stdio-common/cuserid.c: Likewise.
45216 * stdio-common/remove.c: Likewise.
45217 * stdio-common/rename.c: Likewise.
45218 * stdio-common/renameat.c: Likewise.
45219 * stdio-common/tempname.c: Likewise.
45220 * stdlib/getcontext.c: Likewise.
45221 * stdlib/makecontext.c: Likewise.
45222 * stdlib/setcontext.c: Likewise.
45223 * stdlib/swapcontext.c: Likewise.
45224 * stdlib/system.c: Likewise.
45225 * streams/fattach.c: Likewise.
45226 * streams/fdetach.c: Likewise.
45227 * streams/getmsg.c: Likewise.
45228 * streams/getpmsg.c: Likewise.
45229 * streams/putmsg.c: Likewise.
45230 * streams/putpmsg.c: Likewise.
45231 * sysdeps/unix/bsd/getpt.c: Likewise.
45232 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45233 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45234 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45236 Likewise.
45237 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45239 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45240 * sysvipc/msgctl.c: Likewise.
45241 * sysvipc/msgget.c: Likewise.
45242 * sysvipc/msgrcv.c: Likewise.
45243 * sysvipc/msgsnd.c: Likewise.
45244 * sysvipc/semctl.c: Likewise.
45245 * sysvipc/semget.c: Likewise.
45246 * sysvipc/semop.c: Likewise.
45247 * sysvipc/semtimedop.c: Likewise.
45248 * sysvipc/shmat.c: Likewise.
45249 * sysvipc/shmctl.c: Likewise.
45250 * sysvipc/shmdt.c: Likewise.
45251 * sysvipc/shmget.c: Likewise.
45252 * termios/tcdrain.c: Likewise.
45253 * termios/tcflow.c: Likewise.
45254 * termios/tcflush.c: Likewise.
45255 * termios/tcgetattr.c: Likewise.
45256 * termios/tcgetpgrp.c: Likewise.
45257 * termios/tcsendbrk.c: Likewise.
45258 * termios/tcsetattr.c: Likewise.
45259 * termios/tcsetpgrp.c: Likewise.
45260 * time/adjtime.c: Likewise.
45261 * time/clock.c: Likewise.
45262 * time/getitimer.c: Likewise.
45263 * time/gettimeofday.c: Likewise.
45264 * time/setitimer.c: Likewise.
45265 * time/settimeofday.c: Likewise.
45266 * time/stime.c: Likewise.
45267 * time/time.c: Likewise.
45268
45269 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45270
45271 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45272 /usr/old/bin.
45273
45274 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45275 instead of spaces.
45276 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45277
45278 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45279
45280 [BZ #14796]
45281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45282 FE_TONEAREST before applying Dekker multiplication and Knuth
45283 addition. Clear inexact exceptions and check for exact zero
45284 results afterwards.
45285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45286 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45287 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45288 * math/libm-test.inc (fma_test): Add more tests.
45289 (fma_test_towardzero): Likewise.
45290 (fma_test_downward): Likewise.
45291 (fma_test_upward): Likewise.
45292 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45293 function.
45294 (libc_fesetround): New macro.
45295 (libc_fesetroundf): Likewise.
45296 (libc_fesetroundl): Likewise.
45297 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45298 function.
45299 (libc_fesetround_387): Likewise.
45300 (libc_fesetroundf): New macro.
45301 (libc_fesetround): Likewise.
45302 (libc_fesetroundl): Likewise.
45303 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45304 function.
45305 (libc_fesetroundf): New macro.
45306 (libc_fesetround): Likewise.
45307 (libc_fesetroundl): Likewise.
45308 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45309 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45310 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45311 libm_hidden_ver.
45312 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45313 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45314 libm_hidden_def.
45315 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45316 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45317 libm_hidden_ver.
45318 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45319 libm_hidden_def.
45320
45321 [BZ #3439]
45322 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45323 integer constant usable in #if and use that to give value to enum
45324 constant.
45325 (FE_DIVBYZERO): Likewise.
45326 (FE_UNDERFLOW): Likewise.
45327 (FE_OVERFLOW): Likewise.
45328 (FE_INVALID): Likewise.
45329 (FE_INVALID_SNAN): Likewise.
45330 (FE_INVALID_ISI): Likewise.
45331 (FE_INVALID_IDI): Likewise.
45332 (FE_INVALID_ZDZ): Likewise.
45333 (FE_INVALID_IMZ): Likewise.
45334 (FE_INVALID_COMPARE): Likewise.
45335 (FE_INVALID_SOFTWARE): Likewise.
45336 (FE_INVALID_SQRT): Likewise.
45337 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45338 (FE_TONEAREST): Likewise.
45339 (FE_TOWARDZERO): Likewise.
45340 (FE_UPWARD): Likewise.
45341 (FE_DOWNWARD): Likewise.
45342 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45343 (FE_DIVBYZERO): Likewise.
45344 (FE_OVERFLOW): Likewise.
45345 (FE_UNDERFLOW): Likewise.
45346 (FE_INEXACT): Likewise.
45347 (FE_TONEAREST): Likewise.
45348 (FE_DOWNWARD): Likewise.
45349 (FE_UPWARD): Likewise.
45350 (FE_TOWARDZERO): Likewise.
45351 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45352 (FE_UNDERFLOW): Likewise.
45353 (FE_OVERFLOW): Likewise.
45354 (FE_DIVBYZERO): Likewise.
45355 (FE_INVALID): Likewise.
45356 (FE_TONEAREST): Likewise.
45357 (FE_TOWARDZERO): Likewise.
45358 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45359 (FE_OVERFLOW): Likewise.
45360 (FE_UNDERFLOW): Likewise.
45361 (FE_DIVBYZERO): Likewise.
45362 (FE_INEXACT): Likewise.
45363 (FE_TONEAREST): Likewise.
45364 (FE_TOWARDZERO): Likewise.
45365 (FE_UPWARD): Likewise.
45366 (FE_DOWNWARD): Likewise.
45367 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45368 (FE_DIVBYZERO): Likewise.
45369 (FE_OVERFLOW): Likewise.
45370 (FE_UNDERFLOW): Likewise.
45371 (FE_INEXACT): Likewise.
45372 (FE_TONEAREST): Likewise.
45373 (FE_DOWNWARD): Likewise.
45374 (FE_UPWARD): Likewise.
45375 (FE_TOWARDZERO): Likewise.
45376
45377 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45378
45379 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45380
45381 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45382
45383 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45384 commands. Quote $PWD.
45385 (blacklist_exports): Don't use remove_newlines. Replace "declare
45386 -x" by "export".
45387 (remove_newlines): Remove.
45388
45389 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45390
45391 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45392 * stdlib/stdlib.h (atof): Moved to ...
45393 * include/bits/stdlib-float.h: Here. New file.
45394 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45395 * stdlib/bits/stdlib-float.h: New file.
45396 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45397 -mno-sse -mno-mmx.
45398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45399 <xmmintrin.h>.
45400
45401 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45402
45403 * conform/conformtest.pl (@headers): Add fenv.h.
45404 * conform/data/fenv.h-data: New file.
45405 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45406 include of <math/fenv.h>.
45407
45408 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45409 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45410 && !UNIX98]. Enables tests for XOPEN2K8.
45411 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45412 POSIX2008]: Likewise.
45413
45414 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45415 (struct rusage): Do not expect type or its members.
45416
45417 [BZ #3439]
45418 * math/math.h (FP_NAN): Define macro to integer constant usable in
45419 #if and use that to give value to enum constant.
45420 (FP_INFINITE): Likewise.
45421 (FP_ZERO): Likewise.
45422 (FP_SUBNORMAL): Likewise.
45423 (FP_NORMAL): Likewise.
45424
45425 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45426
45427 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45428 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45429 arguments.
45430
45431 2012-11-02 Roland McGrath <roland@hack.frob.com>
45432
45433 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45434 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45435 autoconf-time if not.
45436 * configure.in: Remove AC_PREREQ.
45437
45438 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45439
45440 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45441 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45442 of the internal implementation.
45443
45444 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45445
45446 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45447 except include of <misc/sys/syslog.h>.
45448
45449 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45450
45451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45452 function returns with a NULL context exit with zero.
45453
45454 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45455
45456 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45457
45458 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45459
45460 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45461 (run_program_cmd): This.
45462 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45463 (tst_langinfo): New variable. Use it.
45464
45465 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45466
45467 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45468 floating point opcodes.
45469
45470 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45471
45472 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45473 variable.
45474
45475 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45476
45477 * sysdeps/mach/hurd/powerpc: Remove directory.
45478 * sysdeps/mach/powerpc: Likewise.
45479
45480 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45481
45482 * scripts/check-local-headers.sh: Ignore c++ headers.
45483
45484 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45485
45486 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45487 __libc_cleanup_region_start argument.
45488
45489 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45490
45491 [BZ #14784]
45492 [BZ #14785]
45493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45494 x * y using scaling, not as x * y + z.
45495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45497 * math/libm-test.inc (fma_test): Add more tests.
45498 (fma_test_towardzero): Likewise.
45499 (fma_test_downward): Likewise.
45500 (fma_test_upward): Likewise.
45501
45502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45503
45504 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45505
45506 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45507
45508 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45509 New variable.
45510
45511 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45512
45513 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45514
45515 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45516
45517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45518 Fix sort order.
45519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45520 Likewise.
45521
45522 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45523
45524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45525 Fix the order of the list for glibc 2.17.
45526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45527 Likewise.
45528
45529 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45530
45531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45532
45533 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45534
45535 [BZ #14610]
45536 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45537 for low part of x being zero before using __atanl (y).
45538 * math/libm-test.inc (atan2_test): Add another test.
45539
45540 * manual/install.texi (Configuring and compiling): Document
45541 general use of test-wrapper and test-wrapper-env.
45542 * INSTALL: Regenerated.
45543
45544 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45545 (__fma): Do not extract and scale down low bits on after-rounding
45546 systems when result rounded to normal precision would have normal
45547 exponent.
45548 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45549 (__fmal): Do not extract and scale down low bits on after-rounding
45550 systems when result rounded to normal precision would have normal
45551 exponent.
45552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45553 (__fmal): Do not extract and scale down low bits on after-rounding
45554 systems when result rounded to normal precision would have normal
45555 exponent.
45556 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45557 macro.
45558 (fma_test): Add more tests.
45559 (fma_test_towardzero): Likewise.
45560 (fma_test_downward): Likewise.
45561 (fma_test_upward): Likewise.
45562
45563 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45564
45565 * sysdeps/i386/tininess.h: Renamed to ...
45566 * sysdeps/x86/tininess.h: This.
45567 * sysdeps/x86_64/tininess.h: Removed.
45568
45569 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45570
45571 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45572 input. Use $(build-program-cmd).
45573 ($(objpfx)tst-array1-static.out): Likewise.
45574 ($(objpfx)tst-array2.out): Likewise.
45575 ($(objpfx)tst-array3.out): Likewise.
45576 ($(objpfx)tst-array4.out): Likewise.
45577 ($(objpfx)tst-array5.out): Likewise.
45578 ($(objpfx)tst-array5-static.out): Likewise.
45579
45580 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45581
45582 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45583 if defined.
45584
45585 * nss/nsswitch.h (nss_interface_function): Provide new
45586 macro for use with NSS functions.
45587 * grp/initgroups.c: Use new macro.
45588 * nss/getXXbyYY.c: Likewise.
45589 * nss/getXXbyYY_r.c: Likewise.
45590 * nss/getXXent.c: Likewise.
45591 * nss/getXXent_r.c: Likewise.
45592 * sysdeps/posix/getaddrinfo.c: Likewise.
45593
45594 2012-10-30 Andreas Jaeger <aj@suse.de>
45595
45596 * po/ru.po: Update Russion translation from translation project.
45597
45598 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45599
45600 [BZ #14152]
45601 [BZ #14783]
45602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45603 result and shift together with sticky bit instead of replicating
45604 round-to-nearest rounding.
45605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45607 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45608 missing underflow exceptions.
45609 (fma_test_towardzero): Add more tests.
45610 (fma_test_downward): Likewise.
45611 (fma_test_upward): Likewise.
45612
45613 [BZ #14047]
45614 * sysdeps/generic/tininess.h: New file.
45615 * sysdeps/i386/tininess.h: Likewise.
45616 * sysdeps/sh/tininess.h: Likewise.
45617 * sysdeps/x86_64/tininess.h: Likewise.
45618 * stdlib/tst-strtod-underflow.c: Likewise.
45619 * stdlib/tst-tininess.c: Likewise.
45620 * stdlib/strtod_l.c: Include <tininess.h>.
45621 (round_and_return): Do not set errno for exact underflow cases.
45622 Force an underflow exception when setting errno for underflow.
45623 Determine underflow based on rounding to normal precision if
45624 TININESS_AFTER_ROUNDING.
45625 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45626 ERANGE for exact underflow cases.
45627 * stdlib/Makefile (tests): Add tst-tininess and
45628 tst-strtod-underflow.
45629 ($(objpfx)tst-tininess): Use $(link-libm).
45630 ($(objpfx)tst-strtod-underflow): Likewise.
45631
45632 2012-10-30 Andreas Jaeger <aj@suse.de>
45633
45634 [BZ#14767]
45635 * elf/Makefile (tests): Remove conditional for have-initfini-array
45636 since this is now always required and the variable does not exist
45637 anymore.
45638 (tests-static): Likewise.
45639 (modules-names): Likewise.
45640
45641 * po/eo.po: Add Esperanto translation from translation project.
45642
45643 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45644 merged with constructor/destructor.
45645 (init_array): Likewise.
45646 * elf/tst-array2dep.c (fini_array): Likewise.
45647 (init_array): Likewise.
45648
45649 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45650
45651 * manual/message.texi: Delete @cartouche tags.
45652
45653 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45654
45655 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45656 EOPNOTSUPP.
45657 * sysdeps/mach/hurd/fsync.c: Likewise.
45658
45659 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45660 [_POSIX_REALTIME_SIGNALS]: Change condition to
45661 [_POSIX_REALTIME_SIGNALS > 0].
45662
45663 2012-10-27 Andreas Jaeger <aj@suse.de>
45664
45665 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45666 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45668 [__WORDSIZE != 64]: Likewise.
45669
45670 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45671
45672 * iconvdata/tst-table.sh: Remove ${SHELL}.
45673 * iconvdata/tst-tables.sh: Likewise.
45674
45675 2012-10-25 David S. Miller <davem@davemloft.net>
45676
45677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45678 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45679 of strtoull.
45680
45681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45682 ifunc-impl-list.c
45683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45684 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45685 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45686 file.
45687
45688 2012-10-25 Roland McGrath <roland@hack.frob.com>
45689
45690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45691 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45692 __getdirentries.
45693
45694 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45695 Jim Blandy <jimb@codesourcery.com>
45696
45697 * scripts/cross-test-ssh.sh: New file.
45698 * manual/install.texi (Configuring and compiling): Document use of
45699 cross-test-ssh.sh.
45700 * INSTALL: Regenerated.
45701
45702 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45703
45704 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45705 EOPNOTSUPP.
45706
45707 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45708
45709 * Makeconfig (run-program-prefix): Fix comment.
45710
45711 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45712 Jim Blandy <jimb@codesourcery.com>
45713
45714 * Makeconfig (test-wrapper): New variable,
45715 (test-wrapper-env): Likewise.
45716 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45717 (run-built-tests): Define to yes.
45718 (run-program-prefix): Use $(test-wrapper).
45719 (built-program-cmd): Likewise.
45720 * Rules (make-test-out): Use $(test-wrapper-env) and
45721 $(host-built-program-cmd).
45722 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45723 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45724 tst-pathopt.sh.
45725 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45726 $(test-wrapper-env) to tst-rtld-load-self.sh.
45727 ($(objpfx)order2.out): Use $(test-wrapper).
45728 ($(objpfx)tst-initorder.out): Likewise.
45729 ($(objpfx)tst-initorder2.out): Likewise.
45730 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45731 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45732 (test_wrapper_env): New variable. Use it to run ld.so.
45733 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45734 Use it to run ld.so.
45735 (test_wrapper_env): Likewise.
45736 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45737 $(test-wrapper) to run-iconv-test.sh.
45738 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45739 (ICONV): Use $test_wrapper.
45740 * posix/Makefile ($(objpfx)globtest.out): Pass
45741 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45742 globtest.sh, not $(run-program-prefix).
45743 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45744 (test_wrapper): Likewise.
45745 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45746 set together with run_via_rtld_prefix.
45747 (run_program_prefix): Define in terms of test_wrapper and
45748 run_via_rtld_prefix.
45749
45750 2012-10-24 Roland McGrath <roland@hack.frob.com>
45751
45752 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45753 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45754 Targets removed.
45755
45756 [BZ #14743]
45757 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45758 Declare __clock_getres, __clock_gettime, __clock_settime,
45759 __clock_nanosleep, and __clock_getcpuclockid.
45760 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45761 Remove librt_hidden_def (clock_gettime).
45762 * sysdeps/unix/clock_gettime.c: Likewise.
45763 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45765 * rt/clock_getres.c: Define __clock_getres as an alias.
45766 * sysdeps/posix/clock_getres.c: Likewise.
45767 * rt/clock_settime.c: Define __clock_settime as an alias.
45768 * sysdeps/unix/clock_settime.c: Likewise.
45769 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45770 * sysdeps/unix/clock_nanosleep.c: Likewise.
45771 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45772 * rt/clock-compat.c: New file.
45773 * rt/Makefile (librt-routines): Add clock-compat and move
45774 $(clock-routines) to ...
45775 (routines): ... here, new variable.
45776 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45777 Don't add get_clockfreq here.
45778 * rt/Versions (libc: GLIBC_2.17): New version set.
45779 Add clock_* symbols here.
45780 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45782 (GLIBC_2.17): Add clock_* symbols.
45783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45787 Likewise.
45788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45789 Likewise.
45790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45794 * NEWS: Mention the move.
45795
45796 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45797 Use __open, __read, __close rather than their public counterparts.
45798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45799 (__get_clockfreq_via_cpuinfo): Likewise.
45800 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45801 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45802
45803 * config.h.in (HAVE_IFUNC): New #undef.
45804 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45805 was successful.
45806 * configure: Regenerated.
45807
45808 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45809
45810 * configure.in: Move READELF check to start of file.
45811 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45812 libc_cv_asm_gnu_indirect_function in the process.
45813 * configure: Regenerated.
45814
45815 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45816
45817 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45818 send the output to /dev/null.
45819 (libc_cv_cc_with_libunwind): Likewise.
45820 (libc_cv_as_noexecstack): Likewise.
45821 * configure: Regenerate.
45822
45823 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45824
45825 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45826
45827 * posix/globtest.sh (TMPDIR): Do not set.
45828 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45829 (testout): Likewise.
45830
45831 2012-10-24 Andreas Jaeger <aj@suse.de>
45832
45833 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45834 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45835 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45836 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45837 posix_fadvise64, posix_fallocate64.
45838
45839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45840 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45841 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45842 Likewise.
45843 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45844 Likewise.
45845 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45846
45847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45848 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45849 <bits/fcntl-linux.h>.
45850 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45851
45852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45853 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45854 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45855 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45856 [__WORDSIZE != 64]: Likewise.
45857
45858 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45859
45860 * Makeconfig (run-built-tests): New variable.
45861 * Rules [$(cross-compiling) = yes]: Change condition to
45862 [$(run-built-tests) = no].
45863 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45864 to [$(run-built-tests) = yes].
45865 * elf/Makefile [$(cross-compiling) = no]: Likewise
45866 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45867 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45868 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45869 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45870 * io/Makefile [$(cross-compiling) = no]: Likewise.
45871 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45872 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45873 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45874 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45875 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45876 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45877 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45878 * string/Makefile [$(cross-compiling) = no]: Likewise.
45879
45880 * posix/Makefile ($(objpfx)globtest.out): Pass
45881 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45882 $(rtld-installed-name).
45883 * posix/globtest.sh (elf_objpfx): Remove variable.
45884 (rtld_installed_name): Likewise.
45885 (library_path): Likewise.
45886 (run_program_prefix): New variable. Use for running globtest
45887 binary.
45888
45889 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45890 Joseph Myers <joseph@codesourcery.com>
45891
45892 * Makeconfig (host-built-program-cmd): New variable.
45893 * elf/Makefile (tst-stackguard1-ARGS): Use
45894 $(host-built-program-cmd).
45895 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45896 (tst-spawn-ARGS): Likewise.
45897 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45898
45899 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45900 Jim Blandy <jimb@codesourcery.com>
45901
45902 * Makeconfig (run-via-rtld-prefix): New variable.
45903 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45904 (built-program-cmd): Likewise.
45905
45906 2012-10-22 Andreas Jaeger <aj@suse.de>
45907
45908 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45909 __O_RSYNC if it exists, otherwise to O_SYNC.
45910
45911 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45912 Joseph Myers <joseph@codesourcery.com>
45913
45914 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45915 /dev/null.
45916 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45917 from /dev/null
45918 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45919 /dev/null.
45920
45921 2012-10-22 Andreas Jaeger <aj@suse.de>
45922
45923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45924 Define always.
45925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45926
45927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45928 bits/fcntl-linux.h.
45929
45930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45931 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45932
45933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45934 to __O_LARGEFILE.
45935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45936 to __O_LARGEFILE.
45937
45938 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45939 Joseph Myers <joseph@codesourcery.com>
45940
45941 * config.make.in (NM): New variable.
45942
45943 2012-10-21 Andreas Jaeger <aj@suse.de>
45944
45945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45946 definitions and declarations that are provided by
45947 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45948
45949 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45950
45951 [BZ #14683]
45952 * elf/Makefile (tests-static): Add tst-leaks1-static.
45953 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45954 ($(objpfx)tst-leaks1-static): New rule.
45955 ($(objpfx)tst-leaks1-static-mem): Likewise.
45956 (tst-leaks1-static-ENV): New macro.
45957 * elf/dl-open.c (dl_open_worker): Check the main application
45958 only if SHARED is defined.
45959 * elf/tst-leaks1-static.c: New file.
45960
45961 2012-10-20 Andreas Jaeger <aj@suse.de>
45962
45963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45964 generic values for Linux.
45965 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45966 and declarations that are provided by <bits/fcntl-linux.h> and
45967 include <bits/fcntl-linux.h>.
45968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45970
45971 2012-10-20 Roland McGrath <roland@hack.frob.com>
45972
45973 * io/fcntl.h: Move include of <bits/types.h> to the top and
45974 include it unconditionally.
45975
45976 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45977
45978 * wcsmbs/Makefile (tests-ifunc): New variable.
45979 (tests): Add $(tests-ifunc).
45980 * wcsmbs/test-wcschr-ifunc.c: New file.
45981 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45982 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45983 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45984 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45985 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45986
45987 * string/Makefile (tests-ifunc): New variable.
45988 (tests): Add $(tests-ifunc).
45989 * string/test-memccpy.c (TEST_NAME): New macro.
45990 * string/test-memchr.c (TEST_NAME): Likewise.
45991 * string/test-memcmp.c (TEST_NAME): Likewise.
45992 * string/test-memcpy.c (TEST_NAME): Likewise.
45993 * string/test-memmem.c (TEST_NAME): Likewise.
45994 * string/test-memmove.c (TEST_NAME): Likewise.
45995 * string/test-memset.c (TEST_NAME): Likewise.
45996 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45997 * string/test-stpcpy.c (TEST_NAME): Likewise.
45998 * string/test-stpncpy.c (TEST_NAME): Likewise.
45999 * string/test-strcasecmp.c (TEST_NAME): Likewise.
46000 * string/test-strcasestr.c (TEST_NAME): Likewise.
46001 * string/test-strcat.c (TEST_NAME): Likewise.
46002 * string/test-strchr.c (TEST_NAME): Likewise.
46003 * string/test-strcmp.c(TEST_NAME): Likewise.
46004 * string/test-strcpy.c (TEST_NAME): Likewise.
46005 * string/test-strcspn.c (TEST_NAME): Likewise.
46006 * string/test-strlen.c (TEST_NAME): Likewise.
46007 * string/test-strncasecmp.c (TEST_NAME): Likewise.
46008 * string/test-strncmp.c (TEST_NAME): Likewise.
46009 * string/test-strncpy.c (TEST_NAME): Likewise.
46010 * string/test-strnlen.c (TEST_NAME): Likewise.
46011 * string/test-strpbrk.c (TEST_NAME): Likewise.
46012 * string/test-strrchr.c (TEST_NAME): Likewise.
46013 * string/test-strspn.c (TEST_NAME): Likewise.
46014 * string/test-strstr.c (TEST_NAME): Likewise.
46015 * string/test-bcopy-ifunc.c: New file.
46016 * string/test-bzero-ifunc.c: Likewise.
46017 * string/test-memccpy-ifunc.c: Likewise.
46018 * string/test-memchr-ifunc.c: Likewise.
46019 * string/test-memcmp-ifunc.c: Likewise.
46020 * string/test-memcpy-ifunc.c: Likewise.
46021 * string/test-memmem-ifunc.c: Likewise.
46022 * string/test-memmove-ifunc.c: Likewise.
46023 * string/test-mempcpy-ifunc.c: Likewise.
46024 * string/test-memset-ifunc.c: Likewise.
46025 * string/test-rawmemchr-ifunc.c: Likewise.
46026 * string/test-stpcpy-ifunc.c: Likewise.
46027 * string/test-stpncpy-ifunc.c: Likewise.
46028 * string/test-strcasecmp-ifunc.c: Likewise.
46029 * string/test-strcasestr-ifunc.c: Likewise.
46030 * string/test-strcat-ifunc.c: Likewise.
46031 * string/test-strchr-ifunc.c: Likewise.
46032 * string/test-strchrnul-ifunc.c: Likewise.
46033 * string/test-strcmp-ifunc.c: Likewise.
46034 * string/test-strcpy-ifunc.c: Likewise.
46035 * string/test-strcspn-ifunc.c: Likewise.
46036 * string/test-strlen-ifunc.c: Likewise.
46037 * string/test-strncasecmp-ifunc.c: Likewise.
46038 * string/test-strncat-ifunc.c: Likewise.
46039 * string/test-strncmp-ifunc.c: Likewise.
46040 * string/test-strncpy-ifunc.c: Likewise.
46041 * string/test-strnlen-ifunc.c: Likewise.
46042 * string/test-strpbrk-ifunc.c: Likewise.
46043 * string/test-strrchr-ifunc.c: Likewise.
46044 * string/test-strspn-ifunc.c: Likewise.
46045 * string/test-strstr-ifunc.c: Likewise.
46046
46047 * debug/Makefile (tests-ifunc): New variable.
46048 (tests): Add $(tests-ifunc).
46049 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46050 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46051 * debug/test-stpcpy_chk-ifunc.c: New file.
46052 * debug/test-strcpy_chk-ifunc.c: Likewise.
46053
46054 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46055
46056 [BZ #13601]
46057 * elf/dl-load.c (open_verify): Retry read if the entire ELF
46058 header is not read in.
46059
46060 2012-10-19 Joseph Myers <joseph@codesourcery.com>
46061
46062 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
46063 script to $(SHELL) as $<. Pass $(common-objpfx) to script
46064 directly. Pass built executable to script as
46065 $(built-program-cmd).
46066 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
46067 $testprogram without using LD_LIBRARY_PATH and $ldso.
46068
46069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46070 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46071 $(rtld-installed-name).
46072 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46073 (rtld_installed_name): Likewise.
46074 (library_path): Likewise.
46075 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46076 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46077 $(run-program-prefix) to tst-tables.sh.
46078 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46079 it to run tst-table-from and tst-table-to.
46080 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46081 Pass it to tst-table.sh.
46082 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46083 $(run-program-prefix) to tst-gettext.sh.
46084 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46085 tst-translit.sh.
46086 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46087 tst-gettext2.sh.
46088 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46089 to run tst-gettext.
46090 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46091 to run tst-gettext2.
46092 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46093 to run tst-translit.
46094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46095 $(run-program-prefix) to tst-mtrace.sh.
46096 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46097 to run tst-mtrace.
46098 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46099 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46100 $(rtld-installed-name).
46101 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46102 (rtld_installed_name): Likewise.
46103 (run_program_prefix): New variable. Use it to run wordexp-test.
46104
46105 * Makeconfig (ARCH): Remove all definitions.
46106 (machine): Likewise.
46107 [ARCH]: Remove conditional code.
46108 [!objdir]: Give error.
46109 [!objdir] (objpfx): Remove.
46110 [!objdir] (common-objpfx): Likewise.
46111 [!objdir] (common-objdir): Likewise.
46112 * configure.in (config_makefile): Remove. Hardcode Makefile in
46113 AC_CONFIG_FILES call.
46114 * configure: Regenerated.
46115
46116 [BZ #13888]
46117 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46118 or TMPDIR.
46119 (testout): Likewise.
46120
46121 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46122 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46123 $(rtld-installed-name).
46124 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46125 (rtld_installed_name): Likwise.
46126 (runit): Remove function.
46127 (run_getconf): New variable, Use it for running getconf binary.
46128
46129 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46130
46131 [BZ #14716]
46132 * string/test-memmem.c (check_result): New function.
46133 (do_one_test): Use it.
46134 (check1): New function.
46135 (test_main): Use it.
46136
46137 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46138
46139 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46140
46141 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46142
46143 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46144 (_G_LSEEK64): Likewise.
46145 (_G_MMAP64): Likewise.
46146 (_G_FSTAT64): Likewise.
46147 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46148 (_G_LSEEK64): Likewise.
46149 (_G_MMAP64): Likewise.
46150 (_G_FSTAT64): Likewise.
46151 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46152 unconditional. Call __mmap64 directly.
46153 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46154 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46155 __lseek64 directly.
46156 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46157 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46158 __mmap64 directly.
46159 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46160 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46161 __lseek64 directly.
46162 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46163 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46164 __lseek64 directly.
46165 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46166 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46167 __lseek64 directly.
46168 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46169 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46170 __fxstat64 directly.
46171 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46172 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46173 unconditional.
46174 (freopen64) [!_G_OPEN64]: Remove conditional code.
46175 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46176 unconditional.
46177 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46178 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46179 unconditional.
46180 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46181 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46182 unconditional.
46183 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46184 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46185 unconditional.
46186 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46187 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46188 unconditional.
46189 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46190 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46191 unconditional.
46192 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46193 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46194 unconditional.
46195 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46196
46197 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46198
46199 [BZ #12140]
46200 * manual/memory.texi (Malloc Tunable Parameters): Add note
46201 about free list pointers overwriting some perturb bytes.
46202 Wording suggested by Roland McGrath.
46203
46204 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46205
46206 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46207 (lgamma_test): Likewise.
46208 (tgamma_test): Likewise.
46209
46210 2012-10-16 Florian Weimer <fweimer@redhat.com>
46211
46212 [BZ #14700]
46213 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46214 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46215
46216 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46217
46218 * NEWS: Mention BZ #14716.
46219 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46220 when removing AVAILABLE1_USES_J macro.
46221
46222 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46223
46224 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46225 (__bswap_64): __uint64_t for unsigned 64-bit int.
46226
46227 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46228
46229 * include/string.h (memmem): Declare libc hidden alias.
46230 * string/memmem.c (memmem): Define libc hidden alias.
46231 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46232 __read, __close instead of open, read, close.
46233
46234 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46235
46236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46237 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46238 global and hidden.
46239 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46240 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46241 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46242 Likewise.
46243 (__rawmemchr_sse2): Likewise.
46244 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46245 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46246 (__strchr_sse2): Likewise.
46247 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46248 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46249 (__strcasecmp_sse2): Likewise.
46250 (__strncasecmp_sse2): Likewise.
46251 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46252 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46253 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46254 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46255 (__strrchr_sse2): Likewise.
46256 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46257 ifunc-impl-list.c.
46258 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46259 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46260 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46261 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46262 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46263 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46264 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46265 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46266 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46267 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46268 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46270 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46271 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46272 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46273 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46274 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46275 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46276 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46277 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46278 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46279 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46280 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46281 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46282 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46284 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46286 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46287 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46288
46289 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46290 global and hidden.
46291 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46292 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46293 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46294 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46295 Likewise.
46296 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46297 Likewise.
46298 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46299 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46300 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46301 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46302 ifunc-impl-list.c.
46303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46305 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46306 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46307 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46308 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46313 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46314 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46315 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46316 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46317 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46319 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46320 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46321 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46322 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46323 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46324 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46325 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46326 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46328 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46330 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46333 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46337 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46338 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46339 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46340 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46341 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46342 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46343 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46344
46345 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46346 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46347 * include/ifunc-impl-list.h: New file.
46348 * misc/ifunc-impl-list.c: Likewise.
46349 * misc/Makefile (routines): Add ifunc-impl-list.
46350 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46351 * string/test-string.h: Include <ifunc-impl-list.h>.
46352 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46353 TEST_NAME]: New variables.
46354 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46355 are defined.
46356 (test_init): Call __libc_ifunc_impl_list to initialize
46357 func_list if TEST_IFUNC and TEST_NAME are defined.
46358
46359 * string/Makefile (strop-tests): Add bcopy and bzero.
46360 * string/test-bcopy.c: New file.
46361 * string/test-bzero.c: Likewise.
46362 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46363 defined.
46364 * string/test-memset.c: Support bzero test if TEST_BZERO is
46365 defined.
46366 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46367 __libc_memmove.
46368 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46369 __libc_memset.
46370 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46371 of memset.
46372
46373 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46374
46375 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46376 * configure: Regenerated.
46377
46378 * Makeconfig (+link-static-before-libc): Don't include
46379 $(link-static-libc).
46380
46381 * libio/libio.h (_IO_pos_t): Remove.
46382
46383 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46384
46385 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46386 McGrath.
46387
46388 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46389
46390 * crypt/crypt-entry.c: Include fips-private.h.
46391 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46392 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46393 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46394 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46395
46396 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46397
46398 * crypt/crypt-private.h: Include stdbool.h.
46399 (_ufc_setup_salt_r): Return bool.
46400 * crypt/crypt-entry.c: Include errno.h.
46401 (__crypt_r): Return NULL with EINVAL for bad salt.
46402 * crypt/crypt_util.c (bad_for_salt): New.
46403 (_ufc_setup_salt_r): Check that salt is long enough and within
46404 the specified alphabet.
46405 * crypt/badsalttest.c: New file.
46406 * crypt/Makefile (tests): Add it.
46407 ($(objpfx)badsalttest): New.
46408
46409 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46410
46411 * NEWS: Add entry for BZ #14602.
46412
46413 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46414
46415 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46416 type-generic.
46417 * math/libm-test.inc: Update comment listing what functions and
46418 macros are tested.
46419 (isgreater_test): New function.
46420 (isgreaterequal_test): Likewise.
46421 (isless_test): Likewise.
46422 (islessequal_test): Likewise.
46423 (islessgreater_test): Likewise.
46424 (isunordered_test): Likewise.
46425 (main): Call the new functions.
46426
46427 2012-10-09 Roland McGrath <roland@hack.frob.com>
46428
46429 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46430 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46431 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46432 * sysdeps/i386/configure: Regenerated.
46433 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46434 * sysdeps/mach/configure: Regenerated.
46435 * sysdeps/mach/hurd/configure: Regenerated.
46436 * sysdeps/powerpc/configure: Regenerated.
46437 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46438 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46439 * sysdeps/s390/s390-32/configure: Regenerated.
46440 * sysdeps/s390/s390-64/configure: Regenerated.
46441 * sysdeps/sh/configure: Regenerated.
46442 * sysdeps/sparc/configure: Regenerated.
46443 * sysdeps/unix/sysv/linux/configure: Regenerated.
46444 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46445 * sysdeps/x86_64/configure: Regenerated.
46446
46447 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46448 defined. Don't check if MAP is NULL.
46449
46450 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46451
46452 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46453 (_G_stat64): Likewise.
46454 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46455 (_G_stat64): Likewise.
46456 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46457 instead of struct _G_stat64.
46458 * libio/fileops.c (mmap_remap_check): Likewise.
46459 (decide_maybe_mmap): Likewise.
46460 (_IO_new_file_seekoff): Likewise.
46461 (_IO_file_stat): Likewise.
46462 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46463 _G_off64_t.
46464 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46465 instead of struct _G_stat64.
46466 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46467
46468 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46469
46470 [BZ #14602]
46471 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46472 Replace with ...
46473 (CHECK_EOL): New macro.
46474 (two_way_short_needle): Check beginning of haystack for EOL. Use
46475 CHECK_EOL.
46476 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46477 Replace with CHECK_EOL.
46478 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46479 Replace with CHECK_EOL.
46480
46481 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46482
46483 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46484 type-generic.
46485 * math/libm-test.inc: Update comment listing what functions and
46486 macros are tested.
46487 (finite_test): New function.
46488 (isinf_test): Likewise.
46489 (isnan_test): Likewise.
46490 (fpclassify_test): Test subnormal input.
46491 (isfinite_test): Likewise.
46492 (isnormal_test): Likewise.
46493 (main): Call the new functions.
46494
46495 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46496
46497 [BZ #14660]
46498 * Makerules (%.dynsym): Force C locale when running
46499 $(OBJDUMP) --dynamic-syms.
46500
46501 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46502
46503 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46504 <stdint.h>.
46505
46506 2012-10-06 David S. Miller <davem@davemloft.net>
46507
46508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46509 upper 32-bits of the length value in %o2 since we use branch-on-register
46510 tests which consider the entire 64-bit register.
46511
46512 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46513
46514 * string/test-strstr.c (check2): Add a test for page boundary.
46515
46516 2012-10-05 David S. Miller <davem@davemloft.net>
46517
46518 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46519 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46520 file.
46521 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46522 sysdep_routines.
46523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46524 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46525 and bzero when HWCAP_SPARC_CRYPTO is present.
46526
46527 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46528
46529 [BZ #14602]
46530 * string/test-strstr.c (check2): New function.
46531 (test_main): Call check2.
46532
46533 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46534 and bug-strchr1.
46535 * string/bug-strcasestr1.c (do_test): Moved to ...
46536 * string/test-strcasestr.c (check1): Here. New function.
46537 (do_one_test): Break out result checking code into ...
46538 (check_result): This. New function.
46539 (do_one_test): Call check_result.
46540 (test_main): Call check1.
46541 * string/bug-strchr1.c (do_test): Moved to ...
46542 * string/test-strchr.c (check1): Here. New function.
46543 (do_one_test): Break out result checking code into ...
46544 (check_result): This. New function.
46545 (do_one_test): Call check_result.
46546 (test_main): Call check1.
46547 * string/bug-strstr1.c (main): Moved to ...
46548 * string/test-strstr.c (check1): Here. New function.
46549 (do_one_test): Break out result checking code into ...
46550 (check_result): This. New function.
46551 (do_one_test): Call check_result.
46552 (test_main): Call check1.
46553 * string/bug-strcasestr1.c: Removed.
46554 * string/bug-strchr1.c: Likewise.
46555 * string/bug-strstr1.c: Likewise.
46556
46557 * elf/Makefile (dl-routines): Add hwcaps.
46558 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46559 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46560 (_dl_important_hwcaps): Moved to ...
46561 * elf/dl-hwcaps.c: Here. New file.
46562 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46563
46564 [BZ #14557]
46565 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46566 if IS_IN_rtld isn't defined.
46567
46568 * elf/dl-support.c (_dl_sysinfo_map): New.
46569 Include "get-dynamic-info.h" and "setup-vdso.h".
46570 (_dl_non_dynamic_init): Call setup_vdso.
46571 * elf/dynamic-link.h: Don't include <assert.h>.
46572 (elf_get_dynamic_info): Moved to ...
46573 * elf/get-dynamic-info.h: Here. New file.
46574 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46575 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46576 * elf/setup-vdso.h: Here. New file.
46577 * elf/rtld.c: Include "setup-vdso.h".
46578 (dl_main): Call setup_vdso.
46579
46580 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46581
46582 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46583 creal in comment listing functions tested. List finite, isinf,
46584 isnan, isless, islessequal, isgreater, isgreaterequal,
46585 islessgreater, isunordered, lgamma_r and pow10 as functions and
46586 macros not tested. Mention which functions not tested are aliases
46587 for other functions. Fix typo. Note that signs of NaNs are not
46588 tested.
46589
46590 * scripts/config.guess: Update from config.git.
46591 * scripts/config.sub: Likewise.
46592
46593 2012-10-04 Roland McGrath <roland@hack.frob.com>
46594
46595 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46596 * misc/madvise.c (madvise): Renamed to __madvise.
46597 Make madvise a weak alias.
46598 * include/sys/mman.h: Declare __madvise.
46599 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46600 * sysdeps/unix/syscalls.list
46601 (madvise): Make __madvise the strong name, and madvise a weak alias.
46602 * sysdeps/unix/sysv/linux/syscalls.list
46603 (madvise, mmap): Remove redundant entries.
46604 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46605 * malloc/malloc.c (mtrim): Likewise.
46606 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46607
46608 2012-10-03 Roland McGrath <roland@hack.frob.com>
46609
46610 * sysdeps/mach/hurd/dl-cache.c: File removed.
46611 * config.h.in (USE_LDCONFIG): New #undef.
46612 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46613 * configure: Regenerated.
46614 * elf/Makefile (dl-routines): Add dl-cache only under
46615 [$(use-ldconfig) = yes].
46616 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46617 cache on [USE_LDCONFIG].
46618 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46619 [USE_LDCONFIG].
46620 * elf/rtld.c (dl_main): Likewise.
46621
46622 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46623
46624 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46625 _SC_LEVEL4_CACHE_LINESIZE.
46626
46627 2012-10-03 Roland McGrath <roland@hack.frob.com>
46628
46629 * sysdeps/unix/bsd/confstr.h: File removed.
46630
46631 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46632
46633 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46634 sys/sdt-config.h.
46635
46636 2012-10-02 Roland McGrath <roland@hack.frob.com>
46637
46638 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46639 Make 'mapoff' field ElfW(Off) rather than off_t.
46640
46641 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46642
46643 * nscd/Makefile: Remove nscd-cflags and all its users.
46644 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46645 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46646
46647 [BZ #10631]
46648 * malloc.c (malloc_printerr): Clarify error message.
46649
46650 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46651
46652 [BZ #14648]
46653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46654 Set bit_FMA_Usable if FMA is supported.
46655 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46656 macro.
46657 (bit_FMA4_Usable): Updated.
46658 (index_FMA_Usable): New macro.
46659 (CPUID_FMA): Likewise
46660 (HAS_FMA): Defined with bit_FMA_Usable.
46661
46662 2012-10-01 Roland McGrath <roland@hack.frob.com>
46663
46664 * bits/types.h (__swblk_t): Type removed.
46665 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46666 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46668 (__SWBLK_T_TYPE): Likewise.
46669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46670 (__SWBLK_T_TYPE): Likewise.
46671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46672 (__SWBLK_T_TYPE): Likewise.
46673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46674 (__SWBLK_T_TYPE): Likewise.
46675
46676 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46677 Honza Horak <hhorak@redhat.com>
46678
46679 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46680 (xdr_mapname): Use YPMAXMAP as maxsize.
46681 (xdr_peername): Use YPMAXPEER as maxsize.
46682 (xdr_keydat): Use YPAXRECORD as maxsize.
46683 (xdr_valdat): Use YPMAXRECORD as maxsize.
46684
46685 2012-10-01 Roland McGrath <roland@hack.frob.com>
46686
46687 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46688
46689 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46690 * csu/init-first.c: ... here.
46691 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46692 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46693 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46694 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46695 * sysdeps/i386/init-first.c: File removed.
46696 * sysdeps/sh/init-first.c: File removed.
46697
46698 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46699
46700 [BZ #14645]
46701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46702 if x * y might underflow to zero and z is zero.
46703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46705 * math/libm-test.inc (min_subnorm_value): New variable.
46706 (fma_test): Add more tests.
46707 (fma_test_towardzero): Likewise.
46708 (fma_test_downward): Likewise
46709 (fma_test_upward): Likewise.
46710 (initialize): Set min_subnorm_value.
46711
46712 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46713
46714 [BZ #14638]
46715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46716 0 + 0.
46717 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46718 mode for addition resulting in exact zero.
46719 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46721 exact 0 + 0.
46722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46724 * math/libm-test.inc (fma_test): Add more tests.
46725 (fma_test_towardzero): New function.
46726 (fma_test_downward): Likewise.
46727 (fma_test_upward): Likewise.
46728 (main): Call the new functions.
46729
46730 2012-09-28 David S. Miller <davem@davemloft.net>
46731
46732 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46733
46734 2012-09-28 Roland McGrath <roland@hack.frob.com>
46735
46736 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46737 instead of SIGALRM.
46738
46739 * sysdeps/gnu/_G_config.h: Moved to ...
46740 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46741 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46742 * sysdeps/generic/_G_config.h: ... here.
46743
46744 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46745
46746 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46747
46748 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46749 Conditionalize target on [libnss_test1.so-version].
46750
46751 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46752
46753 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46754 (elfobjdir): Move out of conditionals.
46755
46756 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46757 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46758 (__nss_lookup_function): Conditionalize label remove_from_tree on
46759 [!DO_STATIC_NSS || SHARED], matching its only use.
46760
46761 2012-09-28 David S. Miller <davem@davemloft.net>
46762
46763 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46765 file.
46766 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46767 sysdep_routines.
46768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46770 when HWCAP_SPARC_CRYPTO is present.
46771
46772 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46773
46774 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46775
46776 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46777
46778 [BZ #6530]
46779 * stdio-common/vfprintf.c (process_string_arg): Revert
46780 2000-07-22 change.
46781
46782 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46783
46784 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46785 for testcase.
46786 * stdio-common/tst-sprintf.c: Include <locale.h>
46787 (main): Test sprintf's handling of incomplete multibyte
46788 characters.
46789
46790 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46791
46792 * elf/dl-runtime.c (VERSYMIDX): Removed.
46793 * elf/dl-version.c (VERSYMIDX): Likewise.
46794 * elf/do-rel.h (VERSYMIDX): Likewise.
46795 (VALIDX): Likewise.
46796 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46797 * elf/rtld.c (VALIDX): Likewise.
46798 (ADDRIDX): Likewise.
46799 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46800 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46801 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46802 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46803 (VALIDX): Likewise.
46804 (ADDRIDX): Likewise.
46805
46806 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46807
46808 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46809
46810 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46811
46812 [BZ #11438]
46813 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46814 to global scope.
46815 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46816 addresses are in the same scope as 192.0.2/24.
46817 * posix/gai.conf: Document new scope table defaults.
46818
46819 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46820
46821 [BZ #5298]
46822 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46823 for ftell. Compute offsets from write pointers instead.
46824 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46825
46826 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46827
46828 [BZ #14543]
46829 * libio/Makefile (tests): New test case tst-fseek.
46830 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46831 combination works in wide mode.
46832 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46833 state when the external buffer state changes.
46834
46835 2012-09-27 David S. Miller <davem@davemloft.net>
46836
46837 [BZ #14376]
46838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46839 pass reloc->r_addend in as the 'high' argument to
46840 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46841
46842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46843
46844 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46845
46846 * rt/tst-aio2.c: Include <pthread.h>.
46847 * rt/tst-aio3.c: Likewise.
46848
46849 2012-09-27 Steve Ellcey <sellcey@mips.com>
46850
46851 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46852
46853 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46854
46855 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46856 contents on [SHARED].
46857
46858 2012-09-26 Marek Polacek <polacek@redhat.com>
46859
46860 [BZ #14530]
46861 [BZ #13741]
46862 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46863 for C++ and GCC <4.3 as well as for non GCC compilers.
46864
46865 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46866
46867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46868
46869 2012-09-25 Roland McGrath <roland@hack.frob.com>
46870
46871 * Makefile.in (all, install): Declare with .PHONY.
46872 Reported by Michael Hope <michael.hope@linaro.org>.
46873
46874 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46875
46876 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46877 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46878 system header.
46879 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46880 Likewise.
46881 (sydep_routines): Add the new and the internal functions.
46882 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46883 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46885 (GLIBC_2.17): Add the new function.
46886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46887 (GLIBC_2.17): Likewise.
46888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46889 (GLIBC_2.17): Likewise.
46890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46891 (GLIBC_2.17): Likewise.
46892 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46893
46894 2012-09-25 Alan Modra <amodra@gmail.com>
46895
46896 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46897 Add release barrier before setting once_control to say
46898 initialisation is done. Add hints on lwarx. Use macro in
46899 place of isync.
46900 (clear_once_control): Add release barrier.
46901
46902 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46903
46904 [BZ #13629]
46905 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46906 specially.
46907 * math/s_clog10.c (__clog10): Likewise.
46908 * math/s_clog10f.c (__clog10f): Likewise.
46909 * math/s_clog10l.c (__clog10l): Likewise.
46910 * math/s_clogf.c (__clogf): Likewise.
46911 * math/s_clogl.c (__clogl): Likewise.
46912 * math/Makefile (libm-calls): Add x2y2m1.
46913 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46914 (__x2y2m1): Likewise.
46915 (__x2y2m1l): Likewise.
46916 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46917 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46920 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46921 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46922 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46923 * sysdeps/i386/fpu/libm-test-ulps: Update.
46924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46925
46926 [BZ #14621]
46927 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46928 int as type of variable DEPTH.
46929 (glob): Use size_t instead of int as type of variables NEWCOUNT
46930 and OLD_PATHC.
46931
46932 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46933
46934 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46935 Add s_sincosf-sse2.
46936 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46937 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46938 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46939 macros for using routine as __sincosf_ia32.
46940 Use macro for function declaration and weak_alias.
46941 * sysdeps/i386/fpu/libm-test-ulps: Update.
46942
46943 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46945
46946 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46947 subnormal argument.
46948 * math/s_cexpf.c (__cexpf): Likewise.
46949 * math/s_csinf.c (__csinf): Likewise.
46950 * math/s_csinhf.c (__csinhf): Likewise.
46951 * math/s_ctanf.c (__ctanf): Likewise.
46952 * math/s_ctanhf.c (__ctanhf): Likewise.
46953 * math/s_ccosh.c (__ccoshf): Likewise.
46954 * math/s_cexp.c (__cexpl): Likewise.
46955 * math/s_csin.c (__csin): Likewise.
46956 * math/s_csinh.c (__csinh): Likewise.
46957 * math/s_ctan.c (__ctan): Likewise.
46958 * math/s_ctanh.c (ctanh): Likewise.
46959 * math/s_ccoshl.c (__ccoshl): Likewise.
46960 * math/s_cexpl.c (__cexpl): Likewise.
46961 * math/s_csinl.c (__csinl): Likewise.
46962 * math/s_csinhl.c (__csinhl): Likewise.
46963 * math/s_ctanl.c (__ctanl): Likewise.
46964 * math/s_ctanhl.c (__ctanhl): Likewise.
46965
46966 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46967
46968 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46969 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46970 (_IO_off_t): Define to __off_t, not _G_off_t.
46971 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46972 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46973 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46974 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46975 type of __dummy and __dummy2 fields.
46976 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46977 (_G_ssize_t): Likewise.
46978 (_G_off_t): Likewise.
46979 (_G_pid_t): Likewise.
46980 (_G_uid_t): Likewise.
46981 (_G_wchar_t): Likewise.
46982 (_G_wint_t): Likewise.
46983 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46984 (_G_ssize_t): Likewise.
46985 (_G_off_t): Likewise.
46986 (_G_pid_t): Likewise.
46987 (_G_uid_t): Likewise.
46988 (_G_wchar_t): Likewise.
46989 (_G_wint_t): Likewise.
46990 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46991 (_G_ssize_t): Likewise.
46992 (_G_off_t): Likewise.
46993 (_G_pid_t): Likewise.
46994 (_G_uid_t): Likewise.
46995 (_G_wchar_t): Likewise.
46996 (_G_wint_t): Likewise.
46997
46998 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46999
47000 * malloc/arena.c: Include malloc-sysdep.h.
47001 (shrink_heap): Use check_may_shrink_heap to decide if madvise
47002 is sufficient to shrink the heap or an unmap is needed.
47003 * sysdeps/generic/malloc-sysdep.h: New file. Define
47004 new function check_may_shrink_heap.
47005 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
47006 new function check_may_shrink_heap.
47007
47008 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47009
47010 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47011 comments.
47012
47013 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
47014
47015 * catgets/test-gencat.sh: Add "set -e".
47016 * elf/tst-pathopt.sh: Likewise.
47017 * grp/tst_fgetgrent.sh: Likewise.
47018 * iconvdata/run-iconv-test.sh: Likewise.
47019 * intl/tst-gettext.sh: Likewise.
47020 * intl/tst-gettext2.sh: Likewise.
47021 * intl/tst-gettext4.sh: Likewise.
47022 * intl/tst-gettext6.sh: Likewise.
47023 * intl/tst-translit.sh: Likewise.
47024 * io/ftwtest-sh: Likewise.
47025 * libio/test-freopen.sh: Likewise.
47026 * malloc/tst-mtrace.sh: Likewise.
47027 * posix/globtest.sh: Likewise.
47028 * posix/tst-getconf.sh: Likewise.
47029 * posix/wordexp-tst.sh: Likewise.
47030 * stdio-common/tst-printf.sh: Likewise.
47031 * stdio-common/tst-unbputc.sh: Likewise.
47032 * stdlib/tst-fmtmsg.sh: Likewise.
47033 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47034 * catgets/Makefile: Do not specify -e option when running
47035 testsuite shell scripts.
47036 * elf/Makefile: Likewise.
47037 * grp/Makefile: Likewise.
47038 * iconvdata/Makefile: Likewise.
47039 * intl/Makefile: Likewise.
47040 * io/Makefile: Likewise.
47041 * libio/Makefile: Likewise.
47042 * malloc/Makefile: Likewise.
47043 * posix/Makefile: Likewise.
47044 * stdio-common/Makefile: Likewise.
47045 * stdlib/Makefile: Likewise.
47046 * sysdeps/x86_64/Makefile: Likewise.
47047
47048 * io/ftwtest-sh: Add copyright header.
47049 * posix/globtest.sh: Likewise.
47050 * posix/tst-getconf.sh: Likewise.
47051 * posix/wordexp-tst.sh: Likewise.
47052 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47053
47054 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
47055
47056 [BZ #13679]
47057 * Makeconfig (+link): Defined as $(+link-static) if
47058 $(build-shared) isn't yes.
47059 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47060 isn't yes.
47061 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47062
47063 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47064
47065 [BZ #14562]
47066 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47067 new chunk size with MALLOC_ALIGN_MASK.
47068
47069 2012-09-24 Joseph Myers <joseph@codesourcery.com>
47070
47071 [BZ #5044]
47072 * stdio-common/printf_fphex.c: Include <stdbool.h> and
47073 <rounding-mode.h>.
47074 (__printf_fphex): Determine rounding using get_rounding_mode and
47075 round_away.
47076 * stdio-common/tst-printf-round.c (struct hex_test): New
47077 structure.
47078 (hex_tests): New variable.
47079 (test_hex_in_one_mode): New function.
47080 (do_test): Also run tests for hex float output.
47081
47082 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47083
47084 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47085 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47086 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47087 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47088 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47089 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47090 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47091 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47092
47093 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47094
47095 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47096 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47097 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47098 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47099
47100 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47101
47102 [BZ #14579]
47103 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47104 mode only.
47105 * elf/tst-rtld-load-self.sh: New test.
47106 * elf/Makefile: Run it.
47107
47108 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47109
47110 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47111 (tst-writev-ENV): Remove.
47112 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47113
47114 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47115
47116 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47117
47118 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47119
47120 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47121 unconditional.
47122 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47123 Likewise.
47124 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47125 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47126 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47127 Likewise.
47128
47129 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47130
47131 [BZ #14587]
47132 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47133 * config.make.in (have-cpp-asm-debuginfo): Removed.
47134 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47135 * configure: Regenerated.
47136
47137 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47138
47139 [BZ #5044]
47140 * stdio-common/printf_fp.c: Include <stdbool.h> and
47141 <rounding-mode.h>.
47142 (___printf_fp): Determine rounding using get_rounding_mode and
47143 round_away.
47144 * stdio-common/tst-printf-round.c: New file.
47145 * stdio-common/Makefile (tests): Add tst-printf-round.
47146 (link-libm): New variable.
47147 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47148
47149 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47150
47151 [BZ #14576]
47152 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47153 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47154 Likewise.
47155 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47156 Likewise.
47157
47158 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47159
47160 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47161 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47162 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47163 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47164
47165 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47166
47167 [BZ #14518]
47168 * include/rounding-mode.h: New file.
47169 * sysdeps/generic/get-rounding-mode.h: Likewise.
47170 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47171 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47172 (MAX_VALUE): New macro.
47173 (MIN_VALUE): Likewise.
47174 (overflow_value): New function.
47175 (underflow_value): Likewise.
47176 (round_and_return): Use overflow_value and underflow_value to
47177 determine return values in overflow and underflow cases. Use
47178 round_away to determine rounding depending on rounding mode.
47179 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47180 determine return values in overflow and underflow cases.
47181 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47182 (struct test_results): New structure.
47183 (struct test): Use struct test_results to store expected results
47184 for all rounding modes.
47185 (TEST): Include expected results for all rounding modes.
47186 (test_in_one_mode): New function.
47187 (do_test): Use test_in_one_mode to compute and check results.
47188 Check results for all rounding modes.
47189 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47190 $(link-libm).
47191
47192 2012-12-09 Allan McRae <allan@archlinux.org>
47193
47194 * sysdeps/i386/fpu/libm-test-ulps: Update
47195
47196 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47197
47198 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47199 (_G_int32_t): Likewise.
47200 (_G_uint16_t): Likewise.
47201 (_G_uint32_t): Likewise.
47202 (_G_HAVE_BOOL): Likewise.
47203 (_G_HAVE_ATEXIT): Likewise.
47204 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47205 (_G_HAVE_IO_FILE_OPEN): Likewise.
47206 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47207 (_G_int32_t): Likewise.
47208 (_G_uint16_t): Likewise.
47209 (_G_uint32_t): Likewise.
47210 (_G_HAVE_BOOL): Likewise.
47211 (_G_HAVE_ATEXIT): Likewise.
47212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47213 (_G_HAVE_IO_FILE_OPEN): Likewise.
47214 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47215 (_G_int32_t): Likewise.
47216 (_G_uint16_t): Likewise.
47217 (_G_uint32_t): Likewise.
47218 (_G_HAVE_BOOL): Likewise.
47219 (_G_HAVE_ATEXIT): Likewise.
47220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47221 (_G_HAVE_IO_FILE_OPEN): Likewise.
47222
47223 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47224
47225 * csu/libc-tls.c: Update copyright years.
47226
47227 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47228
47229 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47230 [!_G_USING_THUNKS]: Remove conditional code.
47231 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47232 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47233
47234 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47235 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47236 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47237 (_G_VTABLE_LABEL_PREFIX): Likewise.
47238 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47239 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47240 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47241 (_G_VTABLE_LABEL_PREFIX): Likewise.
47242 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47243 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47244 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47245 (_G_VTABLE_LABEL_PREFIX): Likewise.
47246 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47247
47248 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47249
47250 * libio/Makefile: Include ../Makeconfig before tests.
47251 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47252 only if $(build-shared) is yes.
47253
47254 * iconv/gconv_db.c: Update copyright years.
47255
47256 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47257
47258 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47259 unwind info if defined PIC. Fix special cases description.
47260 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47261
47262 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47263 DP_HI_MASK entry.
47264 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47265
47266 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47267
47268 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47269
47270 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47271 is NULL.
47272
47273 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47274 (LDLIBS-tst-chk4): This.
47275 (LDFLAGS-tst-chk5): Renamed to ...
47276 (LDLIBS-tst-chk5): This.
47277 (LDFLAGS-tst-chk6): Renamed to ...
47278 (LDLIBS-tst-chk6): This.
47279 (LDFLAGS-tst-lfschk4): Renamed to ...
47280 (LDLIBS-tst-lfschk4): This.
47281 (LDFLAGS-tst-lfschk5): Renamed to ...
47282 (LDLIBS-tst-lfschk5): This.
47283 (LDFLAGS-tst-lfschk6): Renamed to ...
47284 (LDLIBS-tst-lfschk6): This.
47285
47286 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47287 on $(common-objpfx)soversions.mk.
47288
47289 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47290
47291 [BZ #10014]
47292 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47293 example host name.
47294
47295 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47296
47297 * malloc/arena.c (arena_get_retry): New function that gets
47298 another arena for the caller to try its request on.
47299 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47300 current arena cannot fulfill the request.
47301 (__libc_memalign): Likewise.
47302 (__libc_memalign): Likewise.
47303 (__libc_pvalloc): Likewise.
47304 (__libc_calloc): Likewise.
47305
47306 2012-09-05 John Tobey <john.tobey@gmail.com>
47307
47308 [BZ #13542]
47309 * manual/arith.texi (Operations on Complex): Fix description
47310 of carg branch cut.
47311
47312 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47313
47314 [BZ #10014]
47315 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47316 host name.
47317
47318 [BZ #10038]
47319 * manual/memory.texi (Memory): Make order of menu items match
47320 order of sections.
47321
47322 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47323
47324 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47325 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47326 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47327
47328 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47329
47330 * csu/libc-tls.c (static_dtv): Renamed to ...
47331 (_dl_static_dtv): This. Make it global.
47332 (_dl_initial_dtv): Removed.
47333 (__libc_setup_tls): Updated.
47334 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47335 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47336 DL_INITIAL_DTV.
47337
47338 2012-09-06 Petr Machata <pmachata@redhat.com>
47339
47340 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47341 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47342 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47343 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47344
47345 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47346
47347 [BZ #14545]
47348 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47349 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47350 freeing dtv[-1].
47351
47352 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47353
47354 [BZ #14544]
47355 * Makeconfig (link-static-before-libc): Replace $(+prector)
47356 with $(+prectorT).
47357 (link-static-after-libc): Replace $(+postctor) with
47358 $(+postctorT).
47359 (link-bounded): Replace $(+prector)/$(+postctor) with
47360 $(+prectorT)/$(+postctorT).
47361 (+prectorT): New macro.
47362 (+postctorT): Likewise.
47363
47364 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47365
47366 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47367 (round_str): Handle values above the maximum for IBM long double
47368 as inexact.
47369 * stdlib/tst-strtod-round.c (tests): Regenerated.
47370
47371 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47372
47373 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47374 assembler flag.
47375 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47376 zarch_nohighgprs around the zarch optimized routines.
47377 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47378 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47379 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47380 for zarch.
47381
47382 2012-09-05 David S. Miller <davem@davemloft.net>
47383
47384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47385
47386 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47387 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47388 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47389 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47390 entries.
47391
47392 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47393
47394 * malloc/arena.c: Fold copyright years.
47395 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47396
47397 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47398
47399 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47400
47401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47402
47403 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47404
47405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47406
47407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47408 change internal state upon failure.
47409
47410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47411
47412 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47413 * malloc/memusage.c (mmap): Likewise.
47414 (mmap64, mremap): Likewise. Adjust name in comment.
47415
47416 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47417
47418 * libio/fileops.c: Fix typos in comments.
47419 * libio/oldfileops.c: Likewise.
47420 * libio/wfileops.c: Likewise.
47421
47422 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47423
47424 [BZ #1349]
47425 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47426 (tst-malloc-usable-ENV): Set environment for test case.
47427 * malloc/hooks.c (malloc_check_get_size): New function to get
47428 requested size.
47429 * malloc/malloc.c (musable): Use malloc_check_get_size.
47430 * malloc/tst-malloc-usable.c: New test case.
47431
47432 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47433
47434 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47435
47436 2012-09-05 Allan McRae <allan@archlinux.org>
47437
47438 [BZ #13966]
47439 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47440 determine header location.
47441 * configure: Regenerated.
47442
47443 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47444
47445 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47446 float format.
47447 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47448 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47449 format.
47450 (test): Regenerate.
47451
47452 2012-09-04 David S. Miller <davem@davemloft.net>
47453
47454 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47455 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47456 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47457
47458 2012-09-04 Florian Weimer <fweimer@redhat.com>
47459
47460 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47461 failures.
47462
47463 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47464
47465 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47466
47467 [BZ #9914]
47468 * libio/iogetdelim.c: Include <limits.h>.
47469 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47470 + len + 1 would overflow.
47471
47472 2012-09-03 Andreas Jaeger <aj@suse.de>
47473
47474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47475 * sysdeps/i386/fpu/libm-test-ulps: Update.
47476
47477 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47478
47479 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47480 Add s_sinf-sse2, s_conf-sse2.
47481
47482 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47483 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47484 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47485 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47486
47487 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47488 for using routine as __sinf_ia32.
47489 Use macro for function declaration and weak_alias.
47490 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47491 for using routine as __cosf_ia32.
47492 Use macro for function declaration and weak_alias.
47493
47494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47495 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47496
47497 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47498 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47500
47501 * math/libm-test.inc (cos_test): Add more test cases.
47502 (sin_test): Likewise.
47503 (sincos_test): Likewise.
47504
47505 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47506
47507 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47508 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47509 hidden.
47510 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47511
47512 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47513
47514 [BZ #14538]
47515 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47516 first element of the GOT.
47517 (elf_machine_load_address): Return the difference between
47518 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47519
47520 2012-09-01 Allan McRae <allan@archlinux.org>
47521
47522 [BZ #13412]
47523 * configure.in (AWK): Require gawk version 3.0 or later.
47524 * configure: Regenerated.
47525
47526 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47527
47528 * sysdeps/unix/sysv/linux/kernel-features.h
47529 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47530 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47531 [__NR_clock_getres]: Make code unconditional.
47532 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47533 (clock_getcpuclockid): Remove code left unreachable by removal of
47534 conditionals.
47535 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47536 code unconditional.
47537 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47538 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47539 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47540 Make code unconditional.
47541 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47543 * sysdeps/unix/sysv/linux/clock_settime.c
47544 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47545 conditional code.
47546 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47547 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47548
47549 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47550
47551 [BZ #14476]
47552 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47553 scripts/test-installation.pl.
47554
47555 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47556 and $ld_so_version if it is set.
47557
47558 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47559
47560 [BZ #14516]
47561 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47562 failure if reading from procfs failed.
47563 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47564
47565 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47566
47567 * sysdeps/unix/sysv/linux/kernel-features.h
47568 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47569 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47570 Remove conditional code.
47571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47572 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47573 Remove conditional code.
47574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47575 * sysdeps/unix/sysv/linux/i386/fxstat.c
47576 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47578 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47579 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47581 * sysdeps/unix/sysv/linux/i386/lxstat.c
47582 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47584 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47585 Remove conditional code.
47586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47587 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47588 Remove conditional code.
47589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47590 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47591 <kernel-features.h>.
47592 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47593 Remove.
47594 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47595 Remove conditional code.
47596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47597 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47598 Remove conditional.
47599
47600 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47601
47602 [BZ #5400]
47603 * NEWS: Add fixed bug number.
47604
47605 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47606
47607 [BZ #14519]
47608 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47609 underflowing exponent in case of negative sign.
47610 * stdlib/tst-strtod-round-data: Add more tests.
47611 * stdlib/tst-strtod-round.c (tests): Regenerated.
47612
47613 [BZ #3479]
47614 * stdlib/strtod_l.c (NDIG): Remove.
47615 (HEXNDIG): Likewise.
47616 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47617 smallest representable value.
47618 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47619 lie within an exact representation of 1/2 ulp of the result.
47620 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47621 unconditionally.
47622 (TENS_P9_IDX): Define unconditionally.
47623 (TENS_P9_SIZE): Likewise.
47624 (TENS_P10_IDX): Likewise.
47625 (TENS_P10_SIZE): Likewise.
47626 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47627 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47628 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47629 entries for 10^2^13 and 10^2^14.
47630 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47631 (TENS_P13_IDX): Define.
47632 (TENS_P13_SIZE): Likewise.
47633 (TENS_P14_IDX): Likewise.
47634 (TENS_P14_SIZE): Likewise.
47635 (_fpioconst_pow10): Change array size to
47636 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47637 unconditional.
47638 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47639 1024]: Add entries for 10^2^13 and 10^2^14.
47640 [LAST_POW10 > _LAST_POW10]: Remove #error.
47641 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47642 (_fpioconst_pow10): Change array size to
47643 FPIOCONST_POW10_ARRAY_SIZE.
47644 * stdlib/gen-fpioconst.c: New file.
47645 * stdlib/gen-tst-strtod-round.c: Likewise.
47646 * stdlib/tst-strtod-round-data: Likewise.
47647 * stdlib/tst-strtod-round.c: Likewise.
47648 * stdlib/Makefile (tests): Add tst-strtod-round.
47649
47650 [BZ #14459]
47651 * stdlib/strtod_l.c: Include <stdint.h>.
47652 (NDEBUG): Do not define.
47653 (round_and_return): Change EXPONENT parameter to type intmax_t.
47654 Rearrange calculations to avoid internal overflow possibilities.
47655 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47656 Rearrange calculations to avoid internal overflow possibilities.
47657 Assert that number fits inside MPNSIZE limbs.
47658 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47659 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47660 calculations and add assertions to avoid internal overflow
47661 possibilities. Add casts to avoid signed/unsigned operations.
47662 * stdlib/tst-strtod-overflow.c: New file.
47663 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47664
47665 2012-08-25 Marek Polacek <polacek@redhat.com>
47666
47667 * time/time.h: Fix some typos in comments.
47668
47669 2012-08-23 Roland McGrath <roland@hack.frob.com>
47670
47671 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47672 * posix/tst-rfc3484-2.c: Likewise.
47673 * posix/tst-rfc3484-3.c: Likewise.
47674
47675 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47676
47677 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47678 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47679
47680 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47681
47682 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47683 #include of fxstatat64.c.
47684
47685 2012-08-22 Roland McGrath <roland@hack.frob.com>
47686
47687 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47688 * shadow/getspent_r.c: Likewise.
47689 * shadow/getspnam.c: Likewise.
47690 * shadow/getspnam_r.c: Likewise.
47691 * gshadow/getsgent.c: Likewise.
47692 * gshadow/getsgent_r.c: Likewise.
47693 * gshadow/getsgnam.c: Likewise.
47694 * gshadow/getsgnam_r.c: Likewise.
47695 * inet/getnetbyad.c: Likewise.
47696 * inet/getnetbyad_r.c: Likewise.
47697 * inet/getnetbynm.c: Likewise.
47698 * inet/getnetbynm_r.c: Likewise.
47699 * inet/getnetent.c: Likewise.
47700 * inet/getnetent_r.c: Likewise.
47701 * inet/getproto.c: Likewise.
47702 * inet/getproto_r.c: Likewise.
47703 * inet/getprtent.c: Likewise.
47704 * inet/getprtent_r.c: Likewise.
47705 * inet/getprtname.c: Likewise.
47706 * inet/getprtname_r.c: Likewise.
47707 * inet/getrpcbyname.c: Likewise.
47708 * inet/getrpcbyname_r.c: Likewise.
47709 * inet/getrpcbynumber.c: Likewise.
47710 * inet/getrpcbynumber_r.c: Likewise.
47711 * inet/getrpcent.c: Likewise.
47712 * inet/getrpcent_r.c: Likewise.
47713 * inet/getaliasent.c: Likewise.
47714 * inet/getaliasent_r.c: Likewise.
47715 * inet/getaliasname.c: Likewise.
47716 * inet/getaliasname_r.c: Likewise.
47717 * nscd/getgrgid_r.c: Likewise.
47718 * nscd/getgrnam_r.c: Likewise.
47719 * nscd/gethstbyad_r.c: Likewise.
47720 * nscd/gethstbynm3_r.c: Likewise.
47721 * nscd/getpwnam_r.c: Likewise.
47722 * nscd/getpwuid_r.c: Likewise.
47723 * nscd/getsrvbynm_r.c: Likewise.
47724 * nscd/getsrvbypt_r.c: Likewise.
47725 * nscd/gai.c: Likewise.
47726
47727 * configure.in (build_nscd): New substituted variable, set
47728 by --disable-build-nscd and defaults to $use_nscd.
47729 * configure: Regenerated.
47730 * config.make.in (build-nscd): New substituted variable.
47731 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47732 Change conditional to require [$(build-nscd) = yes] as well.
47733 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47734
47735 [BZ# 13696]
47736 * configure.in (use_nscd): New substituted variable, set by
47737 --disable-nscd. If enabled, define USE_NSCD.
47738 * configure: Regenerated.
47739 * config.h.in: Add USE_NSCD.
47740 * config.make.in (use-nscd): New substituted variable.
47741 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47742 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47743 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47744 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47745 (CFLAGS-getgrnam_r.c): Likewise.
47746 (CFLAGS-initgroups.c): Likewise.
47747 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47748 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47749 Variables removed.
47750 * inet/getnetgrent_r.c
47751 (nscd_setnetgrent): New function, broken out of ...
47752 (setnetgrent): ... here. Call it.
47753 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47754 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47755 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47756 * nscd/Makefile (routines, aux): Move definitions after include of
47757 Makeconfig. Conditionalize on [$(use-nscd) != no].
47758 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47759 Conditionalize on [USE_NSCD].
47760 (is_nscd, nscd_init_cb): Likewise.
47761 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47762 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47763 * nss/nss_db/db-init.c: Likewise.
47764 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47765 [USE_NSCD].
47766 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47767 (make_request): Use it.
47768 (cache_valid_p): New function.
47769 (__check_pf): Use it.
47770 * NEWS: Add item for --disable-nscd.
47771
47772 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47773
47774 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47775 to support sed >= 4.2.1-20-ga9bf076.
47776 * configure: Regenerated.
47777
47778 2012-08-22 Roland McGrath <roland@hack.frob.com>
47779
47780 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47781 Conditionalize whole body on [IREL].
47782
47783 2012-08-22 Jeff Law <law@redhat.com>
47784
47785 [BZ #14505]
47786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47787 if the family is PF_UNSPEC.
47788
47789 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47790
47791 * Makerules (lib-version): Rename from V.
47792 (install-lib-nosubdir): Change V to lib-version.
47793
47794 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47795
47796 [BZ #14252]
47797 * powerpc32/power6/wcschr.c: New file.
47798 * powerpc32/power6/wcscpy.c: New file.
47799 * powerpc32/power6/wcsrchr.c: New file.
47800 * powerpc64/power6/wcschr.c: New file.
47801 * powerpc64/power6/wcscpy.c: New file.
47802 * powerpc64/power6/wcsrchr.c: New file.
47803
47804 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47805
47806 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47807 (two_way_short_needle): Use it.
47808 * string/strstr.c (AVAILABLE1_USES_J): Define.
47809 * string/strcasestr.c: Likewise.
47810
47811 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47812 array references.
47813 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47814
47815 [BZ #11607]
47816 * NEWS: Add an entry.
47817 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47818 define their defaults.
47819 (two_way_short_needle): Detect end-of-string on-the-fly.
47820 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47821 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47822 * string/bug-strcasestr1.c: New test.
47823 * string/Makefile: Run it.
47824
47825 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47826
47827 [BZ #11607]
47828 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47829 the first character.
47830
47831 2012-08-21 Roland McGrath <roland@hack.frob.com>
47832
47833 * csu/elf-init.c (__libc_csu_irel): Function removed.
47834 * csu/libc-start.c (apply_irel): New function.
47835 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47836
47837 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47838
47839 * sysdeps/unix/sysv/linux/kernel-features.h
47840 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47841 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47842 <kernel-features.h>.
47843 [__NR_fadvise64_64]: Make code unconditional.
47844 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47845 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47846 !__NR_fadvise64_64)]: Likewise.
47847 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47848 !__NR_fadvise64_64))]: Likewise.
47849 [__NR_fadvise64]: Make code unconditional.
47850 [!__NR_fadvise64]: Remove conditional code.
47851 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47852 <kernel-features.h>.
47853 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47854 unconditional.
47855 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47856 conditional code.
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47858 not include <kernel-features.h>.
47859 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47860 unconditional.
47861 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47862 conditional code.
47863 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47864 include <kernel-features.h>.
47865 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47866 unconditional.
47867 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47868 conditional code.
47869
47870 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47871
47872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47873 slight instruction rearrangements per scrollpipe analysis.
47874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47875
47876 2012-08-20 Roland McGrath <roland@hack.frob.com>
47877
47878 * manual/syslog.texi (syslog; vsyslog, closelog):
47879 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47880 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47881
47882 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47883 DSOCAPS to match condition on defining it.
47884
47885 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47886
47887 * sysdeps/unix/sysv/linux/kernel-features.h
47888 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47890 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47891 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47893 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47894 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47896 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47897 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47898
47899 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47900 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47901
47902 * sysdeps/unix/sysv/linux/kernel-features.h
47903 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47904 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47905 unconditional.
47906 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47907 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47908 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47909 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47910 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47911 Make code unconditional.
47912 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47913 (__mmap64) [!__NR_mmap2]: Likewise.
47914 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47915 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47916 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47917 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47918 [__NR_mmap2]: Make code unconditional.
47919 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47920 (__mmap64) [!__NR_mmap2]: Likewise.
47921
47922 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47923
47924 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47925
47926 2012-08-18 Andreas Jaeger <aj@suse.de>
47927
47928 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47929
47930 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47931
47932 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47933 * include/unistd.h (__have_sock_cloexec): Likewise.
47934 (__have_pipe2): Likewise.
47935 (__have_dup3): Likewise.
47936
47937 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47938
47939 [BZ #9685]
47940 * include/unistd.h (__have_pipe2): Change define into an extern int.
47941 (__have_dup3): Likewise.
47942 * socket/have_sock_cloexec.c: Include fcntl.h.
47943 (__have_pipe2): New variable.
47944 (__have_dup3): Likewise.
47945
47946 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47947
47948 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47949
47950 2012-08-17 Marek Polacek <polacek@redhat.com>
47951
47952 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47953 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47954
47955 2012-08-17 Roland McGrath <roland@hack.frob.com>
47956
47957 * configure.in: Add AC_SUBST for sysheaders.
47958 * configure: Regenerated.
47959 * config.make.in (sysheaders): New substituted variable.
47960
47961 * sysdeps/unix/mkfifo.c: Moved ...
47962 * sysdeps/posix/mkfifo.c: ... here.
47963 * sysdeps/unix/mkfifoat.c: Moved ...
47964 * sysdeps/posix/mkfifoat.c: ... here.
47965
47966 * sysdeps/unix/utime.c: Moved ...
47967 * sysdeps/posix/utime.c: ... here.
47968
47969 * sysdeps/unix/time.c: Moved ...
47970 * sysdeps/posix/time.c: ... here.
47971 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47972 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47973
47974 * sysdeps/unix/nice.c: Moved ...
47975 * sysdeps/posix/nice.c: ... here.
47976
47977 * sysdeps/unix/alarm.c: Moved ...
47978 * sysdeps/posix/alarm.c: ... here.
47979
47980 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47981
47982 2012-08-17 Jeff Law <law@redhat.com>
47983
47984 * intl/Makefile (codeset_mo): New variable.
47985 ($(codeset_mo)): New target.
47986 (tst-codeset.out): Depend on that. Remove explicit rule.
47987 (tst-gettext3.out, tst-gettext5.out): Likewise.
47988 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47989 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47990 * intl/tst-codeset.sh: Remove.
47991 * intl/tst-gettext3.sh: Likewise.
47992 * intl/tst-gettext5.sh: Likewise.
47993
47994 2012-08-17 Roland McGrath <roland@hack.frob.com>
47995
47996 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47997 * sysdeps/unix/syscalls.list: ... here.
47998
47999 * sysdeps/posix/getaddrinfo.c
48000 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48001 (gaiconf_init, gaiconf_reload): Use them.
48002 [!_STATBUF_ST_NSEC]
48003 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48004 Define using time_t rather than struct timespec.
48005
48006 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48007 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48008 Macros removed.
48009 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48010 [!NO_THREADS].
48011 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48012 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48013 Likewise.
48014
48015 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48016 __libc_cleanup_push argument.
48017
48018 * bits/param.h: New file.
48019 * misc/sys/param.h: New file.
48020 * include/sys/param.h: New file.
48021 * misc/Makefile (headers): Add bits/param.h.
48022 * sysdeps/generic/sys/param.h: File removed.
48023 * sysdeps/unix/sysv/linux/bits/param.h: New file.
48024 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48025 * sysdeps/mach/hurd/bits/param.h: New file.
48026 * sysdeps/mach/hurd/sys/param.h: File removed.
48027
48028 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48029 last change.
48030
48031 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48032 [_IO_MTSAFE_IO].
48033 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48034 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48035 New macros.
48036
48037 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48038 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48039 rather than -D_IO_MTSAFE_IO conditionally.
48040 * stdio-common/Makefile (CPPFLAGS): Likewise.
48041 * wcsmbs/Makefile (CPPFLAGS): Likewise.
48042 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48043 Use $(libio-mtsafe).
48044 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48045 of -D_IO_MTSAFE_IO.
48046 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48047 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48048 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48049 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48050 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48051 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48052 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48053 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48054 (CFLAGS-fread_u_chk.c): Likewise.
48055 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48056 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48057 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48058 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48059 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48060 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48061 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48062 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48063 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48064
48065 * libio/Makefile: Test [$(libc-reentrant) = yes]
48066 instead of [$(filter %REENTRANT, $(defines)) nonempty].
48067
48068 * Makeconfig
48069 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48070 * sysdeps/pthread/configure: File removed.
48071 * sysdeps/pthread/Makeconfig: New file.
48072 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48073 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48074
48075 2012-08-16 Gary Benson <gbenson@redhat.com>
48076
48077 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48078 unmapping the first object in a namespace.
48079
48080 2012-08-16 Roland McGrath <roland@hack.frob.com>
48081
48082 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48083 (__internal_setnetgrent): ... this. Add internal_function to
48084 definition. Add libc_hidden_def.
48085 (setnetgrent): Update caller.
48086 (internal_endnetgrent): Renamed to ...
48087 (__internal_endnetgrent): ... this. Add internal_function to
48088 definition. Add libc_hidden_def.
48089 (endnetgrent): Update caller.
48090 (internal_getnetgrent_r): Renamed to ...
48091 (__internal_getnetgrent_r): ... this. Add internal_function to
48092 definition. Add libc_hidden_def.
48093 (__getnetgrent_r): Update caller.
48094 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48095
48096 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48097
48098 * stdlib/longlong.h: Update from GCC.
48099
48100 2012-08-16 Roland McGrath <roland@hack.frob.com>
48101
48102 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48103 on _QL, which is set by umul_ppmm but never used.
48104 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48105 variables, which are set by GMP macros but never used.
48106 * stdio-common/_itowa.c (_itowa): Likewise.
48107 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48108 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48109
48110 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48111
48112 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48113 struct La_sh_regs is not constant.
48114 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48115 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48116 and struct La_sparc64_regs are not constant.
48117
48118 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48119
48120 * sysdeps/unix/sysv/linux/kernel-features.h
48121 (__ASSUME_POSIX_TIMERS): Remove.
48122 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48123 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48124 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48125 Make code unconditional.
48126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48127 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48128 Make code unconditional.
48129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48130 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48131 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48133 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48134 Make code unconditional.
48135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48136 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48137 (__libc_missing_posix_timers): Remove.
48138
48139 2012-08-15 Roland McGrath <roland@hack.frob.com>
48140
48141 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48142 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48143
48144 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48145
48146 * elf/dl-sym.c: Include <stdlib.h>.
48147
48148 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48149 constants, which avoids warnings in 32-bit builds.
48150
48151 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48152 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48153
48154 * misc/lseek.c: File moved to ...
48155 * io/lseek.c: ... here.
48156
48157 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48158
48159 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48160 shifting LEN more than 31 bits at once.
48161
48162 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48163
48164 [BZ #14195]
48165 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48166 segmentation fault for a case of two empty input strings.
48167 * string/test-strncasecmp.c (check1): Renamed to...
48168 (bz12205): ...this.
48169 (bz14195): Add new testcase for two empty input strings and N > 0.
48170 (test_main): Call new testcase, adapt for renamed function.
48171
48172 2012-08-15 Andreas Jaeger <aj@suse.de>
48173
48174 [BZ #14090]
48175 * crypt/md5test2.c: New test, based on test supplied by Serge
48176 Belyshev <belyshev@depni.sinp.msu.ru>.
48177 * crypt/Makefile (xtests): Add md5test-giant..
48178 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48179
48180 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48181
48182 [BZ #14090]
48183 * crypt/md5.c (md5_process_block): Don't assume the buffer
48184 length is less than 2**32.
48185 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48186 length is less than 2**64.
48187
48188 2012-08-15 Roland McGrath <roland@hack.frob.com>
48189
48190 * string/str-two-way.h: Include <sys/param.h>.
48191 (MAX): Macro removed.
48192
48193 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48194 Move #define and #undef of memmove to just before and after
48195 including <string.h>.
48196
48197 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48198 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48199 and after including <string.h>. Move declarations of
48200 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48201 to before #include "string/memmove.c".
48202
48203 * include/dirent.h: Declare __getdirentries.
48204
48205 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48206 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48207
48208 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48209
48210 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48211 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48212 * sysdeps/i386/configure: Regenerated.
48213 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48214 STABS_CURRENT_FILE, and STABS_FUN.
48215 (END): Remove call to STABS_FUN_END.
48216 (STABS_CURRENT_FILE1): Delete.
48217 (STABS_CURRENT_FILE): Likewise.
48218 (STABS_FUN): Likewise.
48219 (STABS_FUN_END): Likewise.
48220 (STABS_FUN2): Likewise.
48221 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48222 * sysdeps/x86_64/configure: Regenerated.
48223
48224 2012-08-14 Roland McGrath <roland@hack.frob.com>
48225
48226 * elf/dl-open.c: Include <atomic.h>.
48227 * elf/dl-lookup.c: Likewise.
48228
48229 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48230
48231 * sysdeps/unix/sysv/linux/kernel-features.h
48232 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48233 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48234 unconditionally.
48235 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48236 unconditionally.
48237 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48238 condition on __ASSUME_CLONE_THREAD_FLAGS.
48239
48240 2012-08-14 Andreas Jaeger <aj@suse.de>
48241
48242 * sysdeps/i386/fpu/libm-test-ulps: Update.
48243
48244 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48245
48246 * include/atomic.h (atomic_exchange_and_add): Split into ...
48247 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48248 New atomic macros.
48249
48250 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48251
48252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48253
48254 2012-08-13 Jeff Law <law@redhat.com>
48255
48256 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48257 null byte in the output string.
48258
48259 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48260
48261 * sysdeps/unix/sysv/linux/kernel-features.h
48262 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48263 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48264 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48265 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48266 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48267 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48268 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48269
48270 2012-08-09 Jeff Law <law@redhat.com>
48271
48272 [BZ #13939]
48273 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48274 When avoid_arena is set, don't retry in the that arena. Pick the
48275 next one, whatever it might be.
48276 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48277 (arena_lock): Pass in new parameter to arena_get2.
48278 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48279 arena_get2.
48280 (__libc_malloc): Unify retrying after main arena failure with
48281 __libc_memalign version.
48282 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48283
48284 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48285
48286 [BZ #14166]
48287 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48288 to __redirect_strstr.
48289 (__strstr_sse42): Use typeof __redirect_strstr.
48290 (__strstr_ia32): Likewise.
48291 (__libc_strstr): New prototype.
48292 (strstr): Renamed to ...
48293 (__libc_strstr): This.
48294 (strstr): New strong alias of __libc_strstr.
48295 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48296 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48297 __redirect_time.
48298 Include <time.h>.
48299 (__libc_time): New prototype.
48300 (time_ifunc): Replace time with __libc_time.
48301 (time): New strong alias and hidden definition of __libc_time.
48302 (__GI_time): Remove strong alias.
48303 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48304 Include <stddef.h>.
48305 (memmove): Redefined to __redirect_memmove.
48306 (__memmove_sse2): Use typeof __redirect_memmove.
48307 (__memmove_ssse3): Likewise.
48308 (__memmove_ssse3_back): Likewise.
48309 (__libc_memmove): New prototype.
48310 (memmove): Renamed to ...
48311 (__libc_memmove): This.
48312 (memmove): New strong alias of __libc_memmove.
48313
48314 2012-08-08 Mark Salter <msalter@redhat.com>
48315
48316 * elf/elf.h
48317 (R_MN10300_TLS_GD): Define.
48318 (R_MN10300_TLS_LD): Likewise.
48319 (R_MN10300_TLS_LDO): Likewise.
48320 (R_MN10300_TLS_GOTIE): Likewise.
48321 (R_MN10300_TLS_IE): Likewise.
48322 (R_MN10300_TLS_LE): Likewise.
48323 (R_MN10300_TLS_DTPMOD): Likewise.
48324 (R_MN10300_TLS_DTPOFF): Likewise.
48325 (R_MN10300_TLS_TPOFF): Likewise.
48326 (R_MN10300_SYM_DIFF): Likewise.
48327 (R_MN10300_ALIGN): Likewise.
48328 (R_MN10300_NUM): Update.
48329
48330 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48331
48332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48333 Remove.
48334
48335 2012-08-08 Roland McGrath <roland@hack.frob.com>
48336
48337 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48338
48339 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48340 sysdeps/unix -> sysdeps/posix move.
48341 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48342
48343 2012-08-07 Allan McRae <allan@archlinux.org>
48344
48345 [BZ #14303]
48346 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48347 (SUNOS_CPP): Likewise.
48348 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48349 not found.
48350 (open_input): Call CPP using execvp.
48351
48352 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48353
48354 * sysdeps/unix/sysv/linux/kernel-features.h
48355 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48356 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48357 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48358 (__ASSUME_WAITID_SYSCALL): Likewise.
48359 * sysdeps/unix/sysv/linux/dl-execstack.c
48360 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48361 code unconditional.
48362 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48363 conditional code.
48364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48365 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48366 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48367 code.
48368 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48369 unconditional.
48370 [__ASSUME_WAITID_SYSCALL]: Likewise.
48371 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48372
48373 2012-08-07 Roland McGrath <roland@hack.frob.com>
48374
48375 * sysdeps/unix/closedir.c: Renamed to ...
48376 * sysdeps/posix/closedir.c: ... here.
48377 * sysdeps/unix/dirfd.c: Renamed to ...
48378 * sysdeps/posix/dirfd.c: ... here.
48379 * sysdeps/unix/dirstream.h: Renamed to ...
48380 * sysdeps/posix/dirstream.h: ... here.
48381 * sysdeps/unix/fdopendir.c: Renamed to ...
48382 * sysdeps/posix/fdopendir.c: ... here.
48383 * sysdeps/unix/opendir.c: Renamed to ...
48384 * sysdeps/posix/opendir.c: ... here.
48385 * sysdeps/unix/readdir.c: Renamed to ...
48386 * sysdeps/posix/readdir.c: ... here.
48387 * sysdeps/unix/readdir_r.c: Renamed to ...
48388 * sysdeps/posix/readdir_r.c: ... here.
48389 * sysdeps/unix/rewinddir.c: Renamed to ...
48390 * sysdeps/posix/rewinddir.c: ... here.
48391 * sysdeps/unix/seekdir.c: Renamed to ...
48392 * sysdeps/posix/seekdir.c: ... here.
48393 * sysdeps/unix/telldir.c: Renamed to ...
48394 * sysdeps/posix/telldir.c: ... here.
48395 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48396 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48397 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48398 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48399
48400 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48401 * bits/fcntl.h: ... here.
48402
48403 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48404 not 0.
48405 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48406 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48407 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48408 (struct flock): Move l_start, l_len to the beginning.
48409 Use __pid_t for l_pid.
48410 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48411 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48412 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48413 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48414 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48415 [__USE_LARGEFILE64] (struct flock64): New type.
48416 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48417
48418 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48419 * bits/dirent.h: ... here.
48420
48421 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48422 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48423
48424 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48425
48426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48427 Change from 2.6.0 to 2.6.16.
48428 * sysdeps/unix/sysv/linux/configure: Regenerated.
48429 * sysdeps/unix/sysv/linux/kernel-features.h
48430 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48431 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48432 version.
48433 (__ASSUME_UTIMES): Likewise.
48434 (__ASSUME_CLONE_STOPPED): Remove.
48435 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48436 architectures, not kernel version.
48437 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48438 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48439 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48440 (__ASSUME_WAITID_SYSCALL): Likewise.
48441 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48442 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48443 * README: State 2.6.16 as minimum Linux kernel version. Do not
48444 refer to older versions.
48445
48446 2012-08-06 Roland McGrath <roland@hack.frob.com>
48447
48448 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48449 Define alphasort64 as an alias.
48450 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48451 Define versionsort64 as an alias.
48452 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48453 Define scandir64 as an alias.
48454 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48455 Define scandirat64 as an alias.
48456 * dirent/alphasort64.c (alphasort64):
48457 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48458 * dirent/versionsort64.c: Likewise.
48459 * dirent/scandir64.c: Likewise.
48460 * dirent/scandirat64.c: Likewise.
48461 * sysdeps/wordsize-64/alphasort.c: File removed.
48462 * sysdeps/wordsize-64/alphasort64.c: File removed.
48463 * sysdeps/wordsize-64/scandir.c: File removed.
48464 * sysdeps/wordsize-64/scandir64.c: File removed.
48465 * sysdeps/wordsize-64/scandirat.c: File removed.
48466 * sysdeps/wordsize-64/scandirat64.c: File removed.
48467 * sysdeps/wordsize-64/versionsort.c: File removed.
48468 * sysdeps/wordsize-64/versionsort64.c: File removed.
48469 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48476 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48477
48478 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48480 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48482 [defined __arch64__ || defined __sparcv9]
48483 (__INO_T_MATCHES_INO64_T): New macro.
48484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48485 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48486 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48487 * sysdeps/unix/sysv/linux/bits/dirent.h
48488 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48489 (_DIRENT_MATCHES_DIRENT64): New macro.
48490
48491 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48492 Define lockf64 as an alias.
48493 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48494 Define fseeko64 as an alias.
48495 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48496 Define ftello64 as an alias.
48497 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48498 Define _IO_fgetpos64 and fgetpos64 as aliases.
48499 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48500 Define _IO_fsetpos64 and fsetpos64 as aliases.
48501 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48502 Conditionalize body on this.
48503 * libio/fseeko64.c: Likewise.
48504 * libio/ftello64.c: Likewise.
48505 * libio/iofgetpos64.c: Likewise.
48506 * libio/iofsetpos64.c: Likewise.
48507 * sysdeps/wordsize-64/lockf.c: File removed.
48508 * sysdeps/wordsize-64/lockf64.c: File removed.
48509 * sysdeps/wordsize-64/fseeko.c: File removed.
48510 * sysdeps/wordsize-64/fseeko64.c: File removed.
48511 * sysdeps/wordsize-64/ftello.c: File removed.
48512 * sysdeps/wordsize-64/ftello64.c: File removed.
48513 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48514 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48515 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48516 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48517 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48519 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48520 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48521 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48522 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48523 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48524 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48526 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48527
48528 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48530 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48532 [defined __arch64__ || defined __sparcv9]
48533 (__OFF_T_MATCHES_OFF64_T): New macro.
48534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48535 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48537 (__OFF_T_MATCHES_OFF64_T): New macro.
48538
48539 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48540
48541 * stdlib/secure-getenv.c (__secure_getenv): Replace
48542 GLIBC_2_16 with GLIBC_2_17.
48543
48544 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48545
48546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48547 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48548
48549 2012-08-03 David S. Miller <davem@davemloft.net>
48550
48551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48552
48553 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48554
48555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48556 Remove.
48557 (__ASSUME_CORRECT_SI_PID): Likewise.
48558 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48559 (__ASSUME_TMPFS_NAME): Likewise.
48560 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48561 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48562 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48563 (HAVE_AUX_SECURE): Make definition unconditional.
48564 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48565 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48566
48567 2012-08-03 Roland McGrath <roland@hack.frob.com>
48568
48569 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48570 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48571 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48572 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48573 __eloop_threshold instead of SYMLOOP_MAX.
48574
48575 * sysdeps/generic/eloop-threshold.h: New file.
48576 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48577 of MAXSYMLINKS.
48578 * elf/chroot_canon.c (chroot_canon): Likewise.
48579
48580 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48581
48582 [BZ #13717]
48583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48584 Change to 2.6.0 everywhere.
48585 * sysdeps/unix/sysv/linux/configure: Regenerated.
48586 * sysdeps/unix/sysv/linux/kernel-features.h
48587 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48588 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48589 kernel versions.
48590 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48591 (__ASSUME_FUTEX_REQUEUE): Remove.
48592 (__ASSUME_STATFS64): Define unconditionally.
48593 (__ASSUME_AT_SECURE): Likewise.
48594 (__ASSUME_CORRECT_SI_PID): Likewise.
48595 (__ASSUME_TGKILL): Define without depending on kernel version for
48596 i386.
48597 (__ASSUME_UTIMES): Likewise.
48598 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48599 kernel version.
48600 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48601 (__ASSUME_TMPFS_NAME): Likewise.
48602 * README: Update reference to Linux kernel versions.
48603
48604 2012-08-02 Marek Polacek <polacek@redhat.com>
48605
48606 [BZ# 14150]
48607 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48608 libc_cv_asm_type_prefix with %.
48609 * configure: Regenerated.
48610 * include/libc-symbols.h: Remove comment about
48611 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48612 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48613 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48614 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48615 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48616 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48617 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48618 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48619 * elf/tst-unique2mod1.c: Likewise.
48620 * elf/tst-unique1mod2.c: Likewise.
48621 * elf/tst-unique1mod1.c: Likewise.
48622 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48623 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48624 Replace ASM_TYPE_DIRECTIVE with .type.
48625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48626 * sysdeps/i386/sysdep.h: Likewise.
48627 * sysdeps/x86_64/sysdep.h: Likewise.
48628 * sysdeps/sh/sysdep.h: Likewise.
48629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48630 Do not define ASM_TYPE_DIRECTIVE.
48631 * sysdeps/powerpc/sysdep.h: Likewise.
48632 * sysdeps/powerpc/powerpc32/sysdep.h:
48633 Replace ASM_TYPE_DIRECTIVE with .type.
48634 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48635 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48636 * sysdeps/i386/fpu/e_powf.S: Likewise.
48637 * sysdeps/i386/fpu/e_expl.S: Likewise.
48638 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48639 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48640 * sysdeps/i386/fpu/e_pow.S: Likewise.
48641 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48643 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48645 * sysdeps/i386/fpu/e_log2.S: Likewise.
48646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48648 * sysdeps/i386/fpu/e_powl.S: Likewise.
48649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48650 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48651 * sysdeps/i386/fpu/e_logl.S: Likewise.
48652 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48653 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48654 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48655 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48657 * sysdeps/i386/fpu/e_log.S: Likewise.
48658 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48659 * sysdeps/i386/fpu/e_logf.S: Likewise.
48660 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48662 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48663 * sysdeps/i386/fpu/e_log10.S: Likewise.
48664 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48665 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48666 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48667 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48668 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48670 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48671 * sysdeps/i386/i686/strtok.S: Likewise.
48672 * sysdeps/i386/i386-mcount.S: Likewise.
48673 * sysdeps/i386/strtok.S: Likewise.
48674 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48675 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48676 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48677 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48679 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48680 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48681 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48682 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48683 * sysdeps/x86_64/_mcount.S: Likewise.
48684 * sysdeps/x86_64/strtok.S: Likewise.
48685 * sysdeps/sh/_mcount.S: Likewise.
48686
48687 2012-08-01 Roland McGrath <roland@hack.frob.com>
48688
48689 * libio/iofopen.c: Include <fcntl.h>.
48690 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48691 (_IO_fopen64, fopen64): Define as aliases.
48692 * libio/iofopen64.c: Include <fcntl.h>.
48693 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48694 Conditionalize body on this.
48695 * sysdeps/wordsize-64/iofopen.c: File removed.
48696 * sysdeps/wordsize-64/iofopen64.c: File removed.
48697
48698 2012-08-01 Marek Polacek <polacek@redhat.com>
48699
48700 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48701 Use dlfcn directly instead of a variable.
48702 (binfmt-subdir): Do not define.
48703 (dlfcn): Likewise.
48704
48705 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48706
48707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48708 Remove all definitions.
48709 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48710 <kernel-features.h>.
48711 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48712 (miss_F_GETOWN_EX): Remove all definitions.
48713 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48714 macro definition.
48715 [!__ASSUME_FCNTL64]: Remove conditional code.
48716 [__ASSUME_FCNTL64]: Make code unconditional.
48717 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48718 <kernel-features.h>.
48719 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48720 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48721 (lockf64) [__NR_fcntl64]: Make code unconditional.
48722 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48723
48724 * sysdeps/unix/sysv/linux/kernel-features.h
48725 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48726 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48727 Make code unconditional.
48728 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48729 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48731 [__NR_vfork]: Make code unconditional.
48732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48735 [__NR_vfork]: Make code unconditional.
48736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48738
48739 2012-08-01 Roland McGrath <roland@hack.frob.com>
48740
48741 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48742 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48743
48744 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48745 Define mkstemp64 as an alias.
48746 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48747 Define mkstemps64 as an alias.
48748 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48749 Define mkostemp64 as an alias.
48750 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48751 Define mkostemps64 as an alias.
48752 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48753 Conditionalize body on this.
48754 * misc/mkostemp64.c: Likewise.
48755 * misc/mkostemps64.c: Likewise.
48756 * misc/mkstemps64.c: Likewise.
48757 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48758 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48759 * sysdeps/wordsize-64/mkostemp.c: File removed.
48760 * sysdeps/wordsize-64/mkstemp.c: File removed.
48761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48765
48766 [BZ #14138]
48767 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48768 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48769 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48770 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48771
48772 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48773 compat_symbol macros from <shlib-compat.h> rather than the underlying
48774 default_symbol_version and symbol_version macros, so that DEFAULT
48775 lines in shlib-versions are respected.
48776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48777
48778 2012-08-01 Florian Weimer <fweimer@redhat.com>
48779
48780 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48781 Declare with warn_unused_result.
48782 (setgid, setregid, setegid, setresgid): Likewise.
48783 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48784 Likewise.
48785 * WUR-REPORT: Remove set*id functions.
48786
48787 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48788
48789 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48790
48791 2012-07-31 Roland McGrath <roland@hack.frob.com>
48792
48793 [BZ #10191]
48794 * include/sys/socket.h (__libc_accept, __libc_accept4):
48795 Add attribute_hidden.
48796 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48797
48798 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48799 use of PTR_MANGLE.
48800 * inet/getnetgrent_r.c (setup): Likewise.
48801
48802 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48803
48804 2012-07-31 David S. Miller <davem@davemloft.net>
48805
48806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48807
48808 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48809
48810 [BZ #13629]
48811 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48812 value between 1.0 and 2.0 and smaller part has absolute value less
48813 than 1.0.
48814 * math/s_clog10.c (__clog10): Likewise.
48815 * math/s_clog10f.c (__clog10f): Likewise.
48816 * math/s_clog10l.c (__clog10l): Likewise.
48817 * math/s_clogf.c (__clogf): Likewise.
48818 * math/s_clogl.c (__clogl): Likewise.
48819 * math/libm-test.inc (clog_test): Add more tests.
48820 (clog10_test): Likewise.
48821 * sysdeps/i386/fpu/libm-test-ulps: Update.
48822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48823
48824 2012-07-31 Florian Weimer <fweimer@redhat.com>
48825
48826 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48827 Exit with zero in case no suitable GID is found, and write a
48828 message to standard error.
48829
48830 2012-07-30 Roland McGrath <roland@hack.frob.com>
48831
48832 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48833 rather than to 1.
48834 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48835 (MAXPATHLEN): Removed.
48836 (NOGROUP, NODEV): New macros.
48837 (setbit, clrbit, isset, isclr): New macros.
48838 (howmany, roundup, powerof2): New macros.
48839 (DEV_BSIZE): New macro.
48840
48841 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48842 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48843
48844 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48845 definition on [!__NO_LONG_DOUBLE_MATH].
48846
48847 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48848 PTR_MANGLE and PTR_DEMANGLE.
48849
48850 * socket/accept4.c (accept4): Rename to __libc_accept4.
48851 Define accept4 as a weak alias.
48852
48853 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48854 on [_DIRENT_HAVE_D_TYPE].
48855 * io/ftw.c (ftw_dir): Likewise.
48856
48857 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48858
48859 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48860
48861 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48862 Use the BSD numbers rather than the arbitrary ones we had.
48863 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48864 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48865 (SIGXCPU, SIGXFSZ): New macros.
48866 (_NSIG): Now 32.
48867
48868 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48869 initializer on [_LIBC_REENTRANT].
48870
48871 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48872 definitions inside [_POSIX_MAPPED_FILES].
48873
48874 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48875
48876 * dirent/opendir.c: Include <fcntl.h>.
48877
48878 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48879 (__libc_getspecific): Likewise.
48880 (__libc_key_create): Likewise.
48881
48882 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48883 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48884 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48885 (tmpfile64): Define as alias.
48886 * sysdeps/wordsize-64/tmpfile.c: File removed.
48887 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48888 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48889 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48890
48891 * stdio-common/vfscanf.c: Include <stdbool.h>.
48892 * nss/makedb.c: Likewise.
48893 * stdio-common/_i18n_number.h: Likewise.
48894 * argp/argp-help.c: Likewise.
48895 * posix/wordexp.c: Likewise.
48896 * sysdeps/posix/spawni.c: Likewise.
48897 * nss/nss_files/files-initgroups.c: Likewise.
48898 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48899 * nss/nss_files/files-initgroups.c: Likewise.
48900 * nss/nss_db/db-netgrp.c: Likewise.
48901 * nss/nss_db/db-initgroups.c: Likewise.
48902 * io/fchmodat.c: Include <sys/stat.h>.
48903
48904 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48905 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48906
48907 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48908 [HAVE_MMAP].
48909
48910 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48911 Add multiple inclusion protection.
48912
48913 2012-07-27 David S. Miller <davem@davemloft.net>
48914
48915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48916
48917 2012-07-27 Gary Benson <gbenson@redhat.com>
48918
48919 [BZ #14298]
48920 * elf/rtld.c: Include <stap-probe.h>.
48921 (dl_main): Added static probes "init_start" and "init_complete".
48922 * elf/dl-load.c: Include <stap-probe.h>.
48923 (lose): Take new parameter "nsid".
48924 Added static probe "map_failed".
48925 (_dl_map_object_from_fd): Pass namespace id to lose.
48926 Added static probe "map_start".
48927 (open_verify): Pass namespace id to lose.
48928 * elf/dl-open.c: Include <stap-probe.h>.
48929 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48930 and "reloc_complete".
48931 * elf/dl-close.c: Include <stap-probe.h>.
48932 (_dl_close_worker): Added static probes "unmap_start" and
48933 "unmap_complete".
48934 * elf/rtld-debugger-interface.txt: New file documenting the above.
48935
48936 2012-07-26 Roland McGrath <roland@hack.frob.com>
48937
48938 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48939 rather than a string variable.
48940 * sunrpc/rpc_main.c (h_output): Likewise.
48941 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48942
48943 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48944
48945 * inet/check_native.c: New file.
48946
48947 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48948
48949 [BZ #13629]
48950 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48951 if larger part has absolute value 1.0.
48952 * math/s_clog10.c (__clog10): Likewise.
48953 * math/s_clog10f.c (__clog10f): Likewise.
48954 * math/s_clog10l.c (__clog10l): Likewise.
48955 * math/s_clogf.c (__clogf): Likewise.
48956 * math/s_clogl.c (__clogl): Likewise.
48957 * math/libm-test.inc (clog_test): Add more tests.
48958 (clog10_test): Likewise.
48959 * sysdeps/i386/fpu/libm-test-ulps: Update.
48960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48961
48962 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48963 (pltexit): Likewise.
48964 (La_regs): Likewise.
48965 (La_retval): Likewise.
48966 (int_retval): Likewise.
48967 Update #error for removed macros to refer only to definitions in
48968 tst-audit.h.
48969 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48970 macro.
48971 (pltexit): Likewise.
48972 (La_regs): Likewise.
48973 (La_retval): Likewise.
48974 (int_retval): Likewise.
48975 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48976 macro.
48977 (pltexit): Likewise.
48978 (La_regs): Likewise.
48979 (La_retval): Likewise.
48980 (int_retval): Likewise.
48981 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48982 macro.
48983 (pltexit): Likewise.
48984 (La_regs): Likewise.
48985 (La_retval): Likewise.
48986 (int_retval): Likewise.
48987 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48988 macro.
48989 (pltexit): Likewise.
48990 (La_regs): Likewise.
48991 (La_retval): Likewise.
48992 (int_retval): Likewise.
48993 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48994 macro.
48995 (pltexit): Likewise.
48996 (La_regs): Likewise.
48997 (La_retval): Likewise.
48998 (int_retval): Likewise.
48999 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49000 macro.
49001 (pltexit): Likewise.
49002 (La_regs): Likewise.
49003 (La_retval): Likewise.
49004 (int_retval): Likewise.
49005 * sysdeps/generic/tst-audit.h: Update comment to refer only to
49006 macro definitions in tst-audit.h.
49007 * sysdeps/i386/tst-audit.h: New file.
49008 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49009 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49010 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49011 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49012 * sysdeps/sh/tst-audit.h: Likewise.
49013 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49014 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49015 * sysdeps/x86_64/tst-audit.h: Likewise.
49016
49017 2012-07-26 Andreas Jaeger <aj@suse.de>
49018
49019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49020 ptrace.
49021
49022 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49023 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49024 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49025 PTRACE_O_MASK.
49026 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49027 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49028 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49029
49030 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49031 value.
49032
49033 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49034 _sigsys.
49035 (si_call_addr, si_syscall, si_arch): Define new macro.
49036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49037 _sigsys.
49038 (si_call_addr, si_syscall, si_arch): Define new marcro.
49039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49040 _sigsys.
49041 (si_call_addr, si_syscall, si_arch): Define new macro.
49042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49043 _sigsys.
49044 (si_call_addr, si_syscall, si_arch): Define new macro.
49045
49046 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49047
49048 [BZ #13717]
49049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49050 Change to 2.4.21 where previously 2.4.1.
49051 * sysdeps/unix/sysv/linux/configure: Regenerated.
49052 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49053 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49054 Linux kernel version.
49055 (__ASSUME_STD_AUXV): Remove.
49056 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49057 kernel version.
49058 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49059 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49060 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49061 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49062 (__ASSUME_NETLINK_SUPPORT): Likewise.
49063 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49064 (__no_netlink_support): Remove conditional definition.
49065 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49066 Remove.
49067 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49068 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49069 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49070 (if_nameindex_ioctl): Remove.
49071 (if_nameindex_netlink): Do not handle __no_netlink_support.
49072 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49073 code.
49074 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49075 Remove conditional code.
49076 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49077 code.
49078 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49079 unconditional.
49080 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49081 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49082 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49083 Remove.
49084 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49085 [!__ASSUME_STD_AUXV]: Remove conditional code.
49086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49087 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49088 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49090 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49091 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49092 code.
49093 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49095 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49096 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49097 conditional code.
49098 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49100 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49101 code.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49104 conditional code.
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49106 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49107 code unconditional.
49108 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49109 conditional code.
49110 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49111 unconditional.
49112 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49113 conditional code.
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49115 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49116 unconditional.
49117 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49118 conditional code.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49120 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49121 code unconditional.
49122 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49123 conditional code.
49124 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49125 unconditional.
49126 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49127 conditional code.
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49129 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49130 code unconditional.
49131 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49132 conditional code.
49133 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49134 unconditional.
49135 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49136 conditional code.
49137
49138 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49139
49140 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49141 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49142 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49143 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49144 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49145 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49146 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49147 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49148 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49149 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49150 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49151 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49152 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49153 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49154 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49155 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49156 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49158 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49160 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49161 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49163
49164 2012-07-25 Florian Weimer <fweimer@redhat.com>
49165
49166 * Versions.def: Add GLIBC_2.17.
49167 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49168 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49169 Introduce __libc_secure_getenv.
49170 * stdlib/Versions (2.17): Add secure_getenv
49171 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49172 * stdlib/secure-getenv.c: Rename __secure_getenv to
49173 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49174 symbol __secure_getenv for GLIBC_2.0.
49175 * stdlib/tst-secure-getenv.c: New.
49176 * stdlib/Makefile (tests): Add testcase.
49177 * manual/startup.texi (Environment Access): Document
49178 secure_getenv.
49179 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49180 __libc_secure_getenv.
49181 * inet/ruserpass.c (ruserpass): Likewise.
49182 * malloc/mtrace.c (mtrace): Likewise.
49183 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49184 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49185 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49186 * sysdeps/posix/tempname.c: Likewise. Evaluate
49187 HAVE_SECURE_GETENV.
49188 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49189 __secure_getenv to __libc_secure_getenv.
49190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49192 Likewise.
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49194 Likewise.
49195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49202
49203 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49204
49205 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49206 (struct La_i86_retval): Likewise.
49207 (struct La_x86_64_regs): Likewise.
49208 (struct La_x86_64_retval): Likewise.
49209 (struct La_x32_regs): Likewise.
49210 (struct La_x32_retval): Likewise.
49211 (struct La_ppc32_regs): Likewise.
49212 (struct La_ppc32_retval): Likewise.
49213 (struct La_ppc64_regs): Likewise.
49214 (struct La_ppc64_retval): Likewise.
49215 (struct La_sh_regs): Likewise.
49216 (struct La_sh_retval): Likewise.
49217 (struct La_s390_32_regs): Likewise.
49218 (struct La_s390_32_retval): Likewise.
49219 (struct La_s390_64_regs): Likewise.
49220 (struct La_s390_64_retval): Likewise.
49221 (struct La_sparc32_regs): Likewise.
49222 (struct La_sparc32_retval): Likewise.
49223 (struct La_sparc64_regs): Likewise.
49224 (struct La_sparc64_retval): Likewise.
49225 (struct audit_ifaces): Remove architecture-specific pltenter and
49226 pltexit members.
49227 * sysdeps/i386/ldsodefs.h: New file.
49228 * sysdeps/powerpc/ldsodefs.h: Likewise.
49229 * sysdeps/s390/ldsodefs.h: Likewise.
49230 * sysdeps/sh/ldsodefs.h: Likewise.
49231 * sysdeps/sparc/ldsodefs.h: Likewise.
49232 * sysdeps/x86_64/ldsodefs.h: Likewise.
49233
49234 2012-07-25 Marek Polacek <polacek@redhat.com>
49235
49236 [BZ #6808]
49237 * math/libm-test.inc (yn_test): Add another test.
49238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49239 to ERANGE when the result is +-Inf.
49240 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49241 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49242 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49243 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49244
49245 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49246
49247 * conform/data/time.h-data (NULL): Use macro-constant. Require
49248 equal to 0.
49249 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49250 clock_t.
49251 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49252
49253 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49254
49255 * configure.in <sysdeps resolving>: Correct printing
49256 Implies_before.
49257 * configure: Regenerate.
49258
49259 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49260
49261 * math/w_ilogb.c: Include <limits.h>.
49262 * math/w_ilogbl.c: Likewise.
49263
49264 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49265
49266 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49267 va_copy. Document allowing for unavailable va_copy only as
49268 pre-C99 compatibility.
49269 * manual/string.texi (Copying and Concatenation): Use va_copy
49270 instead of __va_copy in concat example.
49271
49272 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49273
49274 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49275 (__sendto): Use create_address_port. Initialize APORT and deallocate
49276 it if not null.
49277
49278 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49279 with O_NOLINK passed to __file_name_lookup.
49280
49281 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49282 with O_NOLINK passed to __file_name_lookup.
49283
49284 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49285 negative N or less than NGIDS.
49286
49287 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49288 type to string_t. Set ERANGE as errno and return it if NAME is not big
49289 enough. Use memcpy instead of strncpy.
49290
49291 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49292
49293 * elf/Makefile (check-data): Remove.
49294 (localplt.data): New vpath directive.
49295 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49296 instead of $(check-data).
49297 * scripts/data/localplt-generic.data: Move to ...
49298 * sysdeps/generic/localplt.data: ... here.
49299 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49300 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49301 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49303 ... here.
49304 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49306 ... here.
49307 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49309 ... here.
49310 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49312 ... here.
49313 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49315 ... here.
49316 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49318 ... here.
49319
49320 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49321
49322 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49323 PPC32 and PPC64 files.
49324 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49325 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49326
49327 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49328
49329 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49330 __makecontext_ret to ...
49331 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49332 ... here and call exit if uc_link is NULL. New file.
49333 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49334 __makecontext_ret.S.
49335 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49336 __makecontext_ret to ...
49337 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49338 ... here and call exit if uc_link is NULL. New file.
49339 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49340 __makecontext_ret.S.
49341
49342 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49343
49344 * elf/elf.h (R_390_IRELATIVE): New definition.
49345 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49346 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49347 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49349 (elf_machine_lazy_rel): Likewise.
49350 * sysdeps/s390/dl-irel.h: New file.
49351 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49352 * sysdeps/s390/s390-64/memset.S: New asm code.
49353 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49354 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49355 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49356 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49357 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49358 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49360 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49361 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49362 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49363 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49364 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49365 * sysdeps/s390/s390-32/memset.S: New asm code.
49366 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49367
49368 2012-07-17 Marek Polacek <polacek@redhat.com>
49369
49370 [BZ #14349]
49371 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49372 * sysdeps/s390/s390-64/configure.in: Likewise.
49373 * sysdeps/sparc/configure.in: Likewise.
49374 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49375 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49376 * sysdeps/i386/configure.in: Likewise.
49377 * sysdeps/x86_64/configure.in: Likewise.
49378 * sysdeps/sh/configure.in: Likewise.
49379 * sysdeps/s390/s390-32/configure: Regenerated.
49380 * sysdeps/s390/s390-64/configure: Likewise.
49381 * sysdeps/x86_64/configure: Likewise.
49382 * sysdeps/sh/configure: Likewise.
49383 * sysdeps/powerpc/powerpc64/configure: Likewise.
49384 * sysdeps/powerpc/powerpc32/configure: Likewise.
49385 * sysdeps/sparc/configure: Likwise.
49386 * sysdeps/i386/configure: Likewise.
49387
49388 * elf/dl-open.c: Comment fixes.
49389
49390 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49391
49392 * Makefile [CXX] (check-data): Remove.
49393 [CXX] (c++-types.data): New vpath directive.
49394 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49395 vpath. Do not allow for C++ type data being missing.
49396 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49397 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49398 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49399 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49400 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49401 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49402 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49404 ... here.
49405 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49407 ... here.
49408 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49410 ... here.
49411 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49413 ... here.
49414 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49416 ... here.
49417 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49419 ... here.
49420 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49422 ... here.
49423 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49425
49426 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49427 definitions to architecture-specific files.
49428 (TLS_IE): Likewise.
49429 (TLS_LD): Likewise.
49430 (TLS_GD): Likewise.
49431 * sysdeps/i386/tls-macros.h: New file.
49432 * sysdeps/powerpc/tls-macros.h: Likewise.
49433 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49434 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49435 * sysdeps/sh/tls-macros.h: Likewise.
49436 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49437 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49438 * sysdeps/x86_64/tls-macros.h: Likewise.
49439
49440 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49441
49442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49443 zero value for regular exit case.
49444
49445 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49446 (__start_context): Preserve zero value for regular exit case.
49447
49448 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49449 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49450
49451 * manual/setjmp.texi (setcontext): Clarify normal process
49452 termination when uc_link is the null pointer.
49453 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49454 exit call.
49455
49456 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49457
49458 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49459 preprocessor. Test for each exception mask separately.
49460
49461 2012-07-16 Andreas Jaeger <aj@suse.de>
49462
49463 * po/ru.po: Update from translation team.
49464
49465 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49466
49467 * conform/data/string.h-data (NULL): Use macro-constant. Require
49468 equal to 0.
49469 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49470 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49471 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49472 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49474
49475 2012-07-13 Andreas Jaeger <aj@suse.de>
49476
49477 * po/fr.po: Update from translation team.
49478
49479 2012-07-12 Marek Polacek <polacek@redhat.com>
49480
49481 [BZ #14173]
49482 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49484 loop condition.
49485
49486 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49487
49488 [BZ #13717]
49489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49490 Change to 2.4.1 where previously 2.4.0.
49491 * sysdeps/unix/sysv/linux/configure: Regenerated.
49492 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49493 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49494 version.
49495 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49496 (__ASSUME_AT_CLKTCK): Remove.
49497 (__ASSUME_AT_PAGESIZE): Likewise.
49498 (__ASSUME_AT_XID): Likewise.
49499 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49500 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49501 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49502 unconditionally.
49503 (HAVE_AUX_PAGESIZE): Likewise.
49504 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49505 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49506 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49507
49508 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49509
49510 [BZ #14307]
49511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49512 the temporary buffer used to invoke __gethostbyname2_r,
49513 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49514 host_data / struct gaih_addrtuple.
49515 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49516 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49517 header file nss/nsswitch.h.
49518 * nss/nsswitch.h (global scope): Add definition of implementation
49519 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49520 resolv/nss_dns/dns-host.c).
49521
49522 2012-07-11 Andreas Jaeger <aj@suse.de>
49523
49524 * po/fr.po: Update from translation team.
49525
49526 * po/sv.po: Update from translation team
49527 * po/fr.po: Another update from translation team.
49528
49529 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49530
49531 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49532 for subnormals or multiply small sinh result by itself.
49533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49535
49536 2012-07-11 David S. Miller <davem@davemloft.net>
49537
49538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49539
49540 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49541
49542 [BZ #14347]
49543 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49544 (INTERNAL_MARK): Shift it here.
49545
49546 2012-07-10 Marek Polacek <polacek@redhat.com>
49547
49548 [BZ #14151]
49549 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49550 libc_cv_asm_global_directive with .globl.
49551 * configure: Regenerated.
49552 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49553 with .globl.
49554 * sysdeps/i386/configure: Regenerated.
49555 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49556 with .globl.
49557 * sysdeps/x86_64/configure: Regenerated.
49558 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49559 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49560 * elf/tst-unique2mod2.c: Likewise.
49561 * elf/tst-unique2mod1.c: Likewise.
49562 * elf/tst-unique1mod2.c: Likewise.
49563 * elf/tst-unique1mod1.c: Likewise.
49564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49565 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49566 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49567 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49568 * sysdeps/mach/sysdep.h: Likewise.
49569 * sysdeps/i386/sysdep.h: Likewise.
49570 * sysdeps/i386/i386-mcount.S: Likewise.
49571 * sysdeps/x86_64/_mcount.S: Likewise.
49572 * sysdeps/x86_64/sysdep.h: Likewise.
49573 * sysdeps/sh/_mcount.S: Likewise.
49574 * sysdeps/sh/sysdep.h: Likewise.
49575 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49576 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49577 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49578 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49579 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49580 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49581 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49582 * locale/localeinfo.h: Likewise.
49583 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49584 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49585
49586 2012-07-09 Roland McGrath <roland@hack.frob.com>
49587
49588 [BZ #14336]
49589 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49590 system".
49591 * manual/message.texi (The Uniforum approach): Likewise.
49592 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49593 (glibc iconv Implementation): Likewise.
49594
49595 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49596
49597 [BZ #14337]
49598 * math/s_clog.c (__clog): Avoid scaling a value down where that
49599 could result in underflow.
49600 * math/s_clog10.c (__clog10): Likewise.
49601 * math/s_clog10f.c (__clog10f): Likewise.
49602 * math/s_clog10l.c (__clog10l): Likewise.
49603 * math/s_clogf.c (__clogf): Likewise.
49604 * math/s_clogl.c (__clogl): Likewise.
49605 * math/libm-test.inc (clog_test): Add more tests.
49606 (clog10_test): Likewise.
49607 * sysdeps/i386/fpu/libm-test-ulps: Update.
49608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49609
49610 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49611
49612 [BZ #14283]
49613 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49614 by 7 not 8 to examine high bit of fractional part.
49615
49616 [BZ #14042]
49617 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49618 for call to __mcount_internal.
49619 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49620 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49621 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49622
49623 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49624
49625 [BZ #14154]
49626 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49627 approximation for values within 0x1p-13f of an odd multiple of
49628 pi/4.
49629 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49630 exception. Add more tests.
49631 * sysdeps/i386/fpu/libm-test-ulps: Update.
49632
49633 [BZ #6778]
49634 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49635 inputs and return -1 for them. Do not check for +Inf in case not
49636 reachable for +Inf.
49637 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49638 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49640 and return -1 for them. Do not check for +Inf in case not
49641 reachable for +Inf.
49642 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49643 define.
49644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49645 and return -1 for them. Do not check for +Inf in case not
49646 reachable for +Inf.
49647 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49648 spurious underflow.
49649 * sysdeps/i386/fpu/libm-test-ulps: Update.
49650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49651
49652 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49653
49654 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49655
49656 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49657
49658 [BZ #14157]
49659 [BZ #14331]
49660 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49661 could result in spurious underflow. Scale down values above
49662 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49663 * math/s_csqrtf.c (__csqrtf): Likewise.
49664 * math/s_csqrtl.c (__csqrtl): Likewise.
49665 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49666 spurious underflow.
49667 * sysdeps/i386/fpu/libm-test-ulps: Update.
49668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49669
49670 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49671
49672 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49673 xopen-msg.sed.
49674 * catgets/xopen-msg.awk: New file.
49675 * catgets/xopen-msg.sed: Removed.
49676
49677 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49678 po2text.sed.
49679 * intl/po2test.awk: New file.
49680 * intl/po2test.sed: Removed.
49681
49682 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49683
49684 [BZ #14328]
49685 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49686 or multiply small sinh result by itself.
49687 * math/s_ctanf.c (__ctanf): Likewise.
49688 * math/s_ctanh.c (__ctanh): Likewise.
49689 * math/s_ctanhf.c (__ctanhf): Likewise.
49690 * math/s_ctanhl.c (__ctanhl): Likewise.
49691 * math/s_ctanl.c (__ctanl): Likewise.
49692 * math/libm-test.inc (ctan_test_tonearest): New function.
49693 (ctan_test_towardzero): Likewise.
49694 (ctan_test_downward): Likewise.
49695 (ctan_test_upward): Likewise.
49696 (ctanh_test_tonearest): Likewise.
49697 (ctanh_test_towardzero): Likewise.
49698 (ctanh_test_downward): Likewise.
49699 (ctanh_test_upward): Likewise.
49700 (main): Call these new functions.
49701 * sysdeps/i386/fpu/libm-test-ulps: Update.
49702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49703
49704 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49705
49706 * .gitignore: Delete /ports entry.
49707
49708 2012-07-03 Andreas Jaeger <aj@suse.de>
49709
49710 * po/bg.po: Update from translation team.
49711 * po/cs.po: Likewise.
49712 * po/de.po: Likewise.
49713 * po/hr.po: Likewise.
49714 * po/nl.pl: Likewise.
49715 * po/pl.po: Likewise.
49716 * po/vi.po: Likewise.
49717
49718 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49719
49720 * Makeconfig [!+link] (+link-before-libc): New variable.
49721 [!+link] (+link-after-libc): Likewise.
49722 [!+link] (+link-tests): Likewise.
49723 [!+link] (+link): Define in terms of $(+link-before-libc) and
49724 $(+link-after-libc).
49725 [!+link-static] (+link-static-before-libc): New variable.
49726 [!+link-static] (+link-static-after-libc): Likewise.
49727 [!+link-static] (+link-static-tests): Likewise.
49728 [!+link-static] (+link-static): Define in terms of
49729 $(+link-static-before-libc) and $(+link-static-after-libc).
49730 [build-shared] (link-libc-before-gnulib): New variable.
49731 [build-shared] (link-libc-tests): Likewise.
49732 [build-shared] (link-libc): Define in terms of
49733 $(link-libc-before-gnulib).
49734 [!build-shared] (link-libc-tests): New variable.
49735 (link-libc-static-tests): New variable.
49736 [!gnulib] (gnulib-arch): New variable.
49737 [!gnulib] (gnulib-tests): Likewise.
49738 [!gnulib] (static-gnulib-arch): Likewise.
49739 [!gnulib] (static-gnulib-tests): Likewise.
49740 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49741 Define with "=" instead of ":=".
49742 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49743 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49744 * Rules (binaries-all-notests): New variable.
49745 (binaries-all-tests): Likewise.
49746 (binaries-static-notests): Likewise.
49747 (binaries-static-tests): Likewise.
49748 (binaries-all): Define using $(binaries-all-notests) and
49749 $(binaries-all-tests).
49750 (binaries-static): Define using $(binaries-static-notests) and
49751 $(binaries-static-tests).
49752 (binaries-shared-tests): New variable.
49753 (binaries-shared-notests): Likewise.
49754 (binaries-shared): Remove variable.
49755 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49756 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49757 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49758 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49759 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49760 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49761 * elf/Makefile (sln-modules): New variable.
49762 (extra-objs): Add $(sln-modules:=.o).
49763 (ldconfig-modules): Add static-stubs.
49764 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49765 * elf/static-stubs.c: New file.
49766
49767 [BZ #14283]
49768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49769 by 7 not 8 to examine high bit of fractional part. Use volatile
49770 variables when splitting into final array of floats if
49771 __FLT_EVAL_METHOD__ != 0.
49772 * math/libm-test.inc (cos_test): Add another test.
49773 (sin_test): Likewise.
49774 * sysdeps/i386/fpu/libm-test-ulps: Update.
49775
49776 [BZ #14273]
49777 * math/libm-test.inc (cosh_test): Add more tests.
49778
49779 * version.h (RELEASE): Set to "development".
49780 (VERSION): Set to "2.16.90".
49781
49782 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49783
49784 * NEWS: Update copyright. Remove last-updated date.
49785 Mention math library bug fixes and timezone data changes.
49786 * README: Mention GNU/Hurd, x32, and HPPA support status.
49787
49788 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49789
49790 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49791
49792 2012-06-27 Andreas Jaeger <aj@suse.de>
49793
49794 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49795
49796 2012-06-25 Andreas Jaeger <aj@suse.de>
49797
49798 * sysdeps/s390/fpu/libm-test-ulps: Update.
49799
49800 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49801 Thomas Schwinge <thomas@codesourcery.com>
49802
49803 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49804 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49806 fanotify_mark.
49807
49808 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49809
49810 * sysdeps/mach/start.c: Remove file.
49811 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49812 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49813 * sysdeps/sh/init-first.c: Likewise.
49814
49815 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49816 registers for frame unwinding purposes, add CFI directives.
49817 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49819 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49820 Likewise.
49821
49822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49823 __fortify_fail returning.
49824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49825
49826 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49827 sysdeps/sh/____longjmp_chk.S.
49828 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49829 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49830 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49831 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49832
49833 * sysdeps/sh/abort-instr.h: New file.
49834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49835 process in case exit returns.
49836
49837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49838 initialize the GOT register before use.
49839
49840 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49841 calculation of ARGC > 4.
49842
49843 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49844 meaningful names to some local labels.
49845
49846 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49847 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49848
49849 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49850 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49851 (__arch_compare_and_exchange_val_16_acq): Likewise.
49852 (__arch_compare_and_exchange_val_32_acq): Likewise.
49853 (atomic_exchange_and_add): Fix gUSA sequence.
49854 (atomic_add): Likewise.
49855 (atomic_add_negative): Likewise.
49856 (atomic_add_zero): Likewise.
49857 (atomic_bit_test_set): Likewise.
49858
49859 2012-06-22 Andreas Schwab <schwab@redhat.com>
49860
49861 [BZ #13579]
49862 * include/link.h (struct link_map): Add l_free_initfini.
49863 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49864 l_initfini.
49865 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49866 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49867 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49868 set.
49869
49870 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49871
49872 * configure.in: Use AC_LANG_SOURCE.
49873 * configure: Regenerate.
49874
49875 2012-06-22 Roland McGrath <roland@hack.frob.com>
49876
49877 * configure.in (libc_cv_localstatedir): New substituted variable.
49878 * configure: Regenerated.
49879 * config.make.in (localstatedir): New variable, substituted from
49880 libc_cv_localstatedir.
49881 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49882 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49883 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49884 * sysdeps/gnu/configure: Regenerated.
49885
49886 2012-06-21 Jeff Law <law@redhat.com>
49887
49888 [BZ #14277]
49889 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49890 free. Simplify list management for _LIBC case.
49891
49892 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49893
49894 [BZ #14273]
49895 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49896 Clear sign bit of 64-bit integer value before comparing against
49897 overflow value.
49898
49899 * sysdeps/mach/configure: Regenerated.
49900
49901 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49902
49903 [BZ #14278]
49904 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49905
49906 2012-06-21 Jeff Law <law@redhat.com>
49907
49908 [BZ #13882]
49909 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49910 uint16_t for elements in the "seen" array to avoid char overflows.
49911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49912 * elf/dl-open.c (dl_open_worker): Likewise.
49913
49914 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49915
49916 * scripts/list-sources.sh: Scan PORTS for translations.
49917 * po/libc.pot: Regenerated.
49918
49919 2012-06-21 Andreas Jaeger <aj@suse.de>
49920
49921 [BZ #12194]
49922 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49923 warning.
49924 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49925 * bits/byteswap-16.h (__bswap_16): Likewise.
49926 * bits/byteswap.h (__bswap_constant_16): Likewise.
49927
49928 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49929
49930 [BZ #14117]
49931 * sysdeps/i386/fpu_control.h: Removed.
49932 * sysdeps/x86_64/fpu_control.h: Moved to ...
49933 * sysdeps/x86/fpu_control.h: Here.
49934
49935 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49936 (_FPU_SETCW): Likewise.
49937
49938 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49939
49940 [BZ #14117]
49941 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49942 * sysdeps/x86/fpu/bits/mathinline.h: This.
49943 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49944
49945 [BZ #14050]
49946 [BZ #14117]
49947 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49948 functions if __x86_64__ is defined.
49949
49950 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49951
49952 * string/endian.h: Add !__ASSEMBLER__ condition for including
49953 conversion interfaces.
49954
49955 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49956
49957 [BZ #14241]
49958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49959 of ABS(x) in calculating zero to negative powers other than odd
49960 integers.
49961 * math/libm-test.inc (pow_test): Add more tests.
49962
49963 2012-06-15 Andreas Jaeger <aj@suse.de>
49964
49965 * manual/contrib.texi (Contributors): Update entry of Liubov
49966 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49967 Machado Filho.
49968
49969 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49970
49971 * string/string.h: Add __wur to GNU version of strerror_r.
49972
49973 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49974
49975 [BZ #14229]
49976 * string/Makefile (tests): Add tst-strtok_r.
49977 * string/tst-strtok_r.c: New file.
49978 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49979 RAX_LP/RDX_LP on SAVE_PTR.
49980
49981 2012-06-14 Roland McGrath <roland@hack.frob.com>
49982
49983 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49984
49985 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49986
49987 * libm_test.inc (csqrt_test): Allow more spurious underflow
49988 exceptions.
49989 (j0_test): Likewise.
49990 (j1_test): Likewise.
49991 (y0_test): Likewise.
49992 (y1_test): Likewise.
49993
49994 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49995
49996 * po/Makefile (libc.pot): Use UTF-8 charset.
49997
49998 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49999
50000 [BZ #14210]
50001 Suppress sign-conversion warning from FD_SET.
50002 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50003 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50004 not unsigned long int.
50005 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50006
50007 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
50008
50009 [BZ #14050]
50010 [BZ #14117]
50011 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50012 __extern_always_inline instead of __extern_inline.
50013 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50014 (__signbit): Likewise.
50015 (__signbitl): Support C++ namespace.
50016 (lrintf): New inline function.
50017 (lrint): Likewise.
50018 (llrintf): Likewise.
50019 (llrint): Likewise.
50020 (fmaxf): Likewise.
50021 (fmax): Likewise.
50022 (fminf): Likewise.
50023 (fmin): Likewise.
50024 (rint): Likewise.
50025 (rintf): Likewise.
50026 (ceil): Likewise.
50027 (ceilf): Likewise.
50028 (floor): Likewise.
50029 (floorf): Likewise.
50030 (nearbyint): Likewise.
50031 (nearbyintf): Likewise.
50032
50033 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
50034
50035 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50036 non-default versions.
50037
50038 2012-06-11 Roland McGrath <roland@hack.frob.com>
50039
50040 [BZ #14218]
50041 * manual/argp.texi (Argp): Reword argp_parse description slightly.
50042
50043 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
50044
50045 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50046 (FE_UPWARD, FE_DOWNWARD): Don't define.
50047 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50048 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50049
50050 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50051 reading it.
50052 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50053 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50054
50055 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50056
50057 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50059 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50060 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50061
50062 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
50063
50064 [BZ #14117]
50065 * sysdeps/i386/fpu/bits/fenv.h: Removed.
50066 * sysdeps/i386/fpu/Implies: New file.
50067 * sysdeps/x86_64/fpu/Implies: Likewise.
50068 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50069 * sysdeps/x86/fpu/bits/fenv.h: This.
50070
50071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50072 __SSE_MATH__.
50073
50074 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50075
50076 [BZ #14134]
50077 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50078 character 0xffff that matches the last element of the
50079 conversion table.
50080
50081 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50082
50083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50084 fmodl commit.
50085
50086 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50087
50088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50089 values higher than 25.6283.
50090
50091 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50092
50093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50094 subnormal exponent extraction and add some __builtin_expect.
50095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50096 Fix for subnormal mantissa calculation.
50097
50098 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50099
50100 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50101 cpu2 is -1 and errno is not ENOSYS.
50102
50103 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50104
50105 [BZ #14117]
50106 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50107 * sysdeps/x86/bits/string.h: This.
50108 * sysdeps/x86_64/bits/string.h: Removed.
50109
50110 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50111 if not compiling for x86-64, but compiling for >= i486.
50112
50113 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50114 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50115
50116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50117 New macro from Linux kernel 3.4.0.
50118 (FP_XSTATE_MAGIC2): Likewise.
50119 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50120 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50121 (struct _fpx_sw_bytes): New struct.
50122 (struct _xsave_hdr): Likewise.
50123 (struct _ymmh_state): Likewise.
50124 (struct _xstate): Likewise.
50125
50126 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50127 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50128 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50129 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50130 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50131 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50132
50133 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50134 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50135 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50136 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50137 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50138 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50139
50140 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50141
50142 [BZ #13743]
50143 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50144 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50145 (sysdep_headers): Include sys/platform/ppc.h.
50146 * sysdeps/powerpc/test-gettimebase.c: Test for
50147 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50148 * manual/Makefile (appendices): Include platform.texi.
50149 * manual/contrib.texi (Contributors): Update @node pointers.
50150 * manual/maint.texi (Maintenance): Likewise.
50151 (Platform): New node.
50152 * manual/platform.texi: New file. Document the new features.
50153
50154 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50155 Jakub Jelinek <jakub@redhat.com>
50156
50157 [BZ #14188]
50158 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50159 where __builtin_expect is unavailable.
50160
50161 2012-06-03 David S. Miller <davem@davemloft.net>
50162
50163 * stdlib/longlong.h: Updated from GCC.
50164
50165 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50166
50167 [BZ #14042]
50168 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50169 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50170 __mcount_internal.
50171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50172 (GLIBC_2.16): Likewise.
50173
50174 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50175
50176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50177
50178 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50179
50180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50181 (default-abi): New variable.
50182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50183 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50184 variable.
50185 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50186 Likewise.
50187 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50188 Likewise.
50189 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50190 Likewise.
50191
50192 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50193 definition. Document in comment.
50194
50195 2012-06-01 David S. Miller <davem@davemloft.net>
50196
50197 * stdlib/longlong.h: Updated from GCC.
50198
50199 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50200
50201 [BZ #14117]
50202 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50203 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50204 sys/debugreg.h sys/io.h here.
50205 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50206 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50207 sys/io.h.
50208 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50209 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50210 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50211 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50212 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50213 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50214
50215 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50216 Define only if __x86_64__ is defined.
50217
50218 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50219
50220 [BZ #14048]
50221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50222 Use int64_t for variable i.
50223 * math/libm-test.inc (fmod_test): Add more tests.
50224
50225 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50226 z computation is not scheduled after fetestexcept.
50227 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50228 Use math_force_eval instead of asm to ensure calculation scheduled
50229 before exception test.
50230 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50231 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50232
50233 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50234
50235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50236 computation is not scheduled after fetestexcept.
50237
50238 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50239
50240 [BZ #14117]
50241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50242 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50243
50244 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50245
50246 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50247 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50248
50249 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50250
50251 [BZ #14117]
50252 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50253 <bits/wordsize.h>.
50254 (__WCHAR_MIN): Support __WORDSIZE == 64.
50255 (__WCHAR_MAX): Likewise.
50256
50257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50259
50260 [BZ #14183]
50261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50262 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50263
50264 [BZ #14117]
50265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50267
50268 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50269 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50270
50271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50272 Defined to 1 if __x86_64__ isn't defined.
50273 (_STAT_VER_LINUX_OLD): New.
50274 (st_atime): Remove duplicate.
50275 (st_mtime): Likewise.
50276 (st_ctime): Likewise.
50277
50278 2012-05-31 David S. Miller <davem@davemloft.net>
50279
50280 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50281 entries.
50282
50283 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50284
50285 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50286 gen-libm-test.pl.
50287
50288 [BZ #14132]
50289 * elf/dl-reloc.c: Include <_itoa.h>.
50290 (_dl_reloc_bad_type): Remove use of INTUSE.
50291 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50292 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50293 * stdio-common/psiginfo.c (psiginfo): Likewise.
50294 * stdio-common/psignal.c (psignal): Likewise.
50295 * string/strsignal.c (strsignal): Likewise.
50296 * include/signal.h (_sys_siglist): Declare hidden proto.
50297 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50298 INTVARDEF with libc_hidden_data_def.
50299 * stdio-common/itoa-udigits.c: Likewise.
50300 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50301 (_itoa_lower_digits_internal): Remove declaration.
50302 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50303 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50304 (_sys_sigabbrev_internal): Remove aliases.
50305 (_sys_siglist): Define hidden alias.
50306
50307 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50308
50309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50310 bits/sysctl.h.
50311
50312 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50313
50314 [BZ #14117]
50315 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50316 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50317
50318 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50319 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50320 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50321 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50322 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50323 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50324
50325 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50326 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50327 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50328
50329 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50330 with __addr.
50331 (insw): Likewise.
50332 (insl): Likewise.
50333 (outsb): Likewise.
50334 (outsw): Likewise.
50335 (outsl): Likewise.
50336
50337 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50338 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50339 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50340
50341 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50342 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50344 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50345 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50346 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50347
50348 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50349 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50350
50351 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50352 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50353
50354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50357
50358 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50359 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50360 to ...
50361 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50362
50363 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50364 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50365 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50366
50367 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50368 for x86-64.
50369 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50370
50371 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50372
50373 * math/math.h (M_El): Use two more decimal places.
50374 (M_LOG2El): Likewise.
50375 (M_LOG10El): Likewise.
50376 (M_LN2l): Likewise.
50377 (M_LN10l): Likewise.
50378 (M_PIl): Likewise.
50379 (M_PI_2l): Likewise.
50380 (M_PI_4l): Likewise.
50381 (M_1_PIl): Likewise.
50382 (M_2_PIl): Likewise.
50383 (M_2_SQRTPIl): Likewise.
50384 (M_SQRT2l): Likewise.
50385 (M_SQRT1_2l): Likewise.
50386
50387 2012-05-31 David S. Miller <davem@davemloft.net>
50388
50389 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50390 values between float registers.
50391 * sysdeps/sparc/sparc64/memset.S: Likewise.
50392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50393
50394 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50395
50396 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50397 -D_FORTIFY_SOURCE=1.
50398 (CPPFLAGS-tst-longjmp_chk.c): Define.
50399 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50400 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50401 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50402 CFLAGS-tst-wchar-h.c.
50403
50404 2012-05-31 Marek Polacek <polacek@redhat.com>
50405
50406 [BZ #14132]
50407 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50408 __endmntent_internal): Remove declaration.
50409 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50410 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50411 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50412
50413 2012-05-30 David S. Miller <davem@davemloft.net>
50414
50415 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50416 (___Q_simulate_exceptions): Use real FP ops rather than writing
50417 into the %fsr.
50418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50419 Likewise.
50420
50421 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50422
50423 [BZ #14117]
50424 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50425 * sysdeps/x86/bits/xtitypes.h: This.
50426
50427 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50428 * sysdeps/x86/bits/wordsize.h: This.
50429
50430 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50431 * sysdeps/x86/bits/huge_vall.h: This.
50432
50433 * sysdeps/i386/bits/select.h: Removed.
50434 * sysdeps/x86_64/bits/select.h: Renamed to ...
50435 * sysdeps/x86/bits/select.h: This.
50436
50437 * sysdeps/i386/bits/setjmp.h: Removed.
50438 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50439 * sysdeps/x86/bits/setjmp.h: This.
50440
50441 * sysdeps/i386/bits/mathdef.h: Removed.
50442 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50443 * sysdeps/x86/bits/mathdef.h: This.
50444
50445 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50446
50447 [BZ #14132]
50448 * include/sys/socket.h (__connect_internal)
50449 (__libc_sa_len_internal): Remove declaration.
50450 (__connect, __libc_sa_len): Declare hidden_proto.
50451 (SA_LEN): Remove use of INTUSE.
50452 * socket/connect.c: Add libc_hidden_def.
50453 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50454 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50455 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50456 alias.
50457 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50458 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50459 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50460 of adding _internal alias.
50461
50462 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50463
50464 [BZ #14117]
50465 * sysdeps/i386/bits/link.h: Removed.
50466 * sysdeps/i386/bits/linkmap.h: Likewise.
50467 * sysdeps/x86_64/bits/link.h: Renamed to ...
50468 * sysdeps/x86/bits/link.h: This.
50469 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50470 * sysdeps/x86/bits/linkmap.h: This.
50471
50472 * sysdeps/i386/bits/endian.h: Removed.
50473 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50474 * sysdeps/x86/bits/endian.h: This.
50475
50476 * sysdeps/i386/bits/byteswap.h: Removed.
50477 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50478 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50479 * sysdeps/x86/bits/byteswap.h: This.
50480 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50481 * sysdeps/x86/bits/byteswap-16.h: This.
50482 * sysdeps/i386/Implies: Add x86.
50483 * sysdeps/x86_64/Implies: Likewise.
50484
50485 2012-05-30 David S. Miller <davem@davemloft.net>
50486
50487 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50488 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50489 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50490 (FP_TRAPPING_EXCEPTIONS): Define.
50491 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50492 (FP_TRAPPING_EXCEPTIONS): Define.
50493 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50494 subnormals only when inexact has been signalled or underflow
50495 exceptions are enabled.
50496 (_FP_PACK_CANONICAL): Likewise.
50497
50498 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50499
50500 [BZ #14183]
50501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50502 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50503
50504 2012-05-30 Richard Henderson <rth@twiddle.net>
50505
50506 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50507 with #ifndef NOT_IN_libc.
50508
50509 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50510 marked to avoid plt entry.
50511
50512 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50513
50514 [BZ #14112]
50515 * Makeconfig (default-abi): New macro.
50516 (abi-includes): Likewise.
50517 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50518 $(abi-$(default-abi)-lib-soname) for soname if defined.
50519 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50520 abi-variants.
50521 * Makefile (installed-stubs): Likewise.
50522 * include/stubs-biarch.h: Removed.
50523 * scripts/lib-names.awk: Only handle one library at a time.
50524 * scripts/soversions.awk: Remove WORDSIZE support.
50525 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50526 entries.
50527 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50528 Removed.
50529 (syscall-list-default-condition): Likewise.
50530 (syscall-list-default-condition): Likewise.
50531 (syscall-list-includes): Likewise.
50532 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50533 syscall-list-* with abi-*. Handle undefined abi-variants.
50534 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50535 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50536 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50537 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50538 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50539 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50540 Removed.
50541 (syscall-list-32-options): Likewise.
50542 (syscall-list-32-condition): Likewise.
50543 (syscall-list-64-options): Likewise.
50544 (syscall-list-64-condition): Likewise.
50545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50546 macro.
50547 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50548 Renamed to ...
50549 (abi-*): This.
50550 (abi-64-ld-soname): New macro.
50551 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50552 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50553 Renamed to ...
50554 (abi-*): This.
50555 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50556 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50557
50558 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50559
50560 * sysdeps/unix/sysv/linux/kernel-features.h
50561 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50562 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50563 include <kernel-features.h>.
50564 [!__NR_ftruncate64]: Remove conditional code.
50565 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50566 [__NR_ftruncate64]: Make code unconditional.
50567 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50568 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50569 include <kernel-features.h>.
50570 [!__NR_ftruncate64]: Remove conditional code.
50571 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50572 [__NR_ftruncate64]: Make code unconditional.
50573 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50575 include <kernel-features.h>.
50576 [!__NR_ftruncate64]: Remove conditional code.
50577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50578 [__NR_ftruncate64]: Make code unconditional.
50579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50581 include <kernel-features.h>.
50582 [!__NR_ftruncate64]: Remove conditional code.
50583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50584 [__NR_ftruncate64]: Make code unconditional.
50585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50586
50587 * configure.in (libc_cv_fpie): Weaken to a compile test using
50588 LIBC_TRY_CC_OPTION.
50589 * configure: Regenerated.
50590
50591 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50592
50593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50597 Refreshed.
50598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50604 Refreshed.
50605
50606 2012-05-27 David S. Miller <davem@davemloft.net>
50607
50608 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50609 (___Q_zero): New.
50610 (__Q_simulate_exceptions): Return void. Change to simulate
50611 exceptions by writing into the %fsr.
50612 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50613 (__Qp_handle_exceptions): Likewise.
50614 (numbers): Delete.
50615 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50616 __Qp_handle_exceptions.
50617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50618 __Qp_handle_exceptions.
50619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50620 as unused and give dummy FP_RND_NEAREST initializer.
50621 (FP_INHIBIT_RESULTS): Define.
50622 (___Q_simulate_exceptions): Update declaration.
50623 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50624 formatting.
50625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50626 as unused and give dummy FP_RND_NEAREST initializer.
50627 (__Qp_handle_exceptions): Update declaration.
50628 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50629 formatting.
50630
50631 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50632
50633 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50634 the temporary FPU control word.
50635 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50636 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50637 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50638 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50639 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50640 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50641 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50642 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50643 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50644 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50645 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50646
50647 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50648
50649 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50650 fields.
50651
50652 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50653
50654 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50655 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50656 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50657 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50658 Likewise.
50659 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50660 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50661 Likewise.
50662
50663 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50664
50665 * po/h.po: Update from translation team.
50666
50667 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50668
50669 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50670
50671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50672 handling of denormals.
50673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50674 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50675 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50676 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50680 Likewise.
50681
50682 2012-05-26 Marek Polacek <polacek@redhat.com>
50683
50684 [BZ #14152]
50685 * math/libm-test.inc (fma_test): Don't always expect underflow
50686 exception.
50687
50688 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50689
50690 [BZ #12416]
50691 * elf/tst-execstack.c: Include stackinfo.h.
50692 (do_test): Adjust test case to ensure that pthread_getattr_np
50693 behaviour remains the same after marking stack executable.
50694
50695 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50696
50697 * sysdeps/unix/sysv/linux/kernel-features.h
50698 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50699 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50700 kernel-features.h.
50701 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50702 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50703 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50704 kernel-features.h.
50705 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50706 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50707
50708 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50709
50710 * configure.in: Define the default includes to being none.
50711 * configure: Regenerated.
50712
50713 2012-05-25 Roland McGrath <roland@hack.frob.com>
50714
50715 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50716 * sysdeps/x86_64/setjmp.S: Likewise.
50717 * sysdeps/i386/bsd-setjmp.S: Likewise.
50718 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50719 * sysdeps/i386/setjmp.S: Likewise.
50720 * sysdeps/i386/__longjmp.S: Likewise.
50721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50722 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50723
50724 * include/stap-probe.h: New file.
50725 * configure.in: Handle --enable-systemtap.
50726 * configure: Regenerated.
50727 * config.h.in (USE_STAP_PROBE): New #undef.
50728 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50729 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50730 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50731
50732 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50733
50734 [BZ #13717]
50735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50736 to 2.4.0 where earlier.
50737 * sysdeps/unix/sysv/linux/configure: Regenerated.
50738 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50739 <kernel-features.h>.
50740 [__ASSUME_32BITUIDS]: Make code unconditional.
50741 [!__ASSUME_32BITUIDS]: Remove conditional code.
50742 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50743 <kernel-features.h>.
50744 [__ASSUME_32BITUIDS]: Make code unconditional.
50745 [!__ASSUME_32BITUIDS]: Remove conditional code.
50746 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50747 [__ASSUME_32BITUIDS]: Make code unconditional.
50748 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50749 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50750 <kernel-features.h>.
50751 [__ASSUME_32BITUIDS]: Make code unconditional.
50752 [!__ASSUME_32BITUIDS]: Remove conditional code.
50753 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50754 <kernel-features.h>.
50755 [__ASSUME_32BITUIDS]: Make code unconditional.
50756 [!__ASSUME_32BITUIDS]: Remove conditional code.
50757 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50758 <kernel-features.h>.
50759 [__ASSUME_32BITUIDS]: Make code unconditional.
50760 [!__ASSUME_32BITUIDS]: Remove conditional code.
50761 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50762 <kernel-features.h>.
50763 [__ASSUME_32BITUIDS]: Make code unconditional.
50764 [!__ASSUME_32BITUIDS]: Remove conditional code.
50765 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50766 <kernel-features.h>.
50767 [__ASSUME_32BITUIDS]: Make code unconditional.
50768 [!__ASSUME_32BITUIDS]: Remove conditional code.
50769 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50770 <kernel-features.h>.
50771 [__ASSUME_32BITUIDS]: Make code unconditional.
50772 [!__ASSUME_32BITUIDS]: Remove conditional code.
50773 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50774 <kernel-features.h>.
50775 [__ASSUME_32BITUIDS]: Make code unconditional.
50776 [!__ASSUME_32BITUIDS]: Remove conditional code.
50777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50778 <kernel-features.h>.
50779 [__ASSUME_32BITUIDS]: Make code unconditional.
50780 [!__ASSUME_32BITUIDS]: Remove conditional code.
50781 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50782 <kernel-features.h>.
50783 [__ASSUME_32BITUIDS]: Make code unconditional.
50784 [!__ASSUME_32BITUIDS]: Remove conditional code.
50785 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50786 <kernel-features.h>.
50787 [__ASSUME_32BITUIDS]: Make code unconditional.
50788 [!__ASSUME_32BITUIDS]: Remove conditional code.
50789 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50790 <kernel-features.h>.
50791 [__NR_setresgid] (__setresgid): Do not declare.
50792 [__ASSUME_32BITUIDS]: Make code unconditional.
50793 [!__ASSUME_32BITUIDS]: Remove conditional code.
50794 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50795 <kernel-features.h>.
50796 [__NR_setresuid] (__setresuid): Do not declare.
50797 [__ASSUME_32BITUIDS]: Make code unconditional.
50798 [!__ASSUME_32BITUIDS]: Remove conditional code.
50799 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50800 <kernel-features.h>.
50801 [__ASSUME_32BITUIDS]: Make code unconditional.
50802 [!__ASSUME_32BITUIDS]: Remove conditional code.
50803 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50804 <kernel-features.h>.
50805 [__ASSUME_32BITUIDS]: Make code unconditional.
50806 [!__ASSUME_32BITUIDS]: Remove conditional code.
50807 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50808 <kernel-features.h>.
50809 [__ASSUME_32BITUIDS]: Make code unconditional.
50810 [!__ASSUME_32BITUIDS]: Remove conditional code.
50811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50812 <kernel-features.h>.
50813 [__ASSUME_32BITUIDS]: Make code unconditional.
50814 [!__ASSUME_32BITUIDS]: Remove conditional code.
50815 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50816 <kernel-features.h>.
50817 [__ASSUME_32BITUIDS]: Make code unconditional.
50818 [!__ASSUME_32BITUIDS]: Remove conditional code.
50819 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50820 <kernel-features.h>.
50821 [__ASSUME_32BITUIDS]: Make code unconditional.
50822 [!__ASSUME_32BITUIDS]: Remove conditional code.
50823 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50824 <kernel-features.h>.
50825 [__ASSUME_32BITUIDS]: Make code unconditional.
50826 [!__ASSUME_32BITUIDS]: Remove conditional code.
50827 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50828 <kernel-features.h>.
50829 [__ASSUME_32BITUIDS]: Make code unconditional.
50830 [!__ASSUME_32BITUIDS]: Remove conditional code.
50831 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50832 <kernel-features.h>.
50833 [__ASSUME_32BITUIDS]: Make code unconditional.
50834 [!__ASSUME_32BITUIDS]: Remove conditional code.
50835 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50836 <kernel-features.h>.
50837 [__ASSUME_32BITUIDS]: Make code unconditional.
50838 [!__ASSUME_32BITUIDS]: Remove conditional code.
50839 * sysdeps/unix/sysv/linux/kernel-features.h
50840 (__ASSUME_SETRESUID_SYSCALL): Remove.
50841 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50842 (__ASSUME_32BITUIDS): Likewise.
50843 (__ASSUME_LDT_WORKS): Likewise.
50844 (__ASSUME_O_DIRECTORY): Likewise.
50845 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50846 architecture but not kernel version.
50847 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50848 (__ASSUME_MMAP2_SYSCALL): Likewise.
50849 (__ASSUME_STAT64_SYSCALL): Likewise.
50850 (__ASSUME_IPC64): Likewise.
50851 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50852 <kernel-features.h>.
50853 [__ASSUME_32BITUIDS]: Make code unconditional.
50854 [!__ASSUME_32BITUIDS]: Remove conditional code.
50855 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50856 <kernel-features.h>.
50857 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50858 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50859 132096]: Remove conditional code.
50860 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50861 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50862 <kernel-features.h>.
50863 [__ASSUME_32BITUIDS]: Make code unconditional.
50864 [!__ASSUME_32BITUIDS]: Remove conditional code.
50865 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50866 <kernel-features.h>.
50867 [__ASSUME_32BITUIDS]: Make code unconditional.
50868 [!__ASSUME_32BITUIDS]: Remove conditional code.
50869 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50870 <kernel-features.h>.
50871 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50872 unconditional.
50873 (__setresgid): Do not declare.
50874 [__ASSUME_32BITUIDS]: Make code unconditional.
50875 [!__ASSUME_32BITUIDS]: Remove conditional code.
50876 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50877 <kernel-features.h>.
50878 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50879 unconditional.
50880 (__setresuid): Do not declare.
50881 [__ASSUME_32BITUIDS]: Make code unconditional.
50882 [!__ASSUME_32BITUIDS]: Remove conditional code.
50883 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50884 <kernel-features.h>.
50885 [__ASSUME_32BITUIDS]: Make code unconditional.
50886 [!__ASSUME_32BITUIDS]: Remove conditional code.
50887 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50888 <kernel-features.h>.
50889 [__ASSUME_32BITUIDS]: Make code unconditional.
50890 [!__ASSUME_32BITUIDS]: Remove conditional code.
50891
50892 2012-05-25 Richard Henderson <rth@twiddle.net>
50893
50894 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50895 dl_hwcap to ifunc resolver.
50896 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50897 elf_ifunc_invoke.
50898 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50899 dl_hwcap to ifunc resolver.
50900 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50901
50902 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50903
50904 [BZ #14153]
50905 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50906 for |x| <= 2**-26, not 2**-57.
50907 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50908 exception.
50909
50910 2012-05-24 Jeff Law <law@redhat.com>
50911
50912 * stdio-common/Makefile (tests): Add bug25.
50913 * stdio-common/bug25.c: New test.
50914
50915 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50916
50917 [BZ #13576]
50918 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50919 multiple of MALLOC_ALIGNMENT in size.
50920 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50921
50922 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50923
50924 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50925 Require >= 256.
50926 (FILENAME_MAX): Use macro-int-constant.
50927 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50928 (_IOFBF): Use macro-int-constant.
50929 (_IOLBF): Likewise.
50930 (_IONBF): Likewise.
50931 (SEEK_CUR): Likewise.
50932 (SEEK_END): Likewise.
50933 (SEEK_SET): Likewise.
50934 (TMP_MAX): Likewise.
50935 (EOF): Use macro-int-constant. Require < 0.
50936 (NULL): Use macro-constant. Require == 0.
50937 (stdin): Require type to be FILE *.
50938 (stdout): Likewise.
50939 (stderr): Likewise.
50940 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50941 macro-int-constant.
50942 (EXIT_SUCCESS): Likewise.
50943 (NULL): Use macro-constant. Require == 0.
50944 (RAND_MAX): Use macro-int-constant.
50945 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50946 [C99-based standards] (strtof): Require function.
50947 [C99-based standards] (strtold): Likewise.
50948 [C99-based standards] (strtoll): Likewise.
50949 [C99-based standards] (strtoull): Likewise.
50950 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50951 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50952 [ISO || ISO99 || ISO11] (math.h): Likewise.
50953 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50954 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50956
50957 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50958
50959 [BZ #14132]
50960 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50961 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50962 * intl/dgettext.c (DCGETTEXT): Likewise.
50963 * intl/gettext.c (DCGETTEXT): Likewise.
50964 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50965 * posix/regex_internal.h (gettext): Likewise.
50966 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50967 Remove declaration.
50968 * include/argz.h (__argz_count_internal)
50969 (__argz_stringify_internal): Remove declaration.
50970 (__argz_count, __argz_stringify): Declare hidden proto.
50971 * intl/dcgettext.c: Remove use of INTDEF.
50972 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50973 * string/argz-stringify.c: Likewise.
50974 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50975 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50976 Declare hidden proto.
50977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50979 Declare hidden proto.
50980 * include/stdio.h (__asprintf_internal): Don't declare.
50981 (__asprintf): Don't define as macro. Declare hidden proto.
50982 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50983 (__fsetlocking): Declare hidden proto.
50984 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50985 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50986 hidden proto.
50987 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50988 (_IO_setlinebuf): Remove use of INTUSE.
50989 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50990 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50991 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50992 Remove declaration.
50993 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50994 (_IO_do_flush): Remove use of INTUSE.
50995 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50996 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50997 (_IO_adjust_column, _IO_least_wmarker)
50998 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50999 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51000 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51001 (_IO_default_doallocate, _IO_wdefault_doallocate)
51002 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51003 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51004 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51005 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51006 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51007 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51008 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51009 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51010 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51011 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51012 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51013 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51014 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51015 proto.
51016 (_IO_flush_all_internal, _IO_adjust_column_internal)
51017 (_IO_default_uflow_internal, _IO_default_finish_internal)
51018 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51019 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51020 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51021 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51022 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51023 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51024 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51025 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51026 (_IO_file_close_internal, _IO_file_close_it_internal)
51027 (_IO_file_underflow_internal, _IO_file_overflow_internal)
51028 (_IO_file_init_internal, _IO_file_attach_internal)
51029 (_IO_file_fopen_internal, _IO_file_read_internal)
51030 (_IO_file_sync_internal, _IO_file_seek_internal)
51031 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51032 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51033 (_IO_str_underflow_internal, _IO_str_overflow_internal)
51034 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51035 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51036 (_IO_list_all_internal, _IO_link_in_internal)
51037 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51038 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51039 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51040 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51041 (_IO_do_write_internal, _IO_padn_internal)
51042 (_IO_getline_info_internal, _IO_getline_internal)
51043 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51044 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51045 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51046 (_IO_vfscanf_internal, _IO_vfprintf_internal)
51047 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51048 (_IO_init_internal, _IO_un_link_internal): Don't declare.
51049 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51050 with libc_hidden_ver, remove use of INTUSE.
51051 * libio/genops.c: Likewise.
51052 * libio/freopen.c: Likewise.
51053 * libio/freopen64.c: Likewise.
51054 * libio/iofclose.c: Likewise.
51055 * libio/iofdopen.c: Likewise.
51056 * libio/iofflush.c: Likewise.
51057 * libio/iofflush_u.c: Likewise.
51058 * libio/iofgets.c: Likewise.
51059 * libio/iofgets_u.c: Likewise.
51060 * libio/iofopen.c: Likewise.
51061 * libio/iofopncook.c: Likewise.
51062 * libio/iofread.c: Likewise.
51063 * libio/iofread_u.c: Likewise.
51064 * libio/ioftell.c: Likewise.
51065 * libio/iofwrite.c: Likewise.
51066 * libio/iogetline.c: Likewise.
51067 * libio/iogets.c: Likewise.
51068 * libio/iogetwline.c: Likewise.
51069 * libio/iopadn.c: Likewise.
51070 * libio/iopopen.c: Likewise.
51071 * libio/ioseekoff.c: Likewise.
51072 * libio/ioseekpos.c: Likewise.
51073 * libio/iosetbuffer.c: Likewise.
51074 * libio/iosetvbuf.c: Likewise.
51075 * libio/ioungetc.c: Likewise.
51076 * libio/ioungetwc.c: Likewise.
51077 * libio/iovdprintf.c: Likewise.
51078 * libio/iovsprintf.c: Likewise.
51079 * libio/iovsscanf.c: Likewise.
51080 * libio/memstream.c: Likewise.
51081 * libio/obprintf.c: Likewise.
51082 * libio/oldfileops.c: Likewise.
51083 * libio/oldiofclose.c: Likewise.
51084 * libio/oldiofdopen.c: Likewise.
51085 * libio/oldiofopen.c: Likewise.
51086 * libio/oldiopopen.c: Likewise.
51087 * libio/oldstdfiles.c: Likewise.
51088 * libio/putc.c: Likewise.
51089 * libio/setbuf.c: Likewise.
51090 * libio/setlinebuf.c: Likewise.
51091 * libio/stdfiles.c: Likewise.
51092 * libio/strops.c: Likewise.
51093 * libio/vasprintf.c: Likewise.
51094 * libio/vscanf.c: Likewise.
51095 * libio/vsnprintf.c: Likewise.
51096 * libio/vswprintf.c: Likewise.
51097 * libio/wfiledoalloc.c: Likewise.
51098 * libio/wfileops.c: Likewise.
51099 * libio/wgenops.c: Likewise.
51100 * libio/wmemstream.c: Likewise.
51101 * libio/wstrops.c: Likewise.
51102 * libio/__fpurge.c: Likewise.
51103 * libio/__fsetlocking.c: Likewise.
51104 * assert/assert.c: Likewise.
51105 * debug/fgets_chk.c: Likewise.
51106 * debug/fgets_u_chk.c: Likewise.
51107 * debug/fread_chk.c: Likewise.
51108 * debug/fread_u_chk.c: Likewise.
51109 * debug/gets_chk.c: Likewise.
51110 * debug/obprintf_chk.c: Likewise.
51111 * debug/vasprintf_chk.c: Likewise.
51112 * debug/vdprintf_chk.c: Likewise.
51113 * debug/vsnprintf_chk.c: Likewise.
51114 * debug/vsprintf_chk.c: Likewise.
51115 * malloc/mtrace.c: Likewise.
51116 * misc/error.c: Likewise.
51117 * misc/syslog.c: Likewise.
51118 * stdio-common/asprintf.c: Likewise.
51119 * stdio-common/fxprintf.c: Likewise.
51120 * stdio-common/getw.c: Likewise.
51121 * stdio-common/isoc99_fscanf.c: Likewise.
51122 * stdio-common/isoc99_scanf.c: Likewise.
51123 * stdio-common/isoc99_vfscanf.c: Likewise.
51124 * stdio-common/isoc99_vscanf.c: Likewise.
51125 * stdio-common/isoc99_vsscanf.c: Likewise.
51126 * stdio-common/printf-prs.c: Likewise.
51127 * stdio-common/printf_fp.c: Likewise.
51128 * stdio-common/printf_fphex.c: Likewise.
51129 * stdio-common/printf_size.c: Likewise.
51130 * stdio-common/putw.c: Likewise.
51131 * stdio-common/scanf.c: Likewise.
51132 * stdio-common/sprintf.c: Likewise.
51133 * stdio-common/tmpfile.c: Likewise.
51134 * stdio-common/vfprintf.c: Likewise.
51135 * stdio-common/vfscanf.c: Likewise.
51136 * stdlib/strfmon_l.c: Likewise.
51137 * sunrpc/openchild.c: Likewise.
51138 * sunrpc/xdr_stdio.c: Likewise.
51139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51140 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51141
51142 2012-05-24 Roland McGrath <roland@hack.frob.com>
51143
51144 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51145
51146 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51147 in the third column, to generate for the shared library an IFUNC
51148 that uses _dl_vdso_vsym.
51149 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51150 * Makeconfig (object-suffixes-noshared): New variable.
51151
51152 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51153 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51154 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51155 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51156
51157 [BZ #14132]
51158 * include/sys/time.h (__gettimeofday): Remove macro.
51159 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51160 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51161 Remove INTDEF.
51162 (__gettimeofday): Add libc_hidden_def.
51163 (gettimeofday): Add libc_hidden_weak.
51164 * sysdeps/mach/gettimeofday.c: Likewise.
51165 * sysdeps/posix/gettimeofday.c: Likewise.
51166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51169 (__gettimeofday_internal): Remove strong_alias.
51170 (__gettimeofday): Add libc_hidden_def.
51171 (gettimeofday): Add libc_hidden_weak.
51172 * sysdeps/unix/syscalls.list (gettimeofday):
51173 Remove __gettimeofday_internal alias.
51174
51175 2012-05-24 Daniel Jacobowitz <drow@false.org>
51176 H.J. Lu <hongjiu.lu@intel.com>
51177
51178 [BZ #12495]
51179 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51180 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51181 (largebin_index_32_big): New.
51182 (largebin_index): Use it for 16-byte alignment.
51183 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51184 correction with front_misalign.
51185
51186 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51187
51188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51190 Likewise.
51191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51192 Likewise.
51193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51194 Likewise.
51195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51196 Likewise.
51197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51198 Likewise.
51199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51200 Likewise.
51201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51202 Likewise.
51203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51204 Likewise.
51205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51206 Likewise.
51207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51208 Likewise.
51209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51210 Likewise.
51211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51212 Likewise.
51213
51214 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51215 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51216
51217 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51218
51219 [BZ #10846]
51220 [BZ #14036]
51221 * math/libm-test.inc (exp_test): Add test from bug 14036.
51222 (pow_test): Add test from bug 10846.
51223
51224 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51225 and other flags.
51226 (special_function): Do not include flags in test name.
51227 (parse_args): Likewise.
51228 * sysdeps/i386/fpu/libm-test-ulps: Update.
51229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51231 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51233
51234 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51235 exceptions.
51236 * math/libm-test.inc ("Philosophy"): Update comment about
51237 exception testing.
51238 (UNDERFLOW_EXCEPTION): New macro.
51239 (UNDERFLOW_EXCEPTION_OK): Likewise.
51240 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51241 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51242 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51243 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51244 (INVALID_EXCEPTION_OK): Update value.
51245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51246 (OVERFLOW_EXCEPTION_OK): Likewise.
51247 (IGNORE_ZERO_INF_SIGN): Likewise.
51248 (test_exceptions): Handle underflow exceptions.
51249 (acos_test): Update for underflow exception expectations.
51250 (cexp_test): Likewise.
51251 (clog_test): Likewise.
51252 (clog10_test): Likewise.
51253 (csqrt_test): Likewise.
51254 (ctan_test): Likewise.
51255 (ctanh_test): Likewise.
51256 (exp_test): Likewise.
51257 (exp10_test): Likewise.
51258 (exp2_test): Likewise.
51259 (expm1_test): Likewise.
51260 (fma_test): Likewise.
51261 (j0_test): Likewise.
51262 (jn_test): Likewise.
51263 (nexttoward_test): Likewise.
51264 (pow_test): Likewise.
51265 (scalbn_test): Likewise.
51266 (scalbln_test): Likewise.
51267 (tan_test): Likewise.
51268 (y1_test): Likewise.
51269 * sysdeps/i386/fpu/libm-test-ulps: Update.
51270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51271
51272 2012-05-23 David S. Miller <davem@davemloft.net>
51273
51274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51275 (__libc_sigaction): Remove unused local variables.
51276
51277 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51278
51279 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51280
51281 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51282
51283 mktime: avoid signed integer overflow
51284 * time/mktime.c (__mktime_internal): Do not mishandle the case
51285 where diff == INT_MIN.
51286
51287 mktime: simplify computation of average
51288 * time/mktime.c (ranged_convert): Use new time_t_avg function
51289 instead of rolling our own (probably-slower) code.
51290
51291 mktime: do not assume signed right shift propagates sign bit
51292 * time/mktime.c (isdst_differ): New static function.
51293 (__mktime_internal): No need to normalize tm_isdst now.
51294 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51295 tm_isdst values.
51296
51297 mktime: merge another wrapv change from gnulib
51298 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51299 from some compilers.
51300
51301 mktime: remove incorrect attempt at unusual arithmetics
51302 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51303 The code didn't really work on such machines anyway.
51304 (TYPE_MINIMUM): Assume two's complement.
51305 (twos_complement_arithmetic): Verify that long_int and time_t
51306 are two's complement (or unsigned, in the latter case).
51307
51308 mktime: check signed shifts on long_int and time_t, too
51309 * time/mktime.c (SHR): Check that shifts work as desired
51310 on the types long_int and time_t too, as SHR is used on
51311 such types.
51312
51313 mktime: do not assume 'long' is wide enough
51314 * time/mktime.c (verify): Move decl up.
51315 (long_int): New type.
51316 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51317 to remove assumption in the code that 'long' is wide enough to
51318 store year values. This assumption is not true on x32 and on
51319 some non-glibc platforms.
51320
51321 mktime: merge wrapv change from gnulib
51322 * time/mktime.c (WRAPV): New macro.
51323 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51324 (guess_time_tm, __mktime_internal): Do not assume that signed
51325 integer overflow wraps around; modern compilers generate code
51326 where this assumption is no longer valid.
51327
51328 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51329
51330 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51331 Replace "jmp L(pseudo_end)" with "ret".
51332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51333 Likewise.
51334
51335 2012-05-23 Andreas Jaeger <aj@suse.de>
51336
51337 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51338 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51339
51340 2012-05-23 Andreas Jaeger <aj@suse.de>
51341 Maximilian Attems <max@stro.at>
51342
51343 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51344 New macros.
51345
51346 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51347
51348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51349 code so that pseudo_end is just ret and the stack pointer is
51350 correct also for static library in error case.
51351
51352 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51353
51354 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51355 move to syscalls.list.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51360
51361 * manual/install.texi (Running make install): Do not mention Linux
51362 kernel version for which pt_chown is not needed.
51363 (Linux): Do not mention problems with nscd with 2.0 kernels.
51364 * INSTALL: Regenerated.
51365
51366 2012-05-23 Andreas Jaeger <aj@suse.de>
51367
51368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51369 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51370 macro.
51371 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51373 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51375 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51380 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51381 * sysdeps/unix/sysv/linux/bits/in.h
51382 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51383
51384 2012-05-22 Roland McGrath <roland@hack.frob.com>
51385
51386 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51387 (PREPARE_VERSION): Just use assert instead, it will be elided
51388 under [NDEBUG] anyway.
51389
51390 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51391
51392 * sysdeps/unix/sysv/linux/Makefile: Include
51393 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51394 (sysdep_routines): Remove sysctl.
51395 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51396 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51397 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51398 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51399 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51400
51401 2012-05-22 Andreas Jaeger <aj@suse.de>
51402
51403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51404 that pseudo_end is just ret and the stack pointer is correct also
51405 for static library in error case.
51406
51407 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51408
51409 [BZ #14122]
51410 * nss/nsswitch.c (defconfig_entries): New variable.
51411 (__nss_database_lookup): Don't leak defconfig entries.
51412 (nss_parse_service_list): Don't leak on error paths.
51413 (free_database_entries): New function.
51414 (free_defconfig): New function.
51415 (free_mem): Move common code to free_database_entries.
51416
51417 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51418
51419 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51420 Add arch_prctl.
51421 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51422
51423 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51424 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51426 New macro.
51427 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51428 (INTERNAL_SYSCALL_TYPES): Likewise.
51429 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51430 (LOAD_REGS_TYPES_[1-6]): Likewise.
51431 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51432 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51433
51434 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51435
51436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51437 copysignl for GLIBC_2_0.
51438 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51439 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51441 logbl for GLIBC_2_0.
51442 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51443 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51444
51445 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51446
51447 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51449
51450 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51451 Use "neg %eax".
51452
51453 * time/mktime.c: Update copyright years.
51454
51455 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51456
51457 mktime: merge comment-quoting-style change from gnulib
51458 * time/mktime.c: Quote 'like this' in comments.
51459 The GNU coding standards suggest that we no longer quote `like this',
51460 as "`" and "'" are typically rendered asymmetrically nowadays.
51461 The typical gnulib style is to quote 'like this' when quoting
51462 code, and "like this" when quoting English.
51463
51464 * time/mktime.c (compile-command): Add "-I.".
51465
51466 mktime: merge mktime-internal.h change from gnulib
51467 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51468
51469 mktime: merge time_r change from gnulib
51470 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51471
51472 mktime: merge DEBUG change from gnulib
51473 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51474 case system <time.h> has a #define.
51475
51476 mktime: merge <sys/types.h> change from gnulib
51477 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51478 since <time.t> is now guaranteed to define time_t.
51479
51480 mktime: merge HAVE_CONFIG_H change from gnulib
51481 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51482
51483 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51484
51485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51486 Use "neg %eax".
51487
51488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51489 __rlim_t cast.
51490 (struct rusage): Use anonymous union to pad each field to
51491 __syscall_slong_t.
51492
51493 2012-05-21 David S. Miller <davem@davemloft.net>
51494
51495 * Makefules (o-iterator): Remove .s cases.
51496 (compile-command.s): Delete.
51497 (COMPILE.s): Delete.
51498 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51499
51500 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51501
51502 * configure.in (libc_cv_predef_stack_protector): Only consider
51503 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51504 * configure: Regenerated.
51505
51506 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51507
51508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51509 New macro. Use R*LP on int and pointer.
51510 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51511 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51512 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51513 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51514
51515 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51516 [__WORDSIZE_TIME64_COMPAT32] instead of
51517 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51518 (struct utmp): Likewise.
51519 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51520 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51521 Renamed to ...
51522 (__WORDSIZE_TIME64_COMPAT32): This.
51523 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51524 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51525 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51526 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51527 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51528 (__WORDSIZE_TIME64_COMPAT32): New macro.
51529
51530 2012-05-21 Andreas Jaeger <aj@suse.de>
51531
51532 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51533 only if [SHARED]. Add prototype for __wcschr_ia32.
51534
51535 2012-05-21 Roland McGrath <roland@hack.frob.com>
51536
51537 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51538 of %rbp unmolested in the jmp_buf while mangling the low bits.
51539 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51540 unmolested high bits of %rbp while demangling the low bits.
51541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51542
51543 2012-05-21 Andreas Jaeger <aj@suse.de>
51544
51545 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51546 * sunrpc/svc_simple.c: Use it for registerrpc.
51547 * sunrpc/xcrypt.c: Use it for passwd2des.
51548
51549 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51550
51551 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51552
51553 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51554 Don't define if [__SYSCALL_WORDSIZE != 32].
51555 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51556 New macro.
51557
51558 2012-05-21 Bruno Haible <bruno@clisp.org>
51559 Andreas Jaeger <aj@suse.de>
51560
51561 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51562 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51563 inptr and inend for must_buffer_ch.
51564 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51565 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51566 * stdio-common/Makefile (tests): Remove bug15.
51567 (bug15-ENV): Remove macro.
51568 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51569 anymore.
51570
51571 2012-05-19 Andreas Jaeger <aj@suse.de>
51572 Roland McGrath <roland@hack.frob.com>
51573
51574 * manual/contrib.texi: Completely rewritten. It contains now an
51575 alphabetical list of contributors and their contributions.
51576
51577 2012-05-21 Richard Henderson <rth@twiddle.net>
51578
51579 * misc/getauxval.c (__getauxval): Use unsigned long int.
51580 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51581 (getauxval): Use unsigned long int.
51582
51583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51584
51585 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51586
51587 2012-05-21 Roland McGrath <roland@hack.frob.com>
51588
51589 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51590 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51591 __alignof__ (long double).
51592
51593 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51594
51595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51596
51597 2012-05-20 Richard Henderson <rth@twiddle.net>
51598
51599 * misc/getauxval.c: New file.
51600 * misc/sys/auxv.h: New file.
51601 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51602 (routines): Add getauxval.
51603 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51605 * elf/dl-sysdep.c (_dl_auxv): Remove.
51606 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51607 * elf/dl-support.c (_dl_auxv): New variable.
51608 (_dl_aux_init): Initialize it.
51609 * manual/startup.texi (Auxiliary Vector): New node.
51610 * sysdeps/generic/bits/hwcap.h: New file.
51611 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51612 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51613 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51614 * sysdeps/sparc/sysdep.h: ... here. Include it.
51615 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51618 Update.
51619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51627
51628 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51629
51630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51631
51632 2012-05-19 David S. Miller <davem@davemloft.net>
51633
51634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51635
51636 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51637
51638 [BZ #14123]
51639 * math/s_ccosh.c: Include <float.h>
51640 (__ccosh): Avoid internal overflow calculating sinh and cosh
51641 values before multiplying by sin and cos values.
51642 * math/s_ccoshf.c: Likewise.
51643 * math/s_ccoshl.c: Likewise.
51644 * math/s_csin.c: Likewise.
51645 * math/s_csinf.c: Likewise.
51646 * math/s_csinl.c: Likewise.
51647 * math/s_csinh.c: Likewise.
51648 * math/s_csinhf.c: Likewise.
51649 * math/s_csinhl.c: Likewise.
51650 * math/libm-test.inc (ccos_test): Add more tests.
51651 (ccosh_test): Likewise.
51652 (csin_test): Likewise.
51653 (csinh_test): Likewise.
51654 * sysdeps/i386/fpu/libm-test-ulps: Update.
51655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51656
51657 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51658
51659 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51660 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51661
51662 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51663
51664 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51665
51666 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51667 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51668 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51669 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51670 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51671 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51672 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51673 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51674 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51675 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51676 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51677 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51678 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51679 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51680 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51681 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51682 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51683 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51684 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51685 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51686 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51687 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51688 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51689 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51690 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51691 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51692 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51693 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51694 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51695 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51696 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51697
51698 2012-05-18 Andreas Jaeger <aj@suse.de>
51699
51700 * csu/.gitignore: Delete.
51701
51702 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51703
51704 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51705 (timex): Use __syscall_slong_t.
51706
51707 2012-05-18 Andreas Jaeger <aj@suse.de>
51708 Carlos O'Donell <carlos_odonell@mentor.com>
51709
51710 * manual/install.texi (Configuring and compiling): Update
51711 description about files modified in the source directory.
51712 * INSTALL: Regenerated.
51713
51714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51715
51716 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51717 value. Use "or" to set return value to -1.
51718 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51719 negate return value.
51720
51721 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51722
51723 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51724 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51725 failure if the compiler has Graphite support disabled.
51726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51727 Likewise.
51728 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51729 (CFLAGS-memmove.c): Likewise.
51730 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51731 Likewise.
51732
51733 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51734
51735 * sysdeps/x86_64/x32/_itoa.h: New file.
51736
51737 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51738 getdents system call only if kernel and user dirents have the
51739 same d_ino and d_off.
51740
51741 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51742 LLONG_MAX != LONG_MAX.
51743 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51744 (_fitoa_word): Likewise.
51745
51746 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51747 years.
51748 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51749 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51751
51752 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51753 include <bits/wordsize.h>. Check __x86_64__ instead of
51754 __WORDSIZE.
51755 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51756 if __x86_64__ is defined. Use anonymous union on fpstate.
51757
51758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51759 anonymous union.
51760
51761 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51762
51763 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51764 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51765 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51766 Refer to _rtld_local_ro instead of _rtld_global_ro.
51767 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51768 Likewise.
51769 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51770 Likewise.
51771 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51772 Likewise.
51773 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51774 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51775 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51776
51777 [BZ #10882]
51778 * sysdeps/powerpc/powerpc32/dl-machine.c
51779 (__elf_machine_runtime_setup) [PROF]: Don't reference
51780 _dl_prof_resolve.
51781
51782 2012-05-18 Andreas Jaeger <aj@suse.de>
51783
51784 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51785 function only available for GCCs before 3.4 since GCC 3.4
51786 introduced a builtin.
51787 (lrint): Likewise.
51788 (llrintf): Likewise.
51789 (llrint): Likewise.
51790 (fmaxf): Likewise.
51791 (fmax): Likewise.
51792 (fminf): Likewise.
51793 (fmin): Likewise.
51794 (rint): Likewise.
51795 (rintf): Likewise.
51796 (nearbyint): Likewise.
51797 (nearbyintf): Likewise.
51798 (ceil): Likewise.
51799 (ceilf): Likewise.
51800 (floor): Likewise.
51801 (floorf): Likewise.
51802
51803 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51804
51805 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51806 on both fields and cast pointer to __syscall_ulong_t.
51807
51808 * bits/types.h (__fsword_t): New type.
51809 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51810 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51812 (__FSWORD_T_TYPE): Likewise.
51813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51814 (__FSWORD_T_TYPE): Likewise.
51815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51816 (__FSWORD_T_TYPE): Likewise.
51817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51818 (__FSWORD_T_TYPE): Likewise.
51819 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51820 __SWORD_TYPE with __fsword_t.
51821 (statfs64): Likewise.
51822
51823 2012-05-17 David S. Miller <davem@davemloft.net>
51824
51825 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51826
51827 2012-05-17 Andreas Jaeger <aj@suse.de>
51828
51829 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51830 warning.
51831
51832 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51833
51834 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51835
51836 2012-05-17 Andreas Jaeger <aj@suse.de>
51837
51838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51839 when it is used.
51840
51841 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51842
51843 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51844
51845 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51846
51847 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51848 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51849
51850 2012-05-17 Andreas Jaeger <aj@suse.de>
51851 Carlos O'Donell <carlos_odonell@mentor.com>
51852
51853 [BZ #14059]
51854 * sysdeps/x86_64/multiarch/init-arch.h
51855 (bit_YMM_Usable): Rename to...
51856 (bit_AVX_Usable): ... this.
51857 (bit_FMA4_Usable): New macro.
51858 (bit_XMM_state): New macro.
51859 (bit_YMM_state): New macro.
51860 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51861 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51862 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51863 (CPUID_OSXSAVE): New macro.
51864 (CPUID_AVX): New macro.
51865 (CPUID_FMA4): New macro.
51866 (index_YMM_Usable): Rename to...
51867 (index_AVX_Usable): ... this.
51868 (HAS_AVX): Use HAS_ARCH_FEATURE.
51869 (HAS_FMA4): Likewise.
51870 (HAS_YMM_USABLE): Remove.
51871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51872 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51873 are present.
51874 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51875 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51876 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51877 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51878 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51879
51880 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51881
51882 * math/libm-test.c: Support platforms without multiple rounding modes.
51883 * math/bug-nextafter.c: Support platforms without FP exceptions.
51884 * math/bug-nexttoward.c: Likewise.
51885 * math/test-fenv.c: Likewise.
51886 * math/test-misc.c: Likewise.
51887 * stdlib/bug-getcontext.c: Likewise.
51888
51889 2012-05-17 Andreas Jaeger <aj@suse.de>
51890
51891 * manual/examples/search.c (critter_cmp): Change signature to
51892 avoid warnings.
51893 * manual/string.texi (Collation Functions): Likewise.
51894
51895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51896
51897 * bits/types.h: Fold copyright years.
51898 * bits/typesizes.h: Likewise.
51899 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51903 * time/time.h: Likewise.
51904
51905 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51906
51907 [BZ #208]
51908 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51909 in instead of returning them. Return void.
51910 (__libc_mallinfo): Accumulate over all arenas.
51911 (__malloc_stats): Adjust for change in int_mallinfo interface.
51912
51913 2012-05-16 Roland McGrath <roland@hack.frob.com>
51914
51915 [BZ #10375]
51916 * configure.in (NM): Add AC_CHECK_TOOL for it.
51917 (libc_extra_cflags): New substituted variable.
51918 Check for -fstack-protector being used implicitly.
51919 * configure: Regenerated.
51920 * config.make.in (config-extra-cflags): New variable,
51921 gets @libc_extra_cflags@.
51922 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51923
51924 [BZ #10375]
51925 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51926 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51927 * configure: Regenerated.
51928 * config.make.in (CPPUNDEFS): New substituted variable.
51929 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51930 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51931 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51932
51933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51934
51935 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51936 (mq_attr): Use __syscall_slong_t.
51937
51938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51939
51940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51941 Check __x86_64__ instead of __WORDSIZE.
51942 (_STAT_VER_LINUX): Likewise.
51943 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51944 __syscall_ulong_t and __syscall_slong_t.
51945 (stat64): Likewise.
51946
51947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51948
51949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51950
51951 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51952
51953 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51954
51955 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51956
51957 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51958 __syscall_ulong_t.
51959
51960 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51961 include <bits/wordsize.h>. Check __x86_64__ instead of
51962 __WORDSIZE.
51963 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51964 defined.
51965 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51966
51967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51968 include <bits/wordsize.h>. Check __x86_64__ instead of
51969 __WORDSIZE.
51970 (user_regs_struct): Use "__extension__ unsigned long long"
51971 instead of "unsigned long" if __x86_64__ is defined.
51972 (user): Likewise. Pad after pointer field if __ILP32__ is
51973 defined.
51974
51975 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51976
51977 * configure.in (makeinfo): Require version 4.5 or later. Allow
51978 versions 5 to 9.
51979 * configure: Regenerated.
51980 * manual/install.texi (texinfo): Increase version requirement to
51981 4.5 or later.
51982 * INSTALL: Regenerated.
51983
51984 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51985
51986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51987
51988 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51989
51990 * sysdeps/x86_64/x32/ffs.c: New file.
51991
51992 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51993 __syscall_ulong_t.
51994 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51995 defined. Use __syscall_ulong_t.
51996 (shminfo): Use __syscall_ulong_t.
51997 (shm_info): Likewise.
51998
51999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52000 __syscall_ulong_t.
52001
52002 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52003 <bits/wordsize.h>.
52004 (msgqnum_t): Use __syscall_ulong_t.
52005 (msglen_t): Likewise.
52006 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
52007 __syscall_ulong_t.
52008
52009 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52010 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52011
52012 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52013
52014 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52015 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52016
52017 * sysvipc/sys/msg.h (msgbuf): Replace long int with
52018 __syscall_slong_t.
52019
52020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52021 include <bits/wordsize.h>. Check __x86_64__ instead of
52022 __WORDSIZE.
52023
52024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52025 "unsigned long long int" if __x86_64__ is defined.
52026 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52027
52028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52030 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52031
52032 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52033 <stdint.h>.
52034 (GET_PC): Cast to uintptr_t first.
52035 (GET_FRAME): Likewise.
52036 (GET_STACK): Likewise.
52037
52038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52044 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52045 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52046 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52050 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52055 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52067
52068 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
52069
52070 * Makerules (+depfiles): Also collect depfiles from .oS in
52071 $(extra-objs).
52072 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52073 .oS, $(libnldbl-routines)).
52074
52075 * Makerules (native-compile-mkdep-flags): Define.
52076 * sunrpc/Makefile (extra-objs): Add $(addprefix
52077 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52078 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52079 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52080 calling $(make-target-directory).
52081
52082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52083
52084 * bits/types.h (__snseconds_t): Removed.
52085 * time/time.h (struct timespec): Replace __snseconds_t with
52086 __syscall_slong_t.
52087 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52088 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52089 Likewise.
52090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52091 (__SNSECONDS_T_TYPE): Likewise.
52092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52093 (__SNSECONDS_T_TYPE): Likewise.
52094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52095 (__SNSECONDS_T_TYPE): Likewise.
52096
52097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52098
52099 * sysdeps/mach/hurd/bits/typesizes.h
52100 (__SYSCALL_SLONG_TYPE): New macro.
52101 (__SYSCALL_ULONG_TYPE): Likewise.
52102
52103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52104
52105 * bits/types.h (__syscall_slong_t): New type.
52106 (__syscall_ulong_t): Likewise.
52107
52108 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52109 (__SYSCALL_ULONG_TYPE): Likewise.
52110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52111 (__SYSCALL_SLONG_TYPE): Likewise.
52112 (__SYSCALL_ULONG_TYPE): Likewise.
52113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52114 (__SYSCALL_SLONG_TYPE): Likewise.
52115 (__SYSCALL_ULONG_TYPE): Likewise.
52116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52117 (__SYSCALL_SLONG_TYPE): Likewise.
52118 (__SYSCALL_ULONG_TYPE): Likewise.
52119
52120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52121
52122 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52123 Add sigaltstack-offsets.sym.
52124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52125 <sigaltstack-offsets.h>.
52126 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52127 longjmp_msg pointer.
52128 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52129 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52130 signal stack.
52131 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52132
52133 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52134
52135 * elf/stackguard-macros.h: Remove file.
52136 * sysdeps/generic/stackguard-macros.h: New file.
52137 * sysdeps/i386/stackguard-macros.h: Likewise.
52138 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52139 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52140 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52141 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52142 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52143 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52144 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52145 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52146 <elf/stackguard-macros.h>.
52147
52148 [BZ #14109]
52149 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52150 __aligned__ in attribute.
52151 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52152 (gregset_t): Likewise.
52153
52154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52155
52156 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52157 * sysdeps/x86_64/64/Implies-after: Here. New file.
52158 * sysdeps/x86_64/x32/Implies-after: New file.
52159
52160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52161
52162 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52163 and access return value for _dl_profile_fixup. Use R10_LP to
52164 load frame size.
52165
52166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52167
52168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52169
52170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52171
52172 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52173 * sysdeps/x86_64/x32/sysdep.h: New file.
52174
52175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52176
52177 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52178 * sysdeps/x86_64/setjmp.S: Likewise.
52179
52180 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52181
52182 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52184 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52186 remove unused global constant.
52187
52188 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52189
52190 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52191 include of <not-cancel.h>.
52192
52193 2012-05-15 Roland McGrath <roland@hack.frob.com>
52194
52195 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52196
52197 2012-05-15 Jeff Law <law@redhat.com>
52198 Andreas Jaeger <aj@suse.de>
52199
52200 [BZ #13594]
52201 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52202 out from...
52203 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52204 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52205 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52206 code changing __hst_map_handle.map.
52207
52208 2012-05-15 Roland McGrath <roland@hack.frob.com>
52209
52210 * configure.in (sysnames): Look for Implies-before and Implies-after
52211 files.
52212 * configure: Regenerated.
52213
52214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52215
52216 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52217 8-byte data alignment with LP_SIZE alignment.
52218
52219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52220
52221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52222 into R10_LP.
52223
52224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52225
52226 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52227
52228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52229
52230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52231 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52233 Likewise.
52234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52235
52236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52237
52238 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52239 (stackinfo_sub_sp): Likewise.
52240
52241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52242
52243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52244 RAX_LP.
52245
52246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52247
52248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52249 into R*_LP.
52250
52251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52252
52253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52254 sizes into R*_LP.
52255
52256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52257
52258 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52259
52260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52261
52262 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52263 into R11_LP and load __x86_64_shared_cache_size_half into
52264 R8_LP.
52265
52266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52267
52268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52269 R8_LP.
52270
52271 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52272
52273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52274 logb for POWER7.
52275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52276 logbf for POWER7.
52277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52278 logbl for POWER7.
52279 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52280 powerpc32/power7/fpu/s_logb.c via #include.
52281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52282 powerpc32/power7/fpu/s_logbf.c via #include.
52283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52284 powerpc32/power7/fpu/s_logbl.c via #include.
52285
52286 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52287
52288 * README.libm: Remove file.
52289
52290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52291
52292 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52293 count for x32. Use R*_LP and omit operand-size suffix.
52294
52295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52296
52297 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52298 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52299 * sysdeps/x86_64/x32/shlib-versions: New file.
52300
52301 2012-05-14 Roland McGrath <roland@hack.frob.com>
52302
52303 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52304 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52305 Use _dl_fatal_printf instead.
52306
52307 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52308
52309 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52310 set if not set by the user. Do not allow for being unset.
52311 * sysdeps/unix/sysv/linux/configure: Regenerated.
52312
52313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52314
52315 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52316 the `q' suffix from lea and replace .quad with ASM_ADDR.
52317
52318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52319
52320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52321 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52322 instead of $17.
52323 (PTR_DEMANGLE): Likewise.
52324
52325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52326
52327 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52328 (LP_OP): Likewise.
52329 (ASM_ADDR): Likewise.
52330 (RAX_LP): Likewise.
52331 (RBP_LP): Likewise.
52332 (RBX_LP): Likewise.
52333 (RCX_LP): Likewise.
52334 (RDI_LP): Likewise.
52335 (RSI_LP): Likewise.
52336 (RSP_LP): Likewise.
52337 (R8_LP): Likewise.
52338 (R9_LP): Likewise.
52339 (R10_LP): Likewise.
52340 (R10_LP): Likewise.
52341 (R11_LP): Likewise.
52342 (R12_LP): Likewise.
52343 (R13_LP): Likewise.
52344 (R14_LP): Likewise.
52345 (R15_LP): Likewise.
52346
52347 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52348
52349 * sysdeps/x86_64/x32/dl-machine.h: New file.
52350
52351 2012-05-14 Andreas Jaeger <aj@suse.de>
52352
52353 * manual/Makefile (subdir): Remove export of subdir.
52354 (all): Remove target.
52355 (.PHONY): Remove all from list.
52356 (mkinstalldirs): Remove.
52357 (.PHONY): Remove installdirs from list.
52358 ($(inst_infodir)/libc.info): Use make-target-directory.
52359 (installdirs): Remove.
52360 (subdir_%): Remove.
52361 (glibc-targets): Remove.
52362 (lib): Remove.
52363 (stubs): Remove.
52364 ($(objpfx)stubs ../po/manual.pot): Remove.
52365 ($(objpfx)stamp%): Remove.
52366 (make-target-directory): Remove.
52367 (subdir_install): Remove.
52368 (routines): Remove.
52369 (aux): Remove.
52370 (sources): Remove.
52371 (objects): Remove.
52372 (headers): Remove.
52373
52374 [BZ #13750]
52375 * manual/.gitignore: Remove, it's not needed anymore.
52376 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52377 all files in it.
52378 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52379 directory.
52380 (texis): Renamed to $(objpfx)texis.
52381 (texis-path): New, contains path to generated files.
52382 (chapters.%): Use texis-path for complete path, add extra argument
52383 libc-texinfo.sh.
52384 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52385 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52386 (summary,texi, stamp-summary): Use complete path of
52387 files. Generate files in build dir.
52388 (dir-add.texi): Build in build dir.
52389 (libm-err.texi,stamp-libm-err): Likewise.
52390 (version.texi, stamp-version): Likewise.
52391 (.%c.texi): Likewise.
52392 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52393 (mostlyclean): Remove target.
52394 (realclean): Remove target.
52395 (generated): Add new variable with contents from mostlyclean and
52396 realclean, remove entries duplicated in common-mostlyclean, add
52397 stamp-libm-err and stamp-version.
52398 (generated-dirs): Add libc directory.
52399 ($(inst_infodir)/libc.info): Install files from build dir.
52400
52401 * manual/install.texi (Configuring and compiling): Adjust since
52402 the info files are not part of the tar ball anymore.
52403
52404 2012-05-14 Andreas Jaeger <aj@suse.de>
52405
52406 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52407 variable.
52408
52409 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52410
52411 [BZ #13717]
52412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52413 to 2.2.0 where earlier.
52414 * sysdeps/unix/sysv/linux/configure: Regenerated.
52415 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52416 Remove conditional code.
52417 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52418 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52419 Remove conditional code.
52420 [!__NR_lchown]: Likewise.
52421 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52422 [__NR_lchown]: Likewise.
52423 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52424 comment referencing __ASSUME_LCHOWN_SYSCALL.
52425 * sysdeps/unix/sysv/linux/i386/sigaction.c
52426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52428 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52429 Remove conditional code.
52430 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52431 (__protocol_available): Remove #if 0 code.
52432 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52433 conditional code.
52434 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52435 * sysdeps/unix/sysv/linux/kernel-features.h
52436 (__ASSUME_GETCWD_SYSCALL): Don't define.
52437 (__ASSUME_REALTIME_SIGNALS): Likewise.
52438 (__ASSUME_PREAD_SYSCALL): Likewise.
52439 (__ASSUME_PWRITE_SYSCALL): Likewise.
52440 (__ASSUME_POLL_SYSCALL): Likewise.
52441 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52442 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52443 non-SPARC.
52444 (__ASSUME_SIOCGIFNAME): Don't define.
52445 (__ASSUME_MSG_NOSIGNAL): Likewise.
52446 (__ASSUME_SENDFILE): Define unconditionally.
52447 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52448 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52449 conditional code.
52450 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52451 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52452 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52453 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52454 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52455 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52456 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52481 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52482 Remove conditional code.
52483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52484 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52485 Remove conditional code.
52486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52487 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52488 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52489 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52490 Remove conditional code.
52491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52492 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52493 Remove conditional code.
52494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52495 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52496 Remove conditional code.
52497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52498 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52499 Remove conditional code.
52500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52501 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52502 Remove conditional code.
52503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52504 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52507 * sysdeps/unix/sysv/linux/sigaction.c
52508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52510 * sysdeps/unix/sysv/linux/sigpending.c
52511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52513 * sysdeps/unix/sysv/linux/sigprocmask.c
52514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52516 * sysdeps/unix/sysv/linux/sigsuspend.c
52517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52520 (__libc_missing_rt_sigs): Remove.
52521 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52522 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52523 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52524 Remove conditional code.
52525 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52526 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52527 return 1.
52528 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52529 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52530 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52532
52533 2012-05-14 Andreas Jaeger <aj@suse.de>
52534
52535 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52536 it's not used in glibc.
52537 (__coshm1): Likewise.
52538 (__acosh1p): Likewise.
52539 (__sgn): Likewise.
52540
52541 * manual/string.texi (Copying and Concatenation): Add missing
52542 variable in concat example.
52543 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52544
52545 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52546
52547 [BZ #14103]
52548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52549 __builtin_clzl with __builtin_clzll.
52550
52551 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52552
52553 [BZ #14104]
52554 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52555 libc_freeres_ptr.
52556
52557 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52558
52559 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52560 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52561 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52563
52564 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52565
52566 * NEWS: Update ia64 info.
52567
52568 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52569
52570 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52571 used as bcopy.
52572
52573 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52574
52575 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52576 * sysdeps/unix/syscalls.list (dup3): Likewise.
52577 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52578 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52579
52580 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52581
52582 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52583 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52584
52585 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52586
52587 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52588 thread pointer.
52589 (TLS_IE): Use mov/add instead of movq/addq to load thread
52590 pointer.
52591 (TLS_GD_PREFIX): New.
52592 (TLS_GD): Use it.
52593
52594 2012-05-11 David S. Miller <davem@davemloft.net>
52595
52596 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52597 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52598 (_FPU_SETCW): Likewise.
52599
52600 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52601
52602 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52603 is 32-byte aligned.
52604
52605 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52606
52607 [BZ #11837]
52608 * iconvdata/gb18030.c: Update tables.
52609 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52610 characters specially.
52611 (BODY for TO_LOOP): Add encoding of missing ranges.
52612
52613 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52614
52615 [BZ #13673]
52616 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52617 * sysdeps/mach/hurd/dup3.c: Likewise.
52618 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52619 * sysdeps/powerpc/memmove.c:: Likewise.
52620
52621 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52622
52623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52624 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52625
52626 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52627
52628 * elf/elf.h (R_X86_64_RELATIVE64): New.
52629 (R_X86_64_NUM): Updated.
52630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52631 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52632 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52633 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52634 tst-quad1pie tst-quad2pie
52635 (modules-names): Add tst-quadmod1 tst-quadmod2.
52636 ($(objpfx)tst-quad1): New dependency.
52637 ($(objpfx)tst-quad2): Likewise.
52638 ($(objpfx)tst-quad1pie): Likewise.
52639 ($(objpfx)tst-quad2pie): Likewise.
52640 * sysdeps/x86_64/tst-quad1.c: New file.
52641 * sysdeps/x86_64/tst-quad1pie.c: New file.
52642 * sysdeps/x86_64/tst-quad2.c: Likewise.
52643 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52644 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52645 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52646 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52647 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52648
52649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52650
52651 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52652 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52653 * streams/stropts.h (t_scalar_t): Define type.
52654
52655 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52656 (_PATH_PRESERVE): Set to "/var/lib".
52657 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52658
52659 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52660 instead of int.
52661
52662 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52663 if __dir_mkfile succeeded.
52664
52665 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52666 checking for _hurd_dtablesize. Unlock it right after having
52667 finished _hurd_dtable allocation.
52668
52669 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52670
52671 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52672 * sysdeps/mach/hurd/configure: Regenerated.
52673 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52674 special-casing to...
52675 * sysdeps/gnu/configure.in: ... this new file.
52676 * sysdeps/unix/sysv/linux/configure: Regenerated.
52677 * sysdeps/gnu/configure: New generated file.
52678
52679 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52680 for Linux: use nsec instead of usec, as well as:
52681 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52682 members of type struct timespec.
52683 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52684 New macros.
52685 (struct stat64): Likewise.
52686 (_STATBUF_ST_NSEC): New macro.
52687 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52688
52689 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52690 __strtoul_internal rather than strtoul.
52691
52692 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52693
52694 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52695 and reject them.
52696
52697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52698
52699 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52700 which preserves existing values.
52701 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52702
52703 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52704
52705 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52706 TIMEOUT values. Return EINVAL for NFDS values either negative or
52707 greater than FD_SETSIZE.
52708
52709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52710
52711 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52712 allocated, call __vm_protect to finish enabling the existing space, and
52713 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52714 allocate the remainder.
52715
52716 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52717
52718 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52719 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52720
52721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52722
52723 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52724 sysdeps/mach/hurd/readlink.c.
52725
52726 * posix/tst-sysconf.c (posix_options): Only use
52727 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52728 _POSIX_SYNCHRONIZED_IO when they are defined
52729 * sysdeps/mach/hurd/bits/posix_opt.h:
52730 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52731 (_XOPEN_REALTIME): Undefine macro.
52732 (_XOPEN_REALTIME_THREADS): Undefine macro.
52733 (_XOPEN_SHM): Undefine macro.
52734 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52735 macro to -1.
52736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52737 macro to -1.
52738 (_POSIX_ASYNC_IO): Undefine macro.
52739 (_POSIX_PRIORITIZED_IO): Undefine macro.
52740 (_POSIX_SPIN_LOCKS): Define macro to -1.
52741
52742 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52743 SA_NODEFER, SA_RESETHAND.
52744 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52745 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52746 F_DUPFD_CLOEXEC.
52747
52748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52749
52750 * elf/Makefile (pldd-modules): Define unconditionally.
52751
52752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52753
52754 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52755
52756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52757
52758 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52759 Return ENOENT when name is empty.
52760 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52761
52762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52763
52764 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52765
52766 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52767
52768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52769
52770 Fix mlock in all cases except non-readable pages.
52771 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52772 instead of VM_PROT_ALL as parameter to __vm_wire function.
52773
52774 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52775 (__mkdir): When path is `/', just fail with EEXIST.
52776 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52777
52778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52779
52780 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52781 <sys/uio.h> (for writev).
52782 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52783 and <sys/param.h> (for MIN).
52784
52785 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52786
52787 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52788 REQUESTED_TIME. Properly set the remaining time and return EINTR
52789 if interrupted.
52790
52791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52792
52793 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52794 Depend on against $(link-rpcuserlibs).
52795
52796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52797
52798 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52799 (__libc_stack_end): Do not use attribute_relro.
52800 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52801 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52802 to libthread-provided value.
52803 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52804 attribute_relro.
52805
52806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52807
52808 [BZ #3748]
52809 * bits/libc-lock.h (__libc_once_get): New macro.
52810 * sysdeps/mach/bits/libc-lock.h: Likewise.
52811 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52813 instead of using implementation details.
52814
52815 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52816 * libio/freopen.c: Likewise.
52817 * libio/freopen64.c: Likewise.
52818 * misc/syslog.c: Likewise.
52819 * nscd/connections.c: Likewise.
52820 * nscd/netgroupcache.c: Likewise.
52821 * sysdeps/posix/getcwd.c: Likewise.
52822
52823 2012-05-10 Roland McGrath <roland@hack.frob.com>
52824
52825 * math/w_ilogbf.c: Add #include <limits.h>.
52826
52827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52828
52829 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52830 path instead of returning without unlocking.
52831
52832 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52833 immediate-write ioctls.
52834 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52835
52836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52837
52838 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52839 __builtin_frame_address instead of making assumptions about the
52840 location of the return address relative to DATA. Force early load of
52841 the return address.
52842 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52843 __builtin_frame_address.
52844
52845 dup3 for GNU Hurd.
52846 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52847 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52848 implement dup3 and do some further code clean-ups.
52849 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52850 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52851
52852 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52853
52854 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52855
52856 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52857 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52858 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52859 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52860 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52861 d->port.lock.
52862
52863 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52864 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52865 when handler == SIG_ERR, not when handler != SIG_ERR.
52866
52867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52868
52869 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52870 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52871 definitions.
52872
52873 accept4 for GNU Hurd.
52874 * include/sys/socket.h (__libc_accept4): New prototype.
52875 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52876 to implement __libc_accept4.
52877 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52878 __libc_accept4.
52879 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52880
52881 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52882 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52883 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52884 signal-defines.sym.
52885
52886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52887
52888 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52889
52890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52891
52892 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52893 assertion on O_CLOEXEC flag.
52894 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52895 * hurd/intern-fd.c: Likewise.
52896 * hurd/port2fd.c: Likewise.
52897
52898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52899
52900 [BZ #3906]
52901 * bits/in.h (IPV6_PKTINFO): Define new macro.
52902 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52903
52904 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52905
52906 [BZ #13954]
52907 [BZ #13955]
52908 [BZ #13956]
52909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52911 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52914 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52915 * math/libm-test.inc (logb_test) : Additional logb tests.
52916
52917 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52918 Andreas Jaeger <aj@suse.de>
52919
52920 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52921 * configure: Regenerated.
52922 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52923 * config.make.in (link-obsolete-rpc): New substituted variable.
52924 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52925 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52926 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52927 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52928 so that libc.a contains the symbols.
52929 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52930 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52931 * sunrpc/auth_none.c: Likewise.
52932 * sunrpc/auth_unix.c: Likewise.
52933 * sunrpc/authdes_prot.c: Likewise.
52934 * sunrpc/authuxprot.c: Likewise.
52935 * sunrpc/clnt_gen.c: Likewise.
52936 * sunrpc/clnt_perr.c: Likewise.
52937 * sunrpc/clnt_raw.c: Likewise.
52938 * sunrpc/clnt_simp.c: Likewise.
52939 * sunrpc/clnt_tcp.c: Likewise.
52940 * sunrpc/clnt_udp.c: Likewise.
52941 * sunrpc/clnt_unix.c: Likewise.
52942 * sunrpc/des_crypt.c: Likewise.
52943 * sunrpc/des_soft.c: Likewise.
52944 * sunrpc/get_myaddr.c: Likewise.
52945 * sunrpc/key_call.c: Likewise.
52946 * sunrpc/key_prot.c: Likewise.
52947 * sunrpc/netname.c: Likewise.
52948 * sunrpc/pm_getmaps.c: Likewise.
52949 * sunrpc/pm_getport.c: Likewise.
52950 * sunrpc/pmap_clnt.c: Likewise.
52951 * sunrpc/pmap_prot.c: Likewise.
52952 * sunrpc/pmap_prot2.c: Likewise.
52953 * sunrpc/pmap_rmt.c: Likewise.
52954 * sunrpc/publickey.c: Likewise.
52955 * sunrpc/rpc_cmsg.c: Likewise.
52956 * sunrpc/rpc_common.c: Likewise.
52957 * sunrpc/rpc_dtable.c: Likewise.
52958 * sunrpc/rpc_prot.c: Likewise.
52959 * sunrpc/rpc_thread.c: Likewise.
52960 * sunrpc/rtime.c: Likewise.
52961 * sunrpc/svc.c: Likewise.
52962 * sunrpc/svc_auth.c: Likewise.
52963 * sunrpc/svc_raw.c: Likewise.
52964 * sunrpc/svc_run.c: Likewise.
52965 * sunrpc/svc_tcp.c: Likewise.
52966 * sunrpc/svc_udp.c: Likewise.
52967 * sunrpc/svc_unix.c: Likewise.
52968 * sunrpc/svcauth_des.c: Likewise.
52969 * sunrpc/xcrypt.c: Likewise.
52970 * sunrpc/xdr.c: Likewise.
52971 * sunrpc/xdr_array.c: Likewise.
52972 * sunrpc/xdr_float.c: Likewise.
52973 * sunrpc/xdr_intXX_t.c: Likewise.
52974 * sunrpc/xdr_mem.c: Likewise.
52975 * sunrpc/xdr_rec.c: Likewise.
52976 * sunrpc/xdr_ref.c: Likewise.
52977 * sunrpc/xdr_sizeof.c: Likewise.
52978 * sunrpc/xdr_stdio.c: Likewise.
52979
52980 2012-05-10 Roland McGrath <roland@hack.frob.com>
52981
52982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52983 change. Update copyright years.
52984
52985 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52986
52987 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52988
52989 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52990 Joseph Myers <joseph@codesourcery.com>
52991 Paul Pluzhnikov <ppluzhnikov@google.com>
52992
52993 [BZ #14012]
52994 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52995 requiring rpcgen.
52996 [cross-compiling] (extra-libs): Likewise.
52997 [cross-compiling] (extra-libs-others): Likewise.
52998 [cross-compiling] (librpcsvc-routines): Likewise.
52999 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53000 [cross-compiling] (omit-deps): Likewise.
53001 (sunrpc-CPPFLAGS): New variable.
53002 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53003 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53004 (cross-rpcgen-objs): New variable.
53005 (extra-objs): Append $(cross-rpcgen-objs).
53006 ($(cross-rpcgen-objs)): New rule.
53007 ($(objpfx)cross-rpcgen): Likewise.
53008 (rpcgen-cmd): Define to use $(built-program-file). Expand
53009 comment.
53010 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53011 ($(objpfx)x%.stmp): Likewise.
53012 * sunrpc/proto.h [IS_IN_build] (_): Define.
53013 [IS_IN_build] (_libc_intl_domainname): Likewise.
53014
53015 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53016
53017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53018 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53019 and R_X86_64_TPOFF64.
53020
53021 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53022
53023 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53024 sysdeps/unix/sysv/syscalls.list.
53025 (stime): Likewise.
53026 (utime): Likewise.
53027 * sysdeps/unix/sysv/syscalls.list: Remove file.
53028
53029 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
53030
53031 [BZ #3440]
53032 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53033 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53034 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53035 (__LC_IDENTIFICATION): Make these macros useful in #if
53036 expressions, as required by C99.
53037
53038 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
53039
53040 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53041 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
53042 after this.
53043
53044 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
53045
53046 * stdlib/longlong.h: Updated from GCC.
53047
53048 2012-05-09 Andreas Jaeger <aj@suse.de>
53049
53050 * nscd/nscd.c (run_modes): Make named enum, reorder so that
53051 default is first entry.
53052 (run_mode): Set type.
53053 (main): Remove informal message about syslog.
53054 (options): Fix typo.
53055
53056 [BZ #14053]
53057 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53058 to asm.
53059 (lrint): Likewise.
53060 (llrintf): Likewise.
53061 (llrint): Likewise.
53062 (rint): Likewise.
53063 (rintf): Likewise.
53064 (nearbyint): Likewise.
53065 (nearbyintf): Likewise.
53066
53067 2012-05-09 Andreas Jaeger <aj@suse.de>
53068 Pedro Alves <palves@redhat.com>
53069
53070 * nscd/nscd.c (run_mode): Use enum.
53071 (main): Cleanup coding style issue.
53072
53073 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
53074 Andreas Jaeger <aj@suse.de>
53075
53076 * nscd/nscd.c (go_background): Replaced with...
53077 (run_mode): ... this.
53078 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53079 (options): Add -F --foreground.
53080 (main): Implement it.
53081 (parse_opt): Parse it.
53082
53083 2012-05-09 Andreas Jaeger <aj@suse.de>
53084
53085 [BZ #14083]
53086 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53087 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53088 -Wconversion warning.
53089 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53090 Likewise.
53091
53092 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53093
53094 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53095 == 0.
53096 (LC_ALL): Use macro-int-constant.
53097 (LC_COLLATE): Likewise.
53098 (LC_CTYPE): Likewise.
53099 (LC_MESSAGES): Likewise.
53100 (LC_MONETARY): Likewise.
53101 (LC_NUMERIC): Likewise.
53102 (LC_TIME): Likewise.
53103 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53104 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53106 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53107 Specify type.
53108 [C99-based standards] (float_t): Expect type.
53109 [C99-based standards] (double_t): Expect type.
53110 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53111 type.
53112 [C99-based standards] (HUGE_VALL): Likewise.
53113 [C99-based standards] (INFINITY): Likewise.
53114 [C99-based standards] (NAN): Likewise.
53115 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53116 [C99-based standards] (FP_NAN): Likewise.
53117 [C99-based standards] (FP_NORMAL): Likewise.
53118 [C99-based standards] (FP_SUBNORMAL): Likewise.
53119 [C99-based standards] (FP_ZERO): Likewise.
53120 [C99-based standards] (FP_FAST_FMA): Use
53121 optional-macro-int-constant. Specify type. Require == 1.
53122 [C99-based standards] (FP_FAST_FMAF): Likewise.
53123 [C99-based standards] (FP_FAST_FMAL): Likewise.
53124 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53125 [C99-based standards] (FP_ILOGBNAN): Likewise.
53126 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53127 Specify type.
53128 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53129 [C99-based standards] (math_errhandling): Specify type.
53130 [ISO99 || ISO11] (signgam): Do not allow.
53131 [non-C99-based standards] (copysignf): Do not allow.
53132 [non-C99-based standards] (exp2f): Likewise.
53133 [non-C99-based standards] (log2f): Likewise.
53134 [non-C99-based standards] (modff): Allow.
53135 [non-C99-based standards] (erff): Do not allow.
53136 [non-C99-based standards] (erfcf): Likewise.
53137 [non-C99-based standards] (gammaf): Likewise.
53138 [non-C99-based standards] (hypotf): Likewise.
53139 [non-C99-based standards] (j0f): Likewise.
53140 [non-C99-based standards] (j1f): Likewise.
53141 [non-C99-based standards] (jnf): Likewise.
53142 [non-C99-based standards] (lgammaf): Likewise.
53143 [non-C99-based standards] (tgammaf): Likewise.
53144 [non-C99-based standards] (y0f): Likewise.
53145 [non-C99-based standards] (y1f): Likewise.
53146 [non-C99-based standards] (ynf): Likewise.
53147 [non-C99-based standards] (isnanf): Likewise.
53148 [non-C99-based standards] (acoshf): Likewise.
53149 [non-C99-based standards] (asinhf): Likewise.
53150 [non-C99-based standards] (atanhf): Likewise.
53151 [non-C99-based standards] (cbrtf): Likewise.
53152 [non-C99-based standards] (expm1f): Likewise.
53153 [non-C99-based standards] (ilogbf): Likewise.
53154 [non-C99-based standards] (log1pf): Likewise.
53155 [non-C99-based standards] (logbf): Likewise.
53156 [non-C99-based standards] (nextafterf): Likewise.
53157 [non-C99-based standards] (remainderf): Likewise.
53158 [non-C99-based standards] (rintf): Likewise.
53159 [non-C99-based standards] (scalbf): Likewise.
53160 [non-C99-based standards] (copysignl): Likewise.
53161 [non-C99-based standards] (exp2l): Likewise.
53162 [non-C99-based standards] (log2l): Likewise.
53163 [non-C99-based standards] (modfl): Allow.
53164 [non-C99-based standards] (erfl): Do not allow.
53165 [non-C99-based standards] (erfcl): Likewise.
53166 [non-C99-based standards] (gammal): Likewise.
53167 [non-C99-based standards] (hypotl): Likewise.
53168 [non-C99-based standards] (j0l): Likewise.
53169 [non-C99-based standards] (j1l): Likewise.
53170 [non-C99-based standards] (jnl): Likewise.
53171 [non-C99-based standards] (lgammal): Likewise.
53172 [non-C99-based standards] (tgammal): Likewise.
53173 [non-C99-based standards] (y0l): Likewise.
53174 [non-C99-based standards] (y1l): Likewise.
53175 [non-C99-based standards] (ynl): Likewise.
53176 [non-C99-based standards] (isnanl): Likewise.
53177 [non-C99-based standards] (acoshl): Likewise.
53178 [non-C99-based standards] (asinhl): Likewise.
53179 [non-C99-based standards] (atanhl): Likewise.
53180 [non-C99-based standards] (cbrtl): Likewise.
53181 [non-C99-based standards] (expm1l): Likewise.
53182 [non-C99-based standards] (ilogbl): Likewise.
53183 [non-C99-based standards] (log1pl): Likewise.
53184 [non-C99-based standards] (logbl): Likewise.
53185 [non-C99-based standards] (nextafterl): Likewise.
53186 [non-C99-based standards] (remainderl): Likewise.
53187 [non-C99-based standards] (rintl): Likewise.
53188 [non-C99-based standards] (scalbl): Likewise.
53189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53190 [non-C99-based standards] (FP_*): Do not allow.
53191 [C99-based standards] (FP_*): Change to
53192 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53193 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53194 allow.
53195 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53196 (SIG_ERR): Likewise.
53197 [X/Open-based standards] (SIG_HOLD): Likewise.
53198 (SIG_IGN): Likewise.
53199 (SIGABRT): Use macro-int-constant. Specify type. Require
53200 positive value.
53201 (SIGFPE): Likewise.
53202 (SIGILL): Likewise.
53203 (SIGINT): Likewise.
53204 (SIGSEGV): Likewise.
53205 (SIGTER): Likewise.
53206 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53207 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53208 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53209 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53210 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53211 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53212 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53213 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53214 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53215 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53216 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53217 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53218 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53219 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53220 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53221 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53222 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53223 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53224 [X/Open-based standards] (SIGTRAP): Likewise.
53225 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53226 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53227 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53228 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53229 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53230 allow.
53231
53232 2012-05-08 Ian Wienand <ianw@vmware.com>
53233
53234 [BZ #14080]
53235 * time/tzset.c (__tzset_parse_tz): Update default rules for
53236 daylight time changes in the Energy Policy Act of 2005.
53237
53238 2012-05-09 Andreas Jaeger <aj@suse.de>
53239
53240 [BZ #13983]
53241 * elf/ldconfig.c (parse_conf): Change string to make clear that
53242 ldconfig only issued a warning if ld.so.conf does not exist.
53243
53244 2012-05-08 David S. Miller <davem@davemloft.net>
53245
53246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53247 movxtod instead of popping the value on the stack.
53248
53249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53250
53251 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53252
53253 * config.h.in: Add HAVE_ARM_PCS_VFP.
53254
53255 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53256
53257 [BZ #13979]
53258 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53259 checking but the checks are disabled for any reason.
53260
53261 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53262
53263 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53264 and ELF64_R_TYPE with ELFW(R_TYPE).
53265
53266 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53267
53268 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53269 (ulimit): Likewise.
53270
53271 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53272 (settimeofday): Likewise.
53273
53274 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53275
53276 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53277 a struct th_u2 inside the union, and move tu_block/tu_code into
53278 a new th_u3 union of tu_block/tu_code inside of that. Move
53279 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53280 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53281 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53282 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53283 (th_stuff): Change to th_u1.tu_stuff.
53284 (th_data): Define.
53285 (th_msg): Change to th_u1.th_u2.tu_data.
53286
53287 2012-05-07 David S. Miller <davem@davemloft.net>
53288
53289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53290
53291 [BZ #14074]
53292 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53293 (SETUP_PIC_REG): Use it.
53294 (SETUP_PIC_REG_LEAF): Use it.
53295
53296 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53297
53298 [BZ #13885]
53299 [BZ #13923]
53300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53301 USE_AS_EXPM1L.
53302 (EXPL_FINITE): Likewise.
53303 (FLDLOG): Likewise.
53304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53305 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53306 e_expl.S.
53307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53308 USE_AS_EXPM1L.
53309 (EXPL_FINITE): Likewise.
53310 (FLDLOG): Likewise.
53311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53312 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53313 e_expl.S.
53314 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53315 test of -max_value argument for long double.
53316 * sysdeps/i386/fpu/libm-test-ulps: Update.
53317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53318
53319 2012-05-06 David S. Miller <davem@davemloft.net>
53320
53321 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53322 quad soft-float symbols whose references which are compiler
53323 generated.
53324 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53325
53326 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53327
53328 [BZ #13884]
53329 [BZ #13914]
53330 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53331 USE_AS_EXP10L.
53332 (EXPL_FINITE): Likewise.
53333 (FLDLOG): Likewise.
53334 (c0): Likewise.
53335 (c1): Likewise.
53336 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53337 Adjust comments for base varying.
53338 (__expl_finite): Change alias to EXPL_FINITE.
53339 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53340 e_expl.S.
53341 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53342 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53343 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53344 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53346 USE_AS_EXP10L.
53347 (EXPL_FINITE): Likewise.
53348 (FLDLOG): Likewise.
53349 (c0): Likewise.
53350 (c1): Likewise.
53351 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53352 Adjust comments for base varying.
53353 (__expl_finite): Change alias to EXPL_FINITE.
53354 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53355 tests for bugs.
53356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53357
53358 [BZ #14064]
53359 * math/libm-test.inc (check_float_internal): Correct ulp
53360 calculation for subnormal expected results.
53361
53362 2012-05-06 Andreas Jaeger <aj@suse.de>
53363
53364 * Makeconfig (+math-flags): New, set to -frounding-math.
53365 (+cflags): Add +math-flags so that all of glibc gets compiled with
53366 it.
53367
53368 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53369
53370 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53371
53372 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53373 Disable one test.
53374
53375 [BZ #13787]
53376 [BZ #13922]
53377 [BZ #14036]
53378 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53379 (__ieee754_expl): Allow for and saturate large arguments.
53380 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53381 (u_threshold): Likewise.
53382 (__exp): Call __ieee754_exp before checking for overflow and
53383 underflow.
53384 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53385 (u_threshold): Likewise.
53386 (__expf): Call __ieee754_expf before checking for overflow and
53387 underflow.
53388 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53389 (u_threshold): Likewise.
53390 (__expl): Call __ieee754_expl before checking for overflow and
53391 underflow.
53392 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53393 (__ieee754_expl): Allow for and saturate large arguments.
53394 * math/libm-test.inc (exp_test): Add another test. Do not allow
53395 missing overflow exception on overflow.
53396 (expm1_test): Do not allow missing overflow exception on overflow.
53397
53398 * sysdeps/i386/fpu/e_expl.c: Move to ...
53399 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53400 rather than using inline asm.
53401 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53402 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53403 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53404
53405 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53406 (nice): Likewise.
53407 (poll): Likewise.
53408 (signal): Likewise.
53409 (time): Likewise.
53410 (times): Likewise.
53411
53412 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53413
53414 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53415 sysdeps/unix/common/syscalls.list.
53416 (fchmod): Likewise.
53417 (fchown): Likewise.
53418 (ftruncate): Likewise.
53419 (getrusage): Likewise.
53420 (gettimeofday): Likewise.
53421 (setpgid): Likewise.
53422 (setregid): Likewise.
53423 (setreuid): Likewise.
53424 (sigaction): Likewise.
53425 (truncate): Likewise.
53426 (vhangup): Likewise.
53427 * sysdeps/unix/common/syscalls.list: Remove file.
53428 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53429 * sysdeps/unix/sysv/linux/Implies: Likewise.
53430
53431 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53432
53433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53436 Moved to ...
53437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53438 Here.
53439 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53440 to ...
53441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53442 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53443 to ...
53444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53445 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53446 to ...
53447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53449 to ...
53450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53452 to ...
53453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53455 to ...
53456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53457 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53458 to ...
53459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53460 Here.
53461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53462 to ...
53463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53464 Here.
53465 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53466 to ...
53467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53468 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53469 Moved to ...
53470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53471 Here.
53472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53473 to ...
53474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53475
53476 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53477
53478 * sysdeps/unix/common/bits/dirent.h: Remove file.
53479 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53480
53481 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53482 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53483 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53484 * sysdeps/unix/bsd/isatty.c: Likewise.
53485 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53486 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53487 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53488
53489 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53490
53491 [BZ #13563]
53492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53493 long double comparison inaccuracies.
53494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53496
53497 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53498
53499 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53501
53502 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53503
53504 [BZ #14049]
53505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53506 nonzero digits before rounding a hex value.
53507 * stdlib/tst-strtod.c (tests): Add another test.
53508
53509 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53510
53511 * sysdeps/s390/fpu/libm-test-ulps: Update.
53512
53513 2012-05-03 Andreas Jaeger <aj@suse.de>
53514
53515 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53516 does not get optimized out.
53517 (malloc_opt_barrier): New.
53518
53519 2012-05-03 Andreas Jaeger <aj@suse.de>
53520 Roland McGrath <roland@hack.frob.com>
53521
53522 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53523 intermediate file deletion.
53524 (generated): Add .symlist files.
53525
53526 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53527
53528 [BZ #13775]
53529 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53530 Redirect under this condition.
53531 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53532 [__USE_GNU] (__dprintf_chk): Not under this condition.
53533 [__USE_GNU] (__vdprintf_chk): Likewise.
53534 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53535 under this condition.
53536 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53537 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53538 [__USE_XOPEN2K8] (vdprintf): Likewise.
53539 [__USE_GNU] (__dprintf_chk): Not under this condition.
53540 [__USE_GNU] (__vdprintf_chk): Likewise.
53541 [__USE_GNU] (dprintf): Likewise.
53542 [__USE_GNU] (vdprintf): Likewise.
53543
53544 2012-05-03 Roland McGrath <roland@hack.frob.com>
53545
53546 * elf/Makefile (common-generated): Set this instead of generated for
53547 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53548 $(all-built-dso)-derived lists.
53549
53550 2012-05-03 Andreas Jaeger <aj@suse.de>
53551
53552 * sysdeps/i386/fpu/libm-test-ulps: Update.
53553
53554 * FAQ: Removed.
53555 * FAQ.in: Likewise.
53556 * scripts/gen-FAQ.pl: Likewise.
53557 * manual/install.texi (Installation): Point to online location of
53558 FAQ.
53559 * Makefile (files-for-dist): Remove FAQ.
53560 (FAQ): Remove.
53561
53562 2012-05-02 Allan McRae <allan@archlinux.org>
53563
53564 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53565 (LDFLAGS-reldepmod5.so): Likewise.
53566 (LDFLAGS-reldep6mod1.so): Likewise.
53567 (LDFLAGS-reldep6mod4.so): Likewise.
53568 (LDFLAGS-reldep8mod3.so): Likewise.
53569 (LDFLAGS-unload4mod1.so): Likewise.
53570 (LDFLAGS-unload4mod2.so): Likewise.
53571 (LDFLAGS-tst-initorder): Likewise.
53572 (LDFLAGS-tst-initordera2.so): Likewise.
53573 (LDFLAGS-tst-initordera3.so): Likewise.
53574 (LDFLAGS-tst-initordera4.so): Likewise.
53575 (LDFLAGS-tst-initorderb2.so): Likewise.
53576 (LDFLAGS-noload): Likewise.
53577 (LDFLAGS-next): Likewise.
53578 (LDFLAGS-order2mod1.so): Likewise.
53579 (LDFLAGS-order2mod2.so): Likewise.
53580 (LDFLAGS-tst-initorder2): Likewise.
53581 (LDFLAGS-tst-initorder2a.so): Likewise.
53582 (LDFLAGS-tst-initorder2b.so): Likewise.
53583 (LDFLAGS-tst-initorder2c.so): Likewise.
53584 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53585
53586 2012-05-02 David S. Miller <davem@davemloft.net>
53587
53588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53589
53590 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53591
53592 [BZ #14055]
53593 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53594
53595 2012-05-02 Andreas Jaeger <aj@suse.de>
53596
53597 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53598 since we manipulate rounding mode.
53599 (CPPFLAGS-test-idouble.c): Likewise.
53600 (CPPFLAGS-test-ifloat.c): Likewise.
53601 (CFLAGS-test-ldouble.c): Likewise.
53602 (CFLAGS-test-double.c): Likewise.
53603 (CFLAGS-test-float.c): Likewise.
53604 (CFLAGS-test-misc.c): Likewise.
53605 (CFLAGS-test-test-fenv.c): Likewise.
53606
53607 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53608
53609 [BZ #2550]
53610 [BZ #2570]
53611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53612 comparisons to determine direction to adjust input.
53613
53614 2012-05-01 Roland McGrath <roland@hack.frob.com>
53615
53616 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53617 output to the target.
53618
53619 * scripts/localplt.awk: New file.
53620 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53621 (check-localplt-CFLAGS): Variable removed.
53622 ($(all-built-dso:=.jmprel)): New static pattern rule.
53623 (generated): Add those targets.
53624 (localplt-built-dso): New variable.
53625 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53626
53627 * elf/check-localplt.c: File removed.
53628
53629 * scripts/check-execstack.awk: New file.
53630 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53631 (check-execstack-CFLAGS): Variable removed.
53632 ($(objpfx)check-execstack.h): Target removed.
53633 ($(objpfx)execstack-default): New target.
53634 (generated): Add that instead of check-execstack.h.
53635 ($(all-built-dso:=.phdr)): New static pattern rule.
53636 (generated): Add those targets.
53637 * elf/check-execstack.c: File removed.
53638
53639 * scripts/check-textrel.awk: New file.
53640 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53641 (check-textrel-CFLAGS): Variable removed.
53642 (all-built-dso): Use := to define.o
53643 ($(all-built-dso:=.dyn)): New static pattern rule.
53644 (generated): Add those targets.
53645 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53646 * config.make.in (READELF): New substituted variable.
53647 * elf/check-textrel.c: File removed.
53648
53649 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53650
53651 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53652 allow.
53653 * conform/data/ctype.h-data [C99-based standards] (isblank):
53654 Expect function.
53655 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53656 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53658 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53659 Specify type. Require positive value.
53660 (EILSEQ): Likewise.
53661 (ERANGE): Likewise.
53662 [ISO || POSIX] (EILSEQ): Do not expect.
53663 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53664 Specify type. Require positive value.
53665 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53666 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53667 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53668 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53669 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53670 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53671 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53672 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53673 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53674 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53675 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53676 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53677 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53678 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53679 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53680 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53681 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53682 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53683 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53684 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53685 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53686 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53687 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53688 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53689 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53690 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53691 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53692 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53693 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53694 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53695 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53696 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53697 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53698 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53699 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53700 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53701 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53702 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53703 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53704 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53705 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53706 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53707 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53708 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53709 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53710 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53711 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53712 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53713 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53714 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53715 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53716 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53717 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53718 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53719 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53720 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53721 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53722 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53723 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53724 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53725 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53726 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53727 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53728 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53729 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53730 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53731 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53732 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53733 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53734 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53735 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53736 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53737 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53738 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53739 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53740 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53741 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53742 Require >= 2.
53743 (FLT_ROUNDS): Expect as macro, not constant.
53744 (FLT_MANT_DIG): Use macro-int-constant.
53745 (DBL_MANT_DIG): Likewise.
53746 (LDBL_MANT_DIG): Likewise.
53747 (FLT_DIG): Likewise.
53748 (DBL_DIG): Likewise.
53749 (LDBL_DIG): Likewise.
53750 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53751 (DBL_MIN_EXP): Likewise.
53752 (LDBL_MIN_EXP): Likewise.
53753 (FLT_MAX_EXP): Use macro-int-constant.
53754 (DBL_MAX_EXP): Likewise.
53755 (LDBL_MAX_EXP): Likewise.
53756 (FLT_MAX_10_EXP): Likewise.
53757 (DBL_MAX_10_EXP): Likewise.
53758 (LDBL_MAX_10_EXP): Likewise.
53759 (FLT_MAX): Use macro-constant.
53760 (DBL_MAX): Likewise.
53761 (LDBL_MAX): Likewise.
53762 (FLT_EPSILON): Use macro-constant. Give upper bound.
53763 (DBL_EPSILON): Likewise.
53764 (LDBL_EPSILON): Likewise.
53765 (FLT_MIN): Likewise.
53766 (DBL_MIN): Likewise.
53767 (LDBL_MIN): Likewise.
53768 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53769 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53770 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53771 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53772 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53773 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53774 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53775 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53776 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53777 [ISO11] (FLT_TRUE_MIN): Likewise.
53778 [ISO11] (LDBL_TRUE_MIN): Likewise.
53779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53780 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53781 (SCHAR_MIN): Use macro-int-constant. Specify type.
53782 (SCHAR_MAX): Likewise.
53783 (UCHAR_MAX): Likewise.
53784 (CHAR_MIN): Likewise.
53785 (CHAR_MAX): Likewise.
53786 (MB_LEN_MAX): Use macro-int-constant.
53787 (SHRT_MIN): Use macro-int-constant. Specify type.
53788 (SHRT_MAX): Likewise.
53789 (USHRT_MAX): Likewise.
53790 (INT_MAX): Likewise.
53791 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53792 bound negative.
53793 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53794 bound with "U".
53795 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53796 bound with "L".
53797 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53798 bound negative. Suffix upper bound with "L".
53799 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53800 bound with "UL".
53801 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53802 Specify type.
53803 [C99-based standards] (LLONG_MAX): Likewise.
53804 [C99-based standards] (ULLONG_MAX): Likewise.
53805 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53806 == 0.
53807 [ISO11] (max_align_t): Require type.
53808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53809
53810 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53811 from $CFLAGS, without defining away __attribute__ calls.
53812 (checknamespace): Use $CFLAGS_namespace.
53813
53814 * conform/conformtest.pl (@keywords): Only include C99 keywords
53815 for standards based on C99 or C11.
53816
53817 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53818 Disable tests.
53819 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53820 UNIX98]: Likewise.
53821
53822 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53823 usability of symbols in #if.
53824
53825 * conform/conformtest.pl: If macro or constant types start
53826 "promoted:", expect the symbol to be of the following type
53827 promoted by the integer promotions.
53828
53829 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53830 in one place. Also handle "macro-constant".
53831
53832 * conform/conformtest.pl: Only accept expected macro values with
53833 "==". Parse all "macro" lines in one place.
53834 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53835
53836 * conform/conformtest.pl: Handle braced types on "constant" lines
53837 instead of handling "typed-constant".
53838 * conform/data/signal.h-data: Use "constant" instead of
53839 "typed-constant".
53840
53841 * conform/conformtest.pl: Handle "optional-" at start of lines in
53842 one place rather than duplicating several cases. Handle each
53843 format of "macro" line with initial "optional-".
53844
53845 * conform/conformtest.pl: Only accept expected constant or
53846 optional-constant values with "==". Parse all "constant" lines in
53847 one place. Parse all "optional-constant" lines in one place.
53848 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53849 * conform/data/fmtmsg.h-data: Likewise.
53850 * conform/data/netinet/in.h-data: Likewise.
53851 * conform/data/tar.h-data: Likewise.
53852 * conform/data/limits.h-data: Use "==" form on "constant" and
53853 "optional-constant" lines.
53854
53855 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53856 Use -std=c99 for XOPEN2K.
53857 (@knownproblems): Remove.
53858 (newtoken): Don't check %isknown.
53859
53860 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53861 Do not expect macro.
53862 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53863 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53864 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53865 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53866 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53867 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53868 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53869 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53870 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53871 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53872 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53873 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53874 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53875 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53876 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53877 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53878 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53879 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53880 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53881 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53882 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53883 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53886 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53887 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53888 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53889 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53890 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53891 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53892 [XPG3] (acosh): Likewise.
53893 [XPG3] (asinh): Likewise.
53894 [XPG3] (atanh): Likewise.
53895 [XPG3] (cbrt): Likewise.
53896 [XPG3] (expm1): Likewise.
53897 [XPG3] (ilogb): Likewise.
53898 [XPG3] (log1p): Likewise.
53899 [XPG3] (logb): Likewise.
53900 [XPG3] (nextafter): Likewise.
53901 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53902 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53903 [XPG3] (remainder): Likewise.
53904 [XPG3] (rint): Likewise.
53905 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53906 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53907 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53908 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53909 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53910 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53911 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53912 [UNIX98 || XOPEN2K] (scalb): Expect.
53913 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53914 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53915 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53916 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53917 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53918 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53919 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53920 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53921 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53922 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53923 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53924 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53925 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53926 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53927 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53928 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53929 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53930 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53931 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53932 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53933 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53934 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53935 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53936 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53937 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53938 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53939 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53940 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53941 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53942 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53943 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53944 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53945 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53946 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53947 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53948 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53949 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53950 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53951 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53952 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53953 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53954 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53955 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53956 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53957 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53958 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53959 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53960 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53961 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53962 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53963 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53964 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53965 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53966 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53967 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53968 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53969 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53970 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53971 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53972 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53973 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53974 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53975 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53976 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53977 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53978 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53979 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53980 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53981 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53982 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53983 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53984 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53985 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53986 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53987 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53988 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53989 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53990 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53991 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53992 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53993 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53994 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53995 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53996 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53997 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53998 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53999 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54000 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54001 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54002 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54003 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54004 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54005 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54006 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54007 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54008 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54009 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54010 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54011 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54012 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54013 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54014 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54015 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54016 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54017 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54018 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54019 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54020 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54021 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54022 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54023 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54024 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54025 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54026 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54027 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54028 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54029 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54030 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54031 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54032 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54033 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54034 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54035 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54036 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54037 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54038 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54039 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54040 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54041 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54042 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54043 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54044 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54045 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54046 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54047 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54048 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54049 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54050
54051 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54052 _XOPEN_SOURCE_EXTENDED for XPG4.
54053
54054 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54055
54056 * Makeconfig (localtime): Remove variable.
54057 (inst_localtime-file): Likewise.
54058
54059 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54060
54061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54062 Update.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54064 Update.
54065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54066 Update.
54067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54068 Update.
54069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54070 Update.
54071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54072 Update.
54073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54074 Update.
54075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54076 Update.
54077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54078 Update.
54079
54080 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54081
54082 [BZ #2550]
54083 [BZ #2570]
54084 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54085 comparisons to determine direction to adjust input.
54086 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54087 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54089 Likewise.
54090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54091 Likewise.
54092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54093 Likewise.
54094 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54095 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54096 Likewise.
54097 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54098 Likewise.
54099 * math/libm-test.inc (nexttoward_test): Add more tests.
54100
54101 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54102
54103 [BZ #14040]
54104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54105 in version GLIBC_2.1, not GLIBC_2.0.
54106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54107 Likewise.
54108
54109 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54110
54111 [BZ #13942]
54112 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54113 (1 - x) * (1 + x).
54114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54115 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54116 * math/libm-test.inc (acos_test): Add more tests.
54117 (asin_test): Likewise.
54118 * sysdeps/i386/fpu/libm-test-ulps: Update.
54119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54120
54121 [BZ #14034]
54122 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54123 of square root.
54124 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54126 * math/libm-test.inc (acos_test_tonearest): New function.
54127 (acos_test_towardzero): Likewise.
54128 (acos_test_downward): Likewise.
54129 (acos_test_upward): Likewise.
54130 (asin_test_tonearest): Likewise.
54131 (asin_test_towardzero): Likewise.
54132 (asin_test_downward): Likewise.
54133 (asin_test_upward): Likewise.
54134 (main): Call the new functions.
54135 * sysdeps/i386/fpu/libm-test-ulps: Update.
54136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54137
54138 [BZ #13884]
54139 [BZ #13924]
54140 * math/e_exp10.c: Include <float.h>.
54141 (__ieee754_exp10): Handle underflow here rather than multiplying
54142 large negative argument by M_LN10.
54143 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54144 of __ieee754_expf.
54145 * math/e_exp10l.c: Include <float.h>.
54146 (__ieee754_exp10l): Handle underflow here rather than multiplying
54147 large negative argument by M_LN10l.
54148 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54149 spurious overflow exception on underflow.
54150
54151 2012-04-29 Marek Polacek <polacek@redhat.com>
54152
54153 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54154 (__fortify_function): New macro.
54155 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54156 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54157 __extern_always_inline.
54158 * libio/bits/stdio2.h: Likewise.
54159 * libio/bits/stdio.h: Likewise.
54160 * string/string.h: Likewise.
54161 * string/bits/string3.h: Likewise.
54162 * include/stdio.h: Likewise.
54163 * stdlib/bits/stdlib.h: Likewise.
54164 * stdlib/stdlib.h: Likewise.
54165 * rt/bits/mqueue2.h: Likewise.
54166 * rt/mqueue.h: Likewise.
54167 * posix/bits/unistd.h: Likewise.
54168 * posix/unistd.h: Likewise.
54169 * io/bits/poll2.h: Likewise.
54170 * io/bits/fcntl2.h: Likewise.
54171 * io/fcntl.h: Likewise.
54172 * io/sys/poll.h: Likewise.
54173 * misc/bits/syslog.h: Likewise.
54174 * misc/bits/syslog-ldbl.h: Likewise.
54175 * misc/sys/syslog.h: Likewise.
54176 * socket/bits/socket2.h: Likewise.
54177 * socket/sys/socket.h: Likewise.
54178 * debug/tst-chk1.c: Likewise.
54179 * wcsmbs/bits/wchar2.h: Likewise.
54180 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54181 * wcsmbs/wchar.h: Likewise.
54182
54183 2012-04-29 Andreas Jaeger <aj@suse.de>
54184
54185 * Makerules (tests): Remove enable-check-abi protection.
54186 (check-abi-warn): Remove.
54187 (check-abi-%): Remove check-abi-warn usage.
54188
54189 * configure.in: Remove check-abi configure option.
54190 * configure: Regenerated.
54191 * config.make.in (enable-check-abi): Remove.
54192
54193 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54194
54195 [BZ #14033]
54196 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54197 double functions to double *_finite functions.
54198
54199 [BZ #13941]
54200 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54201 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54202 LDBL_MIN_EXP.
54203 * stdio-common/Makefile (tests): Add tst-sprintf3.
54204 * stdio-common/tst-sprintf3.c: New file.
54205
54206 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54207 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54208
54209 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54210
54211 * conform/conformtest.pl: Remove duplicate typed-constant
54212 handling.
54213
54214 2012-04-28 David S. Miller <davem@davemloft.net>
54215
54216 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54217 (check-abi-%): Remove AWK script prerequisite and explicit
54218 abilist directory.
54219 (check-abi): Rewrite to just diff the symlist with the abilist.
54220 (config-tls, config-abi-config): Delete, no longer used.
54221 (update-abi-%): Remove AWK script and explicit abilist directory.
54222 (update-abi): Rewrite to simply compare and conditionally copy the
54223 symlist and the sysdep abilist file. Remove update-abi-config
54224 checks.
54225 * abilist/ld.abilist: Remove.
54226 * abilist/libBrokenLocale.abilist: Remove.
54227 * abilist/libanl.abilist: Remove.
54228 * abilist/libcrypt.abilist: Remove.
54229 * abilist/libdl.abilist: Remove.
54230 * abilist/librt.abilist: Remove.
54231 * abilist/libthread_db.abilist: Remove.
54232 * abilist/libutil.abilist: Remove.
54233 * scripts/extract-abilist.awk: Remove.
54234 * scripts/merge-abilist.awk: Remove.
54235 * sysdeps/generic/libcidn.abilist: New file.
54236 * sysdeps/generic/libnss_compat.abilist: New file.
54237 * sysdeps/generic/libnss_db.abilist: New file.
54238 * sysdeps/generic/libnss_dns.abilist: New file.
54239 * sysdeps/generic/libnss_files.abilist: New file.
54240 * sysdeps/generic/libnss_hesiod.abilist: New file.
54241 * sysdeps/generic/libnss_nis.abilist: New file.
54242 * sysdeps/generic/libnss_nisplus.abilist: New file.
54243 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54245 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54246 file.
54247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54249 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54250 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54251 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54252 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54253 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54254 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54255 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54256 file.
54257 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54258 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54259 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54260 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54261 file.
54262 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54263 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54264 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54265 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54267 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54268 file.
54269 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54270 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54272 file.
54273 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54275 New file.
54276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54277 New file.
54278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54279 New file.
54280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54281 New file.
54282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54283 New file.
54284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54285 New file.
54286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54287 New file.
54288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54289 New file.
54290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54291 New file.
54292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54293 New file.
54294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54295 New file.
54296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54297 New file.
54298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54299 New file.
54300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54301 file.
54302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54303 New file.
54304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54305 New file.
54306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54307 file.
54308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54309 New file.
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54311 New file.
54312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54313 file.
54314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54315 New file.
54316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54317 New file.
54318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54319 New file.
54320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54321 New file.
54322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54323 New file.
54324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54325 New file.
54326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54328 file.
54329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54330 New file.
54331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54332 file.
54333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54334 file.
54335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54336 file.
54337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54338 file.
54339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54340 file.
54341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54342 New file.
54343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54344 file.
54345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54346 file.
54347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54348 New file.
54349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54350 file.
54351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54353 file.
54354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54355 New file.
54356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54357 file.
54358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54359 file.
54360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54361 file.
54362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54363 file.
54364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54365 file.
54366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54367 New file.
54368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54369 file.
54370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54371 file.
54372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54373 New file.
54374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54375 file.
54376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54377 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54378 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54379 file.
54380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54381 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54382 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54383 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54384 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54385 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54386 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54387 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54388 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54389 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54392 file.
54393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54394 New file.
54395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54396 file.
54397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54398 file.
54399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54400 file.
54401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54402 file.
54403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54404 file.
54405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54406 New file.
54407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54408 New file.
54409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54410 file.
54411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54412 New file.
54413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54414 file.
54415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54417 file.
54418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54419 New file.
54420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54421 file.
54422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54423 file.
54424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54425 file.
54426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54427 file.
54428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54429 file.
54430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54431 New file.
54432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54433 New file.
54434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54435 file.
54436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54437 New file.
54438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54439 file.
54440
54441 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54442
54443 * conform/conformtest.pl: Fix typo in handling typed-constant from
54444 allow-header.
54445
54446 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54447
54448 * README: Cut down references to pre-2.6 Linux kernels and
54449 Linuxthreads. Update lists of configurations in libc and ports
54450 and sort alphabetically. Say "or newer" with Linux kernel version
54451 requirements.
54452
54453 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54454
54455 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54456
54457 [BZ #887]
54458 * math/libm-test.inc (logb_test_downward): New test to expose
54459 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54460 rounding mode.
54461
54462 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54463
54464 [BZ #14027]
54465 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54466 to be done.
54467 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54468 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54469
54470 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54471
54472 * sysdeps/unix/i386/brk.S: Remove file.
54473 * sysdeps/unix/i386/dl-brk.S: Likewise.
54474 * sysdeps/unix/i386/pipe.S: Likewise.
54475 * sysdeps/unix/i386/sigreturn.S: Likewise.
54476 * sysdeps/unix/i386/syscall.S: Likewise.
54477 * sysdeps/unix/i386/vfork.S: Likewise.
54478 * sysdeps/unix/i386/wait.S: Likewise.
54479
54480 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54481 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54482
54483 * configure.in (arm*-none*): Do not allow without
54484 --enable-hacker-mode.
54485 (netbsd*): Remove case setting base_os.
54486 (386bsd*): Likewise.
54487 (freebsd*): Likewise.
54488 (bsdi*): Likewise.
54489 (osf*): Likewise.
54490 (sunos*): Likewise.
54491 (ultrix*): Likewise.
54492 (newsos*): Likewise.
54493 (dynix*): Likewise.
54494 (*bsd*): Likewise.
54495 (sysv*): Likewise.
54496 (isc*): Likewise.
54497 (esix*): Likewise.
54498 (sco*): Likewise.
54499 (minix*): Likewise.
54500 (irix4*): Likewise.
54501 (irix6*): Likewise.
54502 (solaris[2-9]*): Likewise.
54503 (none): Likewise.
54504 * configure: Regenerated.
54505
54506 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54507
54508 [BZ #11521]
54509 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54510 overflow or cancellation in calculating denominator.
54511 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54512 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54513 down expression to avoid unexpected rounding in newer GCCs.
54514 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54515
54516 2012-04-26 David S. Miller <davem@davemloft.net>
54517
54518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54519 long-double compat symbols.
54520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54533
54534 2012-04-25 David S. Miller <davem@davemloft.net>
54535
54536 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54537 HWCAP_* values only after the memory barriers have been defined.
54538 (atomic_full_barrier): Define.
54539 (atomic_read_barrier): Define.
54540 (atomic_write_barrier): Define.
54541
54542 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54543
54544 * shlib-versions: Add libgcc_s version information.
54545 * sysdeps/generic/libgcc_s.h: Remove.
54546 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54547 libgcc_s.h.
54548 * sysdeps/gnu/unwind-resume.c: Likewise.
54549 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54550
54551 2012-04-25 David S. Miller <davem@davemloft.net>
54552
54553 * sysdeps/unix/sparc/brk.S: Delete.
54554 * sysdeps/unix/sparc/dl-brk.S: Delete.
54555 * sysdeps/unix/sparc/pipe.S: Delete.
54556 * sysdeps/unix/sparc/sysdep.S: Delete.
54557 * sysdeps/unix/sparc/sysdep.h: Delete.
54558 * sysdeps/unix/sparc/vfork.S: Delete.
54559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54560 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54562 (ret_ERRVAL, r0, r1, MOVE): Define.
54563 (JUMPTARGET): Remove.
54564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54565 sysdeps/unix/sparc/sysdep.h
54566 (ENTRY, END): Remove.
54567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54568
54569 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54570
54571 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54572 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54573 -DIS_IN_build.
54574
54575 * timezone/README: Update upstream location and email address for
54576 tzcode and tzdata.
54577 * timezone/zdump.c: Update from tzcode 2012b.
54578 * timezone/zic.c: Likewise.
54579
54580 * configure.in (libc_cv_as_needed): Remove test.
54581 * configure: Regenerated.
54582 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54583 conditional definition.
54584 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54585 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54586 * config.make.in (have-as-needed): Remove variable.
54587
54588 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54589 Paul Pluzhnikov <ppluzhnikov@google.com>
54590
54591 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54592 strings correctly.
54593
54594 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54595
54596 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54597 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54598 * sysdeps/sh/strlen.S: Likewise.
54599
54600 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54601
54602 * sysdeps/unix/fork.S: Remove file.
54603 * sysdeps/unix/i386/fork.S: Likewise.
54604 * sysdeps/unix/sparc/fork.S: Likewise.
54605
54606 * sysdeps/unix/system.c: Remove file.
54607 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54608
54609 * sysdeps/unix/getegid.S: Remove file.
54610 * sysdeps/unix/geteuid.S: Likewise.
54611
54612 2012-04-24 Roland McGrath <roland@hack.frob.com>
54613
54614 * scripts/check-localplt.awk: New file.
54615 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54616 of diff.
54617 * scripts/data/localplt-generic.data: Add a comment.
54618
54619 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54620 NODE when __dir_mkfile failed.
54621 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54622 Reported by Ludovic Courtès <ludo@gnu.org>.
54623
54624 2012-04-24 Andreas Jaeger <aj@suse.de>
54625
54626 * Makerules (common-clean): Also remove gen-as-const-headers
54627 files.
54628
54629 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54630
54631 * Makerules (native-compile): Do not change working directory for
54632 build. Use $(OUTPUT_OPTION) in command.
54633 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54634
54635 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54636
54637 [BZ #13886]
54638 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54639 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54640 * math/libm-test.inc (floor_test): Add more tests.
54641 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54642
54643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54644
54645 * sysdeps/unix/getdents.c: Remove file.
54646 * sysdeps/unix/sysv/getdents.c: Likewise.
54647 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54648
54649 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54650 sysdeps/unix/mman/syscalls.list.
54651 (mmap): Likewise.
54652 (mprotect): Likewise.
54653 (msync): Likewise.
54654 (munmap): Likewise.
54655 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54656 * sysdeps/unix/mman/syscalls.list: Remove.
54657 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54658
54659 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54660 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54661 * configure: Regenerated.
54662 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54663 $(libgcc_s_suffix).
54664 * config.make.in (libgcc_s_suffix): Remove variable.
54665
54666 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54667
54668 * sysdeps/unix/sysv/gethostname.c: Move to ...
54669 * sysdeps/posix/gethostname.c: ... here.
54670
54671 * sysdeps/unix/execve.S: Remove file.
54672
54673 * sysdeps/unix/_exit.S: Remove file.
54674
54675 2012-04-23 Andreas Jaeger <aj@suse.de>
54676
54677 [BZ #13739]
54678 * manual/Makefile: Remove make dist support, there's no
54679 need for a stand-alone documentation tar ball.
54680 (TEXI2DVI): Define always, it's not in Makeconfig.
54681 (dist): Removed.
54682 (tar-it): Removed.
54683 (edition): Removed.
54684 (glibc-doc-$(edition).tar): Removed
54685 (%.Z): Removed.
54686 (%.gz): Removed.
54687 (%.uu): Removed.
54688 (ETAGS): Remove, it's in Makeconfig.
54689 (move-if-change): Remove, it's in Makeconfig.
54690
54691 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54692
54693 [BZ #13970]
54694 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54695 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54696 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54697 (strtod_l, strtof_l, strtold_l): Remove __wur.
54698 It is not necessarily an error to ignore strtol's return value.
54699 One can reliably look at the stored endptr to decide whether
54700 the number had valid syntax.
54701
54702 2012-04-21 Andreas Jaeger <aj@suse.de>
54703
54704 [BZ #13739]
54705 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54706
54707 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54708
54709 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54710 * sysdeps/unix/sysv/Versions: Remove file.
54711
54712 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54713
54714 [BZ #13927]
54715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54716
54717 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54718
54719 [BZ #7064]
54720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54721 version from __vm86.
54722
54723 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54724
54725 * sysdeps/unix/common/lxstat.c: Remove file.
54726 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54727
54728 * sysdeps/unix/sysv/Makefile: Remove file.
54729
54730 * sysdeps/unix/sysv/direct.h: Remove file.
54731
54732 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54733 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54734 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54735 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54736 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54737 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54738 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54739
54740 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54741
54742 * sysdeps/unix/xmknod.c: Remove file.
54743 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54744
54745 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54746
54747 * sysdeps/unix/sysv/i386/time.S: Remove file.
54748
54749 * sysdeps/unix/fxstat.c: Remove file.
54750 * sysdeps/unix/xstat.c: Likewise.
54751 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54752
54753 * sysdeps/unix/sysv/sigaction.c: Remove file.
54754
54755 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54756 (sysdep_headers): Remove variable.
54757 [termio.h not in sysdep_headers] (generated): Likewise.
54758 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54759 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54760 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54761 * sysdeps/unix/sysv/tcflow.c: Likewise.
54762 * sysdeps/unix/sysv/tcflush.c: Likewise.
54763 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54764 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54765 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54766 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54767 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54768
54769 * sysdeps/unix/siglist.c: Remove file.
54770
54771 * sysdeps/unix/getppid.S: Remove file.
54772
54773 * sysdeps/unix/mkdir.c: Remove file.
54774 * sysdeps/unix/rmdir.c: Likewise.
54775
54776 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54777
54778 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54779 ERR_MAX value.
54780 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54781 errlist-compat value.
54782
54783 2012-04-18 David S. Miller <davem@davemloft.net>
54784
54785 * sysdeps/generic/memcopy.h (reg_char): Delete.
54786 * debug/strcat_chk.c: Use char, not reg_char.
54787 * debug/strcpy_chk.c: Likewise.
54788 * debug/strncat_chk.c: Likewise.
54789 * debug/strncpy_chk.c: Likewise.
54790 * string/memchr.c: Likewise.
54791 * string/memrchr.c: Likewise.
54792 * string/rawmemchr.c: Likewise.
54793 * string/strcat.c: Likewise.
54794 * string/strchr.c: Likewise.
54795 * string/strchrnul.c: Likewise.
54796 * string/strcmp.c: Likewise.
54797 * string/strcpy.c: Likewise.
54798 * string/strncat.c: Likewise.
54799 * string/strncmp.c: Likewise.
54800 * string/strncpy.c: Likewise.
54801
54802 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54803
54804 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54805 __builtin_memcopy is called when src and dest ranges are known to not
54806 overlap.
54807
54808 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54809
54810 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54811 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54812 fwd_align_merge macro call.
54813 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54814 bwd_align_merge macro call.
54815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54816
54817 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54818
54819 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54820 bwd_align_merge macros.
54821 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54822 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54823 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54824
54825 2012-04-18 David S. Miller <davem@davemloft.net>
54826
54827 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54828
54829 2012-04-18 Andreas Jaeger <aj@suse.de>
54830
54831 [BZ# 6794]
54832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54833 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54835
54836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54837 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54839
54840 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54841 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54842 Adjust for changed ldbl-128 files.
54843
54844 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54845 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54847
54848 2012-04-17 David S. Miller <davem@davemloft.net>
54849
54850 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54851
54852 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54853
54854 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54855 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54856 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54857 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54858 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54859 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54860
54861 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54862
54863 [BZ #6794]
54864 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54865 * math/libm-test.inc: Add ilogb errno and exception tests.
54866 * math/w_ilogb.c: New file: ilogb wrapper.
54867 * math/w_ilogbf.c: New file: ilogbf wrapper.
54868 * math/w_ilogbl.c: New file: ilogbl wrapper.
54869 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54870 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54871 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54872 exception being thrown with 0.0 as argument.
54873 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54874 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54875 exception being thrown with 0.0 as argument.
54876 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54877 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54878 exception being thrown with 0.0 as argument.
54879 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54880 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54881 exception being thrown with 0.0 as argument.
54882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54883 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54885 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54887 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54888 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54889 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54890 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54891
54892 2012-04-17 Petr Baudis <pasky@ucw.cz>
54893
54894 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54895 with altivec.
54896
54897 2012-04-16 Marek Polacek <polacek@redhat.com>
54898
54899 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54900
54901 2012-04-16 Marek Polacek <polacek@redhat.com>
54902
54903 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54904 operands of fdivp instruction.
54905
54906 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54907
54908 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54909 * elf/tst-auditmod3b.c: Likewise.
54910 * elf/tst-auditmod4b.c: Likewise.
54911 * elf/tst-auditmod5b.c: Likewise.
54912 * elf/tst-auditmod6b.c: Likewise.
54913 * elf/tst-auditmod6c.c: Likewise.
54914 * elf/tst-auditmod7b.c: Likewise.
54915 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54916 * sysdeps/x86_64/preconfigure.in: Likewise.
54917 * sysdeps/x86_64/preconfigure: Regenerated.
54918
54919 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54920
54921 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54922 __ILP32__.
54923
54924 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54925
54926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54927 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54928
54929 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54930
54931 [BZ #13973]
54932 * locale/iso-639.def: Fix gl language name. Spotted by
54933 Yaron Shahrabani.
54934
54935 2012-04-12 Roland McGrath <roland@hack.frob.com>
54936
54937 [BZ #2074]
54938 * libio/libio.h (__io_write_fn): Update comment.
54939
54940 2012-04-12 Petr Baudis <pasky@ucw.cz>
54941
54942 [BZ #2074]
54943 * stdio.texi (Hook Functions): The user provided writer function
54944 is not allowed to return -1.
54945
54946 2012-04-11 David S. Miller <davem@davemloft.net>
54947
54948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54949
54950 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54951
54952 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54953 Add a leading slash to rtkaio.
54954
54955 2012-04-11 Jim Meyering <meyering@redhat.com>
54956
54957 [BZ #11959]
54958 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54959 It is not necessarily an error to ignore fwrite's return
54960 value. One can reliably use ferror to test for errors after
54961 the fact.
54962
54963 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54964
54965 * bits/types.h (__snseconds_t): New type.
54966 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54967
54968 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54970 (__SNSECONDS_T_TYPE): Likewise.
54971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54972 (__SNSECONDS_T_TYPE): Likewise.
54973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54974 (__SNSECONDS_T_TYPE): Likewise.
54975
54976 2012-04-10 Andreas Jaeger <aj@suse.de>
54977
54978 [BZ #2636]
54979 * manual/time.texi (Processor Time): Return type of times is
54980 elapsed real time since an arbitrary point in the past.
54981 (CPU Time): Move CLK_TCK from here...
54982 (Processor Time): ...to here. Correct description.
54983 * manual/conf.texi (Constants for Sysconf): Correct description of
54984 _SC_CLK_TCK.
54985
54986 2012-04-10 David S. Miller <davem@davemloft.net>
54987
54988 [BZ #13967]
54989 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54990 where the is a gap between DT_REL(A) and DT_JMPREL.
54991
54992 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54993
54994 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54995 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54996 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54997
54998 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54999
55000 * elf/dl-support.c (_dl_inhibit_cache): New variable.
55001 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55002 (dl_main): Handle --inhibit-cache.
55003 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55004 _dl_inhibit_cache.
55005 * elf/dl-load.c (_dl_map_object): Use it.
55006 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55007
55008 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55009
55010 [BZ #13872]
55011 * sysdeps/i386/fpu/e_powl.S (p78): New object.
55012 (__ieee754_powl): Saturate large exponents rather than testing for
55013 overflow of y*log2(x).
55014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55015 * math/libm-test.inc (pow_test): Do not permit spurious overflow
55016 exceptions.
55017
55018 [BZ #11521]
55019 * math/s_ctan.c: Include <float.h>.
55020 (__ctan): Avoid internal overflow or cancellation in calculating
55021 denominator.
55022 * math/s_ctanf.c: Likewise.
55023 * math/s_ctanl.c: Likewise.
55024 * math/s_ctanh.c: Likewise.
55025 * math/s_ctanhf.c: Likewise.
55026 * math/s_ctanhl.c: Likewise.
55027 * math/libm-test.inc (ctan_test): Add more tests.
55028 (ctanh_test): Likewise.
55029 * sysdeps/i386/fpu/libm-test-ulps: Update.
55030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55031
55032 2012-04-09 Andreas Jaeger <aj@suse.de>
55033
55034 [BZ #6894]
55035 * manual/filesys.texi (Directory Entries): Mention that d_namlen
55036 is an optional BSD extension.
55037
55038 [BZ #10254]
55039 * manual/stdio.texi (Opening Streams): Document additional fopen
55040 parameters.
55041
55042 2012-04-09 Roland McGrath <roland@hack.frob.com>
55043
55044 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55045 %eax without telling the compiler.
55046
55047 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
55048
55049 [BZ # 13963]
55050 * manual/install.texi: Use sourceware.org.
55051
55052 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55053
55054 [BZ #13873]
55055 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55056 (__ieee754_pow): Generate overflow and underflow using huge*huge
55057 and tiny*tiny rather than just returning constant infinity or zero
55058 for large exponents.
55059 * math/libm-test.inc (pow_test): Require overflow exceptions for
55060 applicable cases of large exponents.
55061
55062 [BZ #706]
55063 * sysdeps/i386/fpu/e_pow.S (p10): New object.
55064 (__ieee754_pow): Use iterative multiplication algorithm only for
55065 integer exponents with absolute value below 1024. Check for odd
55066 integer exponents when using algorithm for real exponents.
55067 * math/libm-test.inc (pow_test): Add more tests.
55068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55069
55070 2012-04-08 Joseph Myers <joseph@codesourcery.com>
55071
55072 [BZ #13705]
55073 * math/libm-test.inc (exp_test): Do not allow overflow exception
55074 on underflow test.
55075
55076 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55077
55078 [BZ #13705]
55079 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55080 instead of __kernel_standard_f.
55081
55082 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55083
55084 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55085 * sysdeps/x86_64/memset_chk.S: Likewise.
55086
55087 2012-04-08 Andreas Jaeger <aj@suse.de>
55088
55089 [BZ #10153]
55090 * manual/startup.texi (Environment Access): Describe return value
55091 for putenv and setenv.
55092
55093 [BZ #6895]
55094 * manual/filesys.texi (Directory Entries): Add description for
55095 DT_LNK.
55096
55097 [BZ #6890]
55098 * manual/filesys.texi (Directory Entries): Clarify that it's file
55099 system not operating system in the description of DT_UNKNOWN.
55100
55101 [BZ #6578]
55102 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55103
55104 2012-04-08 Stephen Compall <s11@member.fsf.org>
55105
55106 [BZ #6649]
55107 * manual/llio.texi (Opening and Closing Files): Add cross
55108 reference to explain mode argument.
55109
55110 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55111
55112 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55113 * sysdeps/x86_64/memset_chk.S: Likewise.
55114
55115 2012-04-07 David S. Miller <davem@davemloft.net>
55116
55117 * elf/elf.h (R_SPARC_WDISP10): Define.
55118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55119 R_SPARC_SIZE32.
55120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55121 R_SPARC_SIZE64 and R_SPARC_H34.
55122
55123 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55124
55125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55126 conditions and remove no longer applicable assertion.
55127
55128 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55129
55130 * bits/byteswap.h: Include <features.h>.
55131 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55132 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55133
55134 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55135
55136 * bits/byteswap.h (__bswap_16): Removed.
55137 Include <bits/byteswap-16.h> to get __bswap_16.
55138 * sysdeps/i386/bits/byteswap.h: Likewise.
55139 * sysdeps/s390/bits/byteswap.h: Likewise.
55140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55141 * bits/byteswap-16.h: New file.
55142 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55143 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55144 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55145 * string/Makefile (headers): Add bits/byteswap-16.h.
55146
55147 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55148
55149 [BZ #13895]
55150 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55151 extra indirection.
55152 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55153 * nss/tst-nss-static.c: New.
55154
55155 2012-04-06 Robert Millan <rmh@gnu.org>
55156
55157 [BZ #6486]
55158 * manual/llio.texi (File Position Primitive): lseek
55159 refers to WHENCE when it really means OFFSET.
55160
55161 2012-04-06 Andreas Jaeger <aj@suse.de>
55162
55163 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55164 strncmp declarations.
55165
55166 * abilist/libc.abilist: Add __poll and __ppoll.
55167
55168 2012-04-05 David S. Miller <davem@davemloft.net>
55169
55170 * scripts/check-local-headers.sh: Accept a host triplet in the
55171 path matched by the exclude regexp.
55172
55173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55174 definition.
55175 * sysdeps/powerpc/powerpc32/dl-machine.h
55176 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55177 * sysdeps/s390/s390-32/dl-machine.h
55178 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55179 * sysdeps/sparc/sparc32/dl-machine.h
55180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55181 * sysdeps/sparc/sparc64/dl-machine.h
55182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55183
55184 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55185 lazy binding.
55186 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55187 undefined symbol errors.
55188
55189 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55190 DT_NEEDED entries.
55191
55192 2012-04-05 Michael Matz <matz@suse.de>
55193
55194 [BZ #13592]
55195 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55196
55197 2012-04-05 Andreas Jaeger <aj@suse.de>
55198
55199 [BZ #13908]
55200 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55201 comment.
55202
55203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55204
55205 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55206 which ROUND is no valid rounding mode.
55207
55208 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55209
55210 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55211 read again.
55212 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55213
55214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55215
55216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55217 an exception using FPU order intentionally.
55218
55219 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55220
55221 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55222 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55223 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55224 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55225
55226 2012-04-05 Simon Josefsson <simon@josefsson.org>
55227
55228 [BZ #12340]
55229 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55230 EINVAL when BUFLEN is too smal.
55231
55232 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55233
55234 [BZ #13553]
55235 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55236 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55237
55238 2012-04-03 Andreas Jaeger <aj@suse.de>
55239
55240 [BZ #13938]
55241 * manual/setjmp.texi (System V contexts): Fix sentence.
55242
55243 [BZ #13926]
55244 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55245 New macro for this case.
55246 [!__GNUC__] (__bswap_64): New inline function for this case.
55247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55248 * bits/byteswap.h: Likewise.
55249 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55250 ull, guard with __GLIBC_HAVE_LONG_LONG.
55251
55252 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55253 __GLIBC_HAVE_LONG_LONG.
55254
55255 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55256 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55257
55258 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55259
55260 [BZ #13691]
55261 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55262 inptr and inend, rather than using last_ch.
55263
55264 2012-04-02 David S. Miller <davem@davemloft.net>
55265
55266 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55267 * stdio-common/printf-parse.h (read_int): Change return type to
55268 'int', return -1 on INT_MAX overflow.
55269 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55270 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55271 overflows INT_MAX. Check for overflow of in-format-string precision
55272 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55273 SIZE_MAX not INT_MAX for integer overflow test.
55274 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55275 skip the construct in the format string but do not record anything.
55276 * stdio-common/bug22.c: Adjust to test both width/prevision
55277 INT_MAX overflow as well as total length INT_MAX overflow. Check
55278 explicitly for proper errno values.
55279
55280 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55281
55282 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55283 CHAR_MAX.
55284 * string/test-strcmp.c [! WIDE]: Likewise.
55285 * time/tst-mktime2.c: Likewise for INT_MAX.
55286 * string/test-string.h: #include <sys/param.h> for MIN.
55287
55288 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55289 * sysdeps/i386/init-first.c (init): Likewise.
55290 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55291 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55292 * sysdeps/sh/init-first.c (init): Likewise.
55293
55294 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55295
55296 * po/ru.po: Update from translation team.
55297 * po/vi.po: Likewise.
55298
55299 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55300
55301 * resolv/nss_dns/dns-host.c: Merge copyright years.
55302
55303 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55304
55305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55306 Optimize memcpy with prefetch if
55307 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55308 src, dst pointers have unequal 16 byte alignments.
55309
55310 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55311
55312 [BZ #13928]
55313 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55314 from a CNAME entry and return the minimum ttl for the query.
55315 (gaih_getanswer_slice): Likewise.
55316
55317 2012-03-30 Jeff Law <law@redhat.com>
55318
55319 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55320 due to long keys.
55321 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55322 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55323
55324 * resolv/nss_dns/dns-host.c: Update copyright year.
55325
55326 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55327
55328 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55329 requests to save a system call. Fix check that all bytes are sent.
55330
55331 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55332 comments for sendmmsg.
55333
55334 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55335
55336 [BZ #13691]
55337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55338 with only 1 character between 0x0041 and 0x01b0.
55339 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55340 * wcsmbs/tst-mbsnrtowcs.c: New file.
55341
55342 2012-03-29 David S. Miller <davem@davemloft.net>
55343
55344 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55345 small copies by hand.
55346
55347 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55348
55349 [BZ #13761]
55350 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55351 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55352 group memberships.
55353
55354 2012-03-28 David S. Miller <davem@davemloft.net>
55355
55356 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55357 that branches into memcpy.
55358 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55361 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55363 bits.
55364 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55365 implementation too.
55366 * sysdeps/sparc/mempcpy.S: New file.
55367
55368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55369 the IFUNC routine in the libc case.
55370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55371
55372 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55373 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55374 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55375 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55376 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55377 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55378 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55379 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55380
55381 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55382 loop to 256 bytes instead of 64 bytes and fix test signedness.
55383
55384 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55385 * sysdeps/sparc/sparc32/Makefile: rather than here...
55386 * sysdeps/sparc/sparc64/Makefile: and here.
55387
55388 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55389
55390 * malloc/mallocbug.c: Avoid warnings about unused variables.
55391
55392 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55393
55394 [BZ #13760]
55395 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55396 in the right place. Discard and retry query if response is
55397 larger than input buffer size.
55398
55399 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55400
55401 [BZ #369]
55402 [BZ #2678]
55403 [BZ #3866]
55404 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55405 x for large integer exponent.
55406 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55407 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55408 sign of result as needed afterwards.
55409 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55411 result for underflowing pow the same as for overflow.
55412 (__kernel_standard_l): Handle powl overflow and underflow here
55413 rather than calling __kernel_standard.
55414 * math/libm-test.inc (pow_test): Add more tests.
55415
55416 [BZ #3868]
55417 [BZ #13879]
55418 [BZ #13910]
55419 [BZ #13911]
55420 [BZ #13912]
55421 [BZ #13913]
55422 [BZ #13915]
55423 [BZ #13916]
55424 [BZ #13917]
55425 [BZ #13918]
55426 [BZ #13919]
55427 [BZ #13920]
55428 [BZ #13921]
55429 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55430 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55431 (__kernel_standard_l): New function.
55432 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55433 __kernel_standard.
55434 * math/w_acosl.c (__acosl): Likewise.
55435 * math/w_asinl.c (__asinl): Likewise.
55436 * math/w_atan2l.c (__atan2l): Likewise.
55437 * math/w_atanhl.c (__atanhl): Likewise.
55438 * math/w_coshl.c (__coshl): Likewise.
55439 * math/w_exp10l.c (__exp10l): Likewise.
55440 * math/w_exp2l.c (__exp2l): Likewise.
55441 * math/w_fmodl.c (__fmodl): Likewise.
55442 * math/w_hypotl.c (__hypotl): Likewise.
55443 * math/w_j0l.c (__j0l, __y0l): Likewise.
55444 * math/w_j1l.c (__j1l, __y1l): Likewise.
55445 * math/w_jnl.c (__jnl, __ynl): Likewise.
55446 * math/w_lgammal.c (__lgammal): Likewise.
55447 * math/w_log10l.c (__log10l): Likewise.
55448 * math/w_log2l.c (__log2l): Likewise.
55449 * math/w_logl.c (__logl): Likewise.
55450 * math/w_powl.c (__powl): Likewise.
55451 * math/w_remainderl.c (__remainderl): Likewise.
55452 * math/w_scalbl.c (sysv_scalbl): Likewise.
55453 * math/w_sinhl.c (__sinhl): Likewise.
55454 * math/w_sqrtl.c (__sqrtl): Likewise.
55455 * math/w_tgammal.c (__tgammal): Likewise.
55456 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55457 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55458 * math/libm-test.inc (acos_test): Add more tests.
55459 (acosh_test): Likewise.
55460 (asin_test): Likewise.
55461 (atanh_test): Likewise.
55462 (exp_test): Likewise.
55463 (exp10_test): Likewise.
55464 (exp2_test): Likewise.
55465 (expm1_test): Likewise.
55466 (lgamma_test): Likewise.
55467 (log_test): Likewise.
55468 (log10_test): Likewise.
55469 (log1p_test): Likewise.
55470 (log2_test): Likewise.
55471 (pow_test): Do not allow some spurious overflow exceptions.
55472 (sqrt_test): Add more tests.
55473 (tgamma_test): Likewise.
55474 (y0_test): Likewise.
55475 (y1_test): Likewise.
55476 (yn_test): Likewise.
55477
55478 2012-03-27 Anton Blanchard <anton@samba.org>
55479
55480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55481 MAP_HUGETLB.
55482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55485
55486 2012-03-27 David S. Miller <davem@davemloft.net>
55487
55488 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55489
55490 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55491 have-as-vis3 check.
55492
55493 2012-03-27 Andreas Jaeger <aj@suse.de>
55494
55495 * sysdeps/x86_64/elf/configure.in: Moved to ...
55496 * sysdeps/x86_64/configure.in: ... here.
55497 * sysdeps/x86_64/elf/start.S: Moved to ...
55498 * sysdeps/x86_64/start.S: ... here.
55499 * sysdeps/x86_64/elf/configure: Delete.
55500
55501 * sysdeps/x86_64/configure.in: Merge contents from
55502 sysdeps/i386/configure.in (without i686 check).
55503
55504 * sysdeps/i386/elf/Versions: Merge into ...
55505 * sysdeps/i386/Versions: ... this.
55506 * sysdeps/i386/elf/Versions: Delete file.
55507 * sysdeps/i386/elf/start.S: Moved to ...
55508 * sysdeps/i386/start.S: ...here.
55509 * sysdeps/i386/elf/configure.in: Merge into...
55510 * sysdeps/i386/configure.in: ...here.
55511 * sysdeps/i386/elf/configure.in: Delete file.
55512 * sysdeps/i386/elf/configure: Delete file.
55513
55514 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55515 * debug/backtracesyms.c: ... here.
55516 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55517 * debug/backtracesymsfd.c: ... here.
55518 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55519 * sysdeps/generic/ifunc-sel.h: ... here.
55520
55521 * sysdeps/unix/i386/start.c: Delete file.
55522 * sysdeps/unix/sparc/start.c: Delete file.
55523 * sysdeps/unix/start.c: Delete file.
55524
55525 * sysdeps/sh/elf/configure.in: Moved to ...
55526 * sysdeps/sh/configure.in: ... here.
55527 * sysdeps/sh/elf/start.S: Moved to ...
55528 * sysdeps/sh/start.S: ... here.
55529 * sysdeps/sh/elf/configure: Delete file.
55530
55531 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55532 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55533 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55534 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55535 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55536 * sysdeps/powerpc/powerpc64/start.S: here.
55537 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55538 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55539 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55540 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55541 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55542
55543 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55544 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55545 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55546 * sysdeps/powerpc/powerpc32/start.S: ... here.
55547 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55548 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55549 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55550
55551 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55552 * sysdeps/powerpc/ifunc-sel.h: ... here.
55553 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55554 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55555
55556 * sysdeps/sparc/elf/configure.in: Moved to ...
55557 * sysdeps/sparc/configure.in: ... here.
55558 * sysdeps/sparc/elf/configure: Delete file.
55559 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55560 * sysdeps/sparc/sparc32/start.S: ... here.
55561 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55562 * sysdeps/sparc/sparc64/start.S: ... here.
55563 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55564 * sysdeps/sparc/sparc32/Makefile: ... this.
55565 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55566 * sysdeps/sparc/sparc64/Makefile: ... this.
55567
55568 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55569 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55570 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55571 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55572 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55573 * sysdeps/s390/s390-32/setjmp.S: ... here.
55574 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55575 * sysdeps/s390/s390-32/configure.in: ... here.
55576 * sysdeps/s390/s390-32/elf/configure: Delete file.
55577 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55578 * sysdeps/s390/s390-32/start.S: ... here.
55579
55580 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55581 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55582 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55583 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55584 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55585 * sysdeps/s390/s390-64/setjmp.S: ... here.
55586 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55587 * sysdeps/s390/s390-64/configure.in: ... here
55588 * sysdeps/s390/s390-64/elf/configure: Delete file.
55589 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55590 * sysdeps/s390/s390-64/start.S: ... here.
55591 * sysdeps/s390/s390-64/elf/configure: Delete.
55592
55593 * configure.in: Remove support for elf directories in sysdeps.
55594
55595 * configure: Regenerated.
55596 * sysdeps/i386/configure: Regenerated.
55597 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55598 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55599 * sysdeps/s390/s390-32/configure: Regenerated.
55600 * sysdeps/s390/s390-64/configure: Regenerated.
55601 * sysdeps/sh/configure: Regenerated.
55602 * sysdeps/sparc/configure: Regenerated.
55603 * sysdeps/x86_64/configure: Regenerated.
55604
55605 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55606
55607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55608
55609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55610 denormal result into account.
55611
55612 2012-03-25 Roland McGrath <roland@hack.frob.com>
55613
55614 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55615 Reported by Allan McRae <allan@archlinux.org>.
55616
55617 2012-03-23 Jeff Law <law@redhat.com>
55618
55619 * nss/getnssent.c (__nss_getent): Fix typo.
55620
55621 2012-03-23 David S. Miller <davem@davemloft.net>
55622
55623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55624
55625 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55626
55627 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55628 to pad to uint64_t for each field.
55629 (dl_tls_index): Replace unsigned long with uint64_t.
55630
55631 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55632 Paul Pluzhnikov <ppluzhnikov@google.com>
55633
55634 [BZ #6528]
55635 * grp/Makefile (otherlibs): Don't set it.
55636 * inet/Makefile (otherlibs): Likewise.
55637 * login/Makefile (otherlibs): Likewise.
55638 * nscd/Makefile (otherlibs): Likewise.
55639 * posix/Makefile (otherlibs): Likewise.
55640 * pwd/Makefile (otherlibs): Likewise.
55641 * rt/Makefile (otherlibs): Likewise.
55642 * sunrpc/Makefile (otherlibs): Likewise.
55643 * nss/Makefile (otherlibs): Likewise.
55644 Add libnss_files to routines and static-only-routines.
55645 ($(objpfx)getent): Remove rule.
55646 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55647 static-only-routines.
55648
55649 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55650
55651 [BZ #13892]
55652 * math/s_cexp.c: Include <float.h>.
55653 (__cexp): Handle exp result overflowing not necessarily
55654 overflowing both real and imaginary parts of result.
55655 * math/s_cexpf.c: Likewise.
55656 * math/s_cexpl.c: Likewise.
55657 * math/libm-test.inc (cexp_test): Add more tests.
55658 * sysdeps/i386/fpu/libm-test-ulps: Update.
55659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55660
55661 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55662
55663 * include/link.h (ELFW): New macro.
55664 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55665 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55666
55667 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55668
55669 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55670 with uint64_t.
55671
55672 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55673
55674 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55675 declaration.
55676 (struct La_x32_retval): Likewise.
55677
55678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55679
55680 * sysdeps/x86_64/preconfigure.in: New file.
55681 * sysdeps/x86_64/preconfigure: New generated file.
55682
55683 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55684
55685 [BZ #13824]
55686 * math/e_exp2l.c: Include <float.h>.
55687 (__ieee754_exp2l): Handle overflow and underflow cases
55688 separately. Only pass fractional part of argument to
55689 __ieee754_expl.
55690 * math/libm-test.inc (exp2_test): Add more tests.
55691
55692 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55693 negating x to take absolute value.
55694 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55695 Likewise.
55696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55698 Likewise.
55699 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55700 computing low part if x was negated.
55701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55702
55703 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55704
55705 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55706 la_x32_gnu_pltexit.
55707 (pltexit): Cast int_retval to ptrdiff_t.
55708 * elf/tst-auditmod3b.c: Likewise.
55709 * elf/tst-auditmod4b.c: Likewise.
55710 * elf/tst-auditmod5b.c: Likewise.
55711 * elf/tst-auditmod6b.c: Likewise.
55712 * elf/tst-auditmod6c.c: Likewise.
55713 * elf/tst-auditmod7b.c: Likewise.
55714
55715 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55716 and x32_gnu_pltexit.
55717
55718 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55719 __ELF_NATIVE_CLASS.
55720 (La_x32_regs): New macro.
55721 (La_x32_retval): Likewise.
55722 (la_x32_gnu_pltenter): New function prototype.
55723 (la_x32_gnu_pltexit): Likewise.
55724
55725 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55726
55727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55728 exponent.
55729
55730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55731
55732 * configure.in (libc_cv_cc_nofma): Check for option to disable
55733 generation of FMA instructions.
55734 * configure: Regenerate.
55735 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55736 * sysdeps/ieee754/dbl-64/Makefile: New file.
55737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55738 Remove brandred-fma4.
55739 (CFLAGS-brandred-fma4.c): Remove.
55740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55741 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55742 define.
55743 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55744 define.
55745
55746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55747
55748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55749 LLONG_MAX != LONG_MAX.
55750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55751 (_fitoa_word): Likewise.
55752 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55753 LLONG_MAX != LONG_MAX.
55754 * stdio-common/_itowa.h: Include <_itoa.h>.
55755 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55756 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55757 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55758 only if not defined.
55759 (_ITOA_WORD_TYPE): Likewise.
55760 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55761 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55762
55763 2012-03-21 David S. Miller <davem@davemloft.net>
55764
55765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55766
55767 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55768
55769 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55770 of x86_64 when setting libc_cv_slibdir, libdir and
55771 libc_cv_localedir.
55772 * sysdeps/unix/sysv/linux/configure: Regenerated.
55773
55774 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55775
55776 * manual/lang.texi (Old Varargs): Remove section.
55777 (How Variadic): Update menu.
55778 (va_start): Do not mention varargs.h.
55779
55780 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55781 Joseph Myers <joseph@codesourcery.com>
55782
55783 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55784 link test.
55785 * configure: Regenerated.
55786
55787 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55788
55789 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55790 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55791 conformtest.pl
55792
55793 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55794
55795 * NOTES: Remove.
55796 * Makefile (files-for-dist): Remove NOTES.
55797 (NOTES): Remove rule.
55798 * README: Don't refer to NOTES.
55799 * manual/creature.texi: Don't include macros.texi.
55800 * manual/intro.texi (creature.texi): Remove comment referring to
55801 NOTES.
55802
55803 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55804 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55805 * configure: Regenerated.
55806 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55807 LIBC_TRY_CC_OPTION.
55808 (libc_cv_as_i686): Likewise.
55809 (libc_cv_cc_avx): Likewise.
55810 (libc_cv_cc_sse2avx): Likewise.
55811 (libc_cv_cc_fma4): Likewise.
55812 (libc_cv_cc_novzeroupper): Likewise.
55813 * sysdeps/i386/configure: Regenerated.
55814
55815 [BZ #13883]
55816 * sysdeps/i386/fpu/s_cexp.S: Remove.
55817 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55818 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55819 * math/libm-test.inc (cexp_test): Add more tests.
55820 * sysdeps/i386/fpu/libm-test-ulps: Update.
55821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55822
55823 2012-03-21 Allan McRae <allan@archlinux.org>
55824
55825 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55826
55827 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55828
55829 [BZ #13871]
55830 * math/w_exp2.c: Do not include <float.h>.
55831 (o_threshold, u_threshold): Remove.
55832 (__exp2): Calculate result before checking finiteness and calling
55833 __kernel_standard.
55834 * math/w_exp2f.c: Likewise.
55835 * math/w_exp2l.c: Likewise.
55836 * math/libm-test.inc (exp2_test): Require overflow exception for
55837 1e6 input.
55838
55839 [BZ #3866]
55840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55841 range of signed 64-bit integers before using fistpll. Remove
55842 checks for whether integers fit in mantissa bits.
55843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55844 the range of signed 32-bit integers before using fistpl. Remove
55845 checks for whether integers fit in mantissa bits.
55846 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55847 (__ieee754_powl): Test for y outside the range of signed 64-bit
55848 integers before using fistpll. Reduce 64-bit values to 63-bit
55849 ones as needed.
55850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55851 divide-by-zero is raised for zero to large negative powers.
55852 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55853 (__ieee754_powl): Test for y outside the range of signed 64-bit
55854 integers before using fistpll. Reduce 64-bit values to 63-bit
55855 ones as needed.
55856 * math/libm-test.inc (pow_test): Add more tests.
55857
55858 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55859
55860 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55861 <stdio-common/_itoa.h>.
55862 * debug/segfault.c: Likewise.
55863 * elf/dl-cache.c: Likewise.
55864 * elf/dl-minimal.c: Likewise.
55865 * elf/dl-misc.c: Likewise.
55866 * elf/dl-sysdep.c: Likewise.
55867 * elf/dl-version.c: Likewise.
55868 * elf/rtld.c: Likewise.
55869 * hurd/hurdsock.c: Likewise.
55870 * hurd/lookup-retry.c: Likewise.
55871 * malloc/malloc.c: Likewise.
55872 * malloc/mtrace.c: Likewise.
55873 * nscd/nscd_getgr_r.c: Likewise.
55874 * nscd/nscd_getpw_r.c: Likewise.
55875 * nscd/nscd_getserv_r.c: Likewise.
55876 * posix/getopt_init.c: Likewise.
55877 * posix/wordexp.c: Likewise.
55878 * stdio-common/_itoa.c: Likewise.
55879 * stdio-common/printf_fphex.c: Likewise.
55880 * stdio-common/vfprintf.c: Likewise.
55881 * string/_strerror.c: Likewise.
55882 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55883 * sysdeps/i386/i686/hp-timing.h: Likewise.
55884 * sysdeps/mach/_strerror.c: Likewise.
55885 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55886 * sysdeps/mach/hurd/sethostid.c: Likewise.
55887 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55888 * sysdeps/mach/xpg-strerror.c: Likewise.
55889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55891 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55892 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55894 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55895 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55896 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55897 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55898 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55899 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55900 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55901 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55902 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55903 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55904 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55905 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55906 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55907 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55908 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55909 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55910
55911 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55912
55913 * stdio-common/_itoa.h: Moved to ...
55914 * sysdeps/generic/_itoa.h: Here.
55915
55916 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55917
55918 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55919 instead of "_itoa.h" and "_itowa.h".
55920 * stdio-common/vfprintf.: Likewise.
55921
55922 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55923
55924 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55925 <bits/wordsize.h>.
55926 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55927 (__signbit): Likwise.
55928 (llrintf): Likwise.
55929 (llrint): Likwise.
55930
55931 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55932
55933 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55934 __WORDSIZE != 64.
55935
55936 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55937
55938 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55939 OVERFLOW_EXCEPTION_OK.
55940 * math/libm-test.inc ("Philosophy"): Update comment about
55941 exception testing.
55942 (OVERFLOW_EXCEPTION): Define.
55943 (OVERFLOW_EXCEPTION_OK): Likewise.
55944 (INVALID_EXCEPTION_OK): Renumber.
55945 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55946 (IGNORE_ZERO_INF_SIGN): Likewise.
55947 (test_exceptions): Handle FE_OVERFLOW.
55948 (exp10_test): Expect overflow exceptions.
55949 (exp2_test): Likewise.
55950 (expm1_test): Likewise.
55951 (nextafter_test): Likewise.
55952 (pow_test): Likewise.
55953 (scalbn_test): Likewise.
55954 (scalbln_test): Likewise.
55955
55956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55957
55958 * sysdeps/x86_64/bits/atomic.h
55959 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55960 64bit integer.
55961 (atomic_exchange_acq): Likewise.
55962 (__arch_exchange_and_add_body): Likewise.
55963 (__arch_add_body): Likewise.
55964 (atomic_add_negative): Likewise.
55965 (atomic_add_zero): Likewise.
55966
55967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55968
55969 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55970 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55971
55972 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55973
55974 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55975 Check __x86_64__ instead of __WORDSIZE.
55976
55977 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55978
55979 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55980
55981 2012-03-19 David S. Miller <davem@davemloft.net>
55982
55983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55984
55985 * sysdeps/sparc/fpu/fenv_private.h: New file.
55986 * sysdeps/sparc/fpu/math_private.h: Use it.
55987 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55988 Remove.
55989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55990 (libc_feholdexcept_setroundl): Remove.
55991 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55992 Remove.
55993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55995
55996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55997
55998 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55999 int64_t instead of long int.
56000 (INSERT_WORDS64): Likwise.
56001
56002 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56003
56004 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56005 _Unwind_GetCFA return to _Unwind_Ptr first.
56006
56007 2012-03-19 Joseph Myers <joseph@codesourcery.com>
56008
56009 [BZ #13629]
56010 * math/s_clog.c: Include <float.h>.
56011 (__clog): Scale large or subnormal inputs.
56012 * math/s_clogf.c: Likewise.
56013 * math/s_clogl.c: Likewise.
56014 * math/s_clog10.c: Include <float.h>.
56015 (M_LOG10_2): Define.
56016 (__clog10): Scale large or subnormal inputs.
56017 * math/s_clog10f.c: Likewise.
56018 * math/s_clog10l.c: Likewise.
56019 * math/libm-test.inc (clog_test): Add more tests.
56020 (clog10_test): Likewise.
56021 * sysdeps/i386/fpu/libm-test-ulps: Update.
56022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56023
56024 [BZ #11451]
56025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56026 x and y.
56027 * math/libm-test.inc (atan2_test): Add another test.
56028
56029 * Makerules (common-objdir-compile): Remove.
56030 * sysdeps/unix/Makefile (config-generated): Do not add
56031 $(unix-generated) to variable.
56032 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56033 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56034 Remove rule.
56035 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56036 Likewise.
56037 [generic bits/local_lim.h] (before-compile): Do not append to
56038 variable.
56039 [generic bits/local_lim.h] (common-generated): Likewise.
56040 [generic sys/param.h] (before-compile): Do not append to variable.
56041 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56042 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56043 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56044 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56045 include.
56046 [generic sys/param.h] (sys/param.h-includes): Remove variable.
56047 [generic sys/param.h] (sys/param.h-includes): Remove rule.
56048 [generic sys/param.h] ($(addprefix
56049 $(common-objpfx),$(sys/param.h-includes))): Likewise.
56050 [generic sys/param.h] (common-generated): Do not append to
56051 variable.
56052 [generic sys/param.h] (sysdep_headers): Likewise.
56053 [generic bits/errno.h] (before-compile): Do not append to
56054 variable.
56055 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56056 rule.
56057 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56058 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56059 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56060 [generic bits/errno.h] (common-generated): Do not append to
56061 variable.
56062 [generic bits/ioctls.h] (before-compile): Do not append to
56063 variable.
56064 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56065 rule.
56066 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56067 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56068 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56069 rule.
56070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56071 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56072 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56073 [generic bits/ioctls.h] (common-generated): Do not append to
56074 variable.
56075 [generic sys/syscall.h] (syscall.h): Remove variable.
56076 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56077 rule.
56078 [generic sys/syscall.h] (before-compile): Do not append to
56079 variable.
56080 [generic sys/syscall.h] (common-generated): Likewise.
56081 * sysdeps/unix/errnos-tmpl.c: Remove file.
56082 * sysdeps/unix/errnos.awk: Likewise.
56083 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56084 * sysdeps/unix/ioctls.awk: Likewise.
56085 * sysdeps/unix/mk-local_lim.c: Likewise.
56086 * sysdeps/unix/snarf-ioctls: Likewise.
56087
56088 2012-03-19 Richard Henderson <rth@twiddle.net>
56089
56090 * sysdeps/i386/fpu/fenv_private.h: New file.
56091 * sysdeps/i386/fpu/math_private.h: Use it.
56092 (math_opt_barrier, math_force_eval): Remove.
56093 (libc_feholdexcept_setround_53bit): Remove.
56094 (libc_feupdateenv_53bit): Remove.
56095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56096 (math_opt_barrier, math_force_eval): Remove.
56097 (libc_feholdexcept): Remove.
56098 (libc_feholdexcept_setround): Remove.
56099 (libc_fetestexcept, libc_fesetenv): Remove.
56100 (libc_feupdateenv_test): Remove.
56101 (libc_feupdateenv, libc_feholdsetround): Remove.
56102 (libc_feresetround): Remove.
56103
56104 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56105 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56106
56107 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56108 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56109 (libc_feupdateenv_testl): New.
56110 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56111 (libc_feupdateenv_testf): New.
56112 (libc_feupdateenv): Use libc_feupdateenv_test.
56113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56115
56116 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56117 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56118 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56119 (libc_feresetround_noex): New.
56120 (libc_feresetround_noexf): New.
56121 (libc_feresetround_noexl): New.
56122 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56123 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56124 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56125 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56126 SET_RESTORE_ROUND.
56127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56129 (__cos): Likewise.
56130 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56131 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56132 SET_RESTORE_ROUND_NOEX.
56133 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56134 SET_RESTORE_ROUND_NOEXF.
56135 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56136 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56137 (libc_feholdsetroundf): New.
56138 (libc_feresetround, libc_feresetroundf): New.
56139
56140 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56141 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56142 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56143
56144 * sysdeps/generic/math_private.h: Include <fenv.h>.
56145 (default_libc_feholdexcept): New.
56146 (default_libc_feholdexcept_setround): New.
56147 (default_libc_fesetenv, default_libc_feupdateenv): New.
56148 (libc_feholdexcept): Only define if undefined.
56149 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56150 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56151 (libc_feholdexcept_setroundl): Likewise.
56152 (libc_feholdexcept_setround_53bit): Likewise.
56153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56154 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56155 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56156 (libc_feupdateenv_53bit): Likewise.
56157 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56158 (libc_feholdexcept): Convert from macro to inline function.
56159 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56160 (libc_fesetenv, libc_feupdateenv): Likewise.
56161
56162 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56163 not previously defined.
56164 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56165 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56166 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56167 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56168 * sysdeps/ieee754/flt-32/math_private.h: New file.
56169 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56170 math_private.h below SET_FLOAT_WORD.
56171 (__isnan, __isinf_ns, __finite): Remove.
56172 (__isnanf, __isinf_nsf, __finitef): Remove.
56173
56174 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56175
56176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56177
56178 2012-03-17 David S. Miller <davem@davemloft.net>
56179
56180 [BZ #6471]
56181 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56182 for 2.16.
56183
56184 2012-03-16 David S. Miller <davem@davemloft.net>
56185
56186 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56187 warnings.
56188
56189 [BZ #6471]
56190 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56191 properly.
56192 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56193 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56194 sysdep_routines when subdir is sysvipc.
56195 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56196 __getshmlba helper.
56197
56198 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56199
56200 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56201
56202 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56203 [__LP64__].
56204
56205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56206
56207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56208 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56209 (__lround): Renamed to ...
56210 (__llround): This. Replace long int with long long int.
56211 Define lround functions as aliases of llround functions.
56212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56213
56214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56215
56216 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56217 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56218 adresses to uintptr_t. Replace "long int" and "unsigned long
56219 int" with "greg_t" on va_arg.
56220
56221 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56222
56223 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56224 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56225
56226 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56227 Move e_machine check before EI_CLASS check. Handle x32
56228 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56229 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56230 SKIP_EM_IA_64 and include
56231 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56232
56233 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56234 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56235 (add_system_dir): New macro.
56236
56237 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56238 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56239
56240 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56241
56242 [BZ #2551]
56243 [BZ #2552]
56244 [BZ #2553]
56245 [BZ #2554]
56246 [BZ #2562]
56247 [BZ #2563]
56248 [BZ #2565]
56249 [BZ #2566]
56250 [BZ #2576]
56251 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56252 (y0): Likewise.
56253 * math/w_j0f.c (j0f): Likewise.
56254 (y0f): Likewise.
56255 * math/w_j0l.c (__j0l): Likewise.
56256 (__y0l): Likewise.
56257 * math/w_j1.c (j1): Likewise.
56258 (y1): Likewise.
56259 * math/w_j1f.c (j1f): Likewise.
56260 (y1f): Likewise.
56261 * math/w_j1l.c (__j1l): Likewise.
56262 (__y1l): Likewise.
56263 * math/w_jn.c (jn): Likewise.
56264 (yn): Likewise.
56265 * math/w_jnf.c (jnf): Likewise.
56266 (ynf): Likewise.
56267 * math/w_jnl.c (__jnl): Likewise.
56268 (__ynl): Likewise.
56269 * math/libm-test.inc (j0_test): Add more tests.
56270 (j1_test): Likewise.
56271 (jn_test): Likewise. Add trailing semicolon to existing test.
56272 (y0_test): Likewise.
56273 (y1_test): Likewise.
56274 * sysdeps/i386/fpu/libm-test-ulps: Update.
56275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56276
56277 [BZ #13851]
56278 [BZ #13854]
56279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56280 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56281 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56283 (__tanl): Set errno for infinite argument.
56284 * sysdeps/i386/fpu/mptan.c: Remove.
56285 * sysdeps/i386/fpu/s_tan.S: Likewise.
56286 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56287 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56288 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56289 * math/libm-test.inc (tan_test): Add more tests and enable more
56290 tests for double and long double.
56291 * sysdeps/i386/fpu/libm-test-ulps: Update.
56292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56293
56294 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56295
56296 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56297 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56298
56299 2012-03-16 Roland McGrath <roland@hack.frob.com>
56300
56301 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56302 * configure.in: Use it for both main tree and add-ons.
56303 * configure: Regenerated.
56304
56305 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56306
56307 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56308
56309 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56310
56311 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56312 in comment.
56313
56314 [BZ #13851]
56315 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56316 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56317 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56318 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56319 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56320 infinite argument.
56321 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56323 != 0 for prec == 2.
56324 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56325 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56326 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56327 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56328 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56329 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56330 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56331 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56332 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56333 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56334 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56335 * math/libm-test.inc (cos_test): Add more tests and enable more
56336 tests for long double.
56337 (sin_test): Likewise.
56338 (sincos_test): Likewise.
56339 * sysdeps/i386/fpu/libm-test-ulps: Update.
56340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56341
56342 2012-03-16 David S. Miller <davem@davemloft.net>
56343
56344 * sysdeps/sparc/fpu/math_private.h: New file.
56345
56346 2012-03-15 David S. Miller <davem@davemloft.net>
56347
56348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56349 file.
56350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56352 file.
56353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56359 sysdep routines.
56360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56361
56362 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56363 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56364
56365 * sysdeps/sparc/sparc-ifunc.h: New file.
56366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56367 sparc-ifunc.h
56368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56370 Likewise.
56371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56372 Likewise.
56373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56377 Likewise.
56378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56383 Likewise.
56384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56385 Likewise.
56386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56410
56411 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56412
56413 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56414 scaling.
56415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56416
56417 2012-03-15 Andreas Jaeger <aj@suse.de>
56418
56419 [BZ #13852]
56420 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56421 ieee754/flt-32 implementation for sin, cos and sincos.
56422 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56423 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56424 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56425 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56426 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56427 ieee754/flt-32 implementation for tan.
56428
56429 * math/libm-test.inc (cos_test): Enable some large input tests for
56430 float as well
56431 (sin_test): Likewise.
56432 (sincos_test): Likewise.
56433 (tan_test): Add tests for large input.
56434
56435 * sysdeps/i386/fpu/libm-test-ulps: Update.
56436
56437 2012-03-15 Andreas Jaeger <aj@suse.de>
56438
56439 [BZ #13658]
56440 * math/libm-test.inc (cos_test): Add more test cases.
56441 (sin_test): Likewise.
56442 (sincos_test): Likewise.
56443
56444 2012-03-15 Andreas Jaeger <aj@suse.de>
56445
56446 [BZ #13837]
56447 * math/libm-test.inc (cos_test): Add a test case for large input
56448 value.
56449 (sin_test): Likewise.
56450 (sincos_test): Likewise.
56451
56452 2012-03-15 Andreas Jaeger <aj@suse.de>
56453 Joseph Myers <joseph@codesourcery.com>
56454
56455 [BZ #13658]
56456 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56457 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56458 * sysdeps/i386/fpu/branred.c: Likewise.
56459 * sysdeps/i386/fpu/dosincos.c: Likewise.
56460 * sysdeps/i386/fpu/mpa.c: Likewise.
56461 * sysdeps/i386/fpu/s_cos.S: Likewise.
56462 * sysdeps/i386/fpu/s_sin.S: Likewise.
56463 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56464 * sysdeps/i386/fpu/sincos32.c: Likewise.
56465
56466 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56467 Define.
56468 (libc_feupdateenv_53bit): Define.
56469 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56470 Define.
56471 (libc_feupdateenv_53bit): Define.
56472
56473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56474 53 bit (without extend i386 double precision).
56475
56476 * math/libm-test.inc (sincos_test): Add tests for large input.
56477 (sin): Likewise.
56478 (cos): Likewise.
56479
56480 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56481
56482 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56483
56484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56485
56486 2012-03-15 David S. Miller <davem@davemloft.net>
56487
56488 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56489 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56490 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56491 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56504 file.
56505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56507 file.
56508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56510 file.
56511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56513 file.
56514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56516 fmin/fmax sysdep routines.
56517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56518
56519 2012-03-14 David S. Miller <davem@davemloft.net>
56520
56521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56550 routines.
56551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56552 file.
56553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56555 file.
56556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56558 file.
56559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56561 file.
56562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56564 file.
56565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56567 file.
56568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56569 file.
56570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56571 file.
56572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56573 file.
56574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56575 New file.
56576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56577 file.
56578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56579 file.
56580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56582 file.
56583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56585 file.
56586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56588 file.
56589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56591 VIS3 routines.
56592
56593 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56594 New file.
56595
56596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56597
56598 * sysdeps/sparc/configure.in: New file.
56599 * sysdeps/sparc/configure: Generate.
56600 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56601 * configure: Regenerate.
56602 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56603 * config.make.in (have-as-vis3): New.
56604 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56605 available use -Av9d instead of -Av9a.
56606 * sysdeps/sparc/sparc64/Makefile: Likewise.
56607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56609 New file.
56610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56611 file.
56612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56613 New file.
56614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56615 file.
56616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56621
56622 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56623 fzeros/fnegs to load 0x80000000 into a float register instead of
56624 using the stack.
56625 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56626
56627 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56628
56629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56630 bits/syscall.h.
56631 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56632 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56633 ($(inst_includedir)/bits/syscall.h): Remove rule.
56634 ($(objpfx)bits/syscall.d): Include instead of
56635 $(objpfx)syscall-list.d.
56636 (generated): Change syscall-list.h and syscall-list.d to
56637 bits/syscall.h and bits/syscall.d.
56638
56639 2012-03-14 Roland McGrath <roland@hack.frob.com>
56640
56641 [BZ #13846]
56642 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56643
56644 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56645
56646 [BZ #13841]
56647 * math/s_csqrt.c: Include <float.h>.
56648 (__csqrt): Scale large or subnormal inputs.
56649 * math/s_csqrtf.c: Likewise.
56650 * math/s_csqrtl.c: Likewise.
56651 * math/libm-test.inc (csqrt_test): Add more tests.
56652 * sysdeps/i386/fpu/libm-test-ulps: Update.
56653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56654
56655 [BZ #13840]
56656 * math/libm-test.inc (hypot_test): Add more tests.
56657
56658 2012-03-13 David S. Miller <davem@davemloft.net>
56659
56660 [BZ #13840]
56661 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56662 double-precision for the calculation instead of scaling.
56663
56664 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56665
56666 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56667 manipulate bits before adding and subtracting TWO52[sx].
56668 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56670 Likewise.
56671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56672
56673 2012-03-13 David S. Miller <davem@davemloft.net>
56674
56675 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56676 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56678 rtld-global-offsets.h
56679 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56680
56681 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56682 large parameters.
56683
56684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56685
56686 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56687 'err' in the ifdef scope in which it is actually used.
56688
56689 * nss/nss_db/db-init.c: Include string.h
56690
56691 2012-03-12 David S. Miller <davem@davemloft.net>
56692
56693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56694 masking out of the most significant byte of random value used.
56695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56696 Fix coding style in previous change.
56697
56698 * sysdeps/unix/sysv/linux/kernel-features.h
56699 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56700 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56701 expression.
56702 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56703 later.
56704
56705 2012-03-11 David S. Miller <davem@davemloft.net>
56706
56707 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56708 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56710 for 'resultvar' otherwise things get truncated on 64-bit.
56711
56712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56713 Fix masking out of the most significant byte of random value used.
56714
56715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56716
56717 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56718
56719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56720
56721 2012-03-09 David S. Miller <davem@davemloft.net>
56722
56723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56724 variables with appropriate CPP guards.
56725 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56726 from the frame pointer, not the stack pointer. Correct layout
56727 comments. Fix test on resulting framesize and the management of
56728 the outregs buffer for pltexit. Preserve floating point return
56729 values across _dl_call_pltexit call.
56730 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56731 framesize and the management of the outregs buffer for pltexit.
56732 Preserve floating point return values across _dl_call_pltexit
56733 call.
56734 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56735 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56736 (la_sparc64_gnu_pltexit): New functions.
56737 (print_exit): Fix format string for return register value.
56738
56739 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56740
56741 * sunrpc/Makefile (others): Add rpcgen.
56742 ($(objpfx)rpcgen): Remove special build rule and dependency on
56743 libc.
56744 * sunrpc/rpcgen.c: New file.
56745
56746 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56747
56748 [BZ #13673]
56749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56751 * sysdeps/i386/crti.S: Likewise.
56752 * sysdeps/i386/crtn.S: Likewise.
56753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56757 * sysdeps/sh/crti.S: Likewise.
56758 * sysdeps/sh/crtn.S: Likewise.
56759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56760
56761 [BZ #13673]
56762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56763 with URL.
56764 * locale/programs/locfile-kw.gperf: Likewise.
56765 * locale/programs/charmap-kw.h: Regenerated.
56766 * locale/programs/locfile-kw.h: Likewise.
56767
56768 [BZ #13673]
56769 * intl/plural.y: Replace FSF snail mail address with URL.
56770 * intl/plural.c: Regenerated.
56771
56772 2012-03-09 Richard Henderson <rth@twiddle.net>
56773
56774 * include/math_private.h: Remove file.
56775 * math/math_private.h: Move file ...
56776 * sysdeps/generic/math_private.h: ... here.
56777
56778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56781
56782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56783 and <math_private.h>.
56784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56933 * sysdeps/ieee754/k_standard.c: Likewise.
56934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57094 * sysdeps/ieee754/s_lib_version.c: Likewise.
57095 * sysdeps/ieee754/s_matherr.c: Likewise.
57096 * sysdeps/ieee754/s_signgam.c: Likewise.
57097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57118
57119 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57120
57121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57122 * sunrpc/rpc_main.c: Likewise.
57123 * sunrpc/rpc_svcout.c: Likewise.
57124
57125 2012-03-09 David S. Miller <davem@davemloft.net>
57126
57127 * include/math_private.h: New file.
57128
57129 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57130
57131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57134 from <bits/socket_type.h>.
57135 (enum __socket_type): Don't define here.
57136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57138 bits/socket_type.h.
57139
57140 [BZ #13566]
57141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57142 checking __USE_GNU.
57143
57144 * Makerules ($(inst_includedir)/%.h): New rule.
57145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57146 (install-others): Remove variable setting.
57147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57148
57149 2012-03-08 Richard Henderson <rth@twiddle.net>
57150
57151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57152 from macro to inline function; merge with the
57153 !__LIBC_INTERNAL_MATH_INLINES version.
57154 (__ieee754_sqrtf): Likewise.
57155
57156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57157 to inline function.
57158 (__rintf, __floor, __floorf): Likewise.
57159
57160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57161 macro to inline function.
57162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57163
57164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57165 not <math/math_private.h>.
57166
57167 2012-03-08 David S. Miller <davem@davemloft.net>
57168
57169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57170 copyright year.
57171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57172
57173 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57174
57175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57176 normalization.
57177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57179
57180 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57181
57182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57183 be defined individually, they must be defined as a block. Define
57184 S for printing a string instead of hidint the different by using a
57185 macro for adding the 'l'.
57186 * stdio-common/tst-fphex-wide.c: Adjust.
57187
57188 2012-03-07 Marek Polacek <polacek@redhat.com>
57189
57190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57191
57192 2012-03-08 Marek Polacek <polacek@redhat.com>
57193
57194 [BZ #13806]
57195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57196 * stdio-common/tst-fphex.c: Define a few macros to make the
57197 test reusable. Use them.
57198 * stdio-common/tst-fphex-wide.c: New file.
57199
57200 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57201
57202 [BZ #6911]
57203 * manual/macros.texi (gnusystems): New macro.
57204 (nongnusystems): Likewise.
57205 (gnulinuxhurdsystems): Likewise.
57206 (gnuhurdsystems): Likewise..
57207 (gnulinuxsystems): Likewise.
57208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57209 variants of the GNU system, not "GNU system".
57210 * manual/conf.texi: Likewise.
57211 * manual/errno.texi: Likewise. Update example of errno macro
57212 expansion.
57213 * manual/filesys.texi: Likewise.
57214 (getumask): Document as specific to GNU/Hurd.
57215 * manual/install.texi: Likewise. Reword some references to
57216 GNU/Linux.
57217 * manual/intro.texi: Likewise.
57218 * manual/io.texi: Likewise.
57219 (File Name Portability): Detail which constraints are inapplicable
57220 to all GNU systems and which are only inapplicable to GNU/Hurd.
57221 * manual/job.texi: Likewise.
57222 * manual/llio.texi: Likewise.
57223 (O_NOCTTY): Document as present on GNU/Linux.
57224 * manual/maint.texi: Likewise.
57225 * manual/memory.texi: Likewise.
57226 * manual/pattern.texi: Likewise.
57227 * manual/pipe.texi: Likewise.
57228 * manual/process.texi: Likewise.
57229 * manual/resource.texi: Likewise.
57230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57231 child on GNU/Hurd.
57232 * manual/setjmp.texi: Likewise.
57233 * manual/signal.texi: Likewise.
57234 * manual/startup.texi: Likewise.
57235 * manual/stdio.texi: Likewise.
57236 * manual/terminal.texi: Likewise.
57237 (ONLCR): Document as POSIX.
57238 (OXTABS): Document availability on GNU/Linux as XTABS.
57239 (ONOEOT): Document availability separately from other bits.
57240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57241 * manual/time.texi: Likewise.
57242 * manual/users.texi: Likewise.
57243 * INSTALL: Regenerated.
57244 * sysdeps/gnu/errlist.c: Regenerated.
57245
57246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57249 puts.
57250 * configure: Regenerated.
57251
57252 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57253
57254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57255 default includes instead of AC_HEADER_CHECK.
57256 * sysdeps/i386/configure: Regenerated.
57257
57258 [BZ #10716]
57259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57260 * math/s_cacoshf.c (__cacoshf): Likewise.
57261 * math/s_cacoshl.c (__cacoshl): Likewise.
57262 * math/s_casinh.c (__casinh): Set signs of result from argument.
57263 * math/s_casinhf.c (__casinhf): Likewise.
57264 * math/s_casinhl.c (__casinhl): Likewise.
57265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57266 (casinh_test): Add more tests.
57267 * sysdeps/i386/fpu/libm-test-ulps: Update.
57268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57269
57270 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57271
57272 * po/zh_TW.po: Update from translation team.
57273
57274 * login/Makefile (distribute): Remove variable.
57275 * catgets/Makefile: Likewise.
57276 * mach/Makefile: Likewise.
57277 * malloc/Makefile: Likewise.
57278 * misc/Makefile: Likewise.
57279 * iconv/Makefile: Likewise.
57280 * nscd/Makefile: Likewise.
57281 * hurd/Makefile: Likewise.
57282 * manual/Makefile: Likewise.
57283 * locale/Makefile: Likewise.
57284 * intl/Makefile: Likewise.
57285 * conform/Makefile: Likewise.
57286 * nss/Makefile: Likewise.
57287 * time/Makefile: Likewise.
57288 * soft-fp/Makefile: Likewise.
57289 * dirent/Makefile: Likewise.
57290 * gmon/Makefile: Likewise.
57291 * po/Makefile: Likewise.
57292 * rt/Makefile: Likewise.
57293 * socket/Makefile: Likewise.
57294 * math/Makefile: Likewise.
57295 * signal/Makefile: Likewise.
57296 * debug/Makefile: Likewise.
57297 * elf/Makefile: Likewise.
57298 * timezone/Makefile: Likewise.
57299 * stdlib/Makefile: Likewise.
57300 * iconvdata/Makefile: Likewise.
57301 * sunrpc/Makefile: Likewise.
57302 * io/Makefile: Likewise.
57303 * argp/Makefile: Likewise.
57304 * inet/Makefile: Likewise.
57305 * hesiod/Makefile: Likewise.
57306 * grp/Makefile: Likewise.
57307 * csu/Makefile: Likewise.
57308 * wctype/Makefile: Likewise.
57309 * crypt/Makefile: Likewise.
57310 * libio/Makefile: Likewise.
57311 * string/Makefile: Likewise.
57312 * nis/Makefile: Likewise.
57313 * resolv/Makefile: Likewise.
57314 * stdio-common/Makefile: Likewise.
57315 * wcsmbs/Makefile: Likewise.
57316 * dlfcn/Makefile: Likewise.
57317 * posix/Makefile: Likewise.
57318
57319 [BZ #6959]
57320 * timezone/Makefile: Don't install timezone files, just the programs
57321 and scripts.
57322
57323 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57324
57325 * nss/databases.def: Add missing gshadow entry.
57326
57327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57328
57329 2012-03-06 Marek Polacek <polacek@redhat.com>
57330
57331 [BZ #13726]
57332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57335 * stdio-common/tst-long-dbl-fphex.c: New file.
57336
57337 2012-03-06 David S. Miller <davem@davemloft.net>
57338
57339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57340 (set_obp_int): New function.
57341 (get_obp_int): New function.
57342 (__get_clockfreq_via_dev_openprom): Likewise.
57343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57344 Avoid unused variable warnings on 'val' and use builtin_expect.
57345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57346 __builtin_expect.
57347 (INLINE_CLONE_SYSCALL): Likewise.
57348
57349 2012-03-05 David S. Miller <davem@davemloft.net>
57350
57351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57352
57353 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57354
57355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57356
57357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57358 only for |x| >= 40.
57359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57360
57361 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57362
57363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57364 Replace gettimeofday with __vdso_gettimeofday.
57365
57366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57368 __vdso_clock_gettime and __vdso_getcpu.
57369
57370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57371 time with __vdso_time.
57372
57373 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57374
57375 * manual/lang.texi (size_t): Note types to which size_t may be
57376 equivalent with the GNU C Library, but do not describe when
57377 differences between them are significant.
57378
57379 2012-03-05 Andreas Jaeger <aj@suse.de>
57380
57381 * sysdeps/i386/fpu/libm-test-ulps: Update.
57382
57383 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57384
57385 [BZ #3976]
57386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57387 (__ieee754_pow): Save and restore rounding mode and use
57388 round-to-nearest for main computations.
57389 * math/libm-test.inc (pow_test_tonearest): New function.
57390 (pow_test_towardzero): Likewise.
57391 (pow_test_downward): Likewise.
57392 (pow_test_upward): Likewise.
57393 (main): Call the new functions.
57394 * sysdeps/i386/fpu/libm-test-ulps: Update.
57395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57396
57397 [BZ #3976]
57398 * math/libm-test.inc (cosh_test_tonearest): New function.
57399 (cosh_test_towardzero): Likewise.
57400 (cosh_test_downward): Likewise.
57401 (cosh_test_upward): Likewise.
57402 (sinh_test_tonearest): Likewise.
57403 (sinh_test_towardzero): Likewise.
57404 (sinh_test_downward): Likewise.
57405 (sinh_test_upward): Likewise.
57406 (main): Call the new functions.
57407 * sysdeps/i386/fpu/libm-test-ulps: Update.
57408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57409
57410 2012-03-05 Tom de Vries <tom@codesourcery.com>
57411
57412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57413 default stack guard is set in last bytes.
57414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57415
57416 2012-03-05 Kees Cook <keescook@chromium.org>
57417
57418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57419
57420 [BZ #13656]
57421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57422 possibly allocate from heap instead of stack.
57423 * stdio-common/bug-vfprintf-nargs.c: New file.
57424 * stdio-common/Makefile (tests): Add nargs overflow test.
57425
57426 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57427
57428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57429
57430 2012-03-03 Marek Polacek <polacek@redhat.com>
57431
57432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57433 * math/math_private.h: Likewise.
57434 * stdlib/tst-strtod.c: Likewise.
57435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57436 * sysdeps/x86_64/bits/atomic.h: Likewise.
57437
57438 2012-03-02 David S. Miller <davem@davemloft.net>
57439
57440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57448
57449 2012-03-02 Roland McGrath <roland@hack.frob.com>
57450
57451 [BZ #13792]
57452 * manual/examples/README: New file, says the example source files
57453 can be used under GPL>=2.
57454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57455 line containing just "*/".
57456 * manual/examples/add.c: Add copyright header (GPL>=2).
57457 * manual/examples/argp-ex1.c: Likewise.
57458 * manual/examples/argp-ex2.c: Likewise.
57459 * manual/examples/argp-ex3.c: Likewise.
57460 * manual/examples/argp-ex4.c: Likewise.
57461 * manual/examples/atexit.c: Likewise.
57462 * manual/examples/db.c: Likewise.
57463 * manual/examples/dir.c: Likewise.
57464 * manual/examples/dir2.c: Likewise.
57465 * manual/examples/execinfo.c: Likewise.
57466 * manual/examples/filecli.c: Likewise.
57467 * manual/examples/filesrv.c: Likewise.
57468 * manual/examples/fmtmsgexpl.c: Likewise.
57469 * manual/examples/genpass.c: Likewise.
57470 * manual/examples/inetcli.c: Likewise.
57471 * manual/examples/inetsrv.c: Likewise.
57472 * manual/examples/isockad.c: Likewise.
57473 * manual/examples/longopt.c: Likewise.
57474 * manual/examples/memopen.c: Likewise.
57475 * manual/examples/memstrm.c: Likewise.
57476 * manual/examples/mkfsock.c: Likewise.
57477 * manual/examples/mkisock.c: Likewise.
57478 * manual/examples/mygetpass.c: Likewise.
57479 * manual/examples/pipe.c: Likewise.
57480 * manual/examples/popen.c: Likewise.
57481 * manual/examples/rprintf.c: Likewise.
57482 * manual/examples/search.c: Likewise.
57483 * manual/examples/select.c: Likewise.
57484 * manual/examples/setjmp.c: Likewise.
57485 * manual/examples/sigh1.c: Likewise.
57486 * manual/examples/sigusr.c: Likewise.
57487 * manual/examples/stpcpy.c: Likewise.
57488 * manual/examples/strdupa.c: Likewise.
57489 * manual/examples/strftim.c: Likewise.
57490 * manual/examples/strncat.c: Likewise.
57491 * manual/examples/subopt.c: Likewise.
57492 * manual/examples/swapcontext.c: Likewise.
57493 * manual/examples/termios.c: Likewise.
57494 * manual/examples/testopt.c: Likewise.
57495 * manual/examples/testpass.c: Likewise.
57496 * manual/examples/timeval_subtract.c: Likewise.
57497
57498 [BZ #13792]
57499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57500 function to ...
57501 * manual/timeval_subtract.c.texi: ... here, new file.
57502
57503 2012-03-02 David S. Miller <davem@davemloft.net>
57504
57505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57506
57507 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57508
57509 [BZ #3976]
57510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57511 (__sin): Save and restore rounding mode and use round-to-nearest
57512 for all computations.
57513 (__cos): Save and restore rounding mode and use round-to-nearest
57514 for all computations.
57515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57516 <fenv.h>.
57517 (tan): Save and restore rounding mode and use round-to-nearest for
57518 all computations.
57519 * math/libm-test.inc (cos_test_tonearest): New function.
57520 (cos_test_towardzero): Likewise.
57521 (cos_test_downward): Likewise.
57522 (cos_test_upward): Likewise.
57523 (sin_test_tonearest): Likewise.
57524 (sin_test_towardzero): Likewise.
57525 (sin_test_downward): Likewise.
57526 (sin_test_upward): Likewise.
57527 (tan_test_tonearest): Likewise.
57528 (tan_test_towardzero): Likewise.
57529 (tan_test_downward): Likewise.
57530 (tan_test_upward): Likewise.
57531 (main): Call the new functions.
57532 * sysdeps/i386/fpu/libm-test-ulps: Update.
57533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57534
57535 [BZ #10135]
57536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57537 small n, then large n, before computing and testing k+n.
57538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57540 Likewise.
57541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57542 Likewise.
57543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57551 * math/libm-test.inc (scalbn_test): Add more tests.
57552 (scalbln_test): Likewise.
57553
57554 * manual/filesys.texi (mode_t): Describe constraints on size and
57555 signedness, not exact equivalence to a particular type.
57556 (ino_t): Likewise.
57557 (ino64_t): Likewise.
57558 (dev_t): Likewise.
57559 (nlink_t): Likewise.
57560 (blkcnt_t): Likewise.
57561 (blkcnt64_t): Likewise.
57562 * manual/llio.texi (off_t): Likewise.
57563
57564 [BZ #3976]
57565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57566 (__ieee754_exp): Save and restore rounding mode and use
57567 round-to-nearest for all computations.
57568 * math/libm-test.inc (exp_test_tonearest): New function.
57569 (exp_test_towardzero): Likewise.
57570 (exp_test_downward): Likewise.
57571 (exp_test_upward): Likewise.
57572 (main): Call the new functions.
57573 * sysdeps/i386/fpu/libm-test-ulps: Update.
57574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57575
57576 2012-03-01 Chris Demetriou <cgd@google.com>
57577
57578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57579 have predictable order.
57580
57581 2012-03-01 David S. Miller <davem@davemloft.net>
57582
57583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57584
57585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57589
57590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57599
57600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57601
57602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57605
57606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57624 * sysdeps/sparc/elf/configure: Regenerated.
57625
57626 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57627
57628 * configure.in (AS, LD): Require binutils 2.20 or later.
57629 * configure: Regenerated.
57630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57631 as required minimum version.
57632 * INSTALL: Regenerated.
57633
57634 [BZ #2541]
57635 [BZ #4108]
57636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57637 before squaring exponent.
57638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57639 bottom long double and 27 bits of top long double before squaring
57640 exponent.
57641 * math/libm-test.inc (erfc_test): Add more tests.
57642 * sysdeps/i386/fpu/libm-test-ulps: Update.
57643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57645
57646 2012-03-01 Kai Tietz <ktietz@redhat.com>
57647
57648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57650 containing bit-fields.
57651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57652 * soft-fp/single.h (_FP_UNION_S): Likewise.
57653 * soft-fp/double.h (_FP_UNION_D): Likewise.
57654
57655 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57656
57657 [BZ #13786]
57658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57659 not include ../strcmp.S.
57660 [USE_AS_STRNCASECMP_L]: Likewise.
57661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57664 (__strncasecmp_l_ia32): Define as alias to
57665 __strncasecmp_l_nonascii.
57666
57667 [BZ #5794]
57668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57669 * sysdeps/i386/fpu/libm-test-ulps: Update.
57670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57671
57672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57674
57675 2012-02-29 Jeff Law <law@redhat.com>
57676
57677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57678 out of bounds read.
57679
57680 2012-02-29 Marek Polacek <polacek@redhat.com>
57681
57682 [BZ #13706]
57683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57684 * elf/Makefile: Add rules to run tst-unused-dep.out.
57685
57686 2012-02-28 David S. Miller <davem@davemloft.net>
57687
57688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57694
57695 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57696
57697 * math/libm-test.inc (llround_test): Move one test from
57698 lround_test. Use TEST_f_L in moved test.
57699 (lround_test): Move misplaced test to llround_test. Add testcase
57700 from bug 2561.
57701
57702 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57703
57704 * sysdeps/x86_64/fpu/e_expf.S: New file.
57705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57706
57707 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57708
57709 [BZ #13637]
57710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57711 of remain_len that may cause incomplete multi-byte character and
57712 false match.
57713 * posix/bug-regex33.c: New file.
57714 * posix/Makefile (tests): Add bug-regex33.
57715
57716 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57717
57718 * manual/macros.texi: New file.
57719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57720 * manual/libc.texinfo: Include macros.texi.
57721 * manual/creatute.texi: Likewise.
57722 * manual/install.texi: Likewise.
57723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57724 @glibcadj{} in references to the GNU C Library.
57725 * manual/charset.texi: Likewise.
57726 * manual/conf.texi: Likewise.
57727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57728 when not using those macros.
57729 * manual/creature.texi: Likewise.
57730 * manual/crypt.texi: Likewise.
57731 * manual/errno.texi: Likewise.
57732 * manual/filesys.texi: Likewise.
57733 * manual/header.texi: Likewise.
57734 * manual/install.texi: Likewise.
57735 * manual/intro.texi: Likewise.
57736 * manual/io.texi: Likewise.
57737 * manual/job.texi: Likewise.
57738 * manual/lang.texi: Likewise.
57739 * manual/libc.texiinfo: Likewise.
57740 * manual/llio.texi: Likewise.
57741 * manual/locale.texi: Likewise.
57742 * manual/maint.texi: Likewise.
57743 * manual/math.texi: Likewise.
57744 * manual/memory.texi: Likewise.
57745 * manual/message.texi: Likewise.
57746 * manual/nss.texi: Likewise.
57747 * manual/pattern.texi: Likewise.
57748 * manual/process.texi: Likewise.
57749 * manual/resource.texi: Likewise.
57750 * manual/search.texi: Likewise.
57751 * manual/setjmp.texi: Likewise.
57752 * manual/signal.texi: Likewise.
57753 * manual/socket.texi: Likewise.
57754 * manual/startup.texi: Likewise.
57755 * manual/stdio.texi: Likewise.
57756 * manual/string.texi: Likewise.
57757 * manual/sysinfo.texi: Likewise.
57758 * manual/syslog.texi: Likewise.
57759 * manual/terminal.texi: Likewise.
57760 * manual/time.texi: Likewise.
57761 * manual/users.texi: Likewise.
57762 * INSTALL: Regenerated.
57763 * NOTES: Regenerated.
57764 * sysdeps/gnu/errlist.c: Regenerated.
57765
57766 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57767
57768 * include/dirent.h: Include <dirstream.h> before
57769 <dirent/dirent.h>.
57770
57771 2012-02-28 David S. Miller <davem@davemloft.net>
57772
57773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57777
57778 2012-02-27 David S. Miller <davem@davemloft.net>
57779
57780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57784
57785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57786 frame pointer instead of stack pointer relative arg slot.
57787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57790
57791 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57792
57793 [BZ #3992]
57794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57795
57796 2012-02-27 David S. Miller <davem@davemloft.net>
57797
57798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57806
57807 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57808
57809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57810 later. Allow versions 5-9.
57811 * configure: Regenerated.
57812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57813 required minimum version and 4.6 as recommended version. Do not
57814 mention bugs in GCC 2.7 and 2.8.
57815 * INSTALL: Regenerated.
57816
57817 2012-02-27 David S. Miller <davem@davemloft.net>
57818
57819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57827
57828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57829 manipulate bits before adding and subtracting TWO112[sx].
57830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57831
57832 2012-02-27 Roland McGrath <roland@hack.frob.com>
57833
57834 [BZ #13775]
57835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57838 being in POSIX, because they are in 1003.1-2008.
57839
57840 * rt/tst-aio.c: Include <fcntl.h>.
57841 * rt/tst-aio7.c: Likewise.
57842 * rt/tst-aio64.c: Likewise.
57843
57844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57845
57846 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57847
57848 * manual/install.texi (--with-headers): Describe headers as
57849 interface headers, not private headers.
57850 (Specific advice for GNU/Linux systems): Describe use of headers
57851 from "make headers_install", not private headers from older
57852 kernels.
57853 * INSTALL: Regenerated.
57854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57855 Change to 2.6.19.
57856 * sysdeps/unix/sysv/linux/configure: Regenerated.
57857
57858 * manual/llio.texi (fclean): Remove documentation.
57859
57860 * manual/Makefile (libc-texi-generated): New variable. Include
57861 version.texi.
57862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57863 $(libc-texi-generated), not duplicated list of files.
57864 (version.texi, stamp-version): New rules.
57865 (realclean): Remove $(libc-texi-generated), not individual files
57866 from that list. Do not remove dir-add.texinfo.
57867 * manual/libc.texinfo: Comment out uses of edition numbers and
57868 references to printed manual. Remove last-updated dates.
57869 (EDITION): Comment out.
57870 (ISBN): Likewise.
57871 (VERSION, UPDATED): Remove.
57872 (version.texi): Include.
57873
57874 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57875
57876 * sysdeps/posix/spawni.c: Include <signal.h>.
57877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57878 * sysdeps/pthread/aio_fsync.c: Likewise.
57879
57880 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57881
57882 * conform/Makefile (tests): Run only when not cross-compiling and
57883 when fast-check is not defined.
57884
57885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57886 * conform/data/limits.h-data: Fixes for POSIX2008.
57887 * conform/run-conformtest.sh: Run all tests.
57888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57889 headers.
57890 * include/bits/dlfcn.h: Likewise.
57891 * include/langinfo.h: Likewise.
57892 * include/monetary.h: Likewise.
57893 * include/sys/poll.h: Likewise.
57894
57895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57896 for __USE_GNU.
57897 * posix/spawn.h: Define __need_sigset_t.
57898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57901 to get sigevent_t only.
57902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57903 only for __USE_GNU.
57904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57906 process_vm_writev only for __USE_GNU.
57907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57908
57909 * conform/Makefile: For now ignore errors from run-conformtest.
57910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57911 POSIX to avoid namespace pollution. Don't prepend headers.
57912 * conform/data/aio.h-data: Fixes for POSIX testing.
57913 * conform/data/fcntl.h-data: Likewise.
57914 * conform/data/glob.h-data: Likewise.
57915 * conform/data/grp.h-data: Likewise.
57916 * conform/data/pthread.h-data: Likewise.
57917 * conform/data/pwd.h-data: Likewise.
57918 * conform/data/signal.h-data: Likewise.
57919 * conform/data/spawn.h-data: Likewise.
57920 * conform/data/stdio.h-data: Likewise.
57921 * conform/data/stdlib.h-data: Likewise.
57922 * conform/data/stropts.h-data: Likewise.
57923 * conform/data/sys/mman.h-data: Likewise.
57924 * conform/data/sys/stat.h-data: Likewise.
57925 * conform/data/sys/types.h-data: Likewise.
57926 * conform/data/sys/wait.h-data: Likewise.
57927 * conform/data/time.h-data: Likewise.
57928 * conform/data/unistd.h-data: Likewise.
57929 * conform/data/utime.h-data: Likewise.
57930
57931 * io/sys/stat.h: fchmod was always in POSIX.
57932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57934 * rt/aio.h: Define __need_timespec before including <time.h>.
57935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57936 struct. Add forward declaration of pthread_attr_t and use it in
57937 sigevent.
57938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57941 always remove CLK_TCK definition.
57942
57943 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57944
57945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57946
57947 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57948
57949 * conform/run-conformtest.sh: New file.
57950 * conform/Makefile: Run run-conformtest for tests.
57951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57952 support.
57953
57954 * conform/data/uchar.h-data: New file.
57955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57956 * conform/data/arpa/inet.h-data: Likewise.
57957 * conform/data/assert.h-data: Likewise.
57958 * conform/data/complex.h-data: Likewise.
57959 * conform/data/cpio.h-data: Likewise.
57960 * conform/data/ctype.h-data: Likewise.
57961 * conform/data/dirent.h-data: Likewise.
57962 * conform/data/dlfcn.h-data: Likewise.
57963 * conform/data/errno.h-data: Likewise.
57964 * conform/data/fcntl.h-data: Likewise.
57965 * conform/data/float.h-data: Likewise.
57966 * conform/data/fmtmsg.h-data: Likewise.
57967 * conform/data/fnmatch.h-data: Likewise.
57968 * conform/data/ftw.h-data: Likewise.
57969 * conform/data/glob.h-data: Likewise.
57970 * conform/data/grp.h-data: Likewise.
57971 * conform/data/iconv.h-data: Likewise.
57972 * conform/data/inttypes.h-data: Likewise.
57973 * conform/data/langinfo.h-data: Likewise.
57974 * conform/data/libgen.h-data: Likewise.
57975 * conform/data/limits.h-data: Likewise.
57976 * conform/data/locale.h-data: Likewise.
57977 * conform/data/math.h-data: Likewise.
57978 * conform/data/monetary.h-data: Likewise.
57979 * conform/data/mqueue.h-data: Likewise.
57980 * conform/data/ndbm.h-data: Likewise.
57981 * conform/data/net/if.h-data: Likewise.
57982 * conform/data/netdb.h-data: Likewise.
57983 * conform/data/netinet/in.h-data: Likewise.
57984 * conform/data/nl_types.h-data: Likewise.
57985 * conform/data/poll.h-data: Likewise.
57986 * conform/data/pthread.h-data: Likewise.
57987 * conform/data/pwd.h-data: Likewise.
57988 * conform/data/regex.h-data: Likewise.
57989 * conform/data/sched.h-data: Likewise.
57990 * conform/data/search.h-data: Likewise.
57991 * conform/data/semaphore.h-data: Likewise.
57992 * conform/data/setjmp.h-data: Likewise.
57993 * conform/data/signal.h-data: Likewise.
57994 * conform/data/spawn.h-data: Likewise.
57995 * conform/data/stdarg.h-data: Likewise.
57996 * conform/data/stdio.h-data: Likewise.
57997 * conform/data/stdlib.h-data: Likewise.
57998 * conform/data/string.h-data: Likewise.
57999 * conform/data/strings.h-data: Likewise.
58000 * conform/data/stropts.h-data: Likewise.
58001 * conform/data/sys/ipc.h-data: Likewise.
58002 * conform/data/sys/mman.h-data: Likewise.
58003 * conform/data/sys/msg.h-data: Likewise.
58004 * conform/data/sys/resource.h-data: Likewise.
58005 * conform/data/sys/select.h-data: Likewise.
58006 * conform/data/sys/sem.h-data: Likewise.
58007 * conform/data/sys/shm.h-data: Likewise.
58008 * conform/data/sys/socket.h-data: Likewise.
58009 * conform/data/sys/stat.h-data: Likewise.
58010 * conform/data/sys/statvfs.h-data: Likewise.
58011 * conform/data/sys/time.h-data: Likewise.
58012 * conform/data/sys/timeb.h-data: Likewise.
58013 * conform/data/sys/times.h-data: Likewise.
58014 * conform/data/sys/types.h-data: Likewise.
58015 * conform/data/sys/uio.h-data: Likewise.
58016 * conform/data/sys/un.h-data: Likewise.
58017 * conform/data/sys/utsname.h-data: Likewise.
58018 * conform/data/sys/wait.h-data: Likewise.
58019 * conform/data/syslog.h-data: Likewise.
58020 * conform/data/tar.h-data: Likewise.
58021 * conform/data/termios.h-data: Likewise.
58022 * conform/data/utime.h-data: Likewise.
58023 * conform/data/utmpx.h-data: Likewise.
58024 * conform/data/varargs.h-data: Likewise.
58025 * conform/data/wchar.h-data: Likewise.
58026 * conform/data/wctype.h-data: Likewise.
58027 * conform/data/wordexp.h-data: Likewise.
58028
58029 * include/stropts.h: New file.
58030 * include/uchar.h: New file.
58031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
58032 * include/assert.h: Likewise.
58033 * include/ctype.h: Likewise.
58034 * include/dirent.h: Likewise.
58035 * include/dlfcn.h: Likewise.
58036 * include/fcntl.h: Likewise.
58037 * include/fnmatch.h: Likewise.
58038 * include/glob.h: Likewise.
58039 * include/grp.h: Likewise.
58040 * include/libio.h: Likewise.
58041 * include/locale.h: Likewise.
58042 * include/math.h: Likewise.
58043 * include/net/if.h: Likewise.
58044 * include/netdb.h: Likewise.
58045 * include/netinet/in.h: Likewise.
58046 * include/pthread.h: Likewise.
58047 * include/pwd.h: Likewise.
58048 * include/regex.h: Likewise.
58049 * include/sched.h: Likewise.
58050 * include/search.h: Likewise.
58051 * include/setjmp.h: Likewise.
58052 * include/signal.h: Likewise.
58053 * include/stdio.h: Likewise.
58054 * include/stdlib.h: Likewise.
58055 * include/string.h: Likewise.
58056 * include/sys/cdefs.h: Likewise.
58057 * include/sys/mman.h: Likewise.
58058 * include/sys/msg.h: Likewise.
58059 * include/sys/resource.h: Likewise.
58060 * include/sys/select.h: Likewise.
58061 * include/sys/socket.h: Likewise.
58062 * include/sys/stat.h: Likewise.
58063 * include/sys/statvfs.h: Likewise.
58064 * include/sys/time.h: Likewise.
58065 * include/sys/times.h: Likewise.
58066 * include/sys/uio.h: Likewise.
58067 * include/sys/utsname.h: Likewise.
58068 * include/sys/wait.h: Likewise.
58069 * include/termios.h: Likewise.
58070 * include/time.h: Likewise.
58071 * include/ulimit.h: Likewise.
58072 * include/unistd.h: Likewise.
58073 * include/utime.h: Likewise.
58074 * include/wchar.h: Likewise.
58075 * include/wctype.h: Likewise.
58076 * include/wordexp.h: Likewise.
58077
58078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58079
58080 * time/time.h: TIME_UTC must be a macro.
58081 Make timespec_get available for ISO C11 only as well.
58082
58083 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58084
58085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58087
58088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58089
58090 * configure.in: Use -o not -a in test for unsupported multi-arch.
58091
58092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58093
58094 * manual/texinfo.tex: Update to version 2012-01-19.16.
58095
58096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58097
58098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58099
58100 2012-02-24 Roland McGrath <roland@hack.frob.com>
58101
58102 [BZ #13738]
58103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58104 * manual/fdl-1.3.texi: New file.
58105 * manual/fdl-1.1.texi: File removed.
58106
58107 [BZ #13738]
58108 * manual/libc.texinfo (FDL_VERSION): New @set.
58109 Use it for mention of FDL in cover text.
58110 (Documentation License): Use it in @include file name.
58111
58112 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58113 Roland McGrath <roland@hack.frob.com>
58114
58115 [BZ #5461]
58116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58117 (not LONG_LONG_MAX and LONG_LONG_MIN.
58118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58120 name.
58121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58122
58123 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58124
58125 [BZ #2547]
58126 [BZ #11365]
58127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58128 manipulate bits before adding and subtracting TWO23[sx].
58129 * math/libm-test.inc (nearbyint_test): Add more tests.
58130
58131 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58132
58133 [BZ #2548]
58134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58135 bits before adding and subtracting TWO23[sx].
58136 * math/libm-test.inc (rint_test): Add more tests.
58137 (rint_test_tonearest): Likewise.
58138 (rint_test_towardzero): Likewise.
58139 (rint_test_downward): Likewise.
58140 (rint_test_upward: Likewise.
58141
58142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58143
58144 [BZ #10110]
58145 * include/stdc-predef.h: New file. Extracted from features.h.
58146 * include/features.h: Include stdc-predef.h.
58147 * Makefile (headers): Add stdc-predef.h.
58148 * CONFORMANCE (Compiler limitations): Update.
58149
58150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58151
58152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58153
58154 2012-02-21 David S. Miller <davem@davemloft.net>
58155
58156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58158
58159 2012-02-20 David S. Miller <davem@davemloft.net>
58160
58161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58162 using a normal save/restore sequence, rather than allocating a
58163 dummy stack frame just to store a frame pointer and restore.
58164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58165
58166 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58167
58168 * manual/install.texi: Fix stray word in line-wrapped comment.
58169
58170 2012-02-20 David S. Miller <davem@davemloft.net>
58171
58172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58173 both binutils and gcc support GOTDATA.
58174
58175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58176 "rd %pc" in the PIC register setup sequences.
58177
58178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58187 (SYSCALL_ERROR_HANDLER): Likewise.
58188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58191 (SYSCALL_ERROR_HANDLER): Likewise.
58192
58193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58194 (HAVE_GCC_GOTDATA): New.
58195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58196 relocation support in both binutils and gcc.
58197 * sysdeps/sparc/elf/configure: Regenerate.
58198
58199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58200 * sysdeps/sparc/sparc32/elf/configure: Delete.
58201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58202 * sysdeps/sparc/sparc64/elf/configure: Delete.
58203 * sysdeps/sparc/elf/configure.in: New file.
58204 * sysdeps/sparc/elf/configure: Generate.
58205
58206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58211
58212 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58213
58214 * manual/install.texi: Do not mention specific glibc version
58215 numbers.
58216 * manual/libc.texinfo (VERSION, UPDATED): Update.
58217 (@copying): Use @copyright{} and range of years.
58218
58219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58220
58221 [BZ #13695]
58222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58223 [crti.S not in sysdirs] (generated): Do not append.
58224 [crti.S not in sysdirs] (omit-deps): Likewise.
58225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58230 Likewise.
58231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58234 * csu/defs.awk: Remove file.
58235 * sysdeps/generic/initfini.c: Likewise.
58236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58237 variable.
58238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58239 Likewise.
58240
58241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58242
58243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58249 <bits/epoll.h>.
58250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58251 (__EPOLL_PACKED): Define to empty if not defined by
58252 <bits/epoll.h>.
58253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58255 bits/epoll.h.
58256
58257 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58258
58259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58263 <bits/timerfd.h>.
58264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58266 bits/timerfd.h.
58267
58268 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58269
58270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58271 in C locale.
58272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58276
58277 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58278
58279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58281
58282 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58283
58284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58286 defined.
58287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58288 Likewise.
58289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58290 entry for 2.16.
58291
58292 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58293
58294 * math/w_acos.c: Use non-signaling floating-point comparisons.
58295 * math/w_acosf.c: Likewise.
58296 * math/w_acosh.c: Likewise.
58297 * math/w_acoshf.c: Likewise.
58298 * math/w_acoshl.c: Likewise.
58299 * math/w_acosl.c: Likewise.
58300 * math/w_asin.c: Likewise.
58301 * math/w_asinf.c: Likewise.
58302 * math/w_asinl.c: Likewise.
58303 * math/w_atanh.c: Likewise.
58304 * math/w_atanhf.c: Likewise.
58305 * math/w_atanhl.c: Likewise.
58306 * math/w_exp2.c: Likewise.
58307 * math/w_exp2f.c: Likewise.
58308 * math/w_exp2l.c: Likewise.
58309 * math/w_j0.c: Likewise.
58310 * math/w_j0f.c: Likewise.
58311 * math/w_j0l.c: Likewise.
58312 * math/w_j1.c: Likewise.
58313 * math/w_j1f.c: Likewise.
58314 * math/w_j1l.c: Likewise.
58315 * math/w_jn.c: Likewise.
58316 * math/w_jnf.c: Likewise.
58317 * math/w_log.c: Likewise.
58318 * math/w_log10.c: Likewise.
58319 * math/w_log10f.c: Likewise.
58320 * math/w_log10l.c: Likewise.
58321 * math/w_log2.c: Likewise.
58322 * math/w_log2f.c: Likewise.
58323 * math/w_log2l.c: Likewise.
58324 * math/w_logf.c: Likewise.
58325 * math/w_logl.c: Likewise.
58326 * math/w_sqrt.c: Likewise.
58327 * math/w_sqrtf.c: Likewise.
58328 * math/w_sqrtl.c: Likewise.
58329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58334
58335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58336
58337 [BZ #9739]
58338 * manual/string.texi (strnlen): Use correct parameter name in
58339 equivalent expression.
58340
58341 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58342
58343 [BZ #11174]
58344 * manual/users.texi (seteuid): Consistently use neweuid for
58345 argument name.
58346
58347 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58348
58349 [BZ #13704]
58350 * manual/nss.texi (Services in the NSS configuration): Correct
58351 list of services in example configuration file.
58352
58353 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58354
58355 [BZ #11322]
58356 * manual/arith.texi: Remove statements about negative zero
58357 behaving identically to zero.
58358
58359 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58360
58361 [BZ #5993]
58362 * manual/install.texi: Do not document upgrading from libc5.
58363
58364 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58365
58366 [BZ #4596]
58367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58368
58369 2012-02-18 David S. Miller <davem@davemloft.net>
58370
58371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58373 %o7 across the call.
58374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58375 instead.
58376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58377 SETUP_PIC_REG_LEAF.
58378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58380 * sysdeps/sparc/crtn.S: Likewise.
58381
58382 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58383
58384 * aout/Makefile: Remove.
58385
58386 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58387
58388 [BZ #13058]
58389 * manual/examples/argp-ex1.c (main): Format definition in GNU
58390 style.
58391 * manual/examples/argp-ex2.c (main): Likewise.
58392 * manual/examples/argp-ex3.c (main): Likewise.
58393 * manual/examples/argp-ex4.c (main): Likewise.
58394 * manual/examples/longopt.c (main): Use new-style prototype
58395 definition.
58396 * manual/examples/strncat.c (main): Specify return type and use
58397 (void) for arguments.
58398 * manual/examples/subopt.c (main): Use char **argv argument.
58399
58400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58401
58402 [BZ #5077]
58403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58404 rounding modes.
58405
58406 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58407
58408 [BZ #6907]
58409 * manual/string.texi (strchr): Change when strchrnul is
58410 recommended.
58411
58412 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58413
58414 [BZ #174]
58415 * manual/locale.texi (setlocale): Document LOCPATH.
58416
58417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58418
58419 [BZ #10210]
58420 * manual/process.texi (execle): Move @dots{} before last argument.
58421
58422 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58423
58424 [BZ #12047]
58425 * manual/charset.texi (Generic Charset Conversion): Fix typo
58426 (LC_TYPE -> LC_CTYPE).
58427
58428 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58429
58430 [BZ #5805]
58431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58432 (scalbnf): Likewise.
58433 (scalbnl): Likewise.
58434 (scalbln): Likewise.
58435 (scalblnf): Likewise.
58436 (scalblnl): Likewise.
58437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58438 (vwarnx): Likewise.
58439 (verr): Likewise.
58440 (verrx): Likewise.
58441 * manual/filesys.texi (telldir): Use braces around return type.
58442 * manual/llio.texi (mmap): Add space after comma.
58443 (mmap64): Likewise.
58444 * manual/math.texi (jn): Use @var{} on parameter names.
58445 (jnf): Likewise.
58446 (jnl): Likewise.
58447 (yn): Likewise.
58448 (ynf): Likewise.
58449 (ynl): Likewise.
58450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58451 line.
58452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58453 "...".
58454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58455 (sched_get_priority_max): Likewise.
58456 * manual/signal.texi (sigvec): Add space after comma.
58457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58458 names.
58459 (if_indextoname): Likewise.
58460 (if_freenameindex): Likewise.
58461 (sendto): Use ',' instead of '.' in prototype.
58462 * manual/startup.texi (syscall): Use @dots{} instead of literal
58463 "...".
58464 * manual/stdio.texi (__fpending): Separate initial words of
58465 paragraph from @deftypefun line.
58466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58467 "...".
58468 (vsyslog): Use @var{} on parameter names.
58469 * manual/terminal.texi (stty): Use @var{} on parameter names.
58470 * manual/users.texi (getutmp): Use @var{} on parameter names.
58471 (getutmpx): Likewise.
58472
58473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58474
58475 [BZ #6884]
58476 * manual/stdio.texi (fopen): Fix typos in description of
58477 ",ccs=STRING".
58478
58479 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58480
58481 [BZ #4026]
58482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58483 get clock_id definition.
58484
58485 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58486
58487 [BZ #4822]
58488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58489 (madvise): Cast every argument to void on its own.
58490
58491 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58492
58493 [BZ #9902]
58494 * manual/startup.texi (Exit Status): Fix typo.
58495
58496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58497
58498 [BZ #10140]
58499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58500 * manual/examples/argp-ex2.c: Likewise.
58501 * manual/examples/argp-ex3.c: Likewise.
58502
58503 2012-02-16 Richard Henderson <rth@redhat.com>
58504
58505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58506 * sysdeps/s390/s390-32/initfini.c: Remove.
58507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58508 * sysdeps/s390/s390-64/initfini.c: Remove.
58509
58510 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58511
58512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58513 compiler output for sysdeps/generic/initfini.c.
58514 * sysdeps/sh/elf/initfini.c: Remove file.
58515
58516 2012-02-16 David S. Miller <davem@davemloft.net>
58517
58518 [BZ #11494]
58519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58520
58521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58522 * sysdeps/sparc/crti.S: New file.
58523 * sysdeps/sparc/crtn.S: New file.
58524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58525 * sysdeps/sparc/sparc64/Makefile: Likewise.
58526
58527 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58528
58529 [BZ #3335]
58530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58531
58532 2012-02-15 Roland McGrath <roland@hack.frob.com>
58533
58534 [BZ #4822]
58535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58536
58537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58538 (write, read, close): Likewise.
58539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58540
58541 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58542
58543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58547 <bits/signalfd.h>.
58548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58550 bits/signalfd.h.
58551
58552 2012-02-14 Marek Polacek <polacek@redhat.com>
58553
58554 * sysdeps/x86_64/crti.S: New file.
58555 * sysdeps/x86_64/crtn.S: New file.
58556 * sysdeps/x86_64/elf/initfini.c: Remove file.
58557
58558 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58559
58560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58564 <bits/inotify.h>.
58565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58567 bits/inotify.h.
58568
58569 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58570
58571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58575 <bits/eventfd.h>.
58576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58578 bits/eventfd.h.
58579
58580 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58581
58582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58583 __feraiseexcept instead of feraiseexcept.
58584
58585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58586 nanosleep invocations.
58587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58588 strings, and add error checking for a nanosleep invocations.
58589
58590 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58591
58592 Replace FSF snail mail address with URLs, as per GNU coding standards.
58593 Most of the snail mail addresses were wrong anyway, and omitting
58594 them makes the source code easier to maintain. Almost all of the
58595 changes are to license notices and to locale LC_IDENTIFICATION
58596 addresses, except for this one:
58597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58598 not its snail mail address.
58599
58600 2012-02-09 Richard Henderson <rth@twiddle.net>
58601
58602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58603 of kernel-features.h.
58604
58605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58606
58607 2012-02-08 Marek Polacek <polacek@redhat.com>
58608
58609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58611 * sysdeps/gnu/_G_config.h: Likewise.
58612 * sysdeps/generic/_G_config.h: Likewise.
58613
58614 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58615
58616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58617 tests.
58618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58619
58620 * sysdeps/powerpc/powerpc32/crti.S: New file.
58621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58622 * sysdeps/powerpc/powerpc64/crti.S: New file.
58623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58624
58625 * Makeconfig (have-initfini): Don't set.
58626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58627 * configure.in (nopic_initfini): Don't substitute.
58628 * config.h.in (HAVE_INITFINI): Don't #undef.
58629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58631
58632 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58633
58634 Support crti.S and crtn.S provided directly by architectures.
58635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58636 [crti.S in sysdirs] (omit-deps): Likewise.
58637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58646 compiler output for sysdeps/generic/initfini.c.
58647 * sysdeps/i386/elf/Makefile: Remove file.
58648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58649
58650 2012-02-07 Marek Polacek <polacek@redhat.com>
58651
58652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58653 * sysdeps/gnu/_G_config.h: Likewise.
58654 * sysdeps/mach/hurd/_G_config.h: Likewise.
58655
58656 2012-02-07 Marek Polacek <polacek@redhat.com>
58657
58658 * math/Makefile (tests): Add tst-CMPLX2.
58659 * math/tst-CMPLX2.c: New file.
58660
58661 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58662
58663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58664
58665 * math/libm-test.inc (jn_test): Add missing L suffix.
58666
58667 2012-02-06 Marek Polacek <polacek@redhat.com>
58668
58669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58670 * sysdeps/i386/fpu/e_powf.S: Likewise.
58671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58674 * sysdeps/i386/fpu/e_pow.S: Likewise.
58675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58679 * sysdeps/i386/fpu/e_log2.S: Likewise.
58680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58682 * sysdeps/i386/fpu/e_powl.S: Likewise.
58683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58686 * sysdeps/i386/fpu/e_logl.S: Likewise.
58687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58693 * sysdeps/i386/fpu/e_log.S: Likewise.
58694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58697 * sysdeps/i386/fpu/e_logf.S: Likewise.
58698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58703 * sysdeps/i386/fpu/e_log10.S: Likewise.
58704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58710 * sysdeps/i386/asm-syntax.h: Likewise.
58711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58720 * sysdeps/powerpc/sysdep.h: Likewise.
58721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58723
58724 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58725
58726 [BZ #411]
58727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58728
58729 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58730
58731 * sysdeps/i386/sysdep.h: Include <features.h>.
58732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58733 version.
58734
58735 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58736
58737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58738 Define.
58739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58740 LOAD_PIC_REG_STR.
58741
58742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58743
58744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58745 (SETUP_PIC_REG): Use GET_PC_THUNK.
58746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58747 macro.
58748
58749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58750
58751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58752 for non-PIC compilation.
58753 (SETUP_PIC_REG): Add .p2align directive.
58754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58795
58796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58797
58798 * math/tst-CMPLX.c: Include <stdio.h>.
58799
58800 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58801
58802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58803 float.
58804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58805 * sysdeps/sparc/bits/mathdef.h: Likewise.
58806
58807 2012-01-31 Marek Polacek <polacek@redhat.com>
58808
58809 * libio/libio.h: Don't define _PARAMS.
58810 * locale/programs/config.h: Don't define PARAMS.
58811 * stdlib/strtol_l.c: Likewise.
58812 (__strtol_l): Remove PARAMS from the prototype.
58813
58814 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58815
58816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58817 names. Just use the correct names. Remove unnecessary wrapper
58818 functions.
58819 * malloc/arena.c: Likewise.
58820 * malloc/hooks.c: Likewise.
58821
58822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58823 ARENA_TEST says not to. Simplify test for creation of a new arena.
58824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58825
58826 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58827
58828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58829 into tail calls.
58830 (update_get_addr): New function.
58831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58832 GET_ADDR_MODULE parameter.
58833
58834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58835
58836 * crypt/cert.c: Remove __STDC__ conditionals.
58837 * crypt/crypt-entry.c: Likewise.
58838 * crypt/crypt_util.c: Likewise.
58839 * libio/filedoalloc.c: Likewise.
58840 * libio/fileops.c: Likewise.
58841 * libio/genops.c: Likewise.
58842 * libio/iofclose.c: Likewise.
58843 * libio/iofdopen.c: Likewise.
58844 * libio/iofopen.c: Likewise.
58845 * libio/iofopen64.c: Likewise.
58846 * libio/iogetdelim.c: Likewise.
58847 * libio/iopopen.c: Likewise.
58848 * libio/obprintf.c: Likewise.
58849 * libio/oldfileops.c: Likewise.
58850 * libio/oldiofclose.c: Likewise.
58851 * libio/oldiofdopen.c: Likewise.
58852 * libio/oldiofopen.c: Likewise.
58853 * libio/oldiopopen.c: Likewise.
58854 * libio/wfiledoalloc.c: Likewise.
58855 * libio/wgenops.c: Likewise.
58856 * locale/programs/xmalloc.c: Likewise.
58857 * misc/syslog.c: Likewise.
58858 * stdio-common/xbug.c: Likewise.
58859 * string/memchr.c: Likewise.
58860 * string/memcmp.c: Likewise.
58861 * string/memrchr.c: Likewise.
58862 * string/rawmemchr.c: Likewise.
58863 * sysdeps/posix/getcwd.c: Likewise.
58864 * time/strftime_l.c: Likewise.
58865
58866 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58867
58868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58869 * config.make.in (config-cflags-sse2avx): Define.
58870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58871 Fix typo.
58872
58873 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58874
58875 * scripts/config.guess: Update from upstream config git repository.
58876 * scripts/config.sub: Likewise.
58877
58878 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58879
58880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58881 (EM_NUM): Update.
58882 (R_TILEPRO_*, R_TILEGX_*): New macros.
58883
58884 * scripts/firstversions.awk: Fix bug in version range handling.
58885
58886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58887
58888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58889
58890 * include/sys/epoll.h: New file.
58891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58892 libc_hidden_def.
58893
58894 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58895
58896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58897 Avoid unnecessary __WORDSIZE == 64 test.
58898 (fmaxf): Use VEX format if possible.
58899 (fmax): Likewise.
58900 (fminf): Likewise.
58901 (fmin): Likewise.
58902
58903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58904 * math/math_private.h: Remove libc_fegetround* and
58905 libc_fesetround*.
58906 * sysdeps/i386/configure.in: Check for -msse2avx.
58907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58908 also if SSE2AVX is defined.
58909 Remove libc_fegetround* and libc_fesetround*.
58910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58913 of HAS_YMM_USABLE.
58914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58919
58920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58921
58922 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58923
58924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58925 size is not set.
58926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58927
58928 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58929
58930 [BZ #13618]
58931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58932 relocation.
58933 * Makeconfig (libm): Define.
58934 * elf/Makefile: Add rules to build and run tst-relsort1.
58935 * elf/tst-relsort1.c: New file.
58936 * elf/tst-relsort1mod1.c: New file.
58937 * elf/tst-relsort1mod2.c: New file.
58938
58939 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58940
58941 * math/s_ldexp.c: Remove __STDC__ conditionals.
58942 * math/s_ldexpf.c: Likewise.
58943 * math/s_ldexpl.c: Likewise.
58944 * math/s_nextafter.c: Likewise.
58945 * math/s_nexttowardf.c: Likewise.
58946 * math/s_significand.c: Likewise.
58947 * math/s_significandf.c: Likewise.
58948 * math/s_significandl.c: Likewise.
58949 * math/w_jnl.c: Likewise.
58950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58990 * sysdeps/ieee754/k_standard.c: Likewise.
58991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59070 * sysdeps/ieee754/s_matherr.c: Likewise.
59071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59075
59076 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59077
59078 * crypt/md5.h: Remove __STDC__ conditionals.
59079 * libio/libioP.h: Likewise.
59080 * locale/programs/config.h: Likewise.
59081 * sysdeps/generic/sysdep.h: Likewise.
59082 * sysdeps/i386/asm-syntax.h: Likewise.
59083 * sysdeps/s390/asm-syntax.h: Likewise.
59084 * sysdeps/unix/sysdep.h: Likewise.
59085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59087
59088 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59089
59090 * libio/libio.h: Remove __STDC__ conditionals.
59091 * malloc/obstack.h: Likewise.
59092 * math/complex.h: Likewise.
59093 * math/math.h: Likewise.
59094 * sysdeps/generic/_G_config.h: Likewise.
59095 * sysdeps/gnu/_G_config.h: Likewise.
59096 * sysdeps/mach/hurd/_G_config.h: Likewise.
59097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59099 * sysdeps/sparc/bits/mathdef.h: Likewise.
59100
59101 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59102
59103 [BZ #13583]
59104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59105 Clean up HAS_* macros.
59106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59108 possible.
59109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59110 HAS_AVX.
59111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59116
59117 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59118
59119 * elf/tst-unique3.cc (gets): Remove declaration.
59120 * elf/tst-unique3lib.cc (gets): Likewise.
59121 * elf/tst-unique3lib2.cc (gets): Likewise.
59122 * elf/tst-unique4.cc (gets): Likewise.
59123
59124 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59125
59126 * include/stdio.h: Add C++ protection. Add gets declarations and
59127 definitions.
59128 * debug/tst-chk1.c: Don't declare gets here.
59129 * stdio-common/tst-gets.c: Likewise.
59130
59131 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59132
59133 * posix/glob: Remove directory.
59134
59135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59136
59137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59138
59139 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59140
59141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59142 of the non-standard EPFNOSUPPORT.
59143
59144 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59145
59146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59149
59150 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59151
59152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59153
59154 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59155
59156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59157 transient errors.
59158 * nscd/grpcache.c (cache_addgr): Likewise.
59159 * nscd/hstcache.c (cache_addhst): Likewise.
59160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59161 * nscd/pwdcache.c (cache_addpw): Likewise.
59162 * nscd/servicescache.c (cache_addserv): Likewise.
59163
59164 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59165
59166 * malloc/malloc.c: Various cleanups.
59167 * malloc/hooks.c: Likewise.
59168
59169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59170 * stdlib/bug-fmtmsg1.c: New file.
59171
59172 * stdlib/fmtmsg.c (init): Add missing unlock.
59173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59174
59175 2012-01-12 Marek Polacek <polacek@redhat.com>
59176
59177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59178 and _GNU_SOURCE.
59179
59180 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59181
59182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59184 macro to ensure uniqueness of label name.
59185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59187
59188 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59189
59190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59191
59192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59196
59197 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59198
59199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59200
59201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59204
59205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59206
59207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59211
59212 * math/bits/math-finite.h: Add ldexp support.
59213
59214 2012-01-10 Marek Polacek <polacek@redhat.com>
59215
59216 * locale/programs/localedef.h (show_archive_content): Add noreturn
59217 attribute.
59218
59219 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59220
59221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59222
59223 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59224
59225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59226
59227 * io/Makefile (headers): Add bits/poll2.h.
59228
59229 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59230
59231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59232 typo #include statement.
59233
59234 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59235
59236 * include/sys/cdefs.h: Define __attribute_alloc_size.
59237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59239 * elf/pldd.c: Likewise.
59240 * iconv/iconv_charmap.c: Likewise.
59241 * iconv/iconvconfig.c: Likewise.
59242 * iconv/strtab.c: Likewise.
59243 * locale/programs/locale.c: Likewise.
59244 * locale/programs/localedef.h: Likewise.
59245 * locale/programs/simple-hash.c: Likewise.
59246 * nscd/nscd.h: Likewise.
59247 * nss/makedb.c: Likewise.
59248 * sysdeps/generic/ldconfig.h: Likewise.
59249 * locale/programs/localedef.c: Remove xmalloc prototype.
59250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59251
59252 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59253
59254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59255 appropriate.
59256
59257 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59258
59259 * math/Makefile (tests): Add tst-CMPLX.
59260 * math/tst-CMPLX.c: New file.
59261
59262 * math/complex.h (CMPLXL): Fix typo.
59263
59264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59266 GLIBC_2.16.
59267 * debug/tst-chk1.c: Add poll and ppoll tests.
59268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59269 * include/sys/poll.h: Add hidden proto for ppoll.
59270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59271 * sysdeps/mach/hurd/ppoll.c: Likewise.
59272 * io/ppoll.c: Likewise.
59273 * debug/poll_chk.c: New file.
59274 * debug/ppoll_chk.c: New file.
59275 * include/bits/poll2.h: New file.
59276 * io/bits/poll2.h: New file.
59277
59278 [BZ #1350]
59279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59280
59281 * configure.in: static is always set to yes. Remove.
59282 * config.make.in: Don't set build-static.
59283 * Makeconfig: Remove use of build-static.
59284 * dlfcn/Makefile: Likewise.
59285 * elf/Makefile: Likewise.
59286 * math/Makefile: Likewise.
59287 * misc/Makefile: Likewise.
59288 * nptl/Makefile: Likewise.
59289 * sysdeps/mach/hurd/Makefile: Likewise.
59290
59291 * configure.in: PWD_P is not used anymore.
59292 * config.make.in: Remove PWD_P entry.
59293
59294 * configure.in: Remove last remnants of RANLIB.
59295 No need to check for signed size_t anymore.
59296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59297 and IA-64.
59298 Remove __builtin_expect test because we require at least gcc 3.4.
59299 * aclocal.m4: Likewise.
59300
59301 * wcsmbs/mbrtoc16.c: Implement using towc function.
59302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59303 * wcsmbs/wcsmbsload.c: Likewise.
59304 * iconv/gconv_simple.c: Likewise.
59305 * iconv/gconv_int.h: Likewise.
59306 * iconv/gconv_builtin.h: Likewise.
59307 * iconv/iconv_prog.c: Remove CHAR16 handling.
59308
59309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59310
59311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59312
59313 * configure.in: Remove --with-elf and --enable-bounded options.
59314 Dont set base_machine for ia64. More non-ELF conditions removed.
59315 Remove testing and setting of leading underscore information.
59316 * config.make.in (build-bounded): Set to no.
59317 * config.h.in: Remove NO_UNDERSCORES entry.
59318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59319 them.
59320 * csu/start.c: Remove !NO_UNDERSCORE code.
59321 * locale/localeinfo.h: Likewise.
59322 * sysdeps/generic/machine-gmon.h: Likewise.
59323 * sysdeps/generic/sysdep.h: Likewise.
59324 * sysdeps/i386/sysdep.h: Likewise.
59325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59326 * sysdeps/mach/sysdep.h: Likewise.
59327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59329 * sysdeps/sh/sysdep.h: Likewise.
59330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59331 * sysdeps/unix/i386/sysdep.S: Likewise.
59332 * sysdeps/unix/sparc/start.c: Likewise.
59333 * sysdeps/unix/sparc/sysdep.S: Likewise.
59334 * sysdeps/unix/sparc/sysdep.h: Likewise.
59335 * sysdeps/unix/start.c: Likewise.
59336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59337 * sysdeps/x86_64/sysdep.h: Likewise.
59338
59339 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59340
59341 [BZ #13553]
59342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59343 for non-gcc.
59344 * argp/argp-fmtstream.h: Use const instead __const.
59345 * argp/argp.h: Likewise.
59346 * assert/assert.h: Likewise.
59347 * bits/fenv.h: Likewise.
59348 * bits/sched.h: Likewise.
59349 * bits/sigset.h: Likewise.
59350 * bits/sigthread.h: Likewise.
59351 * catgets/nl_types.h: Likewise.
59352 * conform/data/pthread.h-data: Likewise.
59353 * crypt/crypt-private.h: Likewise.
59354 * crypt/crypt.h: Likewise.
59355 * crypt/crypt_util.c: Likewise.
59356 * ctype/ctype.h: Likewise.
59357 * debug/execinfo.h: Likewise.
59358 * debug/mbsnrtowcs_chk.c: Likewise.
59359 * debug/mbsrtowcs_chk.c: Likewise.
59360 * debug/wcsnrtombs_chk.c: Likewise.
59361 * debug/wcsrtombs_chk.c: Likewise.
59362 * debug/wcstombs_chk.c: Likewise.
59363 * dirent/dirent.h: Likewise.
59364 * dlfcn/dlfcn.h: Likewise.
59365 * elf/neededtest4.c: Likewise.
59366 * grp/grp.h: Likewise.
59367 * gshadow/gshadow.h: Likewise.
59368 * iconv/gconv.h: Likewise.
59369 * iconv/gconv_int.h: Likewise.
59370 * iconv/gconv_simple.c: Likewise.
59371 * iconv/iconv.h: Likewise.
59372 * iconv/loop.c: Likewise.
59373 * iconv/skeleton.c: Likewise.
59374 * include/aio.h: Likewise.
59375 * include/aliases.h: Likewise.
59376 * include/argz.h: Likewise.
59377 * include/arpa/inet.h: Likewise.
59378 * include/assert.h: Likewise.
59379 * include/dirent.h: Likewise.
59380 * include/dlfcn.h: Likewise.
59381 * include/execinfo.h: Likewise.
59382 * include/fcntl.h: Likewise.
59383 * include/fenv.h: Likewise.
59384 * include/glob.h: Likewise.
59385 * include/grp.h: Likewise.
59386 * include/libintl.h: Likewise.
59387 * include/mntent.h: Likewise.
59388 * include/netdb.h: Likewise.
59389 * include/pwd.h: Likewise.
59390 * include/rpc/netdb.h: Likewise.
59391 * include/sched.h: Likewise.
59392 * include/search.h: Likewise.
59393 * include/shadow.h: Likewise.
59394 * include/signal.h: Likewise.
59395 * include/stdio.h: Likewise.
59396 * include/stdlib.h: Likewise.
59397 * include/string.h: Likewise.
59398 * include/sys/socket.h: Likewise.
59399 * include/sys/stat.h: Likewise.
59400 * include/sys/statfs.h: Likewise.
59401 * include/sys/statvfs.h: Likewise.
59402 * include/sys/syslog.h: Likewise.
59403 * include/sys/time.h: Likewise.
59404 * include/sys/uio.h: Likewise.
59405 * include/time.h: Likewise.
59406 * include/unistd.h: Likewise.
59407 * include/utmp.h: Likewise.
59408 * include/wchar.h: Likewise.
59409 * include/wctype.h: Likewise.
59410 * inet/aliases.h: Likewise.
59411 * inet/arpa/inet.h: Likewise.
59412 * inet/netinet/ether.h: Likewise.
59413 * inet/netinet/in.h: Likewise.
59414 * intl/libintl.h: Likewise.
59415 * io/bits/fcntl2.h: Likewise.
59416 * io/fcntl.h: Likewise.
59417 * io/ftw.h: Likewise.
59418 * io/sys/poll.h: Likewise.
59419 * io/sys/stat.h: Likewise.
59420 * io/sys/statfs.h: Likewise.
59421 * io/sys/statvfs.h: Likewise.
59422 * io/utime.h: Likewise.
59423 * libio/bits/stdio.h: Likewise.
59424 * libio/bits/stdio2.h: Likewise.
59425 * libio/libio.h: Likewise.
59426 * libio/libioP.h: Likewise.
59427 * libio/stdio.h: Likewise.
59428 * locale/lc-ctype.c: Likewise.
59429 * locale/locale.h: Likewise.
59430 * login/utmp.h: Likewise.
59431 * malloc/arena.c: Likewise.
59432 * malloc/malloc.c: Likewise.
59433 * malloc/malloc.h: Likewise.
59434 * malloc/mcheck.c: Likewise.
59435 * malloc/mtrace.c: Likewise.
59436 * math/bits/mathcalls.h: Likewise.
59437 * math/fenv.h: Likewise.
59438 * math/math_private.h: Likewise.
59439 * misc/bits/error.h: Likewise.
59440 * misc/bits/syslog.h: Likewise.
59441 * misc/err.h: Likewise.
59442 * misc/error.h: Likewise.
59443 * misc/fstab.h: Likewise.
59444 * misc/mntent.h: Likewise.
59445 * misc/regexp.h: Likewise.
59446 * misc/search.h: Likewise.
59447 * misc/sgtty.h: Likewise.
59448 * misc/sys/mman.h: Likewise.
59449 * misc/sys/syslog.h: Likewise.
59450 * misc/sys/uio.h: Likewise.
59451 * misc/sys/xattr.h: Likewise.
59452 * misc/ttyent.h: Likewise.
59453 * nis/rpcsvc/ypclnt.h: Likewise.
59454 * nss/nss.h: Likewise.
59455 * posix/bits/unistd.h: Likewise.
59456 * posix/fnmatch.h: Likewise.
59457 * posix/glob.h: Likewise.
59458 * posix/sched.h: Likewise.
59459 * posix/spawn.h: Likewise.
59460 * posix/sys/wait.h: Likewise.
59461 * posix/unistd.h: Likewise.
59462 * posix/wordexp.h: Likewise.
59463 * pwd/pwd.h: Likewise.
59464 * resolv/netdb.h: Likewise.
59465 * resource/sys/resource.h: Likewise.
59466 * rt/aio.h: Likewise.
59467 * rt/bits/mqueue2.h: Likewise.
59468 * rt/mqueue.h: Likewise.
59469 * shadow/shadow.h: Likewise.
59470 * signal/signal.h: Likewise.
59471 * socket/send.c: Likewise.
59472 * socket/sendto.c: Likewise.
59473 * socket/sys/socket.h: Likewise.
59474 * stdio-common/printf.h: Likewise.
59475 * stdlib/bits/stdlib.h: Likewise.
59476 * stdlib/fmtmsg.h: Likewise.
59477 * stdlib/monetary.h: Likewise.
59478 * stdlib/stdlib.h: Likewise.
59479 * stdlib/ucontext.h: Likewise.
59480 * streams/stropts.h: Likewise.
59481 * string/argz.h: Likewise.
59482 * string/bits/string2.h: Likewise.
59483 * string/string.h: Likewise.
59484 * string/strings.h: Likewise.
59485 * sunrpc/rpc/auth.h: Likewise.
59486 * sunrpc/rpc/auth_des.h: Likewise.
59487 * sunrpc/rpc/clnt.h: Likewise.
59488 * sunrpc/rpc/netdb.h: Likewise.
59489 * sunrpc/rpc/pmap_clnt.h: Likewise.
59490 * sunrpc/rpc/xdr.h: Likewise.
59491 * sysdeps/generic/inttypes.h: Likewise.
59492 * sysdeps/generic/net/if.h: Likewise.
59493 * sysdeps/generic/sys/swap.h: Likewise.
59494 * sysdeps/gnu/net/if.h: Likewise.
59495 * sysdeps/gnu/utmpx.h: Likewise.
59496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59497 * sysdeps/i386/i486/bits/string.h: Likewise.
59498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59499 * sysdeps/s390/bits/string.h: Likewise.
59500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59531 * sysvipc/sys/ipc.h: Likewise.
59532 * sysvipc/sys/msg.h: Likewise.
59533 * sysvipc/sys/sem.h: Likewise.
59534 * sysvipc/sys/shm.h: Likewise.
59535 * termios/termios.h: Likewise.
59536 * time/sys/time.h: Likewise.
59537 * time/time.h: Likewise.
59538 * wcsmbs/bits/wchar2.h: Likewise.
59539 * wcsmbs/uchar.h: Likewise.
59540 * wcsmbs/wchar.h: Likewise.
59541 * wctype/wctype.h: Likewise.
59542
59543 [BZ #13551]
59544 * Makeconfig: Remove all but ELF support including AIX support.
59545 * Makerules: Likewise.
59546 * config.h.in: Likewise.
59547 * config.make.in: Likewise.
59548 * configure: Likewise.
59549 * configure.in: Likewise.
59550 * csu/Makefile: Likewise.
59551 * csu/version.c: Likewise.
59552 * debug/Makefile: Likewise.
59553 * dlfcn/Makefile: Likewise.
59554 * elf/Makefile: Likewise.
59555 * extra-lib.mk: Likewise.
59556 * iconv/Makefile: Likewise.
59557 * include/libc-symbols.h: Likewise.
59558 * include/shlib-compat.h: Likewise.
59559 * resolv/Makefile: Likewise.
59560 * resolv/res_libc.c: Likewise.
59561 * rt/Makefile: Likewise.
59562 * sysdeps/i386/asm-syntax.h: Likewise.
59563 * sysdeps/i386/sysdep.h: Likewise.
59564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59565 * sysdeps/mach/sysdep.h: Likewise.
59566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59568 * sysdeps/s390/asm-syntax.h: Likewise.
59569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59571 * sysdeps/sh/sysdep.h: Likewise.
59572 * sysdeps/unix/sparc/sysdep.h: Likewise.
59573 * sysdeps/wordsize-32/divdi3.c: Likewise.
59574 * sysdeps/x86_64/sysdep.h: Likewise.
59575
59576 * argp/Versions: Remove _argp_unlock_xxx.
59577
59578 [BZ #13559]
59579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59580 * abilist/libBrokenLocale.abilist: Likewise.
59581 * abilist/libanl.abilist: Likewise.
59582 * abilist/libc.abilist: Likewise.
59583 * abilist/libcrypt.abilist: Likewise.
59584 * abilist/libdl.abilist: Likewise.
59585 * abilist/libm.abilist: Likewise.
59586 * abilist/libnsl.abilist: Likewise.
59587 * abilist/libpthread.abilist: Likewise.
59588 * abilist/libresolv.abilist: Likewise.
59589 * abilist/librt.abilist: Likewise.
59590 * abilist/libthread_db.abilist: Likewise.
59591 * abilist/libutil.abilist: Likewise.
59592 * abilist/libnss_db.abilist: New file.
59593
59594 * scripts/abilist.awk: Add support for indirect functions.
59595
59596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59597
59598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59599
59600 * shlib-versions: Remove entries for ports architectures.
59601
59602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59603 files in ports.
59604 * elf/stackguard-macros.h: Remove support for IA-64.
59605 * elf/tst-auditmod1.c: Likewise.
59606 * sysdeps/generic/ldsodefs.h: Likewise.
59607
59608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59610 configure files.
59611
59612 [BZ #13552]
59613 * configure.in: Remove --enable-omitfp support.
59614 * FAQ.in: Adjust.
59615 * config.make.in: Likewise.
59616 * Makeconfig: Likewise.
59617 * manual/install.texi: Likewise.
59618
59619 In case anyone cares, the IA-64 architecture could move to ports.
59620 * sysdeps/ia64/*: Removed.
59621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59623
59624 [BZ #13555]
59625 * configure.in: Remove entries for unsupported architectures.
59626
59627 [BZ #13533]
59628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59630 routines.
59631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59634 fall back to using wcrtomb.
59635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59637 renaming.
59638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59639 * wcsmbs/tst-c16c32-1.c: New file.
59640
59641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59642 local variable.
59643
59644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59645
59646 * elf/tst-unique3.cc: Add explicit declaration of gets.
59647 * elf/tst-unique3lib.cc: Likewise.
59648 * elf/tst-unique3lib2.cc: Likewise.
59649 * elf/tst-unique4.cc: Likewise.
59650
59651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59652
59653 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59654
59655 [BZ #13566]
59656 * assert/assert.h (static_assert): Don't define for C++.
59657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59659
59660 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59661
59662 * iconv/loop.c (single loop): Fix assertion in storing of
59663 remaining bytes.
59664
59665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59666
59667 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59668
59669 * posix/getconf.c: Update copyright year.
59670 * nss/getent.c: Likewise.
59671 * nss/makedb.c: Likewise.
59672 * iconv/iconvconfig.c: Likewise.
59673 * iconv/iconv_prog.c: Likewise.
59674 * elf/ldconfig.c: Likewise.
59675 * elf/pldd.c: Likewise.
59676 * elf/sotruss.ksh: Likewise.
59677 * catgets/gencat.c: Likewise.
59678 * csu/version.c: Likewise.
59679 * elf/ldd.bash.in: Likewise.
59680 * elf/sprof.c (print_version): Likewise.
59681 * locale/programs/locale.c: Likewise.
59682 * locale/programs/localedef.c: Likewise.
59683 * login/programs/pt_chown.c: Likewise.
59684 * nscd/nscd.c (print_version): Likewise.
59685 * debug/xtrace.sh: Likewise.
59686 * malloc/memusage.sh: Likewise.
59687 * malloc/mtrace.pl: Likewise.
59688 * debug/catchsegv.sh: Likewise.
59689
59690 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59691
59692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59693 pure attribute.
59694
59695 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59696
59697 [BZ #13533]
59698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59700 transformations.
59701 * iconv/gconv_int.h: Likewise.
59702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59704 from libc for GLIBC_2.16.
59705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59707 * wcsmbs/uchar.h: Really define mbstate_t.
59708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59709 * wcsmbs/c16rtomb.c: New file.
59710 * wcsmbs/mbrtoc16.c: New file.
59711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59712 for C/POSIX locale.
59713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59715
59716 * wcsmbs/wchar.h: Add missing __restrict.
59717
59718 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59719
59720 [BZ #13532]
59721 * time/Makefile (routines): Add timespec_get.
59722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59724 timespec for ISO C11.
59725 * time/timespec_get.c: New file.
59726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59728
59729 [BZ #13531]
59730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59731 * stdlib/stdlib.h: Declare aligned_alloc.
59732 * Versions.def: Add GLIBC_2.16 for libc.
59733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59734
59735 [BZ 13527]
59736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59737 ISO C11.
59738
59739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59740 code.
59741
59742 [BZ #13528]
59743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59744
59745 [BZ #13529]
59746 * assert/assert.h (static_assert): Define.
59747
59748 * version.h: Update for 2.16 development version.
59749
59750 [BZ #13526]
59751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59752 _ISOC11_SOURCE.
59753
59754 * version.h (RELEASE): Bump for 2.15 release.
59755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59756
59757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59758 Patch by Marek Polacek <mpolacek@redhat.com>.
59759
59760 * bits/byteswap.h: Protect long long constants with __extension__.
59761 * sysdeps/i386/bits/byteswap.h: Likewise.
59762 * sysdeps/ia64/bits/byteswap.h: Likewise.
59763 * sysdeps/s390/bits/byteswap.h: Likewise.
59764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59765
59766 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59767
59768 [BZ #13540]
59769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59770 destination buffer.
59771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59772
59773 2011-12-23 Marek Polacek <polacek@redhat.com>
59774
59775 * elf/dl-addr.c (determine_info): Add inline keyword.
59776 * elf/tst-auditmod4b.c (check_avx): Likewise.
59777 * elf/tst-auditmod6b.c (check_avx): Likewise.
59778 * elf/tst-auditmod6c.c (check_avx): Likewise.
59779 * elf/tst-auditmod7b.c (check_avx): Likewise.
59780
59781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59782
59783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59784 !__SSE_MATH__.
59785
59786 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59787
59788 [BZ #13540]
59789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59790 processing for last bytes.
59791
59792 2011-08-06 Bruno Haible <bruno@clisp.org>
59793
59794 [BZ #13061]
59795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59796 U+0385, not to U+1FEE.
59797
59798 [BZ #13062]
59799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59800 entry for U+00A5 U+0301.
59801
59802 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59803
59804 [BZ #13166]
59805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59806 buffer for the output is too small.
59807
59808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59809 optimization.
59810
59811 [BZ #13185]
59812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59813 SSE flags if possible.
59814
59815 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59816
59817 [BZ #13540]
59818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59819 processing for last bytes.
59820
59821 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59822
59823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59824 (syscall-list-default-options, syscall-list-default-condition)
59825 (syscall-list-includes): Define.
59826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59827 list of ABIs and options and #if conditions for each ABI. Do not
59828 handle common syscalls between ABIs specially.
59829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59830 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/s390/Makefile (64bit-predefine): Remove.
59835 (syscall-list-variants, syscall-list-32bit-options)
59836 (syscall-list-32bit-condition, syscall-list-64bit-options)
59837 (syscall-list-64bit-condition): Define.
59838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59839 Remove.
59840 (syscall-list-variants, syscall-list-32bit-options)
59841 (syscall-list-32bit-condition, syscall-list-64bit-options)
59842 (syscall-list-64bit-condition): Define.
59843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59844 Remove.
59845 (syscall-list-variants, syscall-list-32bit-options)
59846 (syscall-list-32bit-condition, syscall-list-64bit-options)
59847 (syscall-list-64bit-condition): Define.
59848
59849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59850
59851 * locale/iso-639.def: Add brx entry.
59852
59853 [BZ #13328]
59854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59856
59857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59858 __feraiseexcept_renamed.
59859
59860 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59861
59862 [BZ #13538]
59863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59864 EPOLLET with unsigned values.
59865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59867
59868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59869 to large cancellation.
59870 * math/s_cacoshf.c: Likewise.
59871 * math/s_cacoshl.c: Likewise.
59872
59873 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59874
59875 [BZ #13305]
59876 [BZ #12786]
59877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59878 * math/s_cacoshf.c: Likewise.
59879 * math/s_cacoshl.c: Likewise.
59880
59881 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59882
59883 [BZ #13439]
59884 * iconv/gconv.h: Define __GCONV_SWAP.
59885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59886 * iconvdata/utf-16.c: Likewise.
59887 * iconvdata/utf-32.c: Likewise.
59888
59889 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59890
59891 [BZ #13524]
59892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59893 numerator after shifting it by one limb.
59894
59895 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59896
59897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59898 under [__USE_EXTERN_INLINES].
59899
59900 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59901
59902 [BZ #13446]
59903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59904
59905 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59906
59907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59909 optimized code.
59910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59914 for strncasecmp/strncasecmp_l compilation.
59915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59917
59918 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59919
59920 [BZ #13484]
59921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59922 of __asm__.
59923
59924 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59925
59926 [BZ #13506]
59927 * time/tzfile.c (__tzfile_read): Check values from file header.
59928
59929 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59930
59931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59933 * powerpc/powerpc32/dl-start.S: Likewise.
59934 * powerpc/powerpc32/elf/start.S: Likewise.
59935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59948 * powerpc/powerpc32/memset.S: Likewise.
59949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59962
59963 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59964
59965 * math/libm-test.inc: Added more nearbyint tests.
59966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59970
59971 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59972
59973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59974 FD_CLOEXEC.
59975
59976 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59977
59978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59979 Add wcscpy-ssse3 wcscpy-c.
59980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59983 * sysdeps/x86_64/wcschr.S: New file.
59984 * sysdeps/x86_64/wcsrchr.S: New file.
59985 * string/test-strcmp.c: Remove checking of wcscmp function for
59986 wrong alignments.
59987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59989 wcsrchr-sse2 wcsrchr-c.
59990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59999 * wcsmbc/wcschr.c (WCSCHR): New macro.
60000
60001 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60002
60003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60004 * wcsmbs/test-wcsrchr.c: New file.
60005 * string/test-strrchr.c: Add wcsrchr support.
60006 (WIDE): New macro.
60007 * wcsmbs/test-wcscpy.c: New file.
60008 * string/test-strcpy.c: Add wcscpy support.
60009 (WIDE): New macro.
60010
60011 2011-12-10 Ulrich Drepper <drepper@gmail.com>
60012
60013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60014 the inner loop.
60015
60016 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
60017
60018 [BZ #13472]
60019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60020
60021 2011-12-04 Ulrich Drepper <drepper@gmail.com>
60022
60023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60024 Minor optimizations.
60025
60026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60029
60030 2011-12-03 Ulrich Drepper <drepper@gmail.com>
60031
60032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60035 for gcc to avoid warnings.
60036 * inet/Makefile (tests): Add tst-checks.
60037 * inet/tst-checks.c: New file.
60038
60039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60040 warning.
60041
60042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60043 __wmemcmp_sse2.
60044
60045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60047
60048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60049
60050 2011-12-02 Ulrich Drepper <drepper@gmail.com>
60051
60052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60053 problem.
60054
60055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60056
60057 2011-11-29 Joseph Myers <joseph@codesourcery.com>
60058
60059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60060 conditional on GCC version.
60061 (__arch_compare_and_exchange_val_8_acq)
60062 (__arch_compare_and_exchange_val_16_acq)
60063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60066
60067 2011-12-02 Joseph Myers <joseph@codesourcery.com>
60068
60069 * sysdeps/sh/backtrace.c: New file.
60070
60071 2011-12-02 Andreas Schwab <schwab@redhat.com>
60072
60073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
60074 parenthesis.
60075
60076 2011-12-01 Andreas Schwab <schwab@redhat.com>
60077
60078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60079 falling back to utime.
60080
60081 2011-11-30 Andreas Schwab <schwab@redhat.com>
60082
60083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60084 expectations for float.
60085
60086 2011-11-29 Andreas Schwab <schwab@redhat.com>
60087
60088 * locale/weight.h (findidx): Add parameter len.
60089 * locale/weightwc.h (findidx): Likewise.
60090 * posix/fnmatch_loop.c (FCT): Adjust caller.
60091 * posix/regcomp.c (build_equiv_class): Likewise.
60092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60093 * posix/regexec.c (check_node_accept_bytes): Likewise.
60094 * string/strcoll_l.c (STRCOLL): Likewise.
60095 * string/strxfrm_l.c (STRXFRM): Likewise.
60096
60097 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60098
60099 * Makefile.in: Remove CVSOPT handling.
60100 * configure.in: Remove use of AC_REVISION.
60101 * iconvdata/Makefile (distribute): No need to filter out CVS.
60102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60103 handling.
60104
60105 2011-11-16 Andreas Schwab <schwab@redhat.com>
60106
60107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60109 [USE_AS_STRNCASECMP_L]: Likewise.
60110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60111 NO_TLS_DIRECT_SEG_REFS.
60112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60113 Fix argument offsets for non-PIC.
60114 [USE_AS_STRNCASECMP_L]: Likewise.
60115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60116 NO_TLS_DIRECT_SEG_REFS.
60117
60118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60119
60120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60121 O_CLOEXEC.
60122 * locale/loadlocale.c (_nl_load_locale): Likewise.
60123
60124 2011-11-15 Andreas Schwab <schwab@redhat.com>
60125
60126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60129 (SYSCALL_GETTIME): Set errno on error.
60130
60131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60132 count references to noai6ai_cached.
60133
60134 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60135
60136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60137
60138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60139 FD_CLOEXEC for /proc/self/maps.
60140
60141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60142 FD_CLOEXEC for /proc/meminfo.
60143
60144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60145 gai.conf.
60146
60147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60148 FD_CLOEXEC for given file.
60149
60150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60151
60152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60153 FD_CLOEXEC for /etc/hosts.
60154 (_gethtent): Likewise.
60155
60156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60157
60158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60159 cancellation and set FD_CLOEXEC for /etc/netgroup.
60160
60161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60162 reading /etc/publickey.
60163
60164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60165 allow cancellation when reading /etc/group.
60166
60167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60168 cancellation.
60169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60170
60171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60172 when using data file.
60173
60174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60175
60176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60177 (write_nis_obj): Use "c" and "e" in fopen.
60178
60179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60180
60181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60182
60183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60184
60185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60186
60187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60188 locale.alias.
60189
60190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60191
60192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60193
60194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60195
60196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60197 file parsing and set FD_CLOEXEC.
60198
60199 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60200
60201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60202
60203 2011-11-14 Andreas Schwab <schwab@redhat.com>
60204
60205 * malloc/arena.c (arena_get2): Don't call reused_arena when
60206 _int_new_arena failed.
60207
60208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60209
60210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60216 to compile strcasecmp and strncasecmp.
60217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60219
60220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60221
60222 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60223
60224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60225 locale-defines.sym to gen-as-const-headers.
60226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60229 to compile strcasecmp and strncasecmp.
60230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60231 strcasecmp_l and strncasecmp_l.
60232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60243
60244 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60245
60246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60247 result of SYSDEP_GETTIME_CPU to retval.
60248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60249 parameter list to macro. Remove trailing semicolon. Adjust users.
60250
60251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60252 variable.
60253
60254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60255 mantissa words.
60256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60257
60258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60259 from unused variable.
60260
60261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60262 DWARF definitions.
60263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60264 for assembling.
60265
60266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60267 over namespaces.
60268
60269 * sunrpc/rpc_prot.c (rejected): Fix case value.
60270
60271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60272 unsigned long long int to avoid warnings in shift.
60273
60274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60275 of use of trans.
60276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60277 variable tmp.
60278
60279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60282
60283 * nis/nis_table.c (nis_list): Use variable of correct type for
60284 result of __follow_path call.
60285
60286 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60287
60288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60289 of math functions ceil, trunc, floor, round, and sqrt, when
60290 avaliable on the platform.
60291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60292 name clash.
60293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60296
60297 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60298
60299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60301
60302 2011-11-11 Roland McGrath <roland@hack.frob.com>
60303
60304 * include/unistd.h: Fix __readlink return type.
60305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60306
60307 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60308
60309 * stdlib/ucontext.h: Undo last change for makecontext.
60310
60311 2011-11-11 Andreas Schwab <schwab@redhat.com>
60312
60313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60314
60315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60316 * setjmp/setjmp.h: Mark functions as non-leaf.
60317 * setjmp/bits/setjmp2.h: Likewise.
60318 * stdlib/ucontext.h: Likewise.
60319
60320 2011-11-10 Andreas Schwab <schwab@redhat.com>
60321
60322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60323 (reused_arena): Don't check arena limit.
60324 (arena_get2): Atomically check arena limit.
60325
60326 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60327
60328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60330
60331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60332 instructions.
60333
60334 2011-11-07 Andreas Schwab <schwab@redhat.com>
60335
60336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60337 handler when locking.
60338
60339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60340 Fix size of allocated buffer.
60341
60342 2011-11-04 Andreas Schwab <schwab@redhat.com>
60343
60344 [BZ #10103]
60345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60346 declarations for long double functions.
60347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60348
60349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60350
60351 2011-11-03 Andreas Schwab <schwab@redhat.com>
60352
60353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60354 installed.
60355
60356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60357 is disabled.
60358
60359 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60360
60361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60362
60363 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60364
60365 * include/alloca.h (stackinfo_alloca_round): Define.
60366 (extend_alloca): Use it.
60367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60369 here.
60370
60371 * scripts/check-local-headers.sh: Ignore libaudit.h.
60372
60373 * nscd/Makefile (extra-objs): Make recursively expanded.
60374
60375 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60376
60377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60379
60380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60381 * posix/tst-rfc3484-2.c: Likewise.
60382 * posix/tst-rfc3484-3.c: Likewise.
60383
60384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60385 process_vm_writev.
60386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60387 process_vm_writev.
60388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60389 process_vm_writev from libc using GLIBC_2.15 version.
60390
60391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60392
60393 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60394
60395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60396 stack usage.
60397
60398 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60399
60400 [BZ #13367]
60401 * nss/getent.c (initgroups_keys): Show error message in case no group
60402 names are given.
60403
60404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60406 __bump_nl_timestamp.
60407 * nscd/connections (nscd_init): When host database is served open
60408 netlink socket and request notification about configuration changes.
60409 (main_loop_poll): Track netlink file descriptor and bump timestamp
60410 in case data becomes available.
60411 (main_loop_epoll): Likewise.
60412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60413 (database_pers_head): Add extra_data fileds.
60414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60417 Adjust caller.
60418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60419 in6ai data, call __free_in6ai.
60420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60421 Add -DHAVE_NETLINK.
60422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60423 interface information. Reuse previous data if netlink timestamp
60424 is not changed.
60425 (__bump_nl_timestamp): New function.
60426 (__free_in6ai): New function.
60427
60428 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60429
60430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60431 close_not_cancel_no_status here.
60432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60433
60434 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60435
60436 [BZ #13276]
60437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60438 return value.
60439
60440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60443
60444 2011-07-03 Andreas Jaeger <aj@suse.de>
60445
60446 [BZ #10709]
60447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60449 * math/libm-test.inc (sin_test): Add test case.
60450
60451 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60452
60453 [BZ #13337]
60454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60456
60457 * elf/chroot_canon.c (chroot_canon): Cleanups.
60458
60459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60460
60461 [BZ #13335]
60462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60464
60465 * string/test-strchr.c: Make usable for strchrnul testing.
60466 * string/test-strchrnul.c: New file.
60467 * string/Makefile (strop-tests): Add strchrnul.
60468
60469 * po/it.po: Update from translation team.
60470 * po/es.po: Likewise.
60471
60472 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60473
60474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60475 the three constants needed as parameters. Drop the others.
60476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60477 __m128i_strloadu_tolower.
60478 Create and initialize variable zero and use it in all the places
60479 where _mm_setzero_si128 was used.
60480
60481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60485 anymore.
60486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60491 __mpranred, __mptan.
60492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60501
60502 2011-10-28 Andreas Schwab <schwab@redhat.com>
60503
60504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60505 redefine if SHARED.
60506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60507
60508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60509 wide char related routines to wcsmbs subdir.
60510
60511 2011-10-27 Andreas Schwab <schwab@redhat.com>
60512
60513 [BZ #13344]
60514 * misc/sys/cdefs.h (__THROWNL): Define.
60515 * posix/unistd.h: Use __THREADNL instead of __THREAD
60516 for memory synchronization functions.
60517
60518 2011-10-26 Roland McGrath <roland@hack.frob.com>
60519
60520 [BZ #13349]
60521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60522 doesn't exist.
60523 * manual/stdio.texi (Obstack Streams): Node removed.
60524
60525 2011-10-26 Andreas Schwab <schwab@redhat.com>
60526
60527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60530
60531 * math/math_private.h (math_force_eval): Allow non-addressable
60532 arguments.
60533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60534
60535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60536
60537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60538 file is not needed.
60539
60540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60548 Add AVX variants.
60549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60568
60569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60571
60572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60573 place. Use VEX encoding when compiling for AVX.
60574
60575 2011-10-25 Andreas Schwab <schwab@redhat.com>
60576
60577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60579
60580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60581
60582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60583
60584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60585 useless if() expression.
60586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60605
60606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60607
60608 2011-10-25 Andreas Schwab <schwab@redhat.com>
60609
60610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60611 condition.
60612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60613
60614 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60615
60616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60617 .text section. Avoid duplicate constants.
60618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60663
60664 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60665
60666 * sysdeps/x86_64/dla.h: Move to ...
60667 * sysdeps/x86_64/fpu/dla.h: ...here.
60668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60669 situations. Use __builtin_fma only for gcc 4.6 and up.
60670
60671 * config.make.in: Add have-mfma4 entry.
60672 * configure.in: Substitute libc_cv_cc_fma4.
60673 * math/Makefile (dbl-only-routines): Add sincostab.
60674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60675 Use __sincostab not sincos.
60676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60677 name is a macro.
60678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60682 using __copysign.
60683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60687 and __inv.
60688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60690 __copysign.
60691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60692 define aliases when function name is a macro.
60693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60694 sysdeps/ieee754/dbl-64/sincos.tbl.
60695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60696 fma4-enabled routines.
60697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60727
60728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60729 rename.
60730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60738
60739 2011-10-24 Andreas Schwab <schwab@redhat.com>
60740
60741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60742
60743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60744
60745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60746
60747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60748 prediction.
60749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60750
60751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60752 Remove unused variable magic_bits.
60753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60754
60755 * string/strnlen.c: Define and use STRNLEN macro.
60756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60759 * wcsmbs/wcslen.c: Define and use WCSLEN.
60760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60767
60768 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60769
60770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60771 strnlen-sse2-no-bsf.
60772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60775 Add strnlen support.
60776 (USE_AS_STRNLEN): New macro.
60777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60780 * sysdeps/x86_64/wcslen.S: New file.
60781
60782 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60783
60784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60785 XMM-moves are used for copying on small sizes.
60786
60787 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60788
60789 * wcsmbs/Makefile (strop-tests): Add wcschr.
60790 * wcsmbs/test-wcschr.c: New file.
60791 * string/test-strchr.c: Update.
60792 Add wcschr support.
60793 (WIDE): New macro.
60794
60795 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60796
60797 * wcsmbs/Makefile (strop-tests): Add wcslen.
60798 * wcsmbs/test-wcslen.c: New file.
60799 * string/test-strlen.c: Update.
60800 Add wcslen support.
60801 (WIDE): New macro.
60802
60803 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60804
60805 * po/it.po: Update from translation team.
60806
60807 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60808
60809 * sysdeps/x86_64/wcscmp.S: Update.
60810 Fix wrong comparison semantics.
60811 wcscmp shall use signed comparison not unsigned.
60812 Don't use substraction to avoid overflow bug.
60813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60814 * wcsmbc/wcscmp.c: Likewise.
60815 * string/test-strcmp.c: Likewise.
60816 Add new tests to check cases with negative values.
60817
60818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60819
60820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60821 * sysdeps/x86_64/dla.h: ...here. New file.
60822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60831
60832 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60833
60834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60835 __ynl_finite aliases.
60836
60837 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60838
60839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60840
60841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60842 define DLA_FMA.
60843 [DLA_FMA] (EMULV): Use DLA_FMA.
60844 [DLA_FMA] (MUL12): Use EMULV.
60845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60846 that are not needed.
60847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60854
60855 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60856
60857 * math/s_nan.c: Undef __nan.
60858 * math/s_nanf.c: Undef __nanf.
60859 * math/s_nanl.c: Undef __nanl.
60860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60861 "math_private.h".
60862
60863 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60864
60865 * math/s_catan.c: Add branch predictions.
60866 * math/s_catanf.c: Likewise.
60867 * math/s_catanh.c: Likewise.
60868 * math/s_catanhf.c: Likewise.
60869 * math/s_catanhl.c: Likewise.
60870 * math/s_catanl.c: Likewise.
60871 * math/s_cexp.c: Likewise.
60872 * math/s_cexpf.c: Likewise.
60873 * math/s_cexpl.c: Likewise.
60874 * math/s_clog.c: Likewise.
60875 * math/s_clog10.c: Likewise.
60876 * math/s_clog10f.c: Likewise.
60877 * math/s_clog10l.c: Likewise.
60878 * math/s_clogf.c: Likewise.
60879 * math/s_clogl.c: Likewise.
60880 * math/s_csqrt.c: Likewise.
60881 * math/s_csqrtf.c: Likewise.
60882 * math/s_csqrtl.c: Likewise.
60883 * math/s_ctanf.c: Likewise.
60884 * math/s_ctanh.c: Likewise.
60885 * math/s_ctanhf.c: Likewise.
60886 * math/s_ctanhl.c: Likewise.
60887 * math/s_ctanl.c: Likewise.
60888
60889 * math/math_private.h: Define __nan, __nanf, __nanl.
60890 * math/s_cacosh.c: Include <math_private.h>.
60891 * math/s_cacoshl.c: Likewise.
60892 * math/s_casinh.c: Likewise.
60893 * math/s_casinhf.c: Likewise.
60894 * math/s_casinhl.c: Likewise.
60895 * math/s_ccos.c: Rely entire on ccosh.
60896 * math/s_ccosf.c: Rely entire on ccoshf.
60897 * math/s_ccosl.c: Rely entirely on ccoshl.
60898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60899 Remove tests for FE_INVALID.
60900 * math/s_ccoshf.c: Likewise.
60901 * math/s_ccoshl.c: Likewise.
60902 * math/s_csin.c: Likewise.
60903 * math/s_csinf.c: Likewise.
60904 * math/s_csinh.c Likewise.
60905 * math/s_csinhf.c: Likewise.
60906 * math/s_csinhl.c: Likewise.
60907 * math/s_csinl.c: Likewise.
60908 * math/s_ctan.c: Likewise.
60909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60912
60913 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60914
60915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60916 compilation problems.
60917
60918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60919 __builtin_expect.
60920
60921 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60922
60923 * sysdeps/i386/configure.in: Test for -mfma4 option.
60924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60926 COMMON_CPUID_INDEX_80000001.
60927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60929 use it if FMA3 is not supported.
60930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60931
60932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60934
60935 2011-10-20 Andreas Schwab <schwab@redhat.com>
60936
60937 [BZ #12892]
60938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60939 it would create a cycle with a link time dependency.
60940
60941 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60942
60943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60944 instruction.
60945 * string/Makefile (strop-tests): Add rawmemchr.
60946 * string/test-rawmemchr.c: New file.
60947
60948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60951 when compiling str{,n}casecmp and when AVX is available. Hook up
60952 new optimized code in initializers.
60953
60954 2011-10-19 Andreas Schwab <schwab@redhat.com>
60955
60956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60957 __feraiseexcept instead of feraiseexcept.
60958
60959 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60960
60961 * math/math_private.h: Define defaults for libc_fetestexcept and
60962 libc_feupdateenv.
60963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60969 libc_fetestexcept and libc_feupdateenv.
60970
60971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60975 libc_feholdexcept_setround.
60976
60977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60978 Add s_nearbyint-c and s_nearbyintf-c.
60979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60980 nearbyintf inlines.
60981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60985
60986 * math/math_private.h: Define defaults for libc_fegetround,
60987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60992 standard functions.
60993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60994 Remove comments and hacks for old compiler versions.
60995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60997 libc_feholdexceptl.
60998
60999 2011-10-18 Andreas Schwab <schwab@redhat.com>
61000
61001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61002 (__feraiseexcept_renamed): Add __NTH.
61003 (feraiseexcept): Add __NTH. Rename local variables to fix
61004 namespace violations.
61005
61006 2011-10-17 Ulrich Drepper <drepper@gmail.com>
61007
61008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61009
61010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61011
61012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61013 recently added interfaces.
61014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61015
61016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61017 about macro parameter expansion.
61018
61019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61020 __NO_MATH_INLINES is defined. Cleanups.
61021
61022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61023 and __floorf is target has SSE4.1.
61024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61028
61029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61030 name.
61031 (floorf): Likewise.
61032
61033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61034
61035 2011-10-17 Andreas Schwab <schwab@redhat.com>
61036
61037 * misc/sys/cdefs.h: Fix last change.
61038
61039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61040 database lookup.
61041
61042 2011-10-16 Ulrich Drepper <drepper@gmail.com>
61043
61044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61045
61046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61068
61069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61070 ceil, ceilf, floor, floorf.
61071
61072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61073 Perform IRELATIVE relocations last.
61074
61075 * elf/do-rel.h: Add another parameter nrelative, replacing the
61076 local variable with the same name. Change name of the function
61077 to end in Rel or Rela (uppercase).
61078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61080 elf_dynamic_do_##reloc function.
61081
61082 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61083
61084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61085 is sufficient, at least on modern CPUs.
61086
61087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61088
61089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61091
61092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61093 __expl_finite.
61094 * math/bits/math-finite.h: Add entries for exp.
61095 * math/e_expl.c: Add __*_finite alias.
61096 * sysdeps/i386/fpu/e_exp.S: Likewise.
61097 * sysdeps/i386/fpu/e_expf.S: Likewise.
61098 * sysdeps/i386/fpu/e_expl.c: Likewise.
61099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61106
61107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61108 is sufficient, at least on modern CPUs.
61109
61110 * ctype/ctype-info.c (__ctype_init): Define.
61111 * include/ctype.h (__ctype_init): Declare.
61112 (__ctype_b_loc): The variable is always initialized.
61113 (__ctype_toupper_loc): Likewise.
61114 (__ctype_tolower_loc): Likewise.
61115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61117
61118 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61119
61120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61121
61122 * configure.in: Also look in $cxxmachine/include for C++ system
61123 headers.
61124
61125 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61126
61127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61132 (USE_AS_WMEMCMP): New macro.
61133 Fixing indents.
61134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61145 (USE_AS_WMEMCMP): New macro.
61146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61147 * sysdeps/string/test-memcmp.c: Update.
61148 Fix simple_wmemcmp.
61149 Add new tests.
61150 * wcsmbs/wmemcmp.c: Update.
61151 (WMEMCMP): New macro.
61152 Fix overflow bug.
61153
61154 2011-10-12 Andreas Jaeger <aj@suse.de>
61155
61156 [BZ #13268]
61157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61158
61159 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61160
61161 * libio/iofwide.c (do_length): Avoid warning.
61162
61163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61164
61165 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61166
61167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61168
61169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61172 * sysdeps/i386/i686/fpu/e_log.S: New file.
61173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61175
61176 * ctype/ctype.h: Add support for inlined isXXX functions when
61177 compiling C++ code.
61178
61179 2011-10-14 Andreas Schwab <schwab@redhat.com>
61180
61181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61182
61183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61184
61185 2011-10-13 Roland McGrath <roland@hack.frob.com>
61186
61187 [BZ #13291]
61188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61189
61190 2011-10-13 Andreas Schwab <schwab@redhat.com>
61191
61192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61194 feraiseexcept.
61195
61196 * sysdeps/x86_64/memrchr.S: Check for zero size.
61197
61198 * string/stratcliff.c: Add memrchr tests.
61199
61200 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61201
61202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61204 rawmemchr-sse2 rawmemchr-sse2-bsf.
61205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61215 * string/memrchr.c (MEMRCHR): New macro.
61216
61217 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61218
61219 Add integration with gcc's -ffinite-math-only and optimize wrapper
61220 functions in libm.
61221 * Versions.def: Define GLIBC_2.15 version for libm.
61222 * math/Makefile (headers): Add bits/math-finite.h.
61223 * math/bits/math-finite.h: New file.
61224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61226 * math/e_acoshl.c: Add __*_finite alias.
61227 * math/e_acosl.c: Likewise.
61228 * math/e_asinl.c: Likewise.
61229 * math/e_atan2l.c: Likewise.
61230 * math/e_atanhl.c: Likewise.
61231 * math/e_coshl.c: Likewise.
61232 * math/e_exp10.c: Likewise.
61233 * math/e_exp10f.c: Likewise.
61234 * math/e_exp10l.c: Likewise.
61235 * math/e_exp2l.c: Likewise.
61236 * math/e_fmodl.c: Likewise.
61237 * math/e_gammal_r.c: Likewise.
61238 * math/e_hypotl.c: Likewise.
61239 * math/e_j0l.c: Likewise.
61240 * math/e_j1l.c: Likewise.
61241 * math/e_jnl.c: Likewise.
61242 * math/e_lgammal_r.c: Likewise.
61243 * math/e_log10l.c: Likewise.
61244 * math/e_log2l.c: Likewise.
61245 * math/e_logl.c: Likewise.
61246 * math/e_powl.c: Likewise.
61247 * math/e_sinhl.c: Likewise.
61248 * math/e_sqrtl.c: Likewise.
61249 * math/e_scalb.c: Completely rewritten and optimized.
61250 * math/e_scalbf.c: Likewise.
61251 * math/e_scalbl.c: Likewise.
61252 * math/w_acos.c: Likewise.
61253 * math/w_acosf.c: Likewise.
61254 * math/w_acosl.c: Likewise.
61255 * math/w_acosh.c: Likewise.
61256 * math/w_acoshf.c: Likewise.
61257 * math/w_acoshl.c: Likewise.
61258 * math/w_asin.c: Likewise.
61259 * math/w_asinf.c: Likewise.
61260 * math/w_asinl.c: Likewise.
61261 * math/w_atan2.c: Likewise.
61262 * math/w_atan2f.c: Likewise.
61263 * math/w_atan2l.c: Likewise.
61264 * math/w_atanh.c: Likewise.
61265 * math/w_atanhf.c: Likewise.
61266 * math/w_atanhl.c: Likewise.
61267 * math/w_exp10.c: Likewise.
61268 * math/w_exp10f.c: Likewise.
61269 * math/w_exp10l.c: Likewise.
61270 * math/w_fmod.c: Likewise.
61271 * math/w_fmodf.c: Likewise.
61272 * math/w_fmodl.c: Likewise.
61273 * math/w_j0.c: Likewise.
61274 * math/w_j0f.c: Likewise.
61275 * math/w_j0l.c: Likewise.
61276 * math/w_j1.c: Likewise.
61277 * math/w_j1f.c: Likewise.
61278 * math/w_j1l.c: Likewise.
61279 * math/w_jn.c: Likewise.
61280 * math/w_jnf.c: Likewise.
61281 * math/w_log.c: Likewise.
61282 * math/w_logf.c: Likewise.
61283 * math/w_logl.c: Likewise.
61284 * math/w_log10.c: Likewise.
61285 * math/w_log10f.c: Likewise.
61286 * math/w_log10l.c: Likewise.
61287 * math/w_log2.c: Likewise.
61288 * math/w_log2f.c: Likewise.
61289 * math/w_log2l.c: Likewise.
61290 * math/w_pow.c: Likewise.
61291 * math/w_powf.c: Likewise.
61292 * math/w_powl.c: Likewise.
61293 * math/w_remainder.c: Likewise.
61294 * math/w_remainderf.c: Likewise.
61295 * math/w_remainderl.c: Likewise.
61296 * math/w_scalb.c: Likewise.
61297 * math/w_scalbf.c: Likewise.
61298 * math/w_scalbl.c: Likewise.
61299 * math/w_sqrt.c: Likewise.
61300 * math/w_sqrtf.c: Likewise.
61301 * math/w_sqrtl.c: Likewise.
61302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61304 used.
61305 * math/math_private.h: Declare __kernel_standard_f.
61306 * math/w_cosh.c: Remove cruft and optimize a bit.
61307 * math/w_coshf.c: Likewise.
61308 * math/w_coshl.c: Likewise.
61309 * math/w_exp2.c: Likewise.
61310 * math/w_exp2f.c: Likewise.
61311 * math/w_exp2l.c: Likewise.
61312 * math/w_hypot.c: Likewise.
61313 * math/w_hypotf.c: Likewise.
61314 * math/w_hypotl.c: Likewise.
61315 * math/w_lgamma.c: Likewise.
61316 * math/w_lgamma_r.c: Likewise.
61317 * math/w_lgammaf.c: Likewise.
61318 * math/w_lgammaf_r.c: Likewise.
61319 * math/w_lgammal.c: Likewise.
61320 * math/w_lgammal_r.c: Likewise.
61321 * math/w_sinh.c: Likewise.
61322 * math/w_sinhf.c: Likewise.
61323 * math/w_sinhl.c: Likewise.
61324 * math/w_tgamma.c: Likewise.
61325 * math/w_tgammaf.c: Likewise.
61326 * math/w_tgammal.c: Likewise.
61327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61330 Minor optimizations. Pretty printing. Remove cruft.
61331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61336 * sysdeps/i386/fpu/e_asin.S: Likewise.
61337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61355 * sysdeps/i386/fpu/e_log.S: Likewise.
61356 * sysdeps/i386/fpu/e_log10.S: Likewise.
61357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61359 * sysdeps/i386/fpu/e_log2.S: Likewise.
61360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61362 * sysdeps/i386/fpu/e_logf.S: Likewise.
61363 * sysdeps/i386/fpu/e_logl.S: Likewise.
61364 * sysdeps/i386/fpu/e_pow.S: Likewise.
61365 * sysdeps/i386/fpu/e_powf.S: Likewise.
61366 * sysdeps/i386/fpu/e_powl.S: Likewise.
61367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61489 (__isnanf): Likewise.
61490 (__isinf_ns): Likewise.
61491 (__isinf_nsf): Likewise.
61492 (__finite): Likewise.
61493 (__finitef): Likewise.
61494 (__ieee754_sqrt): Define as macro.
61495 (__ieee754_sqrtf): Define as macro.
61496 (__ieee754_sqrtl): Define as macro.
61497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61498 inlined copy.
61499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61500 __FINITE_MATH_ONLY__ consistent.
61501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61502
61503 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61504
61505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61506 of rawmemchr.
61507
61508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61509
61510 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61511
61512 * po/ja.po: Update from translation team.
61513
61514 2011-10-08 Roland McGrath <roland@hack.frob.com>
61515
61516 * locale/programs/locarchive.c (prepare_address_space): New function.
61517 (create_archive, enlarge_archive, open_archive): Use it.
61518
61519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61520 inside [SHARED], where it is used.
61521
61522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61523
61524 * nss/getent.c (netgroup_keys): Remove unused variable.
61525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61526
61527 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61528
61529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61535 * math/Makefile (libm-calls): Add s_isinf_ns.
61536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61537 * math/multc3.c: Likewise.
61538 * math/s_casin.c: Likewise.
61539 * math/s_casinf.c: Likewise.
61540 * math/s_casinl.c: Likewise.
61541 * math/s_ccos.c: Likewise.
61542 * math/s_ccosf.c: Likewise.
61543 * math/s_ccosl.c: Likewise.
61544 * math/s_ctan.c: Likewise.
61545 * math/s_ctanf.c: Likewise.
61546 * math/s_ctanh.c: Likewise.
61547 * math/s_ctanhf.c: Likewise.
61548 * math/s_ctanhl.c: Likewise.
61549 * math/s_ctanl.c: Likewise.
61550 * math/w_fmod.c: Likewise.
61551 * math/w_fmodf.c: Likewise.
61552 * math/w_fmodl.c: Likewise.
61553 * math/w_remainder.c: Likewise.
61554 * math/w_remainderf.c: Likewise.
61555 * math/w_remainderl.c: Likewise.
61556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61564
61565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61566 of the number.
61567 * stdio-common/printf_fphex.c: Likewise.
61568 * stdio-common/printf_size.c: Likewise.
61569
61570 * math/e_exp10.c: Include math_private.h using <...> not "...".
61571 * math/e_exp10f.c: Likewise.
61572 * math/e_exp10l.c: Likewise.
61573 * math/e_exp2l.c: Likewise.
61574 * math/e_j0l.c: Likewise.
61575 * math/e_j1l.c: Likewise.
61576 * math/e_jnl.c: Likewise.
61577 * math/e_lgammal_r.c: Likewise.
61578 * math/e_rem_pio2l.c: Likewise.
61579 * math/e_scalb.c: Likewise.
61580 * math/e_scalbf.c: Likewise.
61581 * math/e_scalbl.c: Likewise.
61582 * math/k_cosl.c: Likewise.
61583 * math/k_sinl.c: Likewise.
61584 * math/k_tanl.c: Likewise.
61585 * math/s_cacoshf.c: Likewise.
61586 * math/s_catan.c: Likewise.
61587 * math/s_catanf.c: Likewise.
61588 * math/s_catanh.c: Likewise.
61589 * math/s_catanhf.c: Likewise.
61590 * math/s_catanhl.c: Likewise.
61591 * math/s_catanl.c: Likewise.
61592 * math/s_ccosh.c: Likewise.
61593 * math/s_ccoshf.c: Likewise.
61594 * math/s_ccoshl.c: Likewise.
61595 * math/s_cexp.c: Likewise.
61596 * math/s_cexpf.c: Likewise.
61597 * math/s_cexpl.c: Likewise.
61598 * math/s_clog.c: Likewise.
61599 * math/s_clog10.c: Likewise.
61600 * math/s_clog10f.c: Likewise.
61601 * math/s_clog10l.c: Likewise.
61602 * math/s_clogf.c: Likewise.
61603 * math/s_clogl.c: Likewise.
61604 * math/s_csin.c: Likewise.
61605 * math/s_csinf.c: Likewise.
61606 * math/s_csinh.c: Likewise.
61607 * math/s_csinhf.c: Likewise.
61608 * math/s_csinhl.c: Likewise.
61609 * math/s_csinl.c: Likewise.
61610 * math/s_csqrt.c: Likewise.
61611 * math/s_csqrtf.c: Likewise.
61612 * math/s_csqrtl.c: Likewise.
61613 * math/s_ctan.c: Likewise.
61614 * math/s_ctanf.c: Likewise.
61615 * math/s_ctanh.c: Likewise.
61616 * math/s_ctanhf.c: Likewise.
61617 * math/s_ctanhl.c: Likewise.
61618 * math/s_ctanl.c: Likewise.
61619 * math/s_ldexp.c: Likewise.
61620 * math/s_ldexpf.c: Likewise.
61621 * math/s_ldexpl.c: Likewise.
61622 * math/s_significand.c: Likewise.
61623 * math/s_significandf.c: Likewise.
61624 * math/s_significandl.c: Likewise.
61625 * math/w_acos.c: Likewise.
61626 * math/w_acosf.c: Likewise.
61627 * math/w_acosh.c: Likewise.
61628 * math/w_acoshf.c: Likewise.
61629 * math/w_acoshl.c: Likewise.
61630 * math/w_acosl.c: Likewise.
61631 * math/w_asin.c: Likewise.
61632 * math/w_asinf.c: Likewise.
61633 * math/w_asinl.c: Likewise.
61634 * math/w_atan2.c: Likewise.
61635 * math/w_atan2f.c: Likewise.
61636 * math/w_atan2l.c: Likewise.
61637 * math/w_atanh.c: Likewise.
61638 * math/w_atanhf.c: Likewise.
61639 * math/w_atanhl.c: Likewise.
61640 * math/w_cosh.c: Likewise.
61641 * math/w_coshf.c: Likewise.
61642 * math/w_coshl.c: Likewise.
61643 * math/w_dremf.c: Likewise.
61644 * math/w_exp10.c: Likewise.
61645 * math/w_exp10f.c: Likewise.
61646 * math/w_exp10l.c: Likewise.
61647 * math/w_exp2.c: Likewise.
61648 * math/w_exp2f.c: Likewise.
61649 * math/w_fmod.c: Likewise.
61650 * math/w_fmodf.c: Likewise.
61651 * math/w_fmodl.c: Likewise.
61652 * math/w_hypot.c: Likewise.
61653 * math/w_hypotf.c: Likewise.
61654 * math/w_hypotl.c: Likewise.
61655 * math/w_j0.c: Likewise.
61656 * math/w_j0f.c: Likewise.
61657 * math/w_j0l.c: Likewise.
61658 * math/w_j1.c: Likewise.
61659 * math/w_j1f.c: Likewise.
61660 * math/w_j1l.c: Likewise.
61661 * math/w_jn.c: Likewise.
61662 * math/w_jnf.c: Likewise.
61663 * math/w_jnl.c: Likewise.
61664 * math/w_lgamma.c: Likewise.
61665 * math/w_lgamma_r.c: Likewise.
61666 * math/w_lgammaf.c: Likewise.
61667 * math/w_lgammaf_r.c: Likewise.
61668 * math/w_lgammal.c: Likewise.
61669 * math/w_lgammal_r.c: Likewise.
61670 * math/w_log.c: Likewise.
61671 * math/w_log10.c: Likewise.
61672 * math/w_log10f.c: Likewise.
61673 * math/w_log10l.c: Likewise.
61674 * math/w_log2.c: Likewise.
61675 * math/w_log2f.c: Likewise.
61676 * math/w_log2l.c: Likewise.
61677 * math/w_logf.c: Likewise.
61678 * math/w_logl.c: Likewise.
61679 * math/w_pow.c: Likewise.
61680 * math/w_powf.c: Likewise.
61681 * math/w_powl.c: Likewise.
61682 * math/w_remainder.c: Likewise.
61683 * math/w_remainderf.c: Likewise.
61684 * math/w_remainderl.c: Likewise.
61685 * math/w_scalb.c: Likewise.
61686 * math/w_scalbf.c: Likewise.
61687 * math/w_scalbl.c: Likewise.
61688 * math/w_sinh.c: Likewise.
61689 * math/w_sinhf.c: Likewise.
61690 * math/w_sinhl.c: Likewise.
61691 * math/w_sqrt.c: Likewise.
61692 * math/w_sqrtf.c: Likewise.
61693 * math/w_sqrtl.c: Likewise.
61694 * math/w_tgamma.c: Likewise.
61695 * math/w_tgammaf.c: Likewise.
61696 * math/w_tgammal.c: Likewise.
61697
61698 * po/ja.po: Update from translation team.
61699
61700 2011-09-29 Andreas Jaeger <aj@suse.de>
61701
61702 [BZ #13179]
61703 * sunrpc/netname.c (netname2host): Fix logic.
61704
61705 [BZ #6779]
61706 [BZ #6783]
61707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61708 correctly.
61709 * math/w_remainder.c (__remainder): Likewise.
61710 * math/w_remainderf.c (__remainderf): Likewise.
61711 * math/libm-test.inc (remainder_test): Add test cases.
61712
61713 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61714
61715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61716 sdiv_qrnnd.
61717
61718 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61719
61720 * string/test-memcmp.c: Avoid unncessary #defines.
61721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61722
61723 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61724
61725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61726 Use new sse2 version for core i3 - i7 as it's faster
61727 than sse42 version.
61728 (bit_Prefer_PMINUB_for_stringop): New.
61729 * sysdeps/x86_64/rawmemchr.S: Update.
61730 Replace with faster SSE2 version.
61731 * sysdeps/x86_64/memrchr.S: New file.
61732 * sysdeps/x86_64/memchr.S: Update.
61733 Replace with faster SSE2 version.
61734
61735 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61736
61737 * elf/dl-load.c (lose): Add cast to avoid warning.
61738
61739 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61740
61741 * po/ca.po: Update from translation team.
61742
61743 * inet/getnetgrent_r.c: Hook up nscd.
61744 * nscd/Makefile (routines): Add nscd_netgroup.
61745 (nscd-modules): Add netgroupcache.
61746 (CFLAGS-netgroupcache.c): Define.
61747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61748 (cache_search): Add const to second parameter.
61749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61750 INNETGR.
61751 (dbs): Add netgrdb entry.
61752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61753 (verify_persistent_db): Handle netgrdb.
61754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61756 GETFDNETGR.
61757 (netgroup_response_header): Define.
61758 (innetgroup_response_header): Define.
61759 (datahead): Add netgroup_response_header and innetgroup_response_header
61760 elements.
61761 * nscd/nscd.conf: Add entries for netgroup cache.
61762 * nscd/nscd.h (dbtype): Add netgrdb.
61763 (_PATH_NSCD_NETGROUP_DB): Define.
61764 (netgroup_iov_disabled): Declare.
61765 (xmalloc, xcalloc, xrealloc): Move declarations here.
61766 (cache_search): Adjust prototype.
61767 Add netgroup-related prototypes.
61768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61770 (__nscd_innetgr): Declare.
61771 * nscd/selinux.c (perms): Use access_vector_t as element type and
61772 add netgroup-related initializers.
61773 * nscd/netgroupcache.c: New file.
61774 * nscd/nscd_netgroup.c: New file.
61775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61777 For four parameters use innetgr.
61778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61782
61783 * nscd/connections.c (register_traced_file): Don't register file
61784 for disabled databases.
61785
61786 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61787
61788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61789
61790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61791 from tree and freeing node.
61792
61793 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61794
61795 * nss/nsswitch.c (__nss_database_lookup): Handle
61796 nss_parse_service_list out of memory case.
61797
61798 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61799
61800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61801 out of memory case.
61802
61803 2011-10-04 Andreas Schwab <schwab@redhat.com>
61804
61805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61807 pass it down.
61808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61809 elf_machine_rela, elf_machine_lazy_rel.
61810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61811 (ELF_DYNAMIC_DO_REL): Likewise.
61812 (ELF_DYNAMIC_DO_RELA): Likewise.
61813 (ELF_DYNAMIC_RELOCATE): Likewise.
61814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61815 to ELF_DYNAMIC_DO_REL.
61816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61819 elf_machine_rela.
61820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61821 skip_ifunc, don't call ifunc function if non-zero.
61822 (elf_machine_rela): Likewise.
61823 (elf_machine_lazy_rel): Likewise.
61824 (elf_machine_lazy_rela): Likewise.
61825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61826 (elf_machine_lazy_rel): Likewise.
61827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61828 Likewise.
61829 (elf_machine_lazy_rel): Likewise.
61830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61831 Likewise.
61832 (elf_machine_lazy_rel): Likewise.
61833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61834 (elf_machine_lazy_rel): Likewise.
61835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61836 (elf_machine_lazy_rel): Likewise.
61837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61838 (elf_machine_lazy_rel): Likewise.
61839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61840 (elf_machine_lazy_rel): Likewise.
61841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61842 (elf_machine_lazy_rel): Likewise.
61843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61844 (elf_machine_lazy_rel): Likewise.
61845
61846 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61847
61848 * nss/nss_files/files-init.c (_nss_files_init): Use static
61849 initialization for all the *_traced_file variables.
61850
61851 2011-09-28 Andreas Schwab <schwab@redhat.com>
61852
61853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61854
61855 2011-09-27 Roland McGrath <roland@hack.frob.com>
61856
61857 [BZ #13226]
61858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61859
61860 2011-09-27 Andreas Schwab <schwab@redhat.com>
61861
61862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61863 Reread the line before reparsing it.
61864
61865 2011-09-26 Andreas Schwab <schwab@redhat.com>
61866
61867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61868
61869 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61870 Maxim Kuvyrkov <maxim@codesourcery.com>
61871 Joseph Myers <joseph@codesourcery.com>
61872
61873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61874 if needed for __stack_chk_guard.
61875
61876 2011-09-19 Roland McGrath <roland@hack.frob.com>
61877
61878 * sysdeps/posix/spawni.c (script_execute): Always define it.
61879 It will be optimized away if unused.
61880 (maybe_script_execute): New function.
61881 (__spawni): Call it.
61882
61883 * Makerules: Don't include tls.make.
61884 (config-tls): Always set to thread.
61885 * tls.make.c: File removed.
61886
61887 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61888
61889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61890 * config.make.in (CPPFLAGS-config): New substituted variable.
61891
61892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61893
61894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61895
61896 [BZ #13192]
61897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61899
61900 2011-09-15 Roland McGrath <roland@hack.frob.com>
61901
61902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61905 (CALL_FAIL): Likewise.
61906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61907 (CALL_FAIL): Macro removed.
61908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61909
61910 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61911
61912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61913 for __FINITE_MATH_ONLY__ == 1.
61914
61915 2011-09-15 Andreas Schwab <schwab@redhat.com>
61916
61917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61918 __ieee754_sqrt instead of sqrt.
61919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61920 __ieee754_sqrtf instead of sqrtf.
61921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61922 __floorf instead of floorf.
61923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61924 __floorf, __truncf instead of floorf, truncf.
61925
61926 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61927
61928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61929
61930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61931 __extern_always_inline.
61932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61933 32-bit.
61934
61935 2011-09-14 Andreas Schwab <schwab@redhat.com>
61936
61937 * elf/rtld.c (dl_main): Also relocate in dependency order when
61938 doing symbol dependency testing.
61939
61940 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61941
61942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61943 Always define `refsym'.
61944
61945 2011-09-13 Andreas Schwab <schwab@redhat.com>
61946
61947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61948 (__FD_ELT): Renamed from __FDELT.
61949 * misc/bits/select2.h (__FD_ELT): Likewise.
61950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61951 __FD_MASK instead of __FDELT, __FDMASK.
61952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61953 Likewise.
61954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61955 Likewise.
61956
61957 * elf/Makefile (gen-ldd): Fix pattern.
61958
61959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61960 (init_tls): Likewise.
61961
61962 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61963
61964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61965
61966 2011-09-12 Andreas Schwab <schwab@redhat.com>
61967
61968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61969 `struct cmsghdr *' instead of `void *'.
61970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61971 Likewise.
61972
61973 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61974
61975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61976 if non-absolute.
61977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61978 ldd_rewrite_script.
61979
61980 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61981
61982 * configure.in: Remove --with-tls option.
61983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61985 out in case it is missing.
61986 * sysdeps/ia64/elf/configure.in: Likewise.
61987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61991 * sysdeps/sh/elf/configure.in: Likewise.
61992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61994 * sysdeps/x86_64/elf/configure.in: Likewise.
61995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61996 * sysdeps/mach/hurd/tls.h: Likewise.
61997
61998 [BZ #13067]
61999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62000
62001 [BZ #13090]
62002 * configure.in: Fix use of AC_INIT.
62003
62004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62005
62006 2011-09-10 Ulrich Drepper <drepper@gmail.com>
62007
62008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62009 __set_errno.
62010 * malloc/hooks.c: Likewise.
62011
62012 [BZ #11929]
62013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
62014 variables statically.
62015 (narenas): Initialize.
62016 (list_lock): Initialize.
62017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
62018 initializtion of main_arena and list_lock. Small cleanups.
62019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
62021 Add initializers to main_arena and mp_.
62022 (malloc_state): Remove pagesize member. Change all users to use
62023 GLRO(dl_pagesize).
62024
62025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
62027 is always initialized.
62028
62029 * malloc/malloc.c: Removed unused configurations and dead code.
62030 * malloc/arena.c: Likewise.
62031 * malloc/hooks.c: Likewise.
62032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62033
62034 * include/tls.h: Removed. USE___THREAD must always be defined.
62035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
62036 * elf/dl-libc.c: Likewise.
62037 * elf/dl-tsd.c: Likewise.
62038 * include/errno.h: Likewise.
62039 * include/netdb.h: Likewise.
62040 * include/resolv.h: Likewise.
62041 * inet/herrno-loc.c: Likewise.
62042 * inet/herrno.c: Likewise.
62043 * malloc/arena.c: Likewise.
62044 * malloc/hooks.c: Likewise.
62045 * malloc/malloc.c: Likewise.
62046 * resolv/res-state.c: Likewise.
62047 * resolv/res_libc.c: Likewise.
62048 * sysdeps/i386/dl-machine.h: Likewise.
62049 * sysdeps/ia64/dl-machine.h: Likewise.
62050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62054 * sysdeps/sh/dl-machine.h: Likewise.
62055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62057 * sysdeps/unix/i386/sysdep.S: Likewise.
62058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
62069 * sysdeps/x86_64/dl-machine.h: Likewise.
62070 * tls.make.c: Likewise.
62071
62072 * configure.in: Remove --with-__thread option. Make tests for
62073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62074 tls_model attribute fail if no support is available. Remove
62075 USE_IN_LIBIO.
62076 * Makeconfig: Adjust for dropped configure option. All features are
62077 now mandatory.
62078 * Makerules: Likewise.
62079 * Versions.def: Likewise.
62080 * argp/argp-fmtstream.c: Likewise.
62081 * argp/argp-fmtstream.h: Likewise.
62082 * argp/argp-help.c: Likewise.
62083 * assert/assert.c: Likewise.
62084 * config.h.in: Likewise.
62085 * config.make.in: Likewise.
62086 * configure: Likewise.
62087 * configure.in: Likewise.
62088 * csu/Versions: Likewise.
62089 * csu/init.c: Likewise.
62090 * elf/tst-audit2.c: Likewise.
62091 * elf/tst-tls10.c: Likewise.
62092 * elf/tst-tls10.h: Likewise.
62093 * elf/tst-tls11.c: Likewise.
62094 * elf/tst-tls12.c: Likewise.
62095 * elf/tst-tls14.c: Likewise.
62096 * elf/tst-tlsmod11.c: Likewise.
62097 * elf/tst-tlsmod12.c: Likewise.
62098 * elf/tst-tlsmod13.c: Likewise.
62099 * elf/tst-tlsmod13a.c: Likewise.
62100 * elf/tst-tlsmod14a.c: Likewise.
62101 * elf/tst-tlsmod15b.c: Likewise.
62102 * elf/tst-tlsmod16a.c: Likewise.
62103 * elf/tst-tlsmod16b.c: Likewise.
62104 * elf/tst-tlsmod7.c: Likewise.
62105 * elf/tst-tlsmod8.c: Likewise.
62106 * elf/tst-tlsmod9.c: Likewise.
62107 * gmon/gmon.c: Likewise.
62108 * grp/fgetgrent_r.c: Likewise.
62109 * grp/putgrent.c: Likewise.
62110 * hurd/fopenport.c: Likewise.
62111 * include/libc-symbols.h: Likewise.
62112 * include/tls.h: Likewise.
62113 * intl/gettextP.h: Likewise.
62114 * intl/loadinfo.h: Likewise.
62115 * locale/global-locale.c: Likewise.
62116 * locale/localeinfo.h: Likewise.
62117 * mach/devstream.c: Likewise.
62118 * malloc/arena.c: Likewise.
62119 * malloc/set-freeres.c: Likewise.
62120 * misc/err.c: Likewise.
62121 * misc/getttyent.c: Likewise.
62122 * misc/mntent_r.c: Likewise.
62123 * posix/getopt.c: Likewise.
62124 * posix/wordexp.c: Likewise.
62125 * pwd/fgetpwent_r.c: Likewise.
62126 * resolv/Versions: Likewise.
62127 * resolv/res_hconf.c: Likewise.
62128 * shadow/fgetspent_r.c: Likewise.
62129 * shadow/putspent.c: Likewise.
62130 * stdio-common/printf_fphex.c: Likewise.
62131 * stdio-common/tmpfile.c: Likewise.
62132 * stdlib/abort.c: Likewise.
62133 * stdlib/fmtmsg.c: Likewise.
62134 * sunrpc/auth_unix.c: Likewise.
62135 * sunrpc/clnt_perr.c: Likewise.
62136 * sunrpc/clnt_tcp.c: Likewise.
62137 * sunrpc/clnt_udp.c: Likewise.
62138 * sunrpc/clnt_unix.c: Likewise.
62139 * sunrpc/openchild.c: Likewise.
62140 * sunrpc/svc_simple.c: Likewise.
62141 * sunrpc/svc_tcp.c: Likewise.
62142 * sunrpc/svc_udp.c: Likewise.
62143 * sunrpc/svc_unix.c: Likewise.
62144 * sunrpc/xdr.c: Likewise.
62145 * sunrpc/xdr_array.c: Likewise.
62146 * sunrpc/xdr_rec.c: Likewise.
62147 * sunrpc/xdr_ref.c: Likewise.
62148 * sunrpc/xdr_stdio.c: Likewise.
62149
62150 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62151
62152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62153
62154 2011-07-03 Andreas Jaeger <aj@suse.de>
62155
62156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62158 regenerate with gen-libm-tests.pl.
62159
62160 2010-05-12 Petr Baudis <pasky@suse.cz>
62161
62162 [BZ #11589]
62163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62164 around j0() zero points by switching to j1().
62165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62169
62170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62171
62172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62173 instead of 0.
62174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62175 instead of 0.
62176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62177 Patch in part by Pavel Roskin <proski@gnu.org>.
62178
62179 [BZ #13138]
62180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62181 realloc.
62182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62183 Free memory block if necessary.
62184
62185 [BZ #12847]
62186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62187 be NULL. Don't lock in this case.
62188
62189 2011-09-09 Roland McGrath <roland@hack.frob.com>
62190
62191 * elf/elf.h (ELFOSABI_GNU): New macro.
62192 (ELFOSABI_LINUX): Define to that.
62193
62194 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62195
62196 * string/strncat.c (strncat): Undef the symbol in case it has been
62197 defined in bits/string.h.
62198
62199 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62200
62201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62202
62203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62204 link map.
62205
62206 2011-08-17 Andreas Jaeger <aj@suse.de>
62207
62208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62209
62210 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62211 Ian Lance Taylor <iant@google.com>
62212
62213 * math/libm-test.inc (lround_test): New testcase.
62214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62215
62216 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62217
62218 * Makefile: Remove support for automatic cvs check-ins.
62219 * Makerules: Likewise.
62220 * config.make.in: Likewise.
62221 * configure.in: Likewise.
62222 * intl/Makefile: Likewise.
62223 * locale/Makefile: Likewise.
62224 * po/Makefile: Likewise.
62225 * posix/Makefile: Likewise.
62226 * sysdeps/gnu/Makefile: Likewise.
62227 * sysdeps/mach/hurd/Makefile: Likewise.
62228 * sysdeps/sparc/sparc32/Makefile: Likewise.
62229
62230 [BZ #13118]
62231 * posix/Makefile (bug-regex32-ENV): Define.
62232 Patch by John Stanley <jpsinthemix@verizon.net>.
62233
62234 * misc/Makefile (headers): Add bits/select2.h.
62235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62236 * misc/bits/select2.h: New file.
62237 * include/bits/select2.h: New file.
62238 * debug/Makefile (routines): Add fdelt_chk.
62239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62241 FD_ISSET.
62242 * debug/fdelt_chk.c: New file.
62243
62244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62245 * wcsmbs/test-wmemcmp.c: Likewise.
62246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62248
62249 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62250
62251 * string/Makefile (strop-tests): Add memcmp.
62252 * string/test-wmemcmp.c: New file.
62253 * string/test-memcmp.c: Add wmemcmp support.
62254
62255 2011-09-08 Roland McGrath <roland@hack.frob.com>
62256
62257 [BZ #13153]
62258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62259 2011-07-19 change.
62260
62261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62262 garbage value in a __mach_port_mod_refs call in the cases of the
62263 task-self and thread-self ports.
62264
62265 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62266
62267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62268
62269 2011-09-08 Andreas Schwab <schwab@redhat.com>
62270
62271 * elf/dl-load.c (lose): Check for non-null L.
62272
62273 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62274
62275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62276
62277 * elf/dl-libc.c (dlerror_run): Pass back error code from
62278 dl_catch_error.
62279
62280 [BZ #13123]
62281 * elf/dl-load.c (lose): Free l_origin if it is valid.
62282
62283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62284 names.
62285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62291
62292 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62293
62294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62304
62305 2011-08-15 Alan Modra <amodra@gmail.com>
62306
62307 [BZ #13092]
62308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62311 ppc_mcount to static-only-routines.
62312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62313 __mcount_internal.
62314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62316
62317 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62318
62319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62320 for finite and infinity parameters.
62321
62322 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62323
62324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62325 and add nop instructions for throughput optimization.
62326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62327
62328 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62329
62330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62331 aligned copy for power7 with vector-scalar instructions.
62332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62333
62334 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62335
62336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62337 AVX check.
62338
62339 2011-09-07 Andreas Schwab <schwab@redhat.com>
62340
62341 [BZ #13144]
62342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62343 last change.
62344
62345 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62346
62347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62351 clock_gettime.
62352
62353 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62354
62355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62356 Forgot to demangle the pointer.
62357
62358 * sysdeps/i386/sysdep.h: Define atom_text_section.
62359 * sysdeps/x86_64/sysdep.h: Likewise.
62360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62361 section with atom_text_section.
62362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62367
62368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62370 already be defined. Change to take two parameters and don't assign
62371 result to variable. Adjust all users.
62372 Define INTERNAL_GETTIME if not already defined.
62373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62374 call.
62375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62376 HAVE_CLOCK_GETTIME_VSYSCALL.
62377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62378
62379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62380 gettimeofday vsyscall, just use time.
62381
62382 2011-09-06 Andreas Schwab <schwab@redhat.com>
62383
62384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62385 <errno.h>.
62386
62387 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62388
62389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62390 syscall on x86-64.
62391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62392 syscall.
62393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62395 syscall if possible.
62396
62397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62398
62399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62400 e_ident. Don't pass to find_mapsXX.
62401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62402
62403 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62404
62405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62407 * sysdeps/x86_64/multiarch/strchr.S: Update.
62408 Check bit_slow_BSF bit.
62409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62412
62413 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62414
62415 [BZ #13134]
62416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62417 before glibc 2.15.
62418 (tryshell): Define.
62419 (__spawni): Change last parameter to be flag. Test
62420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62423 * posix/spawni.c: Likewise.
62424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62425 * posix/spawnp.c: Likewise. Change normal version to use
62426 SPAWN_XFLAGS_USE_PATH.
62427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62428 SPAWN_XFLAGS_TRY_SHELL.
62429
62430 [BZ #13150]
62431 * posix/glob.h: Remove gcc 1.x support.
62432
62433 [BZ #13068]
62434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62435
62436 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62437
62438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62440 strrchr-sse2-bsf
62441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62447
62448 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62449
62450 * sysdeps/x86_64/wcscmp.S: New file.
62451
62452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62453 wcscmp-c wcscmp-sse2
62454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62457 * wcsmbs/wcscmp.c: Allow renaming.
62458
62459 2011-09-05 David S. Miller <davem@davemloft.net>
62460
62461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62462 stack slot, rather than the struct return pointer slot.
62463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62467
62468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62469
62470 * po/ja.po: Update from translation team.
62471
62472 [BZ #13144]
62473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62474 kernel in 64-bit binaries.
62475
62476 2011-09-01 David S. Miller <davem@davemloft.net>
62477
62478 * elf/elf.h (HWCAP_SPARC_*): Move to..
62479 * sysdeps/sparc/sysdep.h: this new file and add new values.
62480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62482 _DL_HWCAP_COUNT to 24.
62483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62484 entries.
62485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62489 instead of magic constants.
62490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62491
62492 2011-08-31 David S. Miller <davem@davemloft.net>
62493
62494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62496 Reimplement to do errno handling inline.
62497 (SYSCALL_ERROR_HANDLER): New macro.
62498 (__SYSCALL_STRING): Do not do errno handling in asm.
62499 (__CLONE_SYSCALL_STRING): Delete.
62500 (__INTERNAL_SYSCALL_STRING): Delete.
62501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62503 (PSEUDO): Reimplement to do errno handling inline.
62504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62505 (SYSCALL_ERROR_HANDLER): New macro.
62506 (__SYSCALL_STRING): Do not do errno handling in asm.
62507 (__CLONE_SYSCALL_STRING): Delete.
62508 (__INTERNAL_SYSCALL_STRING): Delete.
62509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62511 i386.
62512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62513 (inline_syscall*): Add 'err' argument.
62514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62518
62519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62521
62522 2011-08-30 Andreas Schwab <schwab@redhat.com>
62523
62524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62525
62526 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62527
62528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62529 directive.
62530
62531 2011-08-24 David S. Miller <davem@davemloft.net>
62532
62533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62534
62535 2011-08-24 Andreas Schwab <schwab@redhat.com>
62536
62537 * elf/Makefile: Add rules to build and run unload8 test.
62538 * elf/unload8.c: New file.
62539 * elf/unload8mod1.c: New file.
62540 * elf/unload8mod1x.c: New file.
62541 * elf/unload8mod2.c: New file.
62542 * elf/unload8mod3.c: New file.
62543
62544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62545 it wasn't used.
62546
62547 2011-08-23 David S. Miller <davem@davemloft.net>
62548
62549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62550 subtract stack bias.
62551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62552 %sp not %fp in calculations.
62553 (_JMPBUF_UNWINDS_ADJ): Likewise.
62554
62555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62556 (aio_suspend): Call it to force an exception region around the
62557 AIO_MISC_WAIT() invocation.
62558
62559 2011-08-23 Andreas Schwab <schwab@redhat.com>
62560
62561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62562 backslash.
62563
62564 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62565
62566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62567 protection macro.
62568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62569 and <dl-machine.h>.
62570 (Elf64_FuncDesc): Remove.
62571
62572 2011-08-22 David S. Miller <davem@davemloft.net>
62573
62574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62575 sigaltstack check, add missing cfi directives.
62576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62577 missing cfi directives, and sigaltstack handling.
62578
62579 2011-08-16 Andreas Schwab <schwab@redhat.com>
62580
62581 [BZ #11724]
62582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62583 object is seen twice.
62584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62585
62586 * elf/Makefile (distribute): Add tst-initorder2.c.
62587 (tests): Add tst-initorder2.
62588 (modules-names): Add tst-initorder2a tst-initorder2b
62589 tst-initorder2c tst-initorder2d. Add rules to build them.
62590 ($(objpfx)tst-initorder2.out): New rule.
62591 * elf/tst-initorder2.c: New file.
62592 * elf/tst-initorder2.exp: New file.
62593
62594 2011-08-22 Andreas Schwab <schwab@redhat.com>
62595
62596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62597
62598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62599 dependencies back to end of function.
62600
62601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62602 $(elfobjdir)/ld.so.
62603
62604 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62605
62606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62611 of __vdso_gettimeofday.
62612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62614 attribute_hidden.
62615 (_libc_vdso_platform_setup): Remove initialization of
62616 __vdso_gettimeofday and __vdso_time.
62617
62618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62619
62620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62621 and fgetc_unlocked.
62622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62623 getc_unlocked.
62624
62625 * elf/dl-open.c (add_to_global): Report additions to the global scope
62626 for LD_DEBUG=scopes.
62627 (dl_open_worker): Also print scope of newly loaded dependencies.
62628 (_dl_show_scope): Indicate if there is no scope.
62629
62630 [BZ #13114]
62631 * stdio-common/Makefile (tests): Add bug24.
62632 * stdio-common/bug24.c: New file.
62633
62634 2011-08-19 Andreas Jaeger <aj@suse.de>
62635
62636 [BZ #13114]
62637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62638 non-existant file when using close-on-exec mode.
62639
62640 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62641
62642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62643 the very first instruction.
62644
62645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62646 the CFI state in the end.
62647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62648 inclusion of dl-trampoline.h.
62649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62650
62651 2011-08-19 Andreas Schwab <schwab@redhat.com>
62652
62653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62654 expectations for long double.
62655
62656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62658
62659 2011-08-14 David S. Miller <davem@davemloft.net>
62660
62661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62662 artificual limit depends upon the system page size.
62663
62664 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62665
62666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62667 * resolv/Makefile: Define CFLAGS-libresolv.
62668
62669 2011-08-17 Andreas Schwab <schwab@redhat.com>
62670
62671 * nss/makedb.c (compute_tables): Make variables used in nested
62672 function static.
62673
62674 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62675
62676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62678 if buffer was too small.
62679
62680 * elf/pldd.c (main): Attach to all threads in the process.
62681 Rewrite /proc handling to use *at functions.
62682
62683 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62684
62685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62686 specifies first scope to show.
62687 (dl_open_worker): Update callers. Move printing scope of new
62688 object to before the relocation.
62689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62690 * sysdeps/generic/ldsodefs.h: Update declaration.
62691
62692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62693 string for the scope number.
62694
62695 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62696
62697 * nscd/servicescache.c (cache_addserv): Make sure written is always
62698 initialized.
62699
62700 2011-08-14 Roland McGrath <roland@hack.frob.com>
62701
62702 * sysdeps/i386/i486/bits/atomic.h
62703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62704 statement expression, so as to suppress "set but not used" warning.
62705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62706
62707 * string/strncat.c (STRNCAT): Use prototype definition.
62708
62709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62711 -Iprograms here.
62712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62713 (localedef-modules): Add localedef.
62714 (locale-modules): Add locale.
62715
62716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62718 to avoid a warning.
62719
62720 2011-08-14 David S. Miller <davem@davemloft.net>
62721
62722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62724
62725 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62726
62727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62729 * elf/rtld.c (dl_main): Set l_name of vDSO.
62730 Call _dl_show_scope when DL_DEBUG_SCOPES.
62731 (process_dl_debug): Recognize scopes flag and also set it for all.
62732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62733 Declare _dl_show_scope.
62734
62735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62736 (do_dlopen): Pass caller_dlopen to dl_open.
62737 (__libc_dlopen_mode): Initialize caller_dlopen.
62738
62739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62740 of libc. Make tolower call locale-independent. Optimize a bit by
62741 using isdigit instead of isalnum.
62742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62743
62744 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62745
62746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62747 was a dependency or dynamically loaded.
62748
62749 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62750
62751 * intl/l10nflist.c: Allow architecture-specific pop function.
62752 * sysdeps/x86_64/l10nflist.c: New file.
62753
62754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62755 classification.
62756
62757 2011-08-10 Andreas Schwab <schwab@redhat.com>
62758
62759 * include/dirent.h: Add libc_hidden_proto for scandirat and
62760 scandirat64. Don't declare __scandirat64.
62761 * dirent/scandirat.c: Add libc_hidden_def.
62762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62764
62765 2011-08-10 David S. Miller <davem@davemloft.net>
62766
62767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62768 enum.
62769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62772
62773 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62774
62775 * Versions.def [libc]: Add GLIBC_2.15.
62776 * dirent/Makefile (routines): Add scandirat and scandirat64.
62777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62778 GLIBC_2.15.
62779 * dirent/dirent.h: Declare scandirat and scandirat64.
62780 * dirent/scandirat.c: New file.
62781 * dirent/scandirat64.c: New file.
62782 * sysdeps/wordsize-64/scandirat.c: New file.
62783 * sysdeps/wordsize-64/scandirat64.c: New file.
62784 * dirent/opendir.c: Define opendirat.
62785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62786 using scandirat.
62787 * dirent/scandir64.c: Adjust for scandir.c change.
62788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62789 __scandirat64, and __scandir_cancel_handler.
62790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62791 additional parameter and use openat instead of open (outside of ld.so).
62792 Add new __opendir as wrapper around __opendirat.
62793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62794 here without requiring old scandirat implementation.
62795
62796 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62797
62798 * dirent/scandir.c (cancel_handler): Renamed to
62799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62800 defined. Adjust users.
62801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62803
62804 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62805
62806 * string/test-string.h (IMPL): Use __STRING to expand name and then
62807 stringify it.
62808
62809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62810 of cleanups.
62811
62812 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62813
62814 * string/Makefile: Update.
62815 (strop-tests): Append strncat.
62816 * string/test-wcscmp.c: New file.
62817 New comprehensive test for wcscmp.
62818 * string/test-strcmp.c: Update.
62819 (WIDE): New define.
62820
62821 2011-07-22 Andreas Schwab <schwab@redhat.com>
62822
62823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62824 line.
62825
62826 2011-07-26 Andreas Schwab <schwab@redhat.com>
62827
62828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62829 encoding to ACE if AI_IDN.
62830
62831 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62832
62833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62835
62836 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62837
62838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62839 Fix overflow bug in strncat.
62840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62841
62842 * string/test-strncat.c: Update.
62843 Add new tests for checking overflow bugs.
62844
62845 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62846
62847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62856
62857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62858 (USE_AS_STRCAT): Define.
62859 Add strcat and strncat support.
62860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62861
62862 2011-07-25 Andreas Schwab <schwab@redhat.com>
62863
62864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62865 __n bigger than INT_MAX+1.
62866 (__strncmp_g): Likewise.
62867
62868 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62869
62870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62871 * libio/stido.h: Likewise.
62872
62873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62874 (AF_NFC): Define.
62875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62876 (AF_NFC): Define.
62877
62878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62883
62884 [BZ #13021]
62885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62886 installed.
62887
62888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62889 typo.
62890 (_dl_x86_64_save_sse): Likewise.
62891
62892 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62893
62894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62895 OSXSAVE.
62896 (_dl_x86_64_save_sse): Likewise.
62897
62898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62899
62900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62901
62902 2011-07-21 Andreas Schwab <schwab@redhat.com>
62903
62904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62905 change.
62906 (_dl_x86_64_save_sse): Use correct AVX check.
62907
62908 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62909
62910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62911 bug in strncpy/strncat.
62912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62913
62914 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62915
62916 * string/tester.c (test_strcat): Add tests for different alignments
62917 of source and destination.
62918 (test_strncat): Likewise.
62919
62920 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62921
62922 [BZ #12852]
62923 * posix/glob.c (glob): Check passed in values before using them in
62924 expressions to avoid some overflows.
62925 (glob_in_dir): Likewise.
62926
62927 [BZ #13007]
62928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62929 check for AVX enablement so that we don't crash with old kernels and
62930 new hardware.
62931 * elf/tst-audit4.c: Add same checks here.
62932 * elf/tst-audit6.c: Likewise.
62933
62934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62935
62936 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62937
62938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62939
62940 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62941
62942 * po/cs.po: Update from translation team.
62943 * po/bg.po: Likewise.
62944
62945 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62946
62947 * misc/sys/cdefs.h: Add support for const attribute.
62948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62949 to gnu_dev_{major,minor,makedev} functions.
62950
62951 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62952
62953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62954
62955 2011-07-20 Andreas Schwab <schwab@redhat.com>
62956
62957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62958 strlen results.
62959
62960 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62961
62962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62964 register in order to avoid conflicts with the soft frame pointer
62965 being held in r11 when necessary.
62966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62967 (INTERNAL_VSYSCALL_NCS): Likewise.
62968
62969 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62970
62971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62972 * elf/dl-fini.c (_dl_fini): Adjust caller.
62973 * elf/dl-close.c (_dl_close_worker): Likewise.
62974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62975
62976 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62977
62978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62979 "aux_cache->nlibs < 0".
62980
62981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62982 in the reload-count case.
62983
62984 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62985
62986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62990 * sysdeps/x86_64/multiarch/strcat.S: New file.
62991 * sysdeps/x86_64/multiarch/strncat.S: New file.
62992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62997 (USE_AS_STRCAT): Define.
62998 Add strcat and strncat support.
62999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63002 * string/strncat.c: Update.
63003 (USE_AS_STRNCAT): Define.
63004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63006 and i7.
63007 * sysdeps/x86_64/multiarch/init-arch.h
63008 (bit_Prefer_PMINUB_for_stringop): New.
63009 (index_Prefer_PMINUB_for_stringop): Likewise.
63010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63011 bit_Prefer_PMINUB_for_stringop.
63012
63013 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63014
63015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63016 buffer64.
63017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63018 of casting of buffer.
63019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63020 buffer32 and buffer64.
63021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63022 writes instead of casting of buffer.
63023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63024 buffer32.
63025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63026 casting of buffer.
63027
63028 2011-07-19 Andreas Schwab <schwab@redhat.com>
63029
63030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63031
63032 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63033
63034 * nscd/nscd.c (termination_handler): Don't do anything for a database
63035 if it has not yet been initialized.
63036
63037 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63038
63039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63040
63041 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63042
63043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63044
63045 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63046
63047 * po/nl.po: Update from translation team.
63048 * po/sv.po: Likewise.
63049
63050 2011-07-16 Roland McGrath <roland@hack.frob.com>
63051
63052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63053 now disallowed by GCC.
63054
63055 * configure.in (use-default-link): Default to yes if a test -shared
63056 link meets our qualifications.
63057 * configure: Regenerated.
63058
63059 * config.make.in (output-format): New variable.
63060 * configure.in: Check for ld --print-output-format support.
63061 * configure: Regenerated.
63062 * Makerules ($(common-objpfx)format.lds)
63063 [$(output-format) != unknown]: Just use $(output-format),
63064 instead of the linker-script munging.
63065
63066 2011-07-14 Roland McGrath <roland@hack.frob.com>
63067
63068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63069 of $(common-objpfx)shlib.lds.
63070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63071
63072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63074
63075 * configure.in (-z relro check): Adjust test code to add a large
63076 writable data section after it.
63077 * configure: Regenerated.
63078
63079 2011-07-11 Roland McGrath <roland@hack.frob.com>
63080
63081 * configure.in (-z relro check): Fix test code to make the variable
63082 truly const.
63083 * configure: Regenerated.
63084
63085 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63086
63087 * nscd/nscd.h (struct traced_file): Define.
63088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63089 elements. Add traced_files.
63090 (inotify_fd): Declare.
63091 (register_traced_file): Declare.
63092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63093 (inotify_fd): Export.
63094 (resolv_conf_descr): Remove.
63095 (nscd_init): Move inotify descriptor creation to main.
63096 Don't register files for notification here.
63097 (register_traced_file): New function.
63098 (invalidate_cache): Don't use reset_res to determine whether to call
63099 res_init, go through the list of registered files.
63100 (main_loop_poll): The inotify descriptors are now stored in the
63101 structures for the traced files.
63102 (main_loop_epoll): Likewise
63103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63104 to __nss_disable_nscd.
63105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63106 for a database anymore. Check the records for all the registered
63107 files instead.
63108 * nss/Makefile (libnss_files-routines): Add files-init.
63109 (libnss_db-routines): Add db-init.
63110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63112 * nss/nss_db/db-init.c: New file.
63113 * nss/nss_files/files-init.c: New file.
63114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63115 __nss_lookup_function.
63116 (__nss_lookup_function): Call nss_load_library.
63117 (nss_load_all_libraries): New function.
63118 (__nss_disable_nscd): Take parameter with callback function for files
63119 to register. Set is_nscd. Load all the DSOs for the NSS modules
63120 used for the cached services.
63121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63123 options for features to all the files in nscd.
63124
63125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63126
63127 2011-07-10 Roland McGrath <roland@hack.frob.com>
63128
63129 * csu/elf-init.c (__libc_csu_init): Comment typo.
63130
63131 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63132
63133 * po/pl.po: Update from translation team.
63134 * po/ja.po: Likewise.
63135 * po/ru.po: Likewise.
63136 * po/ko.po: Likewise.
63137 * po/fr.po: Likewise.
63138
63139 2011-07-09 Roland McGrath <roland@hack.frob.com>
63140
63141 * configure.in (.ctors/.dtors header and trailer check):
63142 Use an empirical test on a built program.
63143 * configure: Regenerated.
63144
63145 * configure.in (-z relro check): Use an empirical test on a built DSO.
63146 Detect, but do not require, on ia64.
63147 * configure: Regenerated.
63148
63149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63150 Update tests that use readelf to use $READELF instead.
63151 * configure: Regenerated.
63152
63153 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63154
63155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63156 if the result is not used.
63157
63158 2011-07-05 Andreas Jaeger <aj@suse.de>
63159
63160 [BZ#9696]
63161 * stdlib/tst-strtod.c: Add testcase.
63162
63163 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63164
63165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63167 The latter has a higher limit. Take additional parameter to pass to
63168 the new function.
63169 (__pathconf): Pass file to __statfs_link_max.
63170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63171 __statfs_link_max.
63172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63173 __statfs_link_max.
63174
63175 [BZ #12868]
63176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63178 Handle Lustre.
63179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63180 (__statfs_filesize_max): Likewise.
63181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63182
63183 2011-07-05 Andreas Jaeger <aj@suse.de>
63184
63185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63186
63187 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63188
63189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63190 `status' variable.
63191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63192 Likewise.
63193
63194 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63195
63196 * Makefile (strop-tests): Add strncat.
63197 * string/test-strncat.c: New file.
63198
63199 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63200
63201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63202
63203 2011-06-21 Andreas Jaeger <aj@suse.de>
63204
63205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63206 Copy rule from iconvdata/Makefile.
63207
63208 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63209
63210 [BZ #12922]
63211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63212 but no long options are defined, just return 'W'.
63213
63214 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63215
63216 [BZ #9696]
63217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63218
63219 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63220
63221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63222 netgroups to read.
63223 (innetgr): Likewise.
63224
63225 2011-07-05 Roland McGrath <roland@hack.frob.com>
63226
63227 * config.make.in (install_root): Default to $(DESTDIR).
63228
63229 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63230
63231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63232
63233 2011-07-02 Roland McGrath <roland@hack.frob.com>
63234
63235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63236
63237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63238 containing directory rather than embedding absolute directory names.
63239
63240 * scripts/check-local-headers.sh: Rewritten using awk.
63241 Match by word, not by line. Print error messages for matches.
63242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63243
63244 * Makerules [shlib-lds-flags empty]:
63245 ($(common-objpfx)libc_pic.opts): New target.
63246 ($(common-objpfx)libc_pic.os.clean): New target.
63247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63248
63249 * config.make.in (OBJCOPY): New variable.
63250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63251 * configure: Regenerated.
63252
63253 * config.make.in (use-default-link): New variable.
63254 * configure.in (use_default_link): Grok --with-default-link to set it.
63255 * configure: Regenerated.
63256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63257 (shlib-lds, shlib-lds-flags): Define to empty.
63258
63259 * Makerules (shlib-lds): New variable.
63260 (shlib-lds-flags): New variable.
63261 (build-shlib, build-moduile, build-module-asneeded): Use it.
63262 ($(common-objpfx)libc.so): Use $(shlib-lds).
63263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63265
63266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63267 DT_FLAGS/DT_FLAGS_1 with zero flags.
63268
63269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63270 linker script munging.
63271
63272 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63273
63274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63275 as 128-bit value.
63276 * crypt/sha512.c (sha512_process_block): Perform total addition using
63277 128-bit if possible.
63278 (__sha512_finish_ctx): Likewise.
63279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63280 as 64-bit value.
63281 * crypt/sha256.c (SWAP64): Define.
63282 (sha256_process_block): Perform total addition using 64-bit if
63283 possible.
63284 (__sha256_finish_ctx): Likewise.
63285
63286 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63287
63288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63290 * nscd/hstcache.c (cache_addhst): Likewise.
63291 * nscd/grpcache.c (cache_addgr): Likewise.
63292 * nscd/aicache.c (addhstaiX): Likewise
63293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63294
63295 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63296
63297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63299 * nscd/hstcache.c (cache_addhst): Likewise.
63300 * nscd/grpcache.c (cache_addgr): Likewise.
63301 * nscd/aicache.c (addhstaiX): Likewise
63302
63303 2011-07-01 Andreas Schwab <schwab@redhat.com>
63304
63305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63306 domain only when needed.
63307
63308 2011-06-30 Andreas Schwab <schwab@redhat.com>
63309
63310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63311 is always restored.
63312
63313 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63314
63315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63316 are re-adding the entry.
63317 * nscd/servicescache.c (cache_addserv): Likewise.
63318
63319 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63320
63321 * sysdeps/generic/dl-irel.h: fix protection against multiple
63322 inclusions.
63323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63324
63325 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63326
63327 [BZ #12935]
63328 * malloc/memusage.sh: Fix quoting in message.
63329 * debug/xtrace.sh: Likewise.
63330
63331 * configure.in: Remove support for --experimental-malloc option, make
63332 it the default.
63333 * config.make.in: Likewise.
63334 * malloc/Makefile: Likewise.
63335
63336 2011-06-27 Andreas Schwab <schwab@redhat.com>
63337
63338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63339 two-byte characters.
63340
63341 2011-06-27 Roland McGrath <roland@hack.frob.com>
63342
63343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63344 AC_CACHE_CHECK invocation.
63345 * configure: Regenerated.
63346
63347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63348
63349 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63350
63351 [BZ #12350]
63352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63353 bit from old_res_options.
63354
63355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63356
63357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63358 value type for setfct.
63359
63360 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63361
63362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63363 __gettimeofday instead of gettimeofday.
63364
63365 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63366
63367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63368
63369 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63370
63371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63372
63373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63374 info.
63375
63376 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63377
63378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63380 strcpy-sse2-unaligned strncpy-sse2-unaligned
63381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63391 (STRCPY): Support SSE2 and SSSE3 versions.
63392
63393 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63394
63395 [BZ #12874]
63396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63398 kernels which artificially limit size of requests.
63399
63400 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63401
63402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63418 Enable unaligned load optimization for Intel Core i3, i5 and i7
63419 processors.
63420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63421 Define.
63422 (index_Fast_Unaligned_Load): Define.
63423 (HAS_FAST_UNALIGNED_LOAD): Define.
63424
63425 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63426
63427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63428
63429 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63430
63431 [BZ #12907]
63432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63433 until it is clear that the information is realy needed.
63434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63435
63436 2011-06-22 Andreas Schwab <schwab@redhat.com>
63437
63438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63439
63440 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63441
63442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63443 /sys/devices/system/cpu/online if it is usable.
63444
63445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63446 reading the information from the /proc filesystem to once a second.
63447
63448 2011-06-21 Andreas Jaeger <aj@suse.de>
63449
63450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63451 NULL after inclusion of kernel headers.
63452
63453 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63454
63455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63456 calls to internal_setent.
63457
63458 [BZ #12885]
63459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63460 addresses using gethostbyname4_r ignore IPv4 addresses.
63461
63462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63464
63465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63466
63467 2011-06-20 David S. Miller <davem@davemloft.net>
63468
63469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63470 inclusions.
63471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63472
63473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63474 (elf_irel): Use it.
63475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63479 * sysdeps/x86_64/dl-irel.h: Likewise.
63480
63481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63482 * elf/dl-sym.c: Likewise.
63483
63484 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63485
63486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63487 need to dereference resplen2.
63488
63489 2011-06-14 Andreas Schwab <schwab@redhat.com>
63490
63491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63492
63493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63494
63495 * Makeconfig: Define vardbdir and inst_vardbdir.
63496 * nss/Makefile: Add rules to install db-Makefile.
63497
63498 * nss/nss_db/db-XXX.c: Cleanup.
63499
63500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63502 GLIBC_PRIVATE.
63503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63504 * nss/makedb.c: Implement -g option to specify that value strings
63505 are generated and should not be added to table iterated over for
63506 get*ent calls.
63507 * nss/nss_db/db-initgroups.c: New file.
63508
63509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63510 interface.
63511
63512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63513 (internal_getgrouplist): Adjust to name change.
63514 Update use_initgroups_entry if this is not the first call.
63515 * nss/databases.def: Add initgroups entry.
63516
63517 * nss/makedb.c (compute_tables): Check result of multiple hash table
63518 sizes to minimize maximum chain length.
63519
63520 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63521
63522 * Versions.def: Add entry for libnss_db.
63523 * shlib-versions: Likewise.
63524 * nss/Makefile: Add rules to build libnss_db.
63525 * nss/Versions: Add libnss_db information. Organize libnss_files
63526 entries better.
63527 * nss/db-Makefile: Add gshadow support. Change rules for the new
63528 makedb progra. Some minor improvements to generate smaller files.
63529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63530 here from...
63531 * nss/makedb.c: ...here.
63532 Improve database format to be smaller and require less memory at
63533 runtime.
63534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63535 db anymore.
63536 * nss/nss_db/db-netgrp.c: Likewise.
63537 * nss/nss_db/db-open.c: Likewise.
63538 * nss/nss_files/flies-XXX.x: Adjust comments.
63539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63540 * nss/nss_files/files-grp.c: Likewise.
63541 * nss/nss_files/files-hosts.c: Likewise.
63542 * nss/nss_files/files-network.c: Likewise.
63543 * nss/nss_files/files-proto.c: Likewise.
63544 * nss/nss_files/files-pwd.c: Likewise.
63545 * nss/nss_files/files-rpc.c: Likewise.
63546 * nss/nss_files/files-service.c: Likewise.
63547 * nss/nss_files/files-sgrp.c: Likewise.
63548 * nss/nss_files/files-spwd.c: Likewise.
63549 * nss/nss_db/db-alias.c: Removed.
63550 * nss/nss_db/dummy-db.h: Removed.
63551
63552 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63553
63554 * nss/makedb.c: Rewritten to not use database library.
63555 * nss/Makefile: Update to build new makedb program.
63556
63557 2011-06-14 Andreas Jaeger <aj@suse.de>
63558
63559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63560 memset declaration.
63561
63562 2011-06-10 Andreas Schwab <schwab@redhat.com>
63563
63564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63565 tmpbuf.
63566
63567 2011-06-10 Roland McGrath <roland@hack.frob.com>
63568
63569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63570 * elf/Makefile ($(objpfx)ld.so): Likewise.
63571
63572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63573 Don't list ld.so twice in dependencies.
63574
63575 * posix/bug-regex31.c: Include <stdlib.h>.
63576
63577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63578
63579 * nis/nss_compat/compat-spwd.c
63580 (getspent_next_nss_netgr): Remove unused variable.
63581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63582
63583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63584 nonmembers" output to use the right array.
63585
63586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63587
63588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63589
63590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63592 * catgets/gencat.c (read_input_file): Likewise.
63593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63594
63595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63596 variable definition inside #if's controlling its use.
63597
63598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63599
63600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63601
63602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63603
63604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63605 unreachable code.
63606
63607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63608
63609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63610 * configure: Regenerated.
63611
63612 * Makerules: Revert last change.
63613 * elf/Makefile: Likewise.
63614
63615 2011-06-09 Roland McGrath <roland@hack.frob.com>
63616
63617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63619 (reloc-link): Likewise.
63620
63621 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63622
63623 * elf/Makefile: Add rules to build pldd.
63624 * elf/pldd.c: New file.
63625 * elf/pldd-xx.c: New file.
63626
63627 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63628
63629 * version.h: Update for 2.15 development version.
63630
63631 2011-06-07 David S. Miller <davem@davemloft.net>
63632
63633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63634 ifuncs.
63635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63636 elf_machine_lazy_rel): Likewise.
63637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63639 elf_machine_lazy_rel): Likewise.
63640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63641 dl_hwcap via passed in argument.
63642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63643 Likewise.
63644
63645 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63646
63647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63648
63649 2011-06-06 Roland McGrath <roland@hack.frob.com>
63650
63651 [BZ #12849]
63652 * manual/fdl-1.1.texi: New file, verbatim from:
63653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63654 * manual/lgpl-2.1.texi: New file, verbatim from:
63655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63656 * manual/Makefile (licenses): New variable, list those new file names.
63657 (texis): Use it.
63658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63659
63660 * manual/fdl.texi: File removed.
63661 * manual/lesser.texi: File removed.
63662 * manual/libc.texinfo (Copying, Documentation License):
63663 Use new @include file names, put @appendix directive before @include.
63664
63665 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63666
63667 [BZ #12841]
63668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63670 (mq_open): Add __NTH.
63671
63672 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63673
63674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63675 Assume Intel Core i3/i5/i7 processor if AVX is available.
63676
63677 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63678
63679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63680 typo.
63681
63682 2011-05-31 Andreas Schwab <schwab@redhat.com>
63683
63684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63685 memory. Use alloca_account. Fix memory leak when retrying.
63686
63687 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63688
63689 * version.h (RELEASE): Bump for 2.14 release.
63690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63691
63692 * config.make.in (RANLIB): Remove entry.
63693
63694 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63695
63696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63697 (libc.pot): Work around missing support for .ksh extension in xgettext.
63698
63699 [BZ #12684]
63700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63701 if both request failed.
63702 (send_dg): In case of server errors clear resplen or *resplen2.
63703
63704 [BZ #12454]
63705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63706 when there are multiple maps.
63707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63708 (_dl_fini): Remove test here.
63709
63710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63711
63712 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63713
63714 [BZ #12350]
63715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63716 bit from old_res_options.
63717 (gaih_inet): Likewise.
63718
63719 [BZ #11099]
63720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63721 as signed.
63722
63723 * resolv/res_init.c (res_setoptions): Make the code more compact.
63724
63725 [BZ #11558]
63726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63727 set RES_USEVC.
63728
63729 [BZ #11634]
63730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63731
63732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63733
63734 [BZ #11781]
63735 * malloc/malloc.h: Declare malloc hook variables as volatile.
63736
63737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63738 in last patch.
63739
63740 [BZ #11799]
63741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63742 raise in the comment.
63743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63746
63747 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63748
63749 [BZ #12811]
63750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63751 grow the buffers more if it already has to be sufficient.
63752 (build_wcs_upper_buffer): Likewise.
63753 * posix/regexec.c (check_matching): Likewise.
63754 (clean_state_log_if_needed): Likewise.
63755 (extend_buffers): Don't enlarge buffers beyond size of the input
63756 buffer.
63757 Patches mostly by Emil Wojak <emil@wojak.eu>.
63758 * posix/bug-regex32.c: New file.
63759 * posix/Makefile (tests): Add bug-regex32.
63760
63761 * locale/findlocale.c (_nl_find_locale): Return right away if
63762 _nl_explode_name failed.
63763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63764
63765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63766
63767 * debug/xtrace.sh: Unify messages.
63768 * malloc/memusage.sh: Likewise.
63769
63770 [BZ #12813]
63771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63772 time symbol from vDSO. Substitute with vsyscall if not available.
63773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63774 __vdso_time.
63775
63776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63779 Add sendmmsg and internal_sendmmsg.
63780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63783
63784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63787
63788 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63789
63790 [BZ #12813]
63791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63793 available.
63794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63795 __vdso_getcpu.
63796
63797 [BZ #12814]
63798 * iconvdata/Makefile (tests): Add bug-iconv9.
63799 * iconvdata/bug-iconv9.c: New file.
63800
63801 2011-05-27 Andreas Schwab <schwab@redhat.com>
63802
63803 [BZ #12814]
63804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63805
63806 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63807
63808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63809 (struct user_regs_struct): Change intcs field back to cs.
63810
63811 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63812
63813 * po/ja.po: Update from translation team.
63814
63815 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63816
63817 [BZ #12795]
63818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63820
63821 2011-05-20 Andreas Schwab <schwab@redhat.com>
63822
63823 * stdlib/longlong.h: Update from GCC.
63824
63825 2011-05-23 Andreas Schwab <schwab@redhat.com>
63826
63827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63828 parameter name.
63829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63830 Add parameter name.
63831 (__sysconf): Pass it down.
63832
63833 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63834
63835 [BZ #12671]
63836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63837 some situations.
63838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63840 add in in __libc_use_alloca calls. Adjust callers.
63841 (glob): Use malloc in some situations.
63842
63843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63845 pltexit.
63846
63847 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63848
63849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63850 and CLOCK_BOOTTIME_ALARM.
63851
63852 [BZ #12782]
63853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63854 is returned.
63855
63856 * string/_strerror.c (__strerror_r): Print negative errors as signed
63857 numbers.
63858
63859 [BZ #12777]
63860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63863
63864 * configure.in: Fix typo in redirection and correct removal of test
63865 files in two cases.
63866
63867 [BZ #12788]
63868 * locale/setlocale.c (new_composite_name): Fix test to check for
63869 identical name of all categories.
63870
63871 [BZ #12792]
63872 * libio/filedoalloc.c (local_isatty): New function.
63873 (_IO_file_doallocate): Use local_isatty.
63874 * stdio-common/perror.c (perror): In case a new stream is used
63875 forward the stream error.
63876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63877 error flag.
63878
63879 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63880
63881 [BZ #11869]
63882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63883 alloca.
63884 * include/alloca.h (extend_alloca_account): Define.
63885
63886 [BZ #11857]
63887 * posix/regex.h: Fix comments with documentation of user-accessible
63888 fields after compilation and describe correct free'ing of pattern
63889 after re_compile_pattern.
63890 Patch by Reuben Thomas <rrt@sc3d.org>.
63891
63892 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63893
63894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63895 and -mno-altivec to prevent the compiler from using Altivec and/or
63896 VSX instructions when the corresponding registers are not available.
63897
63898 2011-05-19 Andreas Schwab <schwab@redhat.com>
63899
63900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63901
63902 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63903
63904 * libio/freopen.c (freopen): Use __dup2, not dup2.
63905 * libio/freopen64.c (freopen64): Likewise.
63906
63907 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63908
63909 [BZ #12775]
63910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63911 * math/Makefile (tests): Add test-powl.
63912 (CFLAGS-test-powl.c): Define.
63913 * math/test-powl.c: New file.
63914
63915 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63916
63917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63918
63919 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63920
63921 [BZ #11837]
63922 * iconvdata/gb18030.c: Update to GB18020-2005.
63923
63924 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63925
63926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63928 Patch by Aharon Robbins <arnold@skeeve.com>.
63929
63930 [BZ #11892]
63931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63932 on the stack.
63933
63934 [BZ #11895]
63935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63936 through underflows.
63937
63938 [BZ #12766]
63939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63940 point to strings before performing equality test for error_one_per_line
63941 mode.
63942
63943 [BZ #11697]
63944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63945
63946 [BZ #11820]
63947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63948 (struct user_fpregs_struct): Avoid __uint*_t types.
63949
63950 [BZ #6420]
63951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63952 symbol info. Use it instead of calling _dl_addr locally.
63953 (lock_and_info): New function.
63954 (tr_freehook): Call lock_and_info and pass symbol info as additional
63955 parameter to tr_where.
63956 (tr_mallochook): Likewise.
63957 (tr_reallochook): Likewise.
63958 (tr_memalignhook): Likewise.
63959
63960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63961 used and couldn't be at all thread-safe.
63962
63963 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63964
63965 * libio/freopen.c (freopen): Don't close old file descriptor
63966 before the new one is opened. Instead dup the new file descriptor
63967 to the old one after the new stream is created.
63968 * libio/freopen64.c (freopen64): Likewise.
63969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63970 * libio/fileops.c (_IO_new_file_close_it): Handle new
63971 _IO_FLAGS2_NOCLOSE flag.
63972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63975 _IO_FLAGS2_NOCLOSE flag.
63976 * include/unistd.h: Add hidden_proto for dup3.
63977 Define __have_dup3.
63978 * io/dup3.c: Define hidden symbol.
63979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63980
63981 [BZ #7101]
63982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63983 when an incomplete long option is used.
63984 * posix/tst-getopt_long1.c: New file.
63985 * posix/Makefile (tests): Add tst-getopt_long1.
63986
63987 [BZ #10138]
63988 * scripts/config.guess: Update from autoconf-2.68.
63989 * scripts/config.sub: Likewise.
63990
63991 [BZ #10157]
63992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63993 tests into ...
63994 (has_cpuclock): ...this. New function.
63995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63996 macro here based on has_cpuclock code.
63997
63998 [BZ #10149]
63999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64000 First byte (not low byte) is now always NUL.
64001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64002
64003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64004 Use non-cancelable interfaces.
64005
64006 [BZ #9809]
64007 * locale/iso-639.def: Add entry for Sorani.
64008
64009 [BZ #11901]
64010 * include/stdlib.h: Move include protection to the right place.
64011 Define abort_msg_s. Declare __abort_msg with it.
64012 * stdlib/abort.c (__abort_msg): Adjust type.
64013 * assert/assert.c (__assert_fail_base): New function. Majority
64014 of code from __assert_fail. Allocate memory for __abort_msg with
64015 mmap.
64016 (__assert_fail): Now call __assert_fail_base.
64017 * assert/assert-perr.c: Remove bulk of implementation. Use
64018 __assert_fail_base.
64019 * include/assert.hL Declare __assert_fail_base.
64020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64021 mmap.
64022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64023
64024 2011-05-14 Ulrich Drepper <drepper@gmail.com>
64025
64026 [BZ #11952]
64027 [BZ #12453]
64028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64029 until all modules are registered in the DTV.
64030 * elf/Makefile: Add rules to build and run tst-tls19.
64031 * elf/tst-tls19.c: New file.
64032 * elf/tst-tls19mod1.c: New file.
64033 * elf/tst-tls19mod2.c: New file.
64034 * elf/tst-tls19mod3.c: New file.
64035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64036
64037 [BZ #12083]
64038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64039 correctly.
64040
64041 [BZ #12601]
64042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64043 two-byte sequence errors.
64044 * iconvdata/Makefile (tests): Add bug-iconv8.
64045 * iconvdata/bug-iconv8.c: New file.
64046
64047 [BZ #12626]
64048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64049 buf2 definition.
64050
64051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64052
64053 [BZ #12432]
64054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64055 (dummy_getcfa): New function.
64056 (init): Get _Unwind_GetCFA address, use dummy if not found.
64057 (backtrace_helper): In recursion check, also check whether CFA changes.
64058 (__backtrace): Completely initialize arg.
64059
64060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64061 storing incomplete byte sequence in state object. Avoid testing for
64062 guaranteed too small input if we know there is enough data available.
64063
64064 2011-05-11 Andreas Schwab <schwab@redhat.com>
64065
64066 * Makeconfig (+link-pie): Indent.
64067 * Rules (binaries-pie): Define if $(have-fpie) and
64068 $(build-shared).
64069 (binaries-shared): Also filter out $(binaries-pie).
64070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64071 * nscd/Makefile (others-pie): Add nscd.
64072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64073 ($(objpfx)nscd): Remove command override.
64074 * login/Makefile (others-pie): Add pt_chown.
64075 ($(objpfx)pt_chown): Remove command override.
64076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64077 remove command overrides.
64078
64079 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64080
64081 * libio/tst_putwc.c: Fix error messages.
64082
64083 [BZ #12724]
64084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64085 currently writing and seek to current position when not.
64086 * libio/Makefile (tests): Add bug-fclose1.
64087 * libio/bug-fclose1.c: New file.
64088
64089 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64090
64091 [BZ #12511]
64092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64093 don't set DF_1_NODELETE here.
64094 (do_lookup_x): When entering new entry test for copy relocation
64095 and if necessary set DF_1_NODELETE flag.
64096 * elf/tst-unique4.cc: New file.
64097 * elf/tst-unique4.h: New file.
64098 * elf/tst-unique4lib.cc: New file.
64099 * elf/Makefile: Add rules to build and run tst-unique4.
64100 Patch by Piotr Bury <pbury@goahead.com>.
64101
64102 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64103
64104 [BZ #12052]
64105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64106
64107 [BZ #12625]
64108 * misc/mntent_r.c (addmntent): Flush the stream after the output
64109
64110 [BZ #12393]
64111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64112 (is_trusted_path_normalize): Skip initial colon. Append slash
64113 to empty buffer. Duplicate is_trusted_path code but allow
64114 constructed patch to be prefix.
64115 (is_dst): Allow $ORIGIN followed by /.
64116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64117 Correct testing of result of is_trusted_path_normalize
64118 (decompose_rpath): Fix warning.
64119
64120 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64121
64122 [BZ #11257]
64123 * grp/initgroups.c (internal_getgrouplist): When we found the service
64124 list through the initgroups entry in nsswitch.conf do not always
64125 continue on a successful lookup. Don't always use the
64126 __nss_group_database value if it is set.
64127 * nss/nsswitch.conf (initgroups): Change action for successful db
64128 lookup to continue for compatibility.
64129
64130 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64131
64132 [BZ #11532]
64133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64134 and CP774 modules.
64135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64136 and CP774 modules.
64137 * iconvdata/tst-tables.sh: Likewise.
64138 * iconvdata/cp770.c: New file.
64139 * iconvdata/cp771.c: New file.
64140 * iconvdata/cp772.c: New file.
64141 * iconvdata/cp773.c: New file.
64142 * iconvdata/cp774.c: New file.
64143 * iconvdata/testdata/CP770: New file.
64144 * iconvdata/testdata/CP770..UTF8: New file.
64145 * iconvdata/testdata/CP771: New file.
64146 * iconvdata/testdata/CP771..UTF8: New file.
64147 * iconvdata/testdata/CP772: New file.
64148 * iconvdata/testdata/CP772..UTF8: New file.
64149 * iconvdata/testdata/CP773: New file.
64150 * iconvdata/testdata/CP773..UTF8: New file.
64151 * iconvdata/testdata/CP774: New file.
64152 * iconvdata/testdata/CP774..UTF8: New file.
64153
64154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64155 END CHARMAP line.
64156 * iconvdata/gen-8bit-gap.sh: Likewise.
64157 * iconvdata/gen-8bit.sh: Likewise.
64158
64159 * locale/iso-639.def: Add ary entry.
64160
64161 [BZ #11258]
64162 * locale/C-translit.h.in: Add U20A1 transliteration.
64163
64164 [BZ #12178]
64165 * locale/iso-639.def: Add wae entry.
64166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64167
64168 [BZ #12545]
64169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64170 for n.
64171
64172 [BZ #12711]
64173 * locale/C-translit.h.in: Add entry for U20B9.
64174 Patch by pravin.d.s@gmail.com.
64175
64176 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64177
64178 [BZ #12713]
64179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64180 ENAMETOOLONG use generic getcwd.
64181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64182 in rtld. Use *stat64.
64183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64190 __fstatat64 macros.
64191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64192 * dirent/rewinddir.c: Add libc_hidden_def.
64193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64195
64196 * include/dirent.h (__alloc_dir): Add flags parameter.
64197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64199 __alloc_dir.
64200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64201 from fdopendir if O_CLOEXEC is already set.
64202
64203 2011-03-15 Alan Modra <amodra@gmail.com>
64204
64205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64206 l_tls_firstbyte_offset non-zero. Save padding offset in
64207 l_tls_firstbyte_offset for later use.
64208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64209 freeing static tls block.
64210
64211 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64212
64213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64214 where #ifdef was intended. The intent is to prevent ARG_MAX from
64215 being defined by the kernel headers.
64216
64217 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64218
64219 [BZ #12734]
64220 * resolv/resolv.h: Define RES_NOTLDQUERY.
64221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64222 no-tld-query and set RES_NOTLDQUERY.
64223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64225 modern BIND to search name as TLD unless forbidden.
64226
64227 2011-05-07 Petr Baudis <pasky@suse.cz>
64228 Ulrich Drepper <drepper@gmail.com>
64229
64230 [BZ #12393]
64231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64232 (is_trusted_path): ...to here.
64233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64235 using is_trusted_path_normalize() in setuid scripts.
64236
64237 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64238
64239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64240 __BEGIN/__END_DECLS.
64241
64242 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64243
64244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64245 NSS_STATUS_NOTFOUND if no record was found.
64246
64247 2011-05-05 Andreas Schwab <schwab@redhat.com>
64248
64249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64250 (headers-not-in-tirpc): Remove rpc/netdb.h
64251 * resolv/netdb.h: Revert last change.
64252
64253 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64254
64255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64256 circular dependency between libgcc.a and libc.a.
64257
64258 2011-05-05 Andreas Schwab <schwab@redhat.com>
64259
64260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64261 * nis/Makefile: Don't install rpcsvc/*.
64262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64263 instead of <rpc/types.h>.
64264 (MAXHOSTNAMELEN): Define.
64265
64266 2011-05-03 Andreas Schwab <schwab@redhat.com>
64267
64268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64269
64270 2011-04-28 Maciej Babinski <mbabinski@google.com>
64271
64272 [BZ #12714]
64273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64274 gethostbyname4_r when IPv6 results are possible.
64275
64276 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64277
64278 [BZ #12723]
64279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64280 _PC_PIPE_BUF handling.
64281
64282 2011-04-30 Bruno Haible <bruno@clisp.org>
64283
64284 [BZ #12717]
64285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64287 to 'int'.
64288 * inet/getnameinfo.c (getnameinfo): Likewise.
64289
64290 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64291
64292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64293 to groups setting in database lookup.
64294 * nss/nsswitch.conf: Add initgroups entry.
64295
64296 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64297
64298 [BZ #12685]
64299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64300 mode string.
64301 Patch by Eric Blake <eblake@redhat.com>.
64302
64303 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64304
64305 * sunrpc/Makefile (need-export-routines): Add svc_run.
64306 (routines): Remove svc_run.
64307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64309 * sunrpc/svc_run.c (svc_run): Likewise.
64310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64311
64312 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64313
64314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64315 problem in reallocation in last patch.
64316
64317 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64318
64319 * sunrpc/Makefile: Move inclusion of Rules.
64320
64321 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64322
64323 * nss/nss_files/files-initgroups.c: New file.
64324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64326 _nss_files_initgroups_dyn.
64327
64328 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64329
64330 * elf/elf.h (R_ARM_IRELATIVE): Define.
64331
64332 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64333
64334 * po/ru.po: Update from translation team.
64335
64336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64337
64338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64339 dependencies.
64340
64341 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64342
64343 [BZ #12653]
64344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64349
64350 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64351
64352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64353 differing bytes.
64354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64357
64358 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64359
64360 [BZ #12420]
64361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64362 storing it.
64363 * stdlib/bug-getcontext.c: New file.
64364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64365
64366 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64367
64368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64369 instructions into .machine "z9-109".
64370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64372
64373 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64374
64375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64376 between environment variables and auxiliary vector.
64377
64378 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64379
64380 * Makefile: Add rules to build linkobj/libc.so.
64381 * include/libc-symbols.h: Define libc_hidden_nolink.
64382 * include/rpc/auth.h: Mark functions which are to be hidden.
64383 * include/rpc/auth_des.h: Likewise.
64384 * include/rpc/auth_unix.h: Likewise.
64385 * include/rpc/clnt.h: Likewise.
64386 * include/rpc/des_crypt.h: Likewise.
64387 * include/rpc/key_prot.h: Likewise.
64388 * include/rpc/pmap_clnt.h: Likewise.
64389 * include/rpc/pmap_prot.h: Likewise.
64390 * include/rpc/pmap_rmt.h: Likewise.
64391 * include/rpc/rpc_msg.h: Likewise.
64392 * include/rpc/svc.h: Likewise.
64393 * include/rpc/svc_auth.h: Likewise.
64394 * include/rpc/xdr.h: Likewise.
64395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64396 * nss/Makefile: Likewise.
64397 * sunrpc/Makefile: Don't install headers. Build library with normal
64398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64400 for the compat linking library. Remove use of INTDEF/INTUSE.
64401 * sunrpc/auth_none.c: Likewise.
64402 * sunrpc/auth_unix.c: Likewise.
64403 * sunrpc/authdes_prot.c: Likewise.
64404 * sunrpc/authuxprot.c: Likewise.
64405 * sunrpc/clnt_gen.c: Likewise.
64406 * sunrpc/clnt_perr.c: Likewise.
64407 * sunrpc/clnt_raw.c: Likewise.
64408 * sunrpc/clnt_simp.c: Likewise.
64409 * sunrpc/clnt_tcp.c: Likewise.
64410 * sunrpc/clnt_udp.c: Likewise.
64411 * sunrpc/clnt_unix.c: Likewise.
64412 * sunrpc/des_crypt.c: Likewise.
64413 * sunrpc/des_soft.c: Likewise.
64414 * sunrpc/get_myaddr.c: Likewise.
64415 * sunrpc/key_call.c: Likewise.
64416 * sunrpc/key_prot.c: Likewise.
64417 * sunrpc/netname.c: Likewise.
64418 * sunrpc/pm_getmaps.c: Likewise.
64419 * sunrpc/pm_getport.c: Likewise.
64420 * sunrpc/pmap_clnt.c: Likewise.
64421 * sunrpc/pmap_prot.c: Likewise.
64422 * sunrpc/pmap_prot2.c: Likewise.
64423 * sunrpc/pmap_rmt.c: Likewise.
64424 * sunrpc/publickey.c: Likewise.
64425 * sunrpc/rpc_cmsg.c: Likewise.
64426 * sunrpc/rpc_common.c: Likewise.
64427 * sunrpc/rpc_dtable.c: Likewise.
64428 * sunrpc/rpc_prot.c: Likewise.
64429 * sunrpc/rpc_thread.c: Likewise.
64430 * sunrpc/rtime.c: Likewise.
64431 * sunrpc/svc.c: Likewise.
64432 * sunrpc/svc_auth.c: Likewise.
64433 * sunrpc/svc_authux.c: Likewise.
64434 * sunrpc/svc_raw.c: Likewise.
64435 * sunrpc/svc_run.c: Likewise.
64436 * sunrpc/svc_simple.c: Likewise.
64437 * sunrpc/svc_tcp.c: Likewise.
64438 * sunrpc/svc_udp.c: Likewise.
64439 * sunrpc/svc_unix.c: Likewise.
64440 * sunrpc/svcauth_des.c: Likewise.
64441 * sunrpc/xcrypt.c: Likewise.
64442 * sunrpc/xdr.c: Likewise.
64443 * sunrpc/xdr_array.c: Likewise.
64444 * sunrpc/xdr_float.c: Likewise.
64445 * sunrpc/xdr_intXX_t.c: Likewise.
64446 * sunrpc/xdr_mem.c: Likewise.
64447 * sunrpc/xdr_rec.c: Likewise.
64448 * sunrpc/xdr_ref.c: Likewise.
64449 * sunrpc/xdr_sizeof.c: Likewise.
64450 * sunrpc/xdr_stdio.c: Likewise.
64451
64452 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64453
64454 [BZ #12650]
64455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64456 * sysdeps/ia64/dl-tls.h: Likewise.
64457 * sysdeps/powerpc/dl-tls.h: Likewise.
64458 * sysdeps/s390/dl-tls.h: Likewise.
64459 * sysdeps/sh/dl-tls.h: Likewise.
64460 * sysdeps/sparc/dl-tls.h: Likewise.
64461 * sysdeps/x86_64/dl-tls.h: Likewise.
64462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64463
64464 2011-03-14 Andreas Schwab <schwab@redhat.com>
64465
64466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64467 rpath element also skip the following colon.
64468 (expand_dynamic_string_token): Add is_path parameter and pass
64469 down to DL_DST_REQUIRED and _dl_dst_substitute.
64470 (decompose_rpath): Call expand_dynamic_string_token with
64471 non-zero is_path. Ignore empty rpaths.
64472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64473 with zero is_path.
64474
64475 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64476
64477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64478 Make cancelable.
64479
64480 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64481
64482 [BZ #12655]
64483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64484 Patch by Filipe David Manana <fdmanana@apache.org>.
64485
64486 2011-04-07 Andreas Schwab <schwab@redhat.com>
64487
64488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64489 Maintain aligned stack.
64490 (CHECK_RSP): Remove unused macro.
64491
64492 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64493
64494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64496
64497 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64498
64499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64500
64501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64502
64503 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64504
64505 [BZ #12518]
64506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64508 * sysdeps/x86_64/memmove.c: New file.
64509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64510 (memcpy): Renamed to ...
64511 (__new_memcpy): This.
64512 (memcpy): Provide GLIBC_2_14 memcpy.
64513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64514 (memcpy): Provide GLIBC_2_2_5 memcpy.
64515
64516 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64517
64518 [BZ #12631]
64519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64520
64521 2011-03-30 Andreas Schwab <schwab@redhat.com>
64522
64523 * misc/syncfs.c: New file.
64524 * misc/Makefile (routines): Add syncfs.
64525 * posix/unistd.h: Declare syncfs.
64526 * sysdeps/unix/syscalls.list: Add syncfs.
64527
64528 2011-04-01 Andreas Schwab <schwab@redhat.com>
64529
64530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64531 open_by_handle_at.
64532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64539
64540 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64541
64542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64549
64550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64551 sync_file_range.c with -fexceptions.
64552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64559 sync_file_range as cancellation point
64560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64561 now a wrapper around __call_sync_file_range with cancellation handling.
64562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64564 function name to __call_sync_file_range.
64565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64566 Add call_sync_file_range.
64567
64568 2011-04-01 Andreas Schwab <schwab@redhat.com>
64569
64570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64571 bits/timex.h.
64572
64573 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64574
64575 * iconv/iconv.h: Fix typo in comment.
64576 * io/fcntl.h: Likewise.
64577 * libio/stdio.h: Likewise.
64578 * posix/spawn.h: Likewise.
64579 * posix/unistd.h: Likewise.
64580 * stdlib/stdlib.h: Likewise.
64581 * time/time.h: Likewise.
64582 * wcsmbs/wchar.h: Likewise.
64583
64584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64585 open_by_handle): Add.
64586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64588 Augment a few comments.
64589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64595 open_by_handle.
64596
64597 * io/fcntl.h (AT_EMPTY_PATH): Define.
64598
64599 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64600
64601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64604 to...
64605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64606 * Versions.def: Add GLIBC_2.14.
64607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64608 Export.
64609
64610 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64611
64612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64613 round counter.
64614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64615
64616 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64617
64618 [BZ #12597]
64619 * string/test-strncmp.c (do_page_test): New function.
64620 (check2): Likewise.
64621 (test_main): Call check2.
64622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64623
64624 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64625
64626 [BZ #12587]
64627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64628 Handle cache information in CPU leaf 4.
64629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64630
64631 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64632
64633 [BZ #12583]
64634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64635 character representation.
64636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64637
64638 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64639
64640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64641 END(__isnan) to END(__isnanf) to match function entry point/label
64642 EALIGN(__isnanf,...).
64643
64644 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64645
64646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64647
64648 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64649
64650 [BZ #12510]
64651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64652 copy from the symbol referenced in the relocation to initialize the
64653 used variable.
64654 Patch by Piotr Bury <pbury@goahead.com>.
64655 * elf/Makefile: Add rules to build and tst-unique3.
64656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64657 * elf/tst-unique3.cc: New file.
64658 * elf/tst-unique3.h: New file.
64659 * elf/tst-unique3lib.cc: New file.
64660 * elf/tst-unique3lib2.cc: New file.
64661
64662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64663
64664 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64665
64666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64668 to _start.
64669
64670 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64671
64672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64673 to-be-loaded object along a path to loader is ld.so.
64674
64675 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64676 Ulrich Drepper <drepper@gmail.com>
64677
64678 * sysdeps/x86_64/memset.S: After aligning destination, code
64679 branches to different locations depending on the value of
64680 misalignment, when multiarch is enabled. Fix this.
64681
64682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64683
64684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64685 Set _x86_64_preferred_memory_instruction for AMD processsors.
64686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64687 Set bit_Prefer_SSE_for_memop for AMD processors.
64688
64689 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64690
64691 * libio/fmemopen.c (fmemopen): Optimize a bit.
64692
64693 2011-03-03 Andreas Schwab <schwab@redhat.com>
64694
64695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64696
64697 2011-03-03 Roland McGrath <roland@redhat.com>
64698
64699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64700
64701 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64702
64703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64704 __bzero_ultra1 instead of __memset_ultra1.
64705
64706 2011-02-23 Andreas Schwab <schwab@redhat.com>
64707 Ulrich Drepper <drepper@gmail.com>
64708
64709 [BZ #12509]
64710 * include/link.h (struct link_map): Add l_orig_initfini.
64711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64712 returning unsuccessfully.
64713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64714 close of a file loaded at startup, restore the original l_initfini
64715 list.
64716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64717 list, store the pointer.
64718 * elf/Makefile ($(objpfx)noload-mem): New rule.
64719 (noload-ENV): Define.
64720 (tests): Add $(objpfx)noload-mem.
64721 * elf/noload.c: Include <memcheck.h>.
64722 (main): Call mtrace. Close all opened handles.
64723
64724 2011-02-17 Andreas Schwab <schwab@redhat.com>
64725
64726 [BZ #12454]
64727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64728 dependencies are missing.
64729
64730 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64731
64732 Fix __if_freereq crash: Unlike the generic version which uses free,
64733 Hurd needs munmap.
64734 * sysdeps/mach/hurd/ifreq.h: New file.
64735
64736 2011-01-27 Petr Baudis <pasky@suse.cz>
64737 Ulrich Drepper <drepper@gmail.com>
64738
64739 [BZ 12445]#
64740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64741 to extend_alloca().
64742 * stdio-common/bug23.c: New file.
64743 * stdio-common/Makefile (tests): Add bug23.
64744
64745 2010-09-28 Andreas Schwab <schwab@redhat.com>
64746 Ulrich Drepper <drepper@gmail.com>
64747
64748 [BZ #12489]
64749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64750 before performing relro protection. At old place add assertion
64751 to make sure nothing changed.
64752
64753 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64754 Glauber de Oliveira Costa <glommer@gmail.com>
64755
64756 * elf/elf.h: Add new ARM TLS relocs.
64757
64758 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64759
64760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64762 cast from r3.
64763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64764 'tests' variable.
64765 * sysdeps/wordsize-64/tst-writev.c: New file.
64766
64767 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64768
64769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64771 insns in _dl_start to prevent a TOC reference before relocs are
64772 resolved.
64773
64774 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64775
64776 [BZ #12469]
64777 * Makeconfig: Remove RANLIB definition.
64778 * Makerules: Don't use RANLIB.
64779 * aclocal.m4: Remove ranlib test.
64780 * configure.in: No need to check for ranlib.
64781 * elf/rtld-Rules: Don't use RANLIB.
64782
64783 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64784
64785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64786 protection macro.
64787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64788 inclusion protection macro.
64789
64790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64791 SIGRTMIN and SIGRTMAX and print information in that case only when
64792 SIGRTMIN is defined.
64793
64794 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64795
64796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64797 arginfo fn returning -1.
64798
64799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64800 and thousands string is zero terminated.
64801
64802 2011-02-03 Andreas Schwab <schwab@redhat.com>
64803
64804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64805 sysdeps/unix/sysv/linux/bits/socket.h.
64806
64807 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64808
64809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64810 (__CPU_COUNT): Remove old macros.
64811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64813 (__CPU_ALLOC, __CPU_FREE): Add macros.
64814 (__sched_cpualloc, __sched_cpufree): Add declarations.
64815
64816 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64817
64818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64821 (readdhstai): Return value of addhstaiX call.
64822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64823 (addgrbyX): Return value returned by cache_addgr.
64824 (readdgrbyname): Return value returned by addgrbyX.
64825 (readdgrbygid): Likewise.
64826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64827 (addpwbyX): Return value returned by cache_addpw.
64828 (readdpwbyname): Return value returned by addhstbyX.
64829 (readdpwbyuid): Likewise.
64830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64831 (addservbyX): Return value returned by cache_addserv.
64832 (readdservbyname): Return value returned by addservbyX:
64833 (readdservbyport): Likewise.
64834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64835 (addhstbyX): Return value returned by cache_addhst.
64836 (readdhstbyname): Return value returned by addhstbyX.
64837 (readdhstbyaddr): Likewise.
64838 (readdhstbynamev6): Likewise.
64839 (readdhstbyaddrv6): Likewise.
64840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64841 (readdinitgroups): Return value returned by addinitgroupsX.
64842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64843 (prune_cache): Keep track of timeout value of re-added entries.
64844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64845 * nscd/nscd.h: Adjust prototypes of readd* functions.
64846
64847 2011-02-04 Roland McGrath <roland@redhat.com>
64848
64849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64850 (nis_stats): Likewise.
64851 * nis/nis_modify.c (nis_modify): Likewise.
64852 * nis/nis_remove.c (nis_remove): Likewise.
64853 * nis/nis_add.c (nis_add): Likewise.
64854
64855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64856
64857 * posix/fnmatch_loop.c: Add some consts.
64858
64859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64860
64861 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64862
64863 [BZ #12460]
64864 * config.make.in (config-cflags-novzeroupper): Define.
64865 * configure.in: Substitute libc_cv_cc_novzeroupper.
64866 * elf/Makefile (AVX-CFLAGS): Define.
64867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64868 (CFLAGS-tst-auditmod4a.c): Likewise.
64869 (CFLAGS-tst-auditmod4b.c): Likewise.
64870 (CFLAGS-tst-auditmod6b.c): Likewise.
64871 (CFLAGS-tst-auditmod6c.c): Likewise.
64872 (CFLAGS-tst-auditmod7b.c): Likewise.
64873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64874
64875 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64876
64877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64878 function to the callback.
64879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64880
64881 2011-02-02 Andreas Schwab <schwab@redhat.com>
64882
64883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64884 of errno.
64885
64886 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64887
64888 [BZ #11724]
64889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64890 of constructors.
64891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64892 of destructors.
64893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64894
64895 [BZ #11724]
64896 * elf/Makefile: Add rules to build and run new test.
64897 * elf/tst-initorder.c: New file.
64898 * elf/tst-initorder.exp: New file.
64899 * elf/tst-initordera1.c: New file.
64900 * elf/tst-initordera2.c: New file.
64901 * elf/tst-initordera3.c: New file.
64902 * elf/tst-initordera4.c: New file.
64903 * elf/tst-initorderb1.c: New file.
64904 * elf/tst-initorderb2.c: New file.
64905 * elf/tst-order-a1.c: New file.
64906 * elf/tst-order-a2.c: New file.
64907 * elf/tst-order-a3.c: New file.
64908 * elf/tst-order-a4.c: New file.
64909 * elf/tst-order-b1.c: New file.
64910 * elf/tst-order-b2.c: New file.
64911 * elf/tst-order-main.c: New file.
64912 New test case by George Gensure <werkt0@gmail.com>.
64913
64914 2010-10-01 Andreas Schwab <schwab@redhat.com>
64915
64916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64917 decoding ACE if AI_CANONIDN.
64918
64919 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64920
64921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64922
64923 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64924
64925 * version.h (RELEASE): Bump for 2.13 release.
64926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64927
64928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64929
64930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64931 MADV_NOHUGEPAGE.
64932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64938
64939 * posix/getconf.c: Update copyright year.
64940 * catgets/gencat.c: Likewise.
64941 * csu/version.c: Likewise.
64942 * debug/catchsegv.sh: Likewise.
64943 * debug/xtrace.sh: Likewise.
64944 * elf/ldconfig.c: Likewise.
64945 * elf/ldd.bash.in: Likewise.
64946 * elf/sprof.c (print_version): Likewise.
64947 * iconv/iconv_prog.c: Likewise.
64948 * iconv/iconvconfig.c: Likewise.
64949 * locale/programs/locale.c: Likewise.
64950 * locale/programs/localedef.c: Likewise.
64951 * malloc/memusage.sh: Likewise.
64952 * malloc/mtrace.pl: Likewise.
64953 * nscd/nscd.c (print_version): Likewise.
64954 * nss/getent.c: Likewise.
64955
64956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64957 PF_CAIF, and PF_ALG.
64958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64959
64960 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64961
64962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64963 (modules-names): Use them.
64964 (ifunc-test-modules, ifunc-pie-tests): Define.
64965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64967 (test-extras): Likewise.
64968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64969 $(compile-command.c).
64970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64971 (all-built-dso): Define.
64972 (check-textrel.out, check-execstack.out): Depend on it.
64973
64974 * configure.in: Don't override --enable-multi-arch.
64975
64976 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64977
64978 [BZ #6812]
64979 * nscd/hstcache.c (tryagain): Define.
64980 (cache_addhst): Return tryagain not notfound for temporary errors.
64981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64982 failed.
64983
64984 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64985
64986 [BZ #10563]
64987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64988 to make the syscall.
64989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64990
64991 [BZ #12378]
64992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64993 and fall back to matching as normal character if the string ends before
64994 the matching ']' is found. This is what POSIX requires.
64995 * posix/testfnm.c: Adjust test result.
64996 * posix/globtest.sh: Adjust test result. Add new test.
64997 * posix/tst-fnmatch.input: Likewise.
64998 * posix/tst-fnmatch2.c: Add new test.
64999
65000 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
65001
65002 * elf/Makefile (check-execstack): Revert last change. Depend on
65003 check-execstack.h.
65004 (check-execstack.h): New target.
65005 (generated): Add check-execstack.h.
65006 * elf/check-execstack.c: Include "check-execstack.h".
65007 (main): Revert last change.
65008 (handle_file): Return zero if GNU_STACK is absent and
65009 DEFAULT_STACK_PERMS doesn't include PF_X.
65010
65011 2011-01-13 Ulrich Drepper <drepper@gmail.com>
65012
65013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65014 in child fails because the descriptor is already closed.
65015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65018
65019 [BZ #12397]
65020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65021 syscall.
65022
65023 [BZ #10484]
65024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65025 temporary buffer used to handle multi lookups locally.
65026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65027
65028 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65029
65030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65031 loader is ld.so.
65032
65033 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
65034
65035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65036 alignment for SSE2.
65037
65038 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65039
65040 [BZ #12394]
65041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65042 characters. When rounding increased number of integer digits recompute
65043 number of groups.
65044 * stdio-common/tst-grouping.c: New file.
65045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
65046
65047 2011-01-09 Ulrich Drepper <drepper@gmail.com>
65048
65049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
65051
65052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65053 void.
65054 * bits/select.h: Likewise.
65055
65056 2011-01-08 Ulrich Drepper <drepper@gmail.com>
65057
65058 * po/ja.po: Update from translation team.
65059
65060 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
65061
65062 [BZ #11155]
65063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65064 implementation just like for lxstat, fxstatat, et al.
65065
65066 2010-12-27 Jim Meyering <meyering@redhat.com>
65067
65068 [BZ #12348]
65069 * posix/regexec.c (build_trtable): Return failure indication upon
65070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
65071
65072 2010-12-25 Ulrich Drepper <drepper@gmail.com>
65073
65074 [BZ #12201]
65075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65079
65080 [BZ #12207]
65081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65082
65083 [BZ #12204]
65084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65086
65087 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65088
65089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65091 script has SORT_BY_INIT_PRIORITY.
65092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65093 NO_CTORS_DTORS_SECTIONS is defined.
65094 * elf/soinit.c: Likewise.
65095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65096 NO_CTORS_DTORS_SECTIONS is defined.
65097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65099 * sysdeps/sh/init-first.c: Likewise.
65100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65101
65102 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65103
65104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65105 always use the slow path.
65106
65107 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65108
65109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65110 similar rule which adds the sysdep directories to the header search in
65111 order to pick up the correct platform stackinfo.h.
65112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65113 perform test if it is, otherwise return successfully without testing.
65114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65115 DEFAULT_STACK_PERMS define in stackinfo.h.
65116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65117 defined in stackinfo.h.
65118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65119 DEFAULT_STACK_PERMS defined in stackinfo.h.
65120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65121 * sysdeps/ia64/stackinfo.h: Likewise.
65122 * sysdeps/s390/stackinfo.h: Likewise.
65123 * sysdeps/sh/stackinfo.h: Likewise.
65124 * sysdeps/sparc/stackinfo.h: Likewise.
65125 * sysdeps/x86_64/stackinfo.h: Likewise.
65126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65127 PF_X for powerpc64. Retain PF_X for powerpc32.
65128
65129 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65130
65131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65132 accurately.
65133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65134 GETDENTS_64BIT_ALIGNED.
65135
65136 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65137
65138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65139
65140 2010-12-10 Andreas Schwab <schwab@redhat.com>
65141
65142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65143 _GNU_SOURCE.
65144
65145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65147 Remove __restrict.
65148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65150
65151 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65152
65153 [BZ #11655]
65154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65155 are initialized.
65156
65157 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65158
65159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65160
65161 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65162
65163 * po/it.po: Update from translation team.
65164
65165 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65166
65167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65168 unused codes.
65169
65170 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65171
65172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65173
65174 2010-11-24 Andreas Schwab <schwab@redhat.com>
65175
65176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65177 specially.
65178 (gaih_getanswer_slice): Likewise.
65179
65180 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65181
65182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65183
65184 2010-05-31 Petr Baudis <pasky@suse.cz>
65185
65186 [BZ #11149]
65187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65188 silently even in the chroot mode.
65189
65190 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65191
65192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65193 last patch a bit. Pretty printing
65194
65195 2010-05-31 Petr Baudis <pasky@suse.cz>
65196
65197 [BZ #10085]
65198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65199 initialization of skip_initgroups_dyn.
65200
65201 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65202
65203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65205
65206 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65207
65208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65209
65210 2010-11-11 Andreas Schwab <schwab@redhat.com>
65211
65212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65215 ($(objpfx)tst-fnmatch-mem): New rule.
65216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65217 * posix/tst-fnmatch.c (main): Call mtrace.
65218
65219 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65220
65221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65222 Support Intel processor model 6 and model 0x2c.
65223
65224 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65225
65226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65227 signed comparison.
65228
65229 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65230
65231 [BZ #12205]
65232 * string/test-strncasecmp.c (check_result): New function.
65233 (do_one_test): Use it.
65234 (check1): New function.
65235 (test_main): Use it.
65236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65237 Support strcasecmp and strncasecmp.
65238
65239 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65240
65241 [BZ #12194]
65242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65244
65245 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65246
65247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65248 IFUNC support.
65249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65250 memset-x86-64.
65251 * sysdeps/x86_64/multiarch/bzero.S: New file.
65252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65254 * sysdeps/x86_64/multiarch/memset.S: New file.
65255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65257 Set bit_Prefer_SSE_for_memop for Intel processors.
65258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65259 Define.
65260 (index_Prefer_SSE_for_memop): Define.
65261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65262
65263 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65264
65265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65267
65268 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65269
65270 [BZ #12191]
65271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65272 (__x86_64_raw_data_cache_size_half): Likewise.
65273 (__x86_64_raw_shared_cache_size): Likewise.
65274 (__x86_64_raw_shared_cache_size_half): Likewise.
65275
65276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65277 (__x86_64_raw_data_cache_size_half): Likewise.
65278 (__x86_64_raw_shared_cache_size): Likewise.
65279 (__x86_64_raw_shared_cache_size_half): Likewise.
65280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65282 and __x86_64_raw_shared_cache_size_half. Round
65283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65285 to multiple of 256 bytes.
65286
65287 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65288
65289 [BZ #12167]
65290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65291 of inacessible symlinks. Verify result of symlink before returning it.
65292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65294
65295 2010-10-28 Erich Ritz <erichritz@gmail.com>
65296
65297 * math/math.h (isinf): Fix typo in comment.
65298
65299 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65300
65301 * po/da.po: Update from translation team.
65302
65303 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65304
65305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65306 is added to the list.
65307
65308 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65309 Ulrich Drepper <drepper@gmail.com>
65310
65311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65312 the global list here. Move code to...
65313 (_dl_add_to_namespace_list): ...here. New function.
65314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65316 * elf/dl-load.c (lose): Don't remove the element from the list.
65317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65318 (_dl_map_object): Likewise.
65319
65320 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65321
65322 [BZ #12159]
65323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65324 into all bytes of SSE register.
65325 Patch by Richard Li <richardpku@gmail.com>.
65326
65327 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65328
65329 [BZ #12140]
65330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65331 perturbing.
65332
65333 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65334
65335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65340 submachine.
65341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65342
65343 2010-10-22 Andreas Schwab <schwab@redhat.com>
65344
65345 * include/dlfcn.h (__RTLD_SECURE): Define.
65346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65347 mode & __RTLD_SECURE instead.
65348 (open_path): Rename preloaded parameter to secure.
65349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65351 * elf/dl-deps.c (openaux): Likewise.
65352 * elf/rtld.c (struct map_args): Remove is_preloaded.
65353 (map_doit): Don't use it.
65354 (dl_main): Likewise.
65355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65357
65358 2010-09-09 Andreas Schwab <schwab@redhat.com>
65359
65360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65361 (sysd-rules-targets): Remove duplicates.
65362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65363 rtld-%.$o dependency.
65364
65365 2010-10-18 Andreas Schwab <schwab@redhat.com>
65366
65367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65368 _dl_map_object do it.
65369
65370 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65371
65372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65373 fast fma builtins, define the macros in the C99 standard.
65374 (FP_FAST_FMAF): Likewise.
65375 (FP_FAST_FMAL): Likewise.
65376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65377
65378 * bits/mathdef.h: Update copyright year.
65379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65380
65381 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65382
65383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65384 builtins, define the macros in the C99 standard.
65385 (FP_FAST_FMAF): Likewise.
65386 (FP_FAST_FMAL): Likewise.
65387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65388 multiply/add.
65389 (FP_FAST_FMAF): Likewise.
65390
65391 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65392
65393 [BZ #3268]
65394 * math/libm-test.inc (fma_test): Some new testcases.
65395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65397 y and infinite z. Do multiplication by C already in long double.
65398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65400 y and infinite z. Do bitwise or of inexact bit into u.d.
65401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65403 * sysdeps/i386/fpu/s_fma.S: Removed.
65404 * sysdeps/i386/fpu/s_fmal.S: Removed.
65405
65406 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65407
65408 [BZ #3268]
65409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65411 computation is not scheduled after fetestexcept. Fix value
65412 of minimum denormal long double.
65413
65414 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65415
65416 [BZ #3268]
65417 * math/libm-test.inc (fma_test): Add some more tests.
65418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65419 correctly.
65420
65421 2010-10-15 Andreas Schwab <schwab@redhat.com>
65422
65423 * scripts/data/localplt-s390-linux-gnu.data: New file.
65424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65425
65426 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65427
65428 [BZ #3268]
65429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65431 instead of dbl-64.
65432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65433 inlines.
65434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65436 if one of x and y is very large and the other is subnormal.
65437 * sysdeps/s390/fpu/s_fmaf.c: New file.
65438 * sysdeps/s390/fpu/s_fma.c: New file.
65439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65440 * sysdeps/powerpc/fpu/s_fma.S: New file.
65441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65444
65445 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65446
65447 [BZ #3268]
65448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65449 fma tests.
65450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65457
65458 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65459
65460 [BZ #12078]
65461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65462 * posix/bug-regex31.input: Add test case.
65463
65464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65465
65466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65467 * posix/bug-regex31.input: New file.
65468
65469 [BZ #12078]
65470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65471 (parse_sub_exp): Fix last change, use postorder.
65472
65473 * posix/bug-regex31.c: New file.
65474 * posix/Makefile: Add rules to build and run bug-regex31.
65475
65476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65477
65478 [BZ #12078]
65479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65480
65481 [BZ #12108]
65482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65483 to have entries in sys_siglist.
65484
65485 [BZ #12093]
65486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65487 be NULL.
65488
65489 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65490
65491 [BZ #3268]
65492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65505 * math/ftestexcept.c (fetestexcept): Likewise.
65506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65513
65514 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65515
65516 [BZ #12107]
65517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65518 newline.
65519
65520 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65521
65522 * string/bug-strstr1.c: New file.
65523 * string/Makefile: Add rules to build and run bug-strstr1.
65524
65525 2010-10-05 Eric Blake <eblake@redhat.com>
65526
65527 [BZ #12092]
65528 * string/str-two-way.h (two_way_long_needle): Always clear memory
65529 when skipping input due to the shift table.
65530
65531 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65532
65533 [BZ #12005]
65534 * malloc/mcheck.c: Handle large requests.
65535
65536 [BZ #12077]
65537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65538 for strncmp and strncasecmp.
65539 * string/stratcliff.c: Add tests for strcmp and strncmp.
65540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65541
65542 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65543
65544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65545 __set_fpscr.
65546
65547 2010-09-30 Andreas Jaeger <aj@suse.de>
65548
65549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65550 (CGROUP_SUPER_MAGIC): Define.
65551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65552 Handle btrfs and cgroup file systems.
65553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65554 Likewise.
65555
65556 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65557
65558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65560
65561 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65562
65563 [BZ #12067]
65564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65565 trying to locate the ELF header.
65566
65567 2010-09-27 Andreas Schwab <schwab@redhat.com>
65568
65569 [BZ #11611]
65570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65571 Mask out sign-bit copies when constructing f_fsid.
65572
65573 2010-09-24 Petr Baudis <pasky@suse.cz>
65574
65575 * debug/stack_chk_fail_local.c: Add missing licence exception.
65576 * debug/warning-nop.c: Likewise.
65577
65578 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65579
65580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65581 implementing getdents64 using getdents syscall, set d_type if
65582 __ASSUME_GETDENTS32_D_TYPE.
65583
65584 2010-09-16 Andreas Schwab <schwab@redhat.com>
65585
65586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65588
65589 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65590
65591 [BZ #12037]
65592 * posix/unistd.h: Undo change of feature selection for ftruncate from
65593 2010-01-11.
65594
65595 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65596
65597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65598 detection.
65599
65600 2010-09-20 Andreas Schwab <schwab@redhat.com>
65601
65602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65603 fanotify_mark.
65604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65605
65606 2010-09-14 Andreas Schwab <schwab@redhat.com>
65607
65608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65609 variables after CHECK_SP call.
65610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65611
65612 2010-09-13 Andreas Schwab <schwab@redhat.com>
65613 Ulrich Drepper <drepper@redhat.com>
65614
65615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65616 re-relocationg ld.so.
65617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65618 _dl_init_paths call.
65619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65620 here anymore.
65621
65622 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65623
65624 * resolv/res_init.c (__res_vinit): Count the default server we added.
65625
65626 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65627 Ulrich Drepper <drepper@redhat.com>
65628
65629 [BZ #11968]
65630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65631 (____longjmp_chk): Use %ebx for saving value across system call.
65632 Add unwind info.
65633
65634 2010-09-06 Andreas Schwab <schwab@redhat.com>
65635
65636 * manual/Makefile: Don't mix pattern rules with normal rules.
65637
65638 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65639
65640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65641 operation.
65642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65647 Likewise.
65648
65649 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65650
65651 [BZ #11979]
65652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65654
65655 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65656
65657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65658 * sysdeps/x86_64/addmul_1.S: Likewise.
65659 * sysdeps/x86_64/lshift.S: Likewise.
65660 * sysdeps/x86_64/mul_1.S: Likewise.
65661 * sysdeps/x86_64/rshift.S: Likewise.
65662 * sysdeps/x86_64/sub_n.S: Likewise.
65663 * sysdeps/x86_64/submul_1.S: Likewise.
65664
65665 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65666
65667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65668 Define __sched_param instead of SCHED_* and sched_param when
65669 <bits/sched.h> is included with __need_schedparam defined.
65670 * bits/sched.h [__need_schedparam]
65671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65673 (__defined_schedparam): Define to 1.
65674 (__sched_param): New structure, identical to sched_param.
65675 (__need_schedparam): Undefine.
65676
65677 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65678
65679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65680 (epoll_create1): Declare.
65681
65682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65683
65684 2010-08-31 Andreas Schwab <schwab@redhat.com>
65685
65686 [BZ #7066]
65687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65688 shifting retval into place.
65689
65690 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65691
65692 * nis/rpcsvc/nis.h: Update copyright notice.
65693 * nis/rpcsvc/nis.x: Likewise.
65694 * nis/rpcsvc/nis_callback.h: Likewise.
65695 * nis/rpcsvc/nis_callback.x: Likewise.
65696 * nis/rpcsvc/nis_object.x: Likewise.
65697 * nis/rpcsvc/nis_tags.h: Likewise.
65698 * nis/rpcsvc/yp.h: Likewise.
65699 * nis/rpcsvc/yp.x: Likewise.
65700 * nis/rpcsvc/ypupd.h: Likewise.
65701 * nis/yp_xdr.c: Likewise.
65702 * nis/ypupdate_xdr.c: Likewise.
65703
65704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65705 mainly the body of pmap_getport. Add parameters to specify timeouts.
65706 (pmap_getport): Use __libc_rpc_getport.
65707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65710
65711 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65712
65713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65714 fanotify_mark.
65715
65716 2010-08-27 Roland McGrath <roland@redhat.com>
65717
65718 * sysdeps/i386/i686/multiarch/Makefile
65719 (CFLAGS-varshift.c): New variable.
65720
65721 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65722
65723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65725
65726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65727
65728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65729
65730 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65731
65732 * sysdeps/x86_64/strlen.S: Unroll the loop.
65733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65734 strlen-sse2 strlen-sse2-bsf.
65735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65736 __strlen_no_bsf if bit_Slow_BSF is set.
65737 (__strlen_sse42): Removed.
65738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65740
65741 2010-08-25 Roland McGrath <roland@redhat.com>
65742
65743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65744 * sysdeps/x86_64/multiarch/varshift.c: New file.
65745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65749
65750 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65751
65752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65753 strlen-sse2 strlen-sse2-bsf.
65754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65756 (__strlen_sse2): Removed.
65757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65760 bit_Slow_BSF for Atom.
65761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65762 (index_Slow_BSF): Define.
65763 (HAS_SLOW_BSF): Define.
65764
65765 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65766
65767 [BZ #10851]
65768 * resolv/res_init.c (__res_vinit): When no server address at all
65769 is given default to loopback.
65770
65771 2010-08-24 Roland McGrath <roland@redhat.com>
65772
65773 * configure.in: Remove config-name.h generation.
65774 * configure: Regenerated.
65775 * config-name.in: File removed.
65776 * scripts/config-uname.sh: New file.
65777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65778 ($(objdir)config-name.h): New target.
65779
65780 * sunrpc/rpc_parse.h: Avoid nested comment.
65781
65782 2010-08-24 Richard Henderson <rth@redhat.com>
65783 Ulrich Drepper <drepper@redhat.com>
65784 H.J. Lu <hongjiu.lu@intel.com>
65785
65786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65790 _mm_alignr_epi8 with _mm_loadu_si128.
65791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65793 (__m128i_shift_right): Removed.
65794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65796 * sysdeps/x86_64/multiarch/varshift.h: New file.
65797 * sysdeps/x86_64/multiarch/varshift.S: New file.
65798
65799 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65800
65801 * configure.in: Move assembler checks to before sysdep dir checking.
65802
65803 2010-08-20 Petr Baudis <pasky@suse.cz>
65804
65805 * LICENSES: Sync the sunrpc license.
65806
65807 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65808
65809 * sunrpc/auth_des.c: Update copyright notice once again.
65810 * sunrpc/auth_none.c: Likewise.
65811 * sunrpc/auth_unix.c: Likewise.
65812 * sunrpc/authdes_prot.c: Likewise.
65813 * sunrpc/authuxprot.c: Likewise.
65814 * sunrpc/bindrsvprt.c: Likewise.
65815 * sunrpc/clnt_gen.c: Likewise.
65816 * sunrpc/clnt_perr.c: Likewise.
65817 * sunrpc/clnt_raw.c: Likewise.
65818 * sunrpc/clnt_simp.c: Likewise.
65819 * sunrpc/clnt_tcp.c: Likewise.
65820 * sunrpc/clnt_udp.c: Likewise.
65821 * sunrpc/clnt_unix.c: Likewise.
65822 * sunrpc/des_crypt.c: Likewise.
65823 * sunrpc/des_soft.c: Likewise.
65824 * sunrpc/get_myaddr.c: Likewise.
65825 * sunrpc/getrpcport.c: Likewise.
65826 * sunrpc/key_call.c: Likewise.
65827 * sunrpc/key_prot.c: Likewise.
65828 * sunrpc/openchild.c: Likewise.
65829 * sunrpc/pm_getmaps.c: Likewise.
65830 * sunrpc/pm_getport.c: Likewise.
65831 * sunrpc/pmap_clnt.c: Likewise.
65832 * sunrpc/pmap_prot.c: Likewise.
65833 * sunrpc/pmap_prot2.c: Likewise.
65834 * sunrpc/pmap_rmt.c: Likewise.
65835 * sunrpc/rpc/auth.h: Likewise.
65836 * sunrpc/rpc/auth_unix.h: Likewise.
65837 * sunrpc/rpc/clnt.h: Likewise.
65838 * sunrpc/rpc/des_crypt.h: Likewise.
65839 * sunrpc/rpc/key_prot.h: Likewise.
65840 * sunrpc/rpc/netdb.h: Likewise.
65841 * sunrpc/rpc/pmap_clnt.h: Likewise.
65842 * sunrpc/rpc/pmap_prot.h: Likewise.
65843 * sunrpc/rpc/pmap_rmt.h: Likewise.
65844 * sunrpc/rpc/rpc.h: Likewise.
65845 * sunrpc/rpc/rpc_des.h: Likewise.
65846 * sunrpc/rpc/rpc_msg.h: Likewise.
65847 * sunrpc/rpc/svc.h: Likewise.
65848 * sunrpc/rpc/svc_auth.h: Likewise.
65849 * sunrpc/rpc/types.h: Likewise.
65850 * sunrpc/rpc/xdr.h: Likewise.
65851 * sunrpc/rpc_clntout.c: Likewise.
65852 * sunrpc/rpc_cmsg.c: Likewise.
65853 * sunrpc/rpc_common.c: Likewise.
65854 * sunrpc/rpc_cout.c: Likewise.
65855 * sunrpc/rpc_dtable.c: Likewise.
65856 * sunrpc/rpc_hout.c: Likewise.
65857 * sunrpc/rpc_main.c: Likewise.
65858 * sunrpc/rpc_parse.c: Likewise.
65859 * sunrpc/rpc_parse.h: Likewise.
65860 * sunrpc/rpc_prot.c: Likewise.
65861 * sunrpc/rpc_sample.c: Likewise.
65862 * sunrpc/rpc_scan.c: Likewise.
65863 * sunrpc/rpc_scan.h: Likewise.
65864 * sunrpc/rpc_svcout.c: Likewise.
65865 * sunrpc/rpc_tblout.c: Likewise.
65866 * sunrpc/rpc_util.c: Likewise.
65867 * sunrpc/rpc_util.h: Likewise.
65868 * sunrpc/rpcinfo.c: Likewise.
65869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65870 * sunrpc/rpcsvc/key_prot.x: Likewise.
65871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65872 * sunrpc/rpcsvc/mount.x: Likewise.
65873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65875 * sunrpc/rpcsvc/rex.x: Likewise.
65876 * sunrpc/rpcsvc/rstat.x: Likewise.
65877 * sunrpc/rpcsvc/rusers.x: Likewise.
65878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65879 * sunrpc/rpcsvc/spray.x: Likewise.
65880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65881 * sunrpc/rtime.c: Likewise.
65882 * sunrpc/svc.c: Likewise.
65883 * sunrpc/svc_auth.c: Likewise.
65884 * sunrpc/svc_authux.c: Likewise.
65885 * sunrpc/svc_raw.c: Likewise.
65886 * sunrpc/svc_run.c: Likewise.
65887 * sunrpc/svc_simple.c: Likewise.
65888 * sunrpc/svc_tcp.c: Likewise.
65889 * sunrpc/svc_udp.c: Likewise.
65890 * sunrpc/svc_unix.c: Likewise.
65891 * sunrpc/svcauth_des.c: Likewise.
65892 * sunrpc/xcrypt.c: Likewise.
65893 * sunrpc/xdr.c: Likewise.
65894 * sunrpc/xdr_array.c: Likewise.
65895 * sunrpc/xdr_float.c: Likewise.
65896 * sunrpc/xdr_mem.c: Likewise.
65897 * sunrpc/xdr_rec.c: Likewise.
65898 * sunrpc/xdr_ref.c: Likewise.
65899 * sunrpc/xdr_sizeof.c: Likewise.
65900 * sunrpc/xdr_stdio.c: Likewise.
65901
65902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65903 handling.
65904
65905 2010-08-19 Andreas Schwab <schwab@redhat.com>
65906
65907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65908
65909 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65910
65911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65925
65926 2010-07-26 Anton Blanchard <anton@samba.org>
65927
65928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65929 * malloc/arena.c (heap_trim): Likewise.
65930
65931 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65932
65933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65934 here. Not...
65935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65937
65938 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65939
65940 * sysdeps/i386/elf/Makefile: New file.
65941
65942 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65943
65944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65945 from fanotify_init.
65946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65948
65949 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65950
65951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65952 of strncasecmp_l.
65953 * sysdeps/multiarch/strcmp.S: Likewise.
65954
65955 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65956
65957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65958 strncase_l-nonascii.
65959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65960 Add strncase_l-ssse3.
65961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65962 * sysdeps/x86_64/strcmp.S: Likewise.
65963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65965 * sysdeps/x86_64/strncase.S: New file.
65966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65967 * sysdeps/x86_64/strncase_l.S: New file.
65968 * string/Makefile (strop-tests): Add strncasecmp.
65969 * string/test-strncasecmp.c: New file.
65970
65971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65972 warning.
65973
65974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65976
65977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65978
65979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65980
65981 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65982
65983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65986
65987 2010-05-01 Alan Modra <amodra@gmail.com>
65988
65989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65994 tidying. Don't tail-call __sigjmp_save for static lib.
65995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65996 save location.
65997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65998 (CALL_MCOUNT): Add eh info, and nop after bl.
65999 (TAIL_CALL_SYSCALL_ERROR): New macro.
66000 (PSEUDO_RET): Use it.
66001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66002 Correct save location of integer regs and cr.
66003 (_dl_profile_resolve): Correct cr save location. Delete nops
66004 after bl when SHARED. Reduce cfi size a little by better
66005 placement of cfi directives.
66006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66007 make a stack frame. Instead use parm save area as a temp.
66008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
66010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66011 Don't make a stack frame for parent, use parm save area.
66012 Increase child stack frame to 112 bytes. Don't save unused reg,
66013 and adjust reg usage. Set up cfi on error recovery and
66014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66016 (__makecontext): Add dummy nop after jump to exit.
66017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66018 Use correct parm save area and cr save, reduce stack frame.
66019 Correct cfi for possible PSEUDO_RET frame setup.
66020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66021 Branch to local label emitted by PSEUDO_RET rather than
66022 __syscall_error.
66023
66024 2010-08-12 Andreas Schwab <schwab@redhat.com>
66025
66026 [BZ #11904]
66027 * locale/programs/locale.c (print_assignment): New function.
66028 (show_locale_vars): Use it.
66029
66030 2010-08-11 Ulrich Drepper <drepper@redhat.com>
66031
66032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66033 field.
66034 (struct statfs64): Likewise.
66035 (_STATFS_F_FLAGS): Define.
66036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66039 (ST_VALID): Define locally.
66040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66041 __statvfs_getflags, use the provided value.
66042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
66043 __ASSUME_STATFS_F_FLAGS.
66044
66045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66046
66047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66048 Add sys/fanotify.h.
66049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66050 fanotify_mask for GLIBC_2.13.
66051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66052 fanotify_init and fanotify_mark.
66053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66055
66056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66057 Add prlimit.
66058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66059 prlimit64 for GLIBC_2.13.
66060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66061 prlimit64.
66062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66063 syscall.
66064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
66069 add prlimit alias.
66070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
66071
66072 [BZ #11903]
66073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66075
66076 * nss/Makefile: Add rules to build and run tst-nss-test1.
66077 * shlib-versions: Add entry for libnss_test1.
66078 * nss/nss_test1.c: New file.
66079 * nss/tst-nss-test1.c: New file.
66080
66081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66082 (__nss_configure_lookup): Set appropriate entry in
66083 __nss_configure_lookup to true.
66084 * nss/nsswitch.h: Define enum with indeces of databases in
66085 databases and __nss_database_custom arrays. Declare
66086 __nss_database_custom.
66087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66088 to avoid using nscd when custom rules are installed.
66089 * nss/getXXbyYY_r.c: Likewise.
66090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66091
66092 * nss/nss_files/files-parse.c: Whitespace fixes.
66093
66094 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66095
66096 [BZ #11883]
66097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66098 * posix/fnmatch_loop.c: Likewise.
66099
66100 2010-07-17 Andi Kleen <ak@linux.intel.com>
66101
66102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66105 * Versions.def [GLIBC_2.13]: Add.
66106
66107 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66108
66109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66110 Also fail if tpwd after pwuid call is NULL.
66111
66112 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66113
66114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66115 when converting to ms.
66116
66117 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66118
66119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66120 EOPNOTSUPP errors with ENOTTY.
66121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66122 EOPNOTSUPP errors with ENOTTY.
66123
66124 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66125
66126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66127 Add strcasecmp_l-ssse3.
66128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66129 strcasecmp.
66130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66133
66134 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66135
66136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66137
66138 * string/Makefile (strop-tests): Add strcasecmp.
66139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66140 strcasecmp_l-nonascii.
66141 (gen-as-const-headers): Add locale-defines.sym.
66142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66143 * sysdeps/x86_64/strcasecmp.S: New file.
66144 * sysdeps/x86_64/strcasecmp_l.S: New file.
66145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66146 * sysdeps/x86_64/locale-defines.sym: New file.
66147 * string/test-strcasecmp.c: New file.
66148
66149 * string/test-strcasestr.c: Test both ends of the range of characters.
66150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66151
66152 2010-07-29 Roland McGrath <roland@redhat.com>
66153
66154 [BZ #11856]
66155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66156
66157 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66158
66159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66160 for ld.so.
66161
66162 2010-07-27 Andreas Schwab <schwab@redhat.com>
66163
66164 * manual/memory.texi (Malloc Tunable Parameters): Document
66165 M_PERTURB.
66166
66167 2010-07-26 Roland McGrath <roland@redhat.com>
66168
66169 [BZ #11840]
66170 * configure.in (-fgnu89-inline check): Set and substitute
66171 gnu89_inline, not libc_cv_gnu89_inline.
66172 * configure: Regenerated.
66173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66174
66175 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66176
66177 * string/test-strnlen.c: New file.
66178 * string/Makefile (strop-tests): Add strnlen.
66179 * string/tester.c (test_strnlen): Add a few more test cases.
66180 * string/tst-strlen.c: Better error reporting.
66181
66182 * sysdeps/x86_64/strnlen.S: New file.
66183
66184 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66185
66186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66187 lower-latency instructions.
66188
66189 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66190
66191 * string/test-strcasestr.c: New file.
66192 * string/test-strstr.c: New file.
66193 * string/Makefile (strop-tests): Add strstr and strcasestr.
66194 * string/str-two-way.h: Don't undefine MAX.
66195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66196
66197 2010-07-21 Andreas Schwab <schwab@redhat.com>
66198
66199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66200 strcasestr-nonascii.
66201 (CFLAGS-strcasestr-nonascii.c): Define.
66202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66204 Remove unused attribute.
66205
66206 2010-07-20 Roland McGrath <roland@redhat.com>
66207
66208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66210 ld.so.cache was broken. With it, there is no way to disable dsocaps
66211 like LD_HWCAP_MASK can disable hwcaps.
66212
66213 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66214
66215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66216
66217 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66218
66219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66220 call in strcasestr.
66221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66222 __strcasestr_sse42_nonascii.
66223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66224 strcasestr-nonascii.c.
66225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66226
66227 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66228
66229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66233
66234 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66235
66236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66237 fcntl.
66238
66239 2010-07-06 Andreas Schwab <schwab@redhat.com>
66240
66241 [BZ #11577]
66242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66243 dl_signal_cerror.
66244
66245 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66246
66247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66248 _PC_PIPE_BUF using F_GETPIPE_SZ.
66249
66250 2010-07-05 Roland McGrath <roland@redhat.com>
66251
66252 * manual/arith.texi (Rounding Functions): Fix rint description
66253 implicit in round description.
66254
66255 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66256
66257 * elf/Makefile: Fix linking for a few tests to make recent linker
66258 happy.
66259
66260 2010-06-30 Andreas Schwab <schwab@redhat.com>
66261
66262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66263 $(common-objpfx)libc_nonshared.a.
66264
66265 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66266
66267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66315
66316 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66317
66318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66320 * string/memmove.c (memmove): Renamed to ...
66321 (MEMMOVE): ...this. Default to memmove.
66322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66324 (END_CHK): Define.
66325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66327 mempcpy-ssse3-back memmove-ssse3-back.
66328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66335 * sysdeps/x86_64/multiarch/memmove.c: New file.
66336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66342 Define.
66343 (index_Fast_Copy_Backward): Define.
66344 (HAS_ARCH_FEATURE): Define.
66345 (HAS_FAST_REP_STRING): Define.
66346 (HAS_FAST_COPY_BACKWARD): Define.
66347
66348 2010-06-21 Andreas Schwab <schwab@redhat.com>
66349
66350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66351 Restore proper fallback handling.
66352
66353 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66354
66355 [BZ #11701]
66356 * posix/group_member.c (__group_member): Correct checking loop.
66357
66358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66359 OOM in getpwuid_r correctly. Return error number when the caller
66360 should return, otherwise -1.
66361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66362 call returning > 0 value.
66363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66364
66365 2010-06-07 Andreas Schwab <schwab@redhat.com>
66366
66367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66368 libc_nonshared.a from targets in modules-names.
66369
66370 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66371
66372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66373 requires it.
66374
66375 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66376
66377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66381
66382 2010-06-02 Andreas Schwab <schwab@redhat.com>
66383
66384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66385
66386 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66387
66388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66389 and F_GETPIPE_SZ.
66390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66396
66397 2010-06-14 Roland McGrath <roland@redhat.com>
66398
66399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66400
66401 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66402
66403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66404 __REDIRECT followed by __THROW.
66405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66406 * posix/getopt.h (getopt): Likewise.
66407
66408 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66409
66410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66413 in AT_FLAGS.
66414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66416
66417 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66418
66419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66420
66421 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66422
66423 [BZ #11640]
66424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66425 Properly check family and model.
66426
66427 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66428
66429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66430
66431 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66432
66433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66434
66435 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66436
66437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66438 symbol reference.
66439
66440 2010-05-19 Andreas Schwab <schwab@redhat.com>
66441
66442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66443 symbol reference.
66444
66445 2010-05-21 Andreas Schwab <schwab@redhat.com>
66446
66447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66448 and internal_recvmmsg.
66449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66453
66454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66457
66458 2010-05-20 Andreas Schwab <schwab@redhat.com>
66459
66460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66461
66462 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66463
66464 POWER7 optimizations.
66465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66467
66468 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66469
66470 * version.h: Update for 2.13 development version.
66471
66472 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66473
66474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66475 exceptions. Return 0.
66476
66477 2010-05-07 Roland McGrath <roland@redhat.com>
66478
66479 * elf/ldconfig.c (main): Add a const.
66480
66481 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66482
66483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66484 (args_options): Add no-idn option.
66485 (ahosts_keys_int): Add idn_flags to ai_flags.
66486 (parse_option): Handle 'i' option to clear idn_flags.
66487
66488 * malloc/malloc.c (_int_free): Possible race in the most recently
66489 added check. Only act on the data if no current modification
66490 happened.
66491
66492 See ChangeLog.17 for earlier changes.